Advertisement
bottomy

Untitled

Apr 24th, 2012
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.61 KB | None | 0 0
  1. (__TEXT,__text) section
  2. start:
  3. 00000001000010b4 pushq $0x00
  4. 00000001000010b6 movq %rsp,%rbp
  5. 00000001000010b9 andq $0xf0,%rsp
  6. 00000001000010bd movq 0x08(%rbp),%rdi
  7. 00000001000010c1 leaq 0x10(%rbp),%rsi
  8. 00000001000010c5 movl %edi,%edx
  9. 00000001000010c7 addl $0x01,%edx
  10. 00000001000010ca shll $0x03,%edx
  11. 00000001000010cd addq %rsi,%rdx
  12. 00000001000010d0 movq %rdx,%rcx
  13. 00000001000010d3 jmp 0x1000010d9
  14. 00000001000010d5 addq $0x08,%rcx
  15. 00000001000010d9 cmpq $0x00,(%rcx)
  16. 00000001000010dd jne 0x1000010d5
  17. 00000001000010df addq $0x08,%rcx
  18. 00000001000010e3 callq 0x1000010f0
  19. 00000001000010e8 movl %eax,%edi
  20. 00000001000010ea callq 0x100001584 ; symbol stub for: _exit
  21. 00000001000010ef hlt
  22. 00000001000010f0 pushq %rbp
  23. 00000001000010f1 movq %rsp,%rbp
  24. 00000001000010f4 pushq %r15
  25. 00000001000010f6 pushq %r14
  26. 00000001000010f8 pushq %r13
  27. 00000001000010fa pushq %r12
  28. 00000001000010fc pushq %rbx
  29. 00000001000010fd subq $0x00000128,%rsp
  30. 0000000100001104 movq %rsi,%r15
  31. 0000000100001107 movl %edi,%r14d
  32. 000000010000110a xorl %edi,%edi
  33. 000000010000110c movl $0x00000400,%esi
  34. 0000000100001111 movl $0x00000007,%edx
  35. 0000000100001116 movl $0x00001001,%ecx
  36. 000000010000111b movl $0xffffffff,%r8d
  37. 0000000100001121 xorl %r9d,%r9d
  38. 0000000100001124 callq 0x100001590 ; symbol stub for: _mmap
  39. 0000000100001129 movq %rax,%r12
  40. 000000010000112c movq %r12,0x000019d5(%rip)
  41. 0000000100001133 testq %r12,%r12
  42. 0000000100001136 je 0x100001382
  43. 000000010000113c callq 0x100001572 ; symbol stub for: _arc4random
  44. 0000000100001141 movl %eax,%r13d
  45. 0000000100001144 andl $0x0f,%r13d
  46. 0000000100001148 leaq (%r12,%r13),%rdi
  47. 000000010000114c movq %rdi,0x000019bd(%rip)
  48. 0000000100001153 movq $0x0000000d,0xc8(%rbp)
  49. 000000010000115b leaq 0x0000195e(%rip),%rsi
  50. 0000000100001162 leaq 0xc8(%rbp),%rcx
  51. 0000000100001166 movq $0x00000007,0xd0(%rbp)
  52. 000000010000116e movl $0x000000d1,%edx
  53. 0000000100001173 movl $0x00000002,%r8d
  54. 0000000100001179 callq 0x1000013d0
  55. 000000010000117e callq 0x100001572 ; symbol stub for: _arc4random
  56. 0000000100001183 movl %eax,%ebx
  57. 0000000100001185 leaq 0x000018b4(%rip),%rsi
  58. 000000010000118c leaq 0xffffff68(%rbp),%rcx
  59. 0000000100001193 andl $0x0f,%ebx
  60. 0000000100001196 addq %r13,%rbx
  61. 0000000100001199 leaq 0x000000d1(%r12,%rbx),%rdi
  62. 00000001000011a1 movq %rdi,0x00001970(%rip)
  63. 00000001000011a8 movq $0x0000000e,0xffffff68(%rbp)
  64. 00000001000011b3 movq $0x00000015,0xffffff70(%rbp)
  65. 00000001000011be movq $0x0000001c,0xffffff78(%rbp)
  66. 00000001000011c9 movq $0x00000023,0x80(%rbp)
  67. 00000001000011d1 movq $0x00000029,0x88(%rbp)
  68. 00000001000011d9 movq $0x00000033,0x90(%rbp)
  69. 00000001000011e1 movq $0x0000003a,0x98(%rbp)
  70. 00000001000011e9 movq $0x00000040,0xa0(%rbp)
  71. 00000001000011f1 movq $0x00000047,0xa8(%rbp)
  72. 00000001000011f9 movq $0x00000061,0xb0(%rbp)
  73. 0000000100001201 movq $0x00000068,0xb8(%rbp)
  74. 0000000100001209 movq $0x00000072,0xc0(%rbp)
  75. 0000000100001211 movl $0x00000080,%edx
  76. 0000000100001216 movl $0x0000000c,%r8d
  77. 000000010000121c callq 0x1000013d0
  78. 0000000100001221 callq 0x100001572 ; symbol stub for: _arc4random
  79. 0000000100001226 leaq 0x000015e3(%rip),%r13
  80. 000000010000122d leaq 0xffffff38(%rbp),%rcx
  81. 0000000100001234 andl $0x0f,%eax
  82. 0000000100001237 leaq 0x00000151(%rax,%rbx),%rdi
  83. 000000010000123f addq %r12,%rdi
  84. 0000000100001242 movq %rdi,0x000018b7(%rip)
  85. 0000000100001249 movq $0x00000028,0xffffff38(%rbp)
  86. 0000000100001254 movq $0x00000039,0xffffff40(%rbp)
  87. 000000010000125f movq $0x00000015,0xffffff48(%rbp)
  88. 000000010000126a movq $0x00000023,0xffffff50(%rbp)
  89. 0000000100001275 movq $0x0000002f,0xffffff58(%rbp)
  90. 0000000100001280 movq $0x0000004c,0xffffff60(%rbp)
  91. 000000010000128b movq %r13,%rsi
  92. 000000010000128e movl $0x00000050,%edx
  93. 0000000100001293 movl $0x00000006,%r8d
  94. 0000000100001299 callq 0x1000013d0
  95. 000000010000129e leaq 0xfffffeb0(%rbp),%rcx
  96. 00000001000012a5 movq 0x00001854(%rip),%rdi
  97. 00000001000012ac movq $0x00000042,0xfffffeb0(%rbp)
  98. 00000001000012b7 movq $0x00000057,0xfffffeb8(%rbp)
  99. 00000001000012c2 movq $0x00000070,0xfffffec0(%rbp)
  100. 00000001000012cd movq $0x00000078,0xfffffec8(%rbp)
  101. 00000001000012d8 movq $0x00000003,0xfffffed0(%rbp)
  102. 00000001000012e3 addq $0x50,%r13
  103. 00000001000012e7 movq $0x00000038,0xfffffed8(%rbp)
  104. 00000001000012f2 movq $0x00000049,0xfffffee0(%rbp)
  105. 00000001000012fd addq $0x50,%rdi
  106. 0000000100001301 movq $0x0000005e,0xfffffee8(%rbp)
  107. 000000010000130c movq $0x00000065,0xfffffef0(%rbp)
  108. 0000000100001317 movq $0x0000007f,0xfffffef8(%rbp)
  109. 0000000100001322 movq $0x00000086,0xffffff00(%rbp)
  110. 000000010000132d movq $0x00000093,0xffffff08(%rbp)
  111. 0000000100001338 movq $0x000000a3,0xffffff10(%rbp)
  112. 0000000100001343 movq $0x000000ac,0xffffff18(%rbp)
  113. 000000010000134e movq $0x000000eb,0xffffff20(%rbp)
  114. 0000000100001359 movq $0x0000011b,0xffffff28(%rbp)
  115. 0000000100001364 movq $0x0000012b,0xffffff30(%rbp)
  116. 000000010000136f movq %r13,%rsi
  117. 0000000100001372 movl $0x00000145,%edx
  118. 0000000100001377 movl $0x00000011,%r8d
  119. 000000010000137d callq 0x1000013d0
  120. 0000000100001382 movq 0x000013f7(%rip),%rdi
  121. 0000000100001389 leaq 0x000013d0(%rip),%rsi
  122. 0000000100001390 call *0x000013ca(%rip)
  123. 0000000100001396 movq 0x00001763(%rip),%rdx
  124. 000000010000139d movq 0x00001324(%rip),%rsi
  125. 00000001000013a4 leaq 0x000007fe(%rip),%rcx
  126. 00000001000013ab movq %rax,%rdi
  127. 00000001000013ae callq 0x10000157e ; symbol stub for: _class_replaceMethod
  128. 00000001000013b3 movl %r14d,%edi
  129. 00000001000013b6 movq %r15,%rsi
  130. 00000001000013b9 callq 0x100001560 ; symbol stub for: _NSApplicationMain
  131. 00000001000013be addq $0x00000128,%rsp
  132. 00000001000013c5 popq %rbx
  133. 00000001000013c6 popq %r12
  134. 00000001000013c8 popq %r13
  135. 00000001000013ca popq %r14
  136. 00000001000013cc popq %r15
  137. 00000001000013ce popq %rbp
  138. 00000001000013cf ret
  139. 00000001000013d0 pushq %rbp
  140. 00000001000013d1 movq %rsp,%rbp
  141. 00000001000013d4 pushq %r15
  142. 00000001000013d6 pushq %r14
  143. 00000001000013d8 pushq %r12
  144. 00000001000013da pushq %rbx
  145. 00000001000013db movl %r8d,%r12d
  146. 00000001000013de movq %rcx,%rbx
  147. 00000001000013e1 movq %rsi,%r14
  148. 00000001000013e4 movq %rdi,%r15
  149. 00000001000013e7 movq %r15,%rdi
  150. 00000001000013ea movq %r14,%rsi
  151. 00000001000013ed callq 0x10000158a ; symbol stub for: _memcpy
  152. 00000001000013f2 testl %r12d,%r12d
  153. 00000001000013f5 je 0x10000140d
  154. 00000001000013f7 subq %r15,%r14
  155. 00000001000013fa movl %r12d,%eax
  156. 00000001000013fd movq (%rbx),%rcx
  157. 0000000100001400 addq %r14,(%r15,%rcx)
  158. 0000000100001404 addq $0x08,%rbx
  159. 0000000100001408 decq %rax
  160. 000000010000140b jne 0x1000013fd
  161. 000000010000140d popq %rbx
  162. 000000010000140e popq %r12
  163. 0000000100001410 popq %r14
  164. 0000000100001412 popq %r15
  165. 0000000100001414 popq %rbp
  166. 0000000100001415 ret
  167. 0000000100001416 pushq %rbp
  168. 0000000100001417 movq %rsp,%rbp
  169. 000000010000141a subq $0x10,%rsp
  170. 000000010000141e movq %rdi,0xf0(%rbp)
  171. 0000000100001422 movq 0x0000136f(%rip),%rax
  172. 0000000100001429 movq %rax,0xf8(%rbp)
  173. 000000010000142d movq 0x000012c4(%rip),%rsi
  174. 0000000100001434 leaq 0xf0(%rbp),%rdi
  175. 0000000100001438 callq 0x1000015ae ; symbol stub for: _objc_msgSendSuper2
  176. 000000010000143d addq $0x10,%rsp
  177. 0000000100001441 popq %rbp
  178. 0000000100001442 ret
  179. 0000000100001443 pushq %rbp
  180. 0000000100001444 movq %rsp,%rbp
  181. 0000000100001447 popq %rbp
  182. 0000000100001448 ret
  183. 0000000100001449 pushq %rbp
  184. 000000010000144a movq %rsp,%rbp
  185. 000000010000144d movq 0x000016b4(%rip),%rdi
  186. 0000000100001454 movl $0x00000400,%esi
  187. 0000000100001459 popq %rbp
  188. 000000010000145a jmp 0x100001596 ; symbol stub for: _munmap
  189. 000000010000145f pushq %rbp
  190. 0000000100001460 movq %rsp,%rbp
  191. 0000000100001463 movq 0x0000166e(%rip),%rax
  192. 000000010000146a movq (%rdi,%rax),%rax
  193. 000000010000146e popq %rbp
  194. 000000010000146f ret
  195. 0000000100001470 pushq %rbp
  196. 0000000100001471 movq %rsp,%rbp
  197. 0000000100001474 movq 0x0000165d(%rip),%rax
  198. 000000010000147b movq %rdx,(%rdi,%rax)
  199. 000000010000147f popq %rbp
  200. 0000000100001480 ret
  201. 0000000100001481 pushq %rbp
  202. 0000000100001482 movq %rsp,%rbp
  203. 0000000100001485 pushq %r14
  204. 0000000100001487 pushq %rbx
  205. 0000000100001488 subq $0x30,%rsp
  206. 000000010000148c movq %rdi,0xe0(%rbp)
  207. 0000000100001490 movq 0x00001269(%rip),%rsi
  208. 0000000100001497 call *0x00000ba3(%rip)
  209. 000000010000149d movq %rax,0xe8(%rbp)
  210. 00000001000014a1 movq 0x00001228(%rip),%rsi
  211. 00000001000014a8 leaq 0xe0(%rbp),%rdi
  212. 00000001000014ac movq 0x28(%rbp),%rax
  213. 00000001000014b0 movq %rax,0x18(%rsp)
  214. 00000001000014b5 movq 0x20(%rbp),%rax
  215. 00000001000014b9 movq %rax,0x10(%rsp)
  216. 00000001000014be movq 0x10(%rbp),%rax
  217. 00000001000014c2 movq 0x18(%rbp),%rcx
  218. 00000001000014c6 movq %rcx,0x08(%rsp)
  219. 00000001000014cb movq %rax,(%rsp)
  220. 00000001000014cf xorb %al,%al
  221. 00000001000014d1 callq 0x1000015a8 ; symbol stub for: _objc_msgSendSuper
  222. 00000001000014d6 movq %rax,%rbx
  223. 00000001000014d9 testq %rbx,%rbx
  224. 00000001000014dc je 0x100001553
  225. 00000001000014de movq 0x00001223(%rip),%rsi
  226. 00000001000014e5 leaq 0x000015f4(%rip),%rdx
  227. 00000001000014ec movq 0x00000b4d(%rip),%r14
  228. 00000001000014f3 movq %rbx,%rdi
  229. 00000001000014f6 call *%r14
  230. 00000001000014f9 movq 0x00001210(%rip),%rsi
  231. 0000000100001500 movq %rbx,%rdi
  232. 0000000100001503 movq %rbx,%rdx
  233. 0000000100001506 call *%r14
  234. 0000000100001509 movq 0x00001208(%rip),%rsi
  235. 0000000100001510 movq 0x000011c1(%rip),%rdx
  236. 0000000100001517 movq %rbx,%rdi
  237. 000000010000151a call *%r14
  238. 000000010000151d movq 0x000011fc(%rip),%rsi
  239. 0000000100001524 movq %rbx,%rdi
  240. 0000000100001527 movl $0x00000001,%edx
  241. 000000010000152c call *%r14
  242. 000000010000152f movq 0x000011f2(%rip),%rsi
  243. 0000000100001536 movq %rbx,%rdi
  244. 0000000100001539 movl $0x00000007,%edx
  245. 000000010000153e call *%r14
  246. 0000000100001541 movq 0x000011e8(%rip),%rsi
  247. 0000000100001548 movq %rbx,%rdi
  248. 000000010000154b movl $0x00000001,%edx
  249. 0000000100001550 call *%r14
  250. 0000000100001553 movq %rbx,%rax
  251. 0000000100001556 addq $0x30,%rsp
  252. 000000010000155a popq %rbx
  253. 000000010000155b popq %r14
  254. 000000010000155d popq %rbp
  255. 000000010000155e ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement