Advertisement
tyler569

asm and hex

Apr 6th, 2018
369
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ffffffff80106611 <ntohl>:
  2. ffffffff80106611:       55                      push   rbp
  3. ffffffff80106612:       48 89 e5                mov    rbp,rsp
  4. ffffffff80106615:       48 83 ec 08             sub    rsp,0x8
  5. ffffffff80106619:       89 7d fc                mov    DWORD PTR [rbp-0x4],edi
  6. ffffffff8010661c:       8b 45 fc                mov    eax,DWORD PTR [rbp-0x4]
  7. ffffffff8010661f:       c1 e8 18                shr    eax,0x18
  8. ffffffff80106622:       89 c2                   mov    edx,eax
  9. ffffffff80106624:       8b 45 fc                mov    eax,DWORD PTR [rbp-0x4]
  10. ffffffff80106627:       c1 e8 08                shr    eax,0x8
  11. ffffffff8010662a:       25 00 ff 00 00          and    eax,0xff00
  12. ffffffff8010662f:       09 c2                   or     edx,eax
  13. ffffffff80106631:       8b 45 fc                mov    eax,DWORD PTR [rbp-0x4]
  14. ffffffff80106634:       c1 e0 08                shl    eax,0x8
  15. ffffffff80106637:       25 00 00 ff 00          and    eax,0xff0000
  16. ffffffff8010663c:       09 c2                   or     edx,eax
  17. ffffffff8010663e:       8b 45 fc                mov    eax,DWORD PTR [rbp-0x4]
  18. ffffffff80106641:       c1 e0 18                shl    eax,0x18
  19. ffffffff80106644:       09 d0                   or     eax,edx
  20. ffffffff80106646:       c9                      leave
  21. ffffffff80106647:       c3                      ret
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement