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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa8
mov eax, dword [0x444600]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov esi, ecx
and dword [esi + 0x1c], 0xfffdffff
mov edi, edx
mov ebx, dword [edi + 0x10]
mov dword [ebp - 0x98], eax
test ebx, ebx
jge 0x4202b1
mov eax, ebx
call fcn.004207c6
mov dword [ebp - 0x9c], eax
cmp eax, 0x2738
je 0x4202b1
cmp eax, 0x2746
je 0x4202a3
cmp eax, 0x2744
je 0x4202a3
mov edx, dword [esi + 0x1c]
test edx, 0x100
je 0x42041c
mov ecx, eax
call fcn.0041fd2f
mov ecx, dword [ebp - 0x98]
mov dword [ecx + 4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ecx + 8], eax
mov eax, esi
call fcn.0041a142
test dword [esi + 0x1c], 0x80000
je 0x420286
xor ecx, ecx
xor eax, eax
jmp 0x42028c
mov eax, dword [esi + 0x58]
mov ecx, dword [esi + 0x5c]
push 0
push 0
push ecx
mov dword [ebp - 0x94], eax
mov dword [ebp - 0x90], ecx
push eax
jmp 0x420410
mov eax, dword [esi + 0x1c]
test eax, 0x80000
je 0x42041c
mov eax, dword [esi + 0x1c]
test eax, 0x80000
jne 0x4202dc
xor eax, eax
test ebx, ebx
setl al
neg eax
sbb eax, eax
and eax, 2
push eax
lea eax, [esi + 0x60]
push eax
push dword [esi + 0x5c]
push dword [esi + 0x58]
push dword [edi + 0x14]
jmp 0x420412
test eax, 0x100
je 0x42041c
push 0x10000
push esi
call dword [esi + 0xe8]
mov ebx, 0x80
push ebx
mov dword [ebp - 0x94], eax
xor edi, edi
lea eax, [ebp - 0x8c]
push edi
push eax
mov dword [ebp - 0x90], edx
call fcn.00427fc0
add esp, 0x14
push edi
push edi
lea eax, [ebp - 0xa0]
push eax
lea eax, [ebp - 0x8c]
push eax
lea eax, [ebp - 0xa4]
push eax
lea eax, [ebp - 0x9c]
push eax
push 1
lea eax, [ebp - 0x94]
push eax
push dword [esi + 0x20]
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0xa4], edi
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
cmp eax, 0xffffffff
je 0x420377
push edi
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x90]
push dword [ebp - 0x94]
push dword [ebp - 0x9c]
jmp 0x420412
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ebx, eax
cmp ebx, 0x2738
jne 0x4203ac
push 2
lea eax, [ebp - 0x8c]
push eax
push dword [ebp - 0x90]
push dword [ebp - 0x94]
push dword [ebp - 0x9c]
push esi
call dword [esi + 0xe4]
add esp, 0x18
mov ecx, 0x2733
cmp ebx, ecx
jne 0x4203d6
mov eax, dword [ebp - 0x98]
push edi
push edi
push dword [ebp - 0x90]
mov dword [eax + 4], 4
push dword [ebp - 0x94]
mov dword [eax + 8], ecx
push edi
jmp 0x420412
cmp ebx, 0x2746
je 0x42041c
cmp ebx, 0x2744
je 0x42041c
mov eax, esi
call fcn.0041a142
mov ecx, ebx
call fcn.0041fd2f
mov ecx, dword [ebp - 0x98]
push 0
push 0
push dword [ebp - 0x90]
mov dword [ecx + 4], eax
push dword [ebp - 0x94]
mov dword [ecx + 8], ebx
push 0xffffffffffffffff
push esi
call dword [esi + 0xe4]
add esp, 0x18
mov eax, dword [esi + 0x1c]
test eax, 0x100
je 0x420439
test eax, 0x20000
jne 0x420439
push dword [ebp - 0x98]
call fcn.004200f6
pop ecx
dec dword [esi + 0x24]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x24]
test al, 1
je 0x420463
test ecx, ecx
jne 0x420463
test al, 4
jne 0x420463
or eax, 4
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x98]
mov ecx, dword [eax + 0x34]
mov dword [esi + 0x18], ecx
mov dword [eax + 0x34], esi
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00423324
leave
ret