Function at 0x402ab0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x436134
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4f8
push ebx
push esi
push edi
push ecx
lea edi, [ebp - 0x504]
mov ecx, 0x13e
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x4c], 0x10
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x70]
je 0x402be0
mov dword [ebp - 0x50], 1
push 0x400
push 0
lea edx, [ebp - 0x450]
push edx
call sub.MSVCRTD.dll_memset
add esp, 0xc
mov esi, esp
push 0
push 0x400
lea eax, [ebp - 0x450]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
mov dword [ebp - 0x454], eax
cmp dword [ebp - 0x454], 0xffffffff
jne 0x402b65
mov esi, esp
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.WS2_32.dll_closesocket]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
xor eax, eax
jmp 0x403014
mov eax, dword [ebp - 0x454]
xor ecx, ecx
mov cl, byte [ebp + eax - 0x452]
cmp ecx, 0xd
jne 0x402b94
mov edx, dword [ebp - 0x454]
xor eax, eax
mov al, byte [ebp + edx - 0x451]
cmp eax, 0xa
jne 0x402b94
xor eax, eax
jmp 0x403014
mov esi, esp
lea ecx, [ebp - 0x4c]
push ecx
lea edx, [ebp - 0x48]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.WS2_32.dll_getpeername]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
push 0x27
mov ecx, dword [ebp - 0x454]
lea edx, [ebp + ecx - 0x477]
push edx
lea eax, [ebp - 0x38]
push eax
call sub.MSVCRTD.dll_memcpy
add esp, 0xc
mov esi, esp
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.WS2_32.dll_closesocket]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
jmp 0x402c23
mov dword [ebp - 0x50], 0
mov esi, esp
lea edx, [ebp - 0x4c]
push edx
lea eax, [ebp - 0x48]
push eax
push 0
push 0x27
lea ecx, [ebp - 0x38]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0x70]
push eax
call dword [sym.imp.WS2_32.dll_recvfrom]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
mov dword [ebp - 0x458], eax
cmp dword [ebp - 0x458], 0xffffffff
jne 0x402c23
xor eax, eax
jmp 0x403014
push 0xf
lea ecx, [ebp - 0x28]
push ecx
lea edx, [ebp - 0x45c]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.00403d40
mov dword [ebp - 4], 0
push 4
lea eax, [ebp - 0x19]
push eax
lea ecx, [ebp - 0x460]
push ecx
call sub.MSVCRTD.dll_memcpy
add esp, 0xc
mov esi, esp
mov edx, dword [ebp - 0x460]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
push eax
lea ecx, [ebp - 0x464]
call sub.MFC42D.DLL_Ordinal_487
mov byte [ebp - 4], 1
push 0
mov eax, dword [ebp - 0x15]
push eax
push 0
push 0
lea ecx, [ebp - 0x468]
call sub.MFC42D.DLL_Ordinal_514
push ecx
mov ecx, esp
mov dword [ebp - 0x4a4], esp
lea edx, [ebp - 0x468]
push edx
call sub.MFC42D.DLL_Ordinal_512
lea eax, [ebp - 0x4a8]
push eax
lea ecx, [ebp - 0x4a0]
push ecx
call sub.MFC42D.DLL_Ordinal_3110
mov ecx, eax
call sub.MFC42D.DLL_Ordinal_896
push eax
lea ecx, [ebp - 0x46c]
call sub.MFC42D.DLL_Ordinal_507
lea ecx, [ebp - 0x470]
call sub.MFC42D.DLL_Ordinal_492
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x468]
call sub.MFC42D.DLL_Ordinal_2720
push eax
lea ecx, [ebp - 0x468]
call sub.MFC42D.DLL_Ordinal_2562
push eax
lea ecx, [ebp - 0x468]
call sub.MFC42D.DLL_Ordinal_2408
push eax
push str._d__02d:_02d
lea edx, [ebp - 0x470]
push edx
call sub.MFC42D.DLL_Ordinal_2168
add esp, 0x14
mov esi, esp
mov eax, dword [ebp - 0x44]
push eax
call dword [sym.imp.WS2_32.dll_inet_ntoa]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
push eax
lea ecx, [ebp - 0x474]
call sub.MFC42D.DLL_Ordinal_487
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x464]
push ecx
lea edx, [ebp - 0x474]
push edx
call sub.MFC42D.DLL_Ordinal_812
and eax, 0xff
test eax, eax
je 0x402d60
push str.________
lea ecx, [ebp - 0x464]
call sub.MFC42D.DLL_Ordinal_736
push 0x43d0e0
lea ecx, [ebp - 0x478]
call sub.MFC42D.DLL_Ordinal_487
mov byte [ebp - 4], 4
lea eax, [ebp - 0x478]
push eax
lea ecx, [ebp - 0x45c]
call sub.MFC42D.DLL_Ordinal_880
push eax
mov ecx, dword [ebp + 0x10]
call sub.MFC42D.DLL_Ordinal_3469
push ecx
mov ecx, esp
mov dword [ebp - 0x4ac], esp
lea edx, [ebp - 0x474]
push edx
call sub.MFC42D.DLL_Ordinal_485
mov dword [ebp - 0x4b8], eax
lea eax, [ebp - 0x47c]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0xc0
call fcn.0040b710
mov dword [ebp - 0x4bc], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x10]
add ecx, 0x9c
call sub.MFC42D.DLL_Ordinal_3452
mov dword [ebp - 0x480], 0
mov dword [ebp - 0x498], 2
lea ecx, [ebp - 0x45c]
call sub.MFC42D.DLL_Ordinal_880
mov dword [ebp - 0x494], eax
push 0xffffffffffffffff
lea ecx, [ebp - 0x498]
push ecx
mov ecx, dword [ebp + 0xc]
call sub.MFC42D.DLL_Ordinal_2140
mov dword [ebp - 0x49c], eax
cmp dword [ebp - 0x49c], 0xffffffff
jne 0x402e57
push 0
mov ecx, dword [ebp + 0xc]
call sub.MFC42D.DLL_Ordinal_4818
mov edx, dword [ebp - 0x50]
push edx
lea ecx, [ebp - 0x45c]
call sub.MFC42D.DLL_Ordinal_880
push eax
mov ecx, dword [ebp + 0xc]
call sub.MFC42D.DLL_Ordinal_2593
push eax
mov ecx, dword [ebp + 0xc]
call sub.MFC42D.DLL_Ordinal_3287
mov dword [ebp - 0x49c], eax
mov dword [ebp - 0x480], 1
lea ecx, [ebp - 0x474]
call sub.MFC42D.DLL_Ordinal_880
push eax
push 1
mov eax, dword [ebp - 0x49c]
push eax
mov ecx, dword [ebp + 0xc]
call sub.MFC42D.DLL_Ordinal_4720
lea ecx, [ebp - 0x464]
call sub.MFC42D.DLL_Ordinal_880
push eax
push 2
mov ecx, dword [ebp - 0x49c]
push ecx
mov ecx, dword [ebp + 0xc]
call sub.MFC42D.DLL_Ordinal_4720
lea ecx, [ebp - 0x47c]
call sub.MFC42D.DLL_Ordinal_880
push eax
push 3
mov edx, dword [ebp - 0x49c]
push edx
mov ecx, dword [ebp + 0xc]
call sub.MFC42D.DLL_Ordinal_4720
push str._m__d__H:_M
lea eax, [ebp - 0x4b0]
push eax
lea ecx, [ebp - 0x46c]
call sub.MFC42D.DLL_Ordinal_2170
mov dword [ebp - 0x4c0], eax
mov ecx, dword [ebp - 0x4c0]
mov dword [ebp - 0x4c4], ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x4c4]
call sub.MFC42D.DLL_Ordinal_880
push eax
push 4
mov edx, dword [ebp - 0x49c]
push edx
mov ecx, dword [ebp + 0xc]
call sub.MFC42D.DLL_Ordinal_4720
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x4b0]
call sub.MFC42D.DLL_Ordinal_684
lea ecx, [ebp - 0x470]
call sub.MFC42D.DLL_Ordinal_880
push eax
push 5
mov eax, dword [ebp - 0x49c]
push eax
mov ecx, dword [ebp + 0xc]
call sub.MFC42D.DLL_Ordinal_4720
lea ecx, [ebp - 0x478]
call sub.MFC42D.DLL_Ordinal_880
push eax
push 6
mov ecx, dword [ebp - 0x49c]
push ecx
mov ecx, dword [ebp + 0xc]
call sub.MFC42D.DLL_Ordinal_4720
cmp dword [ebp - 0x480], 0
je 0x402f87
mov ecx, dword [ebp + 0xc]
call sub.MFC42D.DLL_Ordinal_2593
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x54], eax
mov eax, dword [ebp - 0x10]
xor ecx, ecx
cmp dword [eax + 0x44], 0
sete cl
mov edx, dword [ebp - 0x10]
mov dword [edx + 0x44], ecx
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x40]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov ecx, dword [ebp - 0x10]
call fcn.004034e0
push 1
mov ecx, dword [ebp + 0xc]
call sub.MFC42D.DLL_Ordinal_4818
mov ecx, dword [ebp - 0x10]
add ecx, 0x9c
mov eax, dword [ebp - 0x10]
mov edx, dword [eax + 0x9c]
mov esi, esp
call dword [edx + 0x1c]
cmp esi, esp
call sub.MSVCRTD.dll__chkesp
mov eax, dword [ebp - 0x480]
mov dword [ebp - 0x4b4], eax
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x47c]
call sub.MFC42D.DLL_Ordinal_684
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x478]
call sub.MFC42D.DLL_Ordinal_684
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x474]
call sub.MFC42D.DLL_Ordinal_684
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x470]
call sub.MFC42D.DLL_Ordinal_684
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x464]
call sub.MFC42D.DLL_Ordinal_684
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x45c]
call sub.MFC42D.DLL_Ordinal_684
mov eax, dword [ebp - 0x4b4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
add esp, 0x504
cmp ebp, esp
call sub.MSVCRTD.dll__chkesp
mov esp, ebp
pop ebp
ret 0xc