Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 8048550: c7 45 f8 00 00 00 00 mov DWORD PTR [ebp-0x8],0x0 # Initialization of i (see pseudo-code below)
- 8048557: 83 7d f8 09 cmp DWORD PTR [ebp-0x8],0x9
- 804855b: 7f 29 jg 8048586
- 804855d: 8b 45 fc mov eax,DWORD PTR [ebp-0x4] # Handling password's parity check
- 8048560: 83 e0 01 and eax,0x1
- 8048563: 85 c0 test eax,eax
- 8048565: 75 18 jne 804857f <parell+0x65>
- 8048567: c7 04 24 40 87 04 08 mov DWORD PTR [esp],0x8048740
- 804856e: e8 45 fe ff ff call 80483b8 <printf@plt>
- 8048573: c7 04 24 00 00 00 00 mov DWORD PTR [esp],0x0
- 804857a: e8 69 fe ff ff call 80483e8 <exit@plt>
- for (int i = 0; i <= 9; ++i)
- if LSB (password) is 0 // ie if password is an even number
- printf("Password OK!n");
- exit(0);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement