Skip to content

Instantly share code, notes, and snippets.

@msm-code
Created October 21, 2016 09:35
Show Gist options
  • Save msm-code/b960e1546d03667a61a69fe881203aec to your computer and use it in GitHub Desktop.
Save msm-code/b960e1546d03667a61a69fe881203aec to your computer and use it in GitHub Desktop.
paper.asm.9f309c5f45c3c13cc5004490647f08fd
jz loc_4381B4
xchg eac, [ebp-0Ch]
push 053h
call push_cpu_register ; push ebx
push 050h
call push_cpu_register ; push eax
push edx
push 8AB4BF9Eh
push 754A35C1h
call detour_1 ; call f(8AB4BF9Eh, 754A35C1h)
mov eax, 8CBFB5FFh
call xor_eax_const_4 ; eax ^= 8CBFB5DAh
mov ecx, [ebp-0Ch]
cmp [ecx], ax
jnz loc_4381B4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment