Skip to content

Commit 77eff1c

Browse files
committed
[BUGFIX][hldr32] Preserve the return value
1 parent 6f99930 commit 77eff1c

2 files changed

Lines changed: 1 addition & 0 deletions

File tree

loader_v1/hldr32/hldr32.asm

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -217,6 +217,7 @@ reloc_abs:
217217

218218
hldr_exit:
219219
lea esp, dword [ebx + mapstk_size + krncrcstk_size]
220+
mov dword [esp+0x1c], eax ; write the current EAX value on the stack in order to preserve it
220221
popad
221222
ret 4
222223
hldr_end:

pe2shc/stub1/stub32.bin

4 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)