Skip to content

Instantly share code, notes, and snippets.

@jsjohnst
Created October 1, 2012 23:13
Show Gist options
  • Save jsjohnst/3815121 to your computer and use it in GitHub Desktop.
Save jsjohnst/3815121 to your computer and use it in GitHub Desktop.
0x000000341ec7e1f0: push %rbp
0x000000341ec7e1f1: mov %rsp,%rbp
0x000000341ec7e1f4: push %r15
0x000000341ec7e1f6: push %r14
0x000000341ec7e1f8: push %r13
0x000000341ec7e1fa: push %r12
0x000000341ec7e1fc: push %rbx
0x000000341ec7e1fd: mov %rdi,%rbx
0x000000341ec7e200: sub $0xa8,%rsp
0x000000341ec7e207: mov %edx,-0x9c(%rbp)
0x000000341ec7e20d: mov %rsi,-0x98(%rbp)
0x000000341ec7e214: mov %fs:0x28,%rax
0x000000341ec7e21d: mov %rax,-0x30(%rbp)
0x000000341ec7e221: xor %eax,%eax
0x000000341ec7e223: add $0x1,%edx
0x000000341ec7e226: mov %rcx,-0xa8(%rbp)
0x000000341ec7e22d: mov %rsp,-0x78(%rbp)
0x000000341ec7e231: je 0x341ec7eb40
0x000000341ec7e237: mov -0x9c(%rbp),%eax
0x000000341ec7e23d: add $0x1,%eax
0x000000341ec7e240: cltq
0x000000341ec7e242: add $0x1e,%rax
0x000000341ec7e246: and $0xfffffffffffffff0,%rax
0x000000341ec7e24a: sub %rax,%rsp
0x000000341ec7e24d: lea 0xf(%rsp),%rdx
0x000000341ec7e252: and $0xfffffffffffffff0,%rdx
0x000000341ec7e256: mov %rdx,-0xb0(%rbp)
0x000000341ec7e25d: movzbl (%rbx),%eax
0x000000341ec7e260: test %al,%al
0x000000341ec7e262: je 0x341ec7e28c
0x000000341ec7e264: mov %rbx,%rdi
0x000000341ec7e267: mov -0xa8(%rbp),%rcx
0x000000341ec7e26e: movzbl %al,%eax
0x000000341ec7e271: movzbl 0x40(%rax,%rcx,1),%eax
0x000000341ec7e276: test %al,%al
0x000000341ec7e278: je 0x341ec7e280
0x000000341ec7e27a: mov %al,(%rdx)
0x000000341ec7e27c: add $0x1,%rdx
0x000000341ec7e280: movzbl 0x1(%rdi),%eax
0x000000341ec7e284: add $0x1,%rdi
0x000000341ec7e288: test %al,%al
0x000000341ec7e28a: jne 0x341ec7e267
0x000000341ec7e28c: movb $0x0,(%rdx)
0x000000341ec7e28f: mov $0xfffffeb3,%r13d
0x000000341ec7e295: movl $0x0,-0x6c(%rbp)
0x000000341ec7e29c: movl $0x0,-0x68(%rbp)
0x000000341ec7e2a3: movl $0x0,-0x48(%rbp)
0x000000341ec7e2aa: movl $0x0,-0x5c(%rbp)
0x000000341ec7e2b1: movq $0x0,-0xc0(%rbp)
0x000000341ec7e2bc: mov -0xb0(%rbp),%rdx
0x000000341ec7e2c3: mov -0xc0(%rbp),%rcx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment