Function at 0x4203a3
Capabilities:
Receive data
Receive data on socket
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x589024
mov eax, dword fs:[0]
push eax
sub esp, 0x90
mov eax, dword [0x5fb490]
xor eax, esp
mov dword [esp + 0x88], eax
push ebx
push esi
push edi
mov eax, dword [0x5fb490]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x61], 0
jne 0x420727
cmp byte [esi + 0x60], 0
jne 0x420727
lea eax, [esi + 0x9c]
push eax
mov dword [esp + 0x1c], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0xe4]
mov ecx, dword [esi + 0xf0]
sub eax, ecx
test eax, eax
jle 0x420705
xor ebx, ebx
push ebx
push eax
mov eax, dword [esi + 0xf8]
add eax, ecx
push eax
push dword [esi + 0x30]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x420647
mov ecx, dword [esi + 0xf0]
add ecx, eax
mov dword [esi + 0xf0], ecx
cmp byte [esi + 0xe8], bl
je 0x4205ec
mov edi, ebx
cmp dword [esi + 0xf0], 5
jge 0x420469
mov dword [esp + 0x14], ebx
jmp 0x42049a
mov eax, dword [esi + 0xf8]
mov edi, dword [eax]
cmp edi, dword [esi + 0xec]
jg 0x420492
cmp edi, 1
jl 0x420492
xor ecx, ecx
lea eax, [edi + 4]
cmp dword [esi + 0xf0], eax
setge cl
mov dword [esp + 0x14], ecx
jmp 0x42049a
mov dword [esp + 0x14], 2
lea ecx, [esp + 0x50]
call fcn.00404d84
mov eax, dword [esp + 0x14]
mov dword [esp + 0xa8], ebx
dec eax
je 0x420547
dec eax
jne 0x4205c8
mov edx, edi
mov dword [esp + 0x50], 1
lea ecx, [esp + 0x38]
mov dword [esp + 0x54], ebx
mov byte [esp + 0x58], 1
call fcn.0040495e
push eax
mov edx, 0x5d3ee4
mov byte [esp + 0xac], 1
lea ecx, [esp + 0x24]
call fcn.00404acd
pop ecx
push eax
lea ecx, [esp + 0x60]
call fcn.00407035
push ebx
push 1
lea ecx, [esp + 0x28]
call fcn.0040400f
push ebx
push 1
lea ecx, [esp + 0x40]
mov byte [esp + 0xb0], bl
call fcn.0040400f
cmp byte [esi + 0x61], 0
jne 0x4205c8
cmp dword [esi + 0x14], ebx
je 0x4205c8
sub esp, 0x24
lea eax, [esp + 0x74]
mov ecx, esp
push eax
call fcn.004052af
push esi
call dword [esi + 0x14]
add esp, 0x28
jmp 0x4205c8
cmp byte [esi + 0x68], 0
je 0x42058c
lea ecx, [esi + 0x6c]
cmp dword [ecx + 0x14], 0x10
jb 0x420558
mov ecx, dword [ecx]
lea edx, [esi + 0x84]
cmp dword [edx + 0x14], 0x10
jb 0x420566
mov edx, dword [edx]
mov eax, dword [esi + 0xf8]
push edi
push dword [esi + 0xfc]
add eax, 4
push eax
call fcn.00414f26
push eax
push dword [esi + 0xfc]
push esi
call dword [esi + 8]
add esp, 0x18
jmp 0x42059d
lea eax, [edi + 4]
push eax
push dword [esi + 0xf8]
push esi
call dword [esi + 8]
add esp, 0xc
push 0xfffffffffffffffc
pop eax
sub eax, edi
add dword [esi + 0xf0], eax
mov eax, dword [esi + 0xf0]
test eax, eax
jle 0x4205c8
mov ecx, dword [esi + 0xf8]
push eax
lea eax, [ecx + 4]
add eax, edi
push eax
push ecx
call fcn.0054b2f0
add esp, 0xc
or dword [esp + 0xa8], 0xffffffff
lea ecx, [esp + 0x5c]
push ebx
push 1
call fcn.0040400f
cmp dword [esp + 0x14], 1
je 0x42045a
jmp 0x42071d
cmp byte [esi + 0x68], bl
je 0x42062e
lea eax, [esi + 0x6c]
cmp dword [eax + 0x14], 0x10
jb 0x4205fc
mov eax, dword [eax]
lea edx, [esi + 0x84]
cmp dword [edx + 0x14], 0x10
jb 0x42060a
mov edx, dword [edx]
push ecx
push dword [esi + 0xfc]
mov ecx, eax
push dword [esi + 0xf8]
call fcn.00414f26
push eax
push dword [esi + 0xfc]
push esi
call dword [esi + 8]
add esp, 0x18
jmp 0x42063c
push ecx
push dword [esi + 0xf8]
push esi
call dword [esi + 8]
add esp, 0xc
mov dword [esi + 0xf0], ebx
jmp 0x42071d
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp edi, 0x2733
je 0x42071d
lea ecx, [esp + 0x74]
call fcn.00404d84
mov dword [esp + 0xa8], 2
lea ecx, [esp + 0x20]
mov edx, edi
mov dword [esp + 0x74], 1
mov dword [esp + 0x78], edi
mov byte [esp + 0x7c], 1
call fcn.0040495e
push eax
mov edx, str.recv_error:
mov byte [esp + 0xac], 3
lea ecx, [esp + 0x3c]
call fcn.00404acd
pop ecx
push eax
lea ecx, [esp + 0x84]
call fcn.00407035
push ebx
push 1
lea ecx, [esp + 0x40]
call fcn.0040400f
push ebx
push 1
lea ecx, [esp + 0x28]
mov byte [esp + 0xb0], 2
call fcn.0040400f
cmp byte [esi + 0x61], 0
jne 0x4206f4
cmp dword [esi + 0x14], ebx
je 0x4206f4
sub esp, 0x24
lea eax, [esp + 0x98]
mov ecx, esp
push eax
call fcn.004052af
push esi
call dword [esi + 0x14]
add esp, 0x28
push ebx
push 1
lea ecx, [esp + 0x88]
call fcn.0040400f
jmp 0x42071d
jne 0x42071d
mov eax, dword [esi + 0xf8]
xor ebx, ebx
push ebx
push ebx
add eax, ecx
push eax
push dword [esi + 0x30]
call dword [sym.imp.WS2_32.dll_recv]
push dword [esp + 0x18]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x88]
xor ecx, esp
call fcn.0054b0f5
mov esp, ebp
pop ebp
ret