Skip to content

Commit 91c3885

Browse files
committed
upd
1 parent 2e6abf8 commit 91c3885

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

os/win/x86/inmem/ds.asm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -252,9 +252,9 @@ call_entrypoint:
252252
push DLL_PROCESS_ATTACH ; fdwReason
253253
push ebx ; HINSTANCE
254254
; DllMain = RVA2VA(entry_exe, cs, opt->AddressOfEntryPoint);
255-
add ebx, [esp + _ds.AddressOfEntryPoint]
255+
add ebx, [esp + _ds.AddressOfEntryPoint + 3*4]
256256
call ebx
257257
popad ; release _ds
258258
popad ; restore registers
259259
ret
260-
260+

0 commit comments

Comments
 (0)