Heavens-Gate-2.0
Heavens-Gate-2.0 copied to clipboard
Executes 64bit code from a 32bit process
after LoadLibrary64("user32.dll") the GetMessage will crash at > win32u.dll!_NtUserGetMessage@16()
Which VS version are you using to compile? Getting runtime errors with 2015 and 2017. Modified your ReadFile example, still errors out during load64 call ` DWORD nRead;` `ReadFile(f, buf,...
This line of code **lacks type conversion**, which **may cause a crash**. https://github.com/dadas190/Heavens-Gate-2.0/blob/bd8a9b08384cdde229eb616789ba921ba2b271c4/HeavensGate.h#LL300C1-L300C1 I think this line of code may need to be modified like below: Before: `X64Call(LdrLoadDll, 4, (uint64_t)0,...
https://github.com/dadas190/Heavens-Gate-2.0/blob/bd8a9b08384cdde229eb616789ba921ba2b271c4/HeavensGate.h#L61 https://github.com/dadas190/Heavens-Gate-2.0/blob/bd8a9b08384cdde229eb616789ba921ba2b271c4/HeavensGate.h#L77 Description: It looks like you need to “**push esi**” and then "**pop esi**" when you finally go back to the 32-bit environment. Otherwise, it will trigger "**__RTC_CheckEsp**" function...