Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Apr 11th, 2012  |  syntax: ASM (NASM)  |  size: 8.66 KB  |  hits: 23  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. .text:00864162                 push    4               ; jumptable 00863E58 case 4
  2. .text:00864164                 lea     eax, [ebp+var_54]
  3. .text:00864167                 push    eax
  4. .text:00864168                 mov     ecx, [ebp+arg_0]
  5. .text:0086416B                 call    ds:?ReadData@i3NetworkPacket@@QAEXPAXH@Z ; i3NetworkPacket::ReadData(void *,int)
  6. .text:00864171                 push    4
  7. .text:00864173                 lea     ecx, [ebp+var_58]
  8. .text:00864176                 push    ecx
  9. .text:00864177                 mov     ecx, [ebp+arg_0]
  10. .text:0086417A                 call    ds:?ReadData@i3NetworkPacket@@QAEXPAXH@Z ; i3NetworkPacket::ReadData(void *,int)
  11. .text:00864180                 cmp     [ebp+var_54], 0
  12. .text:00864184                 jz      loc_86435C
  13. .text:0086418A                 cmp     [ebp+var_58], 10h
  14. .text:0086418E                 jnb     loc_864355
  15. .text:00864194                 mov     edx, dword_A86D18
  16. .text:0086419A                 mov     eax, [edx+4D4Ch]
  17. .text:008641A0                 mov     [ebp+var_60], eax
  18. .text:008641A3                 push    1
  19. .text:008641A5                 lea     ecx, [ebp+var_65]
  20. .text:008641A8                 push    ecx
  21. .text:008641A9                 mov     ecx, [ebp+arg_0]
  22. .text:008641AC                 call    ds:?ReadData@i3NetworkPacket@@QAEXPAXH@Z ; i3NetworkPacket::ReadData(void *,int)
  23. .text:008641B2                 mov     edx, dword_A86D18
  24. .text:008641B8                 mov     [ebp+var_834], edx
  25. .text:008641BE                 cmp     [ebp+var_60], 0
  26. .text:008641C2                 jl      short loc_8641CA
  27. .text:008641C4                 cmp     [ebp+var_60], 10h
  28. .text:008641C8                 jl      short loc_8641F4
  29. .text:008641CA
  30. .text:008641CA loc_8641CA:                             ; CODE XREF: sub_863D80+442j
  31. .text:008641CA                 push    0
  32. .text:008641CC                 push    offset aStruct__netudp ; "struct __NetUdpInfo *__thiscall CGameCo"...
  33. .text:008641D1                 push    4C4h
  34. .text:008641D6                 push    0
  35. .text:008641D8                 call    ds:?SetEnv@i3Error@@YAXPBDH0W4I3LOG_TYPE@@@Z ; i3Error::SetEnv(char const *,int,char const *,I3LOG_TYPE)
  36. .text:008641DE                 add     esp, 10h
  37. .text:008641E1                 push    offset aIdx0Idx16 ; "((idx) >= 0) && ((idx) < (16))"
  38. .text:008641E6                 push    offset aAssertedS ; "Asserted : %s"
  39. .text:008641EB                 call    ds:?Log@i3Error@@YAXPBDZZ ; i3Error::Log(char const *,...)
  40. .text:008641F1                 add     esp, 8
  41. .text:008641F4
  42. .text:008641F4 loc_8641F4:                             ; CODE XREF: sub_863D80+448j
  43. .text:008641F4                 push    0Dh
  44. .text:008641F6                 mov     eax, [ebp+var_60]
  45. .text:008641F9                 imul    eax, 0Dh
  46. .text:008641FC                 mov     ecx, [ebp+var_834]
  47. .text:00864202                 lea     edx, [ecx+eax+4596Ch]
  48. .text:00864209                 push    edx
  49. .text:0086420A                 mov     ecx, [ebp+arg_0]
  50. .text:0086420D                 call    ds:?ReadData@i3NetworkPacket@@QAEXPAXH@Z ; i3NetworkPacket::ReadData(void *,int)
  51. .text:00864213                 mov     eax, [ebp+var_58]
  52. .text:00864216                 mov     [ebp+var_83C], eax
  53. .text:0086421C                 mov     ecx, dword_A86D18
  54. .text:00864222                 mov     [ebp+var_838], ecx
  55. .text:00864228                 cmp     [ebp+var_83C], 0
  56. .text:0086422F                 jl      short loc_86423A
  57. .text:00864231                 cmp     [ebp+var_83C], 10h
  58. .text:00864238                 jl      short loc_864264
  59. .text:0086423A
  60. .text:0086423A loc_86423A:                             ; CODE XREF: sub_863D80+4AFj
  61. .text:0086423A                 push    0
  62. .text:0086423C                 push    offset aStruct__netudp ; "struct __NetUdpInfo *__thiscall CGameCo"...
  63. .text:00864241                 push    4C4h
  64. .text:00864246                 push    0
  65. .text:00864248                 call    ds:?SetEnv@i3Error@@YAXPBDH0W4I3LOG_TYPE@@@Z ; i3Error::SetEnv(char const *,int,char const *,I3LOG_TYPE)
  66. .text:0086424E                 add     esp, 10h
  67. .text:00864251                 push    offset aIdx0Idx16 ; "((idx) >= 0) && ((idx) < (16))"
  68. .text:00864256                 push    offset aAssertedS ; "Asserted : %s"
  69. .text:0086425B                 call    ds:?Log@i3Error@@YAXPBDZZ ; i3Error::Log(char const *,...)
  70. .text:00864261                 add     esp, 8
  71. .text:00864264
  72. .text:00864264 loc_864264:                             ; CODE XREF: sub_863D80+4B8j
  73. .text:00864264                 push    0Dh
  74. .text:00864266                 mov     edx, [ebp+var_83C]
  75. .text:0086426C                 imul    edx, 0Dh
  76. .text:0086426F                 mov     eax, [ebp+var_838]
  77. .text:00864275                 lea     ecx, [eax+edx+4596Ch]
  78. .text:0086427C                 push    ecx
  79. .text:0086427D                 mov     ecx, [ebp+arg_0]
  80. .text:00864280                 call    ds:?ReadData@i3NetworkPacket@@QAEXPAXH@Z ; i3NetworkPacket::ReadData(void *,int)
  81. .text:00864286                 push    4
  82. .text:00864288                 lea     edx, [ebp+var_70]
  83. .text:0086428B                 push    edx
  84. .text:0086428C                 mov     ecx, [ebp+arg_0]
  85. .text:0086428F                 call    ds:?ReadData@i3NetworkPacket@@QAEXPAXH@Z ; i3NetworkPacket::ReadData(void *,int)
  86. .text:00864295                 push    2
  87. .text:00864297                 lea     eax, [ebp+var_64]
  88. .text:0086429A                 push    eax
  89. .text:0086429B                 mov     ecx, [ebp+arg_0]
  90. .text:0086429E                 call    ds:?ReadData@i3NetworkPacket@@QAEXPAXH@Z ; i3NetworkPacket::ReadData(void *,int)
  91. .text:008642A4                 push    4
  92. .text:008642A6                 lea     ecx, [ebp+var_74]
  93. .text:008642A9                 push    ecx
  94. .text:008642AA                 mov     ecx, [ebp+arg_0]
  95. .text:008642AD                 call    ds:?ReadData@i3NetworkPacket@@QAEXPAXH@Z ; i3NetworkPacket::ReadData(void *,int)
  96. .text:008642B3                 push    4
  97. .text:008642B5                 lea     edx, [ebp+var_6C]
  98. .text:008642B8                 push    edx
  99. .text:008642B9                 mov     ecx, [ebp+arg_0]
  100. .text:008642BC                 call    ds:?ReadData@i3NetworkPacket@@QAEXPAXH@Z ; i3NetworkPacket::ReadData(void *,int)
  101. .text:008642C2                 movzx   eax, [ebp+var_65]
  102. .text:008642C6                 mov     [ebp+var_844], eax
  103. .text:008642CC                 mov     ecx, dword_A86D18
  104. .text:008642D2                 mov     [ebp+var_840], ecx
  105. .text:008642D8                 mov     edx, [ebp+var_840]
  106. .text:008642DE                 mov     eax, [ebp+var_844]
  107. .text:008642E4                 mov     [edx+338h], eax
  108. .text:008642EA                 mov     cl, [ebp+var_65]
  109. .text:008642ED                 mov     [ebp+var_BD4], cl
  110. .text:008642F3                 cmp     [ebp+var_BD4], 2
  111. .text:008642FA                 jb      short loc_864340
  112. .text:008642FC                 cmp     [ebp+var_BD4], 3
  113. .text:00864303                 jbe     short loc_864307
  114. .text:00864305                 jmp     short loc_864340
  115. .text:00864307 ; ---------------------------------------------------------------------------
  116. .text:00864307
  117. .text:00864307 loc_864307:                             ; CODE XREF: sub_863D80+583j
  118. .text:00864307                 mov     edx, dword_A86D18
  119. .text:0086430D                 mov     eax, [edx+4D50h]
  120. .text:00864313                 mov     [ebp+var_848], eax
  121. .text:00864319                 mov     ecx, [ebp+var_58]
  122. .text:0086431C                 cmp     ecx, [ebp+var_848]
  123. .text:00864322                 jnz     short loc_864340
  124. .text:00864324                 mov     edx, [ebp+var_6C]
  125. .text:00864327                 push    edx
  126. .text:00864328                 mov     eax, [ebp+var_74]
  127. .text:0086432B                 push    eax
  128. .text:0086432C                 movzx   ecx, [ebp+var_64]
  129. .text:00864330                 push    ecx
  130. .text:00864331                 mov     edx, [ebp+var_70]
  131. .text:00864334                 push    edx
  132. .text:00864335                 mov     ecx, dword_A86D18
  133. .text:0086433B                 call    sub_46CFB0
  134. .text:00864340
  135. .text:00864340 loc_864340:                             ; CODE XREF: sub_863D80+57Aj
  136. .text:00864340                                         ; sub_863D80+585j ...
  137. .text:00864340                 push    1
  138. .text:00864342                 mov     ecx, dword_A86CD4
  139. .text:00864348                 call    sub_4C0FE0
  140. .text:0086434D                 mov     eax, [ebp+var_58]
  141. .text:00864350                 mov     [ebp+var_5C], eax
  142. .text:00864353                 jmp     short loc_86435A
  143. .text:00864355 ; ---------------------------------------------------------------------------
  144. .text:00864355