Skip to content

Instantly share code, notes, and snippets.

@mfukar
Created May 13, 2012 10:30
Show Gist options
  • Save mfukar/2687646 to your computer and use it in GitHub Desktop.
Save mfukar/2687646 to your computer and use it in GitHub Desktop.
pctf '12 - supercomputer patches
; 0x4010e9:
mov rax,qword [0x601d38]
imul rax,rax,0xf7733c1
add qword [rbp-0x8],rax
add qword [rbp-0xc],0xf7733c1
mov rax,qword [rbp-0x8]
xor rdx,rdx
mov rcx,0x10bebc1fb ; the # in 2's complement from the original
div rcx
mov qword [rbp-0x8],rdx
jmp 0x45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment