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

Disassembly:
push 0xffffffffffffffff
push 0x41e2ca
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x49c
mov edx, dword [esp + 0x4ac]
lea eax, [esp]
push eax
push edx
mov dword [esp + 0x14], 0
call fcn.00402d80
mov ecx, dword [esp]
mov dword [esp + 4], eax
test ecx, ecx
je 0x403482
push ebp
push esi
push edi
lea ecx, [esp + 0x74]
mov dword [esp + 0x1c], 0x420270
call fcn.00404730
mov esi, 1
mov dword [esp + 0x74], 0x42026c
mov dword [esp + 0x18], esi
push 0
push esi
lea eax, [esp + 0x28]
push 0
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c0], 0
call fcn.004045e0
lea ecx, [esp + 0x20]
mov dword [esp + 0x4b0], esi
mov dword [esp + 0x14], ecx
lea ecx, [esp + 0x20]
call fcn.00404880
lea ecx, [esp + 0x6c]
call fcn.00404490
push 0
push 0
lea ecx, [esp + 0x28]
mov byte [esp + 0x4b8], 3
mov dword [esp + 0x28], 0x420238
call fcn.00404900
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x1c], 0x420234
mov eax, dword [esp + 0x70]
mov dword [esp + 0x4b0], 4
test eax, eax
jne 0x40333a
mov ecx, dword [esp + 0x4bc]
push 0x22
push ecx
call fcn.00405b7d
add esp, 8
test eax, eax
je 0x40333a
push esi
push eax
lea ecx, [esp + 0x28]
call fcn.00404900
lea ecx, [esp + 0x20]
call fcn.004049e0
lea edx, [esp + 0x20]
test edx, edx
jne 0x403353
mov eax, dword [esp + 0x1c]
push 0
mov ecx, dword [eax + 4]
mov eax, dword [esp + ecx + 0x24]
or al, 2
lea ecx, [esp + ecx + 0x20]
push eax
call fcn.004046a0
xor ebp, ebp
mov ecx, 0x100
xor eax, eax
lea edi, [esp + 0xa8]
push eax
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x10]
lea edx, [esp + 0xac]
push 0x400
push edx
push eax
call dword [sym.imp.WS2_32.dll_recv]
mov edi, eax
test edi, edi
jle 0x4033f0
lea ecx, [esp + 0xa8]
push edi
push ecx
lea ecx, [esp + 0x24]
add ebp, edi
call fcn.00403630
mov edx, dword [esp + 0x1c]
xor esi, esi
mov eax, dword [edx + 4]
mov cl, byte [esp + eax + 0x20]
lea eax, [esp + eax + 0x1c]
test cl, 6
jne 0x4033c2
mov eax, dword [eax + 0x28]
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x2c]
cmp eax, 0xffffffff
jne 0x4033c2
mov esi, 4
mov eax, dword [esp + 0x1c]
test esi, esi
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x1c]
je 0x4033e7
mov eax, dword [ecx + 4]
mov edx, dword [ecx + 0x28]
or eax, esi
test edx, edx
jne 0x4033df
or al, 4
push 0
push eax
call fcn.004057ee
cmp edi, 0xffffffff
jne 0x403355
mov eax, dword [esp + 0x70]
pop edi
pop esi
pop ebp
test eax, eax
je 0x40341c
push eax
call fcn.004126c1
add esp, 4
test eax, eax
jne 0x40341c
push 2
push eax
lea ecx, [esp + 0x1c]
call fcn.00404900
lea edx, [esp + 0x14]
test edx, edx
jne 0x403430
mov eax, dword [esp + 0x10]
push 0
push 2
mov ecx, dword [eax + 4]
lea ecx, [esp + ecx + 0x18]
call fcn.00403800
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x68]
mov dword [esp + 8], edx
mov ecx, dword [eax + 4]
mov dword [esp + ecx + 0x10], 0x420234
lea ecx, [esp + 0x14]
mov dword [esp + 0x4a4], 5
call fcn.00403b90
mov edx, dword [esp + 0x10]
lea ecx, [esp + 0x68]
mov dword [esp + 0x4a4], 0xffffffff
mov eax, dword [edx + 4]
mov dword [esp + eax + 0x10], 0x420230
call fcn.004037f0
mov eax, dword [esp + 4]
mov ecx, dword [esp + 0x49c]
mov dword fs:[0], ecx
add esp, 0x4a8
ret 8