Function at 0x42a3d0
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x58b18c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, ecx
mov byte [ebp - 0x119], dl
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x124], eax
mov eax, dword fs:[0x2c]
mov dword [ebp - 0x128], ebx
mov dword [ebp - 0x12c], edx
mov dword [ebp - 0x120], ecx
push esi
mov esi, dword [ebp + 0x1c]
push edi
cmp ebx, 0xffffffff
jne 0x42a466
mov ecx, dword [eax]
mov eax, dword [0x5989dc]
cmp eax, dword [ecx + 4]
jle 0x42a45b
push 0x5989dc
call fcn.004f74f5
add esp, 4
cmp dword [0x5989dc], ebx
jne 0x42a45b
push 0x532750
call fcn.004f7999
add esp, 4
push 0x5989dc
call fcn.004f74a4
add esp, 4
mov dword [esi], 0x2719
jmp 0x42a6df
mov edi, dword [eax]
mov eax, dword [ecx]
push 0
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x124]
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], 0
push eax
lea eax, [ebp - 0xc]
mov dword [ebp - 0x10], 0
push eax
push dword [ebp + 0xc]
push edx
push ebx
call dword [sym.imp.WS2_32.dll_WSARecvFrom]
mov ecx, dword [0x5989dc]
mov ebx, eax
cmp ecx, dword [edi + 4]
jle 0x42a4dc
push 0x5989dc
call fcn.004f74f5
add esp, 4
cmp dword [0x5989dc], 0xffffffff
jne 0x42a4dc
push 0x532750
call fcn.004f7999
add esp, 4
push 0x5989dc
call fcn.004f74a4
add esp, 4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebp - 0x120]
mov dword [esi], eax
mov eax, dword [ebp - 8]
mov dword [esi + 4], 0x58bc28
mov dword [ecx], eax
mov eax, dword [esi]
cmp eax, 0x40
jne 0x42a549
mov eax, dword [0x5989dc]
cmp eax, dword [edi + 4]
jle 0x42a53a
push 0x5989dc
call fcn.004f74f5
add esp, 4
cmp dword [0x5989dc], 0xffffffff
jne 0x42a53a
push 0x532750
call fcn.004f7999
add esp, 4
push 0x5989dc
call fcn.004f74a4
add esp, 4
mov dword [esi], 0x2746
mov dword [esi + 4], 0x58bc28
jmp 0x42a5aa
cmp eax, 0x4d2
jne 0x42a59c
mov eax, dword [0x5989dc]
cmp eax, dword [edi + 4]
jle 0x42a58d
push 0x5989dc
call fcn.004f74f5
add esp, 4
cmp dword [0x5989dc], 0xffffffff
jne 0x42a58d
push 0x532750
call fcn.004f7999
add esp, 4
push 0x5989dc
call fcn.004f74a4
add esp, 4
mov dword [esi], 0x274d
mov dword [esi + 4], 0x58bc28
jmp 0x42a5aa
cmp eax, 0x2738
je 0x42a5ae
cmp eax, 0xea
je 0x42a5ae
test ebx, ebx
jne 0x42a5bf
mov eax, dword [ebp - 0xc]
mov dword [esi], 0
test eax, eax
jns 0x42a6e8
test byte [ebp - 0x119], 1
jne 0x42a6e6
mov eax, dword [0x5989dc]
cmp eax, dword [edi + 4]
jle 0x42a609
push 0x5989dc
call fcn.004f74f5
add esp, 4
cmp dword [0x5989dc], 0xffffffff
jne 0x42a609
push 0x532750
call fcn.004f7999
add esp, 4
push 0x5989dc
call fcn.004f74a4
add esp, 4
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
cmp eax, dword [0x58bc2c]
jne 0x42a61f
cmp dword [esi], 0x2733
je 0x42a652
push 0x4d5
lea ecx, [ebp - 0x134]
call fcn.00430770
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x130]
cmp ecx, dword [eax + 4]
jne 0x42a6e6
mov eax, dword [esi]
cmp eax, dword [ebp - 0x134]
jne 0x42a6e6
mov ebx, dword [ebp - 0x128]
lea eax, [ebp - 0x118]
push 0
push 0
push 0
push eax
lea eax, [ebx + 1]
mov dword [ebp - 0x114], ebx
push eax
mov dword [ebp - 0x118], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
js 0x42a69a
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp - 0x12c]
mov dword [esi], 0
jmp 0x42a468
mov eax, dword [0x5989dc]
cmp eax, dword [edi + 4]
jle 0x42a6d7
push 0x5989dc
call fcn.004f74f5
add esp, 4
cmp dword [0x5989dc], 0xffffffff
jne 0x42a6d7
push 0x532750
call fcn.004f7999
add esp, 4
push 0x5989dc
call fcn.004f74a4
add esp, 4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi], eax
mov dword [esi + 4], 0x58bc28
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004f7466
mov esp, ebp
pop ebp
ret