Advertisement
Guest User

Untitled

a guest
Oct 14th, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. .text:6C845CDF ; =============== S U B R O U T I N E =======================================
  2. .text:6C845CDF
  3. .text:6C845CDF ; Attributes: bp-based frame
  4. .text:6C845CDF
  5. .text:6C845CDF ; __stdcall GetMessageCommand(x, x, x, x, x)
  6. .text:6C845CDF _GetMessageCommand@20 proc near         ; CODE XREF: DoProtocolMulticast(x,x,x,x,x)+3Ep
  7. .text:6C845CDF                                         ; DoMulticast(x,x,x,x,x)+5Ap ...
  8. .text:6C845CDF
  9. .text:6C845CDF var_20          = dword ptr  0Ch
  10. .text:6C845CDF pktsize         = dword ptr  10h
  11. .text:6C845CDF pkt             = dword ptr  14h
  12. .text:6C845CDF arg_10          = dword ptr  18h
  13. .text:6C845CDF
  14. .text:6C845CDF                 mov     edi, edi
  15. .text:6C845CE1                 push    ebp
  16. .text:6C845CE2                 mov     ebp, esp
  17. .text:6C845CE4                 mov     edx, [ebp+arg_10]
  18. .text:6C845CE7                 and     dword ptr [edx], 0
  19. .text:6C845CEA                 mov     ecx, [ebp+pkt]
  20. .text:6C845CED                 and     dword ptr [ecx], 0
  21. .text:6C845CF0                 cmp     [ebp+pktsize], 4
  22. .text:6C845CF4                 jb      short loc_6C845D2D
  23. .text:6C845CF6                 mov     eax, [ebp+var_20]
  24. .text:6C845CF9                 cmp     dword ptr [eax], 79616C70h
  25. .text:6C845CFF                 jnz     short loc_6C845D2D
  26. .text:6C845D01                 cmp     [ebp+pktsize], 8
  27. .text:6C845D05                 jnb     short loc_6C845D0E
  28. .text:6C845D07                 mov     eax, 80070057h
  29. .text:6C845D0C                 jmp     short loc_6C845D35
  30. .text:6C845D0E ; ---------------------------------------------------------------------------
  31. .text:6C845D0E
  32. .text:6C845D0E loc_6C845D0E:                           ; CODE XREF: GetMessageCommand(x,x,x,x,x)+26j
  33. .text:6C845D0E                 push    esi
  34. .text:6C845D0F                 mov     esi, [eax+4]
  35. .text:6C845D12                 and     esi, 0FFFFh
  36. .text:6C845D18                 mov     [ecx], esi
  37. .text:6C845D1A                 movzx   eax, word ptr [eax+6]
  38. .text:6C845D1E                 cmp     eax, 1
  39. .text:6C845D21                 mov     [edx], eax
  40. .text:6C845D23                 pop     esi
  41. .text:6C845D24                 jnb     short loc_6C845D33
  42. .text:6C845D26                 mov     eax, 80004001h
  43. .text:6C845D2B                 jmp     short loc_6C845D35
  44. .text:6C845D2D ; ---------------------------------------------------------------------------
  45. .text:6C845D2D
  46. .text:6C845D2D loc_6C845D2D:                           ; CODE XREF: GetMessageCommand(x,x,x,x,x)+15j
  47. .text:6C845D2D                                         ; GetMessageCommand(x,x,x,x,x)+20j
  48. .text:6C845D2D                 mov     dword ptr [ecx], 0Ah
  49. .text:6C845D33
  50. .text:6C845D33 loc_6C845D33:                           ; CODE XREF: GetMessageCommand(x,x,x,x,x)+45j
  51. .text:6C845D33                 xor     eax, eax
  52. .text:6C845D35
  53. .text:6C845D35 loc_6C845D35:                           ; CODE XREF: GetMessageCommand(x,x,x,x,x)+2Dj
  54. .text:6C845D35                                         ; GetMessageCommand(x,x,x,x,x)+4Cj
  55. .text:6C845D35                 pop     ebp
  56. .text:6C845D36                 retn    14h
  57. .text:6C845D36 _GetMessageCommand@20 endp
  58. .text:6C845D36
  59. .text:6C845D36 ; ---------------------------------------------------------------------------
  60. .text:6C845D39                 align 4
  61. .text:6C845D3C                 db 2 dup(0CCh)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement