Advertisement
Guest User

Untitled

a guest
Dec 27th, 2013
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .text:00001E00
  2. .text:00001E00 ; =============== S U B R O U T I N E =======================================
  3. .text:00001E00
  4. .text:00001E00
  5. .text:00001E00 ; OnSAMPQuery(in_addr, unsigned short, char *, int, int)
  6. .text:00001E00                 public _Z11OnSAMPQuery7in_addrtPcii
  7. .text:00001E00 _Z11OnSAMPQuery7in_addrtPcii proc near  ; DATA XREF: .got:_Z11OnSAMPQuery7in_addrtPcii_ptro
  8. .text:00001E00
  9. .text:00001E00 in              = in_addr ptr -1Ch
  10. .text:00001E00 arg_0           = dword ptr  4
  11. .text:00001E00
  12. .text:00001E00                 push    ebx
  13. .text:00001E01                 sub     esp, 18h
  14. .text:00001E04                 call    __x86_get_pc_thunk_bx
  15. .text:00001E09                 add     ebx, 31F7h
  16. .text:00001E0F                 mov     eax, [esp+1Ch+arg_0]
  17. .text:00001E13                 mov     [esp+1Ch+in.s_addr], eax ; in
  18. .text:00001E16                 call    _inet_ntoa
  19. .text:00001E1B                 mov     [esp+1Ch+in.s_addr], eax ; s
  20. .text:00001E1E                 call    _puts
  21. .text:00001E23                 retn
  22. .text:00001E23 _Z11OnSAMPQuery7in_addrtPcii endp ; sp-analysis failed
  23. .text:00001E23
  24. .text:00001E24 ; ---------------------------------------------------------------------------
  25. .text:00001E24                 add     esp, 18h
  26. .text:00001E27                 pop     ebx
  27. .text:00001E28                 retn
  28. .text:00001E28 ; ---------------------------------------------------------------------------
  29. .text:00001E29                 align 10h
  30. .text:00001E30
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement