Created
May 31, 2012 19:22
-
-
Save kumpera/2845598 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0x00508460: test %eax,%eax | |
| 0x00508462: je 0x50848d | |
| 0x00508464: mov 0x4(%eax),%ecx | |
| 0x00508467: test %ecx,%ecx | |
| 0x00508469: je 0x50848d | |
| 0x0050846b: mov %gs:0x448,%edx | |
| 0x00508472: mov 0x30(%edx),%edx | |
| 0x00508475: cmpl $0x0,(%ecx) <<<<<<<<<<<<<<< | |
| 0x00508478: jne 0x508485 | |
| 0x0050847a: push %eax | |
| 0x0050847b: xor %eax,%eax | |
| 0x0050847d: lock cmpxchg %edx,(%ecx) | |
| 0x00508481: jne 0x50848e | |
| 0x00508483: pop %eax | |
| 0x00508484: ret | |
| 0x00508485: cmp %edx,(%ecx) | |
| 0x00508487: jne 0x50848d | |
| 0x00508489: incl 0x4(%ecx) | |
| 0x0050848c: ret | |
| 0x0050848d: push %eax | |
| 0x0050848e: jmp 0x507a38 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment