Guest User

Untitled

a guest
Jan 22nd, 2018
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.20 KB | None | 0 0
  1. 0x080485f9 <Init+0>: push %ebp
  2. 0x080485fa <Init+1>: mov %esp,%ebp
  3. 0x080485fc <Init+3>: push %edi
  4. 0x080485fd <Init+4>: push %esi
  5. 0x080485fe <Init+5>: sub $0x2b0,%esp
  6. 0x08048604 <Init+11>: cld
  7. 0x08048605 <Init+12>: movl $0x80488c0,0x4(%esp)
  8. 0x0804860d <Init+20>: mov 0xc(%ebp),%eax
  9. 0x08048610 <Init+23>: mov %eax,(%esp)
  10. 0x08048613 <Init+26>: call 0x804848c <fopen@plt>
  11. 0x08048618 <Init+31>: mov %eax,-0xc(%ebp)
  12. 0x0804861b <Init+34>: cmpl $0x0,-0xc(%ebp)
  13. 0x0804861f <Init+38>: jne 0x8048639 <Init+64>
  14. 0x08048621 <Init+40>: movl $0x80488c2,(%esp)
  15. 0x08048628 <Init+47>: call 0x804846c <perror@plt>
  16. 0x0804862d <Init+52>: movl $0x0,(%esp)
  17. 0x08048634 <Init+59>: call 0x80484cc <exit@plt>
  18. 0x08048639 <Init+64>: movl $0x88,0x8(%esp)
  19. 0x08048641 <Init+72>: movl $0x0,0x4(%esp)
  20. 0x08048649 <Init+80>: lea -0x94(%ebp),%eax
  21. 0x0804864f <Init+86>: mov %eax,(%esp)
  22. 0x08048652 <Init+89>: call 0x804844c <memset@plt>
  23. 0x08048657 <Init+94>: call 0x804841c <getpid@plt>
  24. 0x0804865c <Init+99>: mov %eax,-0x10(%ebp)
  25. 0x0804865f <Init+102>: call 0x80484ac <getuid@plt>
  26. 0x08048664 <Init+107>: mov %eax,-0x14(%ebp)
  27. 0x08048667 <Init+110>: jmp 0x80486b4 <Init+187>
  28. 0x08048669 <Init+112>: lea -0x295(%ebp),%eax
  29. 0x0804866f <Init+118>: mov %eax,(%esp)
  30. 0x08048672 <Init+121>: call 0x80485be <chomp>
  31. 0x08048677 <Init+126>: movl $0x9,0x8(%esp)
  32. 0x0804867f <Init+134>: movl $0x80488cd,0x4(%esp)
  33. 0x08048687 <Init+142>: lea -0x295(%ebp),%eax
  34. 0x0804868d <Init+148>: mov %eax,(%esp)
  35. 0x08048690 <Init+151>: call 0x80484bc <strncmp@plt>
  36. 0x08048695 <Init+156>: test %eax,%eax
  37. 0x08048697 <Init+158>: jne 0x80486b4 <Init+187>
  38. 0x08048699 <Init+160>: lea -0x295(%ebp),%eax
  39. 0x0804869f <Init+166>: add $0x9,%eax
  40. 0x080486a2 <Init+169>: mov %eax,0x4(%esp)
  41. 0x080486a6 <Init+173>: lea -0x94(%ebp),%eax
  42. 0x080486ac <Init+179>: mov %eax,(%esp)
  43. 0x080486af <Init+182>: call 0x8048594 <cpstr>
  44. 0x080486b4 <Init+187>: mov -0xc(%ebp),%eax
  45. 0x080486b7 <Init+190>: mov %eax,0x8(%esp)
  46. 0x080486bb <Init+194>: movl $0x200,0x4(%esp)
  47. 0x080486c3 <Init+202>: lea -0x295(%ebp),%eax
  48. 0x080486c9 <Init+208>: mov %eax,(%esp)
  49. 0x080486cc <Init+211>: call 0x804843c <fgets@plt>
  50. 0x080486d1 <Init+216>: test %eax,%eax
  51. 0x080486d3 <Init+218>: jne 0x8048669 <Init+112>
  52. 0x080486d5 <Init+220>: mov -0xc(%ebp),%eax
  53. 0x080486d8 <Init+223>: mov %eax,(%esp)
  54. 0x080486db <Init+226>: call 0x804847c <fclose@plt>
  55. 0x080486e0 <Init+231>: mov 0x8(%ebp),%eax
  56. 0x080486e3 <Init+234>: mov %eax,-0x29c(%ebp)
  57. 0x080486e9 <Init+240>: lea -0x94(%ebp),%ecx
  58. 0x080486ef <Init+246>: mov %ecx,-0x2a0(%ebp)
  59. 0x080486f5 <Init+252>: movl $0x22,-0x2a4(%ebp)
  60. 0x080486ff <Init+262>: mov -0x29c(%ebp),%edi
  61. 0x08048705 <Init+268>: mov -0x2a0(%ebp),%esi
  62. 0x0804870b <Init+274>: mov -0x2a4(%ebp),%ecx
  63. 0x08048711 <Init+280>: rep movsl %ds:(%esi),%es:(%edi)
  64. 0x08048713 <Init+282>: mov 0x8(%ebp),%eax
  65. 0x08048716 <Init+285>: add $0x2b0,%esp
  66. 0x0804871c <Init+291>: pop %esi
  67. 0x0804871d <Init+292>: pop %edi
  68. 0x0804871e <Init+293>: pop %ebp
  69. 0x0804871f <Init+294>: ret $0x4
Add Comment
Please, Sign In to add comment