Page 1 of 1

Manual mapping protected DLL causes "Initialization error 4"

Posted: Mon Jun 03, 2019 10:29 pm
by Requi
Hello,

mapping our protected DLL manually into a process causes this error. It happens if the following options are enabled:
Imports Protection
Debugger Check
Packer

Those were the options we've tested and which caused that error. Do we have to do anything specific for VMP to load properly?

Re: Manual mapping protected DLL causes "Initialization error 4"

Posted: Sun Jun 09, 2019 6:48 am
by Admin
It seems your code for manuall mapping has a bug. Does Windows load the protected DLL?

Re: Manual mapping protected DLL causes "Initialization error 4"

Posted: Fri Jun 14, 2019 10:14 pm
by Requi
Yes Windows loads it fine. Another mapper also works. We're not sending the full PE headers from the server to the client. Only what's required for the mapping. Could that be an issue?

Re: Manual mapping protected DLL causes "Initialization error 4"

Posted: Sun Jun 23, 2019 1:10 pm
by Requi
What does "Initialization error 4" mean? What couldn't get initialized? We'd love to continue using VMP, but with that it's not possible.

Re: Manual mapping protected DLL causes "Initialization error 4"

Posted: Sun Jun 23, 2019 2:16 pm
by Admin
It means that a loader section/PE header is corrupted.