Advertisement
Guest User

Untitled

a guest
May 23rd, 2017
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.16 KB | None | 0 0
  1. 08048404 <run>:
  2. 8048404: 55 push %ebp
  3. 8048405: 89 e5 mov %esp,%ebp
  4. 8048407: 83 ec 04 sub $0x4,%esp
  5. 804840a: 8d 45 fc lea 0xfffffffc(%ebp),%eax
  6. 804840d: 83 c0 08 add $0x8,%eax
  7. 8048410: 89 45 fc mov %eax,0xfffffffc(%ebp)
  8. 8048413: 8b 55 fc mov 0xfffffffc(%ebp),%edx
  9. 8048416: 8b 45 08 mov 0x8(%ebp),%eax
  10. 8048419: 89 02 mov %eax,(%edx)
  11. 804841b: c9 leave
  12. 804841c: c3 ret
  13.  
  14. 0804841d <main>:
  15. 804841d: 55 push %ebp
  16. 804841e: 89 e5 mov %esp,%ebp
  17. 8048420: 83 ec 18 sub $0x18,%esp
  18. 8048423: 83 e4 f0 and $0xfffffff0,%esp
  19. 8048426: b8 00 00 00 00 mov $0x0,%eax
  20. 804842b: 83 c0 0f add $0xf,%eax
  21. 804842e: 83 c0 0f add $0xf,%eax
  22. 8048431: c1 e8 04 shr $0x4,%eax
  23. 8048434: c1 e0 04 shl $0x4,%eax
  24. 8048437: 29 c4 sub %eax,%esp
  25. 8048439: 8b 45 0c mov 0xc(%ebp),%eax
  26. 804843c: 83 c0 04 add $0x4,%eax
  27. 804843f: 83 38 00 cmpl $0x0,(%eax)
  28. 8048442: 75 0c jne 8048450 <main+0x33>
  29. 8048444: c7 04 24 01 00 00 00 movl $0x1,(%esp)
  30. 804844b: e8 d0 fe ff ff call 8048320 <exit@plt>
  31. 8048450: 8b 45 0c mov 0xc(%ebp),%eax
  32. 8048453: 83 c0 04 add $0x4,%eax
  33. 8048456: 8b 00 mov (%eax),%eax
  34. 8048458: 89 04 24 mov %eax,(%esp)
  35. 804845b: e8 b0 fe ff ff call 8048310 <opendir@plt>
  36. 8048460: 89 45 f8 mov %eax,0xfffffff8(%ebp)
  37. 8048463: 83 7d f8 00 cmpl $0x0,0xfffffff8(%ebp)
  38. 8048467: 75 0c jne 8048475 <main+0x58>
  39. 8048469: c7 04 24 01 00 00 00 movl $0x1,(%esp)
  40. 8048470: e8 ab fe ff ff call 8048320 <exit@plt>
  41. 8048475: 8b 45 f8 mov 0xfffffff8(%ebp),%eax
  42. 8048478: 89 04 24 mov %eax,(%esp)
  43. 804847b: e8 b0 fe ff ff call 8048330 <readdir@plt>
  44. 8048480: 89 45 fc mov %eax,0xfffffffc(%ebp)
  45. 8048483: 83 7d fc 00 cmpl $0x0,0xfffffffc(%ebp)
  46. 8048487: 74 32 je 80484bb <main+0x9e>
  47. 8048489: 8b 45 fc mov 0xfffffffc(%ebp),%eax
  48. 804848c: 83 c0 0b add $0xb,%eax
  49. 804848f: c7 44 24 08 03 00 00 movl $0x3,0x8(%esp)
  50. 8048496: 00
  51. 8048497: 89 44 24 04 mov %eax,0x4(%esp)
  52. 804849b: c7 04 24 c8 85 04 08 movl $0x80485c8,(%esp)
  53. 80484a2: e8 49 fe ff ff call 80482f0 <strncmp@plt>
  54. 80484a7: 85 c0 test %eax,%eax
  55. 80484a9: 75 ca jne 8048475 <main+0x58>
  56. 80484ab: 8b 45 fc mov 0xfffffffc(%ebp),%eax
  57. 80484ae: 83 c0 0e add $0xe,%eax
  58. 80484b1: 89 04 24 mov %eax,(%esp)
  59. 80484b4: e8 4b ff ff ff call 8048404 <run>
  60. 80484b9: eb ba jmp 8048475 <main+0x58>
  61. 80484bb: b8 00 00 00 00 mov $0x0,%eax
  62. 80484c0: c9 leave
  63. 80484c1: c3 ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement