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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x134
mov eax, dword [0x5ca1c0]
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 0x42b956
mov ecx, dword [eax]
mov eax, dword [0x5dc05c]
cmp eax, dword [ecx + 4]
jle 0x42b94b
push 0x5dc05c
call fcn.0052459e
add esp, 4
cmp dword [0x5dc05c], ebx
jne 0x42b94b
push 0x56a9d0
call fcn.00524a42
add esp, 4
push 0x5dc05c
call fcn.0052454d
add esp, 4
mov dword [esi], 0x2719
jmp 0x42bbcf
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 [0x5dc05c]
mov ebx, eax
cmp ecx, dword [edi + 4]
jle 0x42b9cc
push 0x5dc05c
call fcn.0052459e
add esp, 4
cmp dword [0x5dc05c], 0xffffffff
jne 0x42b9cc
push 0x56a9d0
call fcn.00524a42
add esp, 4
push 0x5dc05c
call fcn.0052454d
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], 0x5caca8
mov dword [ecx], eax
mov eax, dword [esi]
cmp eax, 0x40
jne 0x42ba39
mov eax, dword [0x5dc05c]
cmp eax, dword [edi + 4]
jle 0x42ba2a
push 0x5dc05c
call fcn.0052459e
add esp, 4
cmp dword [0x5dc05c], 0xffffffff
jne 0x42ba2a
push 0x56a9d0
call fcn.00524a42
add esp, 4
push 0x5dc05c
call fcn.0052454d
add esp, 4
mov dword [esi], 0x2746
mov dword [esi + 4], 0x5caca8
jmp 0x42ba9a
cmp eax, 0x4d2
jne 0x42ba8c
mov eax, dword [0x5dc05c]
cmp eax, dword [edi + 4]
jle 0x42ba7d
push 0x5dc05c
call fcn.0052459e
add esp, 4
cmp dword [0x5dc05c], 0xffffffff
jne 0x42ba7d
push 0x56a9d0
call fcn.00524a42
add esp, 4
push 0x5dc05c
call fcn.0052454d
add esp, 4
mov dword [esi], 0x274d
mov dword [esi + 4], 0x5caca8
jmp 0x42ba9a
cmp eax, 0x2738
je 0x42ba9e
cmp eax, 0xea
je 0x42ba9e
test ebx, ebx
jne 0x42baaf
mov eax, dword [ebp - 0xc]
mov dword [esi], 0
test eax, eax
jns 0x42bbd8
test byte [ebp - 0x119], 1
jne 0x42bbd6
mov eax, dword [0x5dc05c]
cmp eax, dword [edi + 4]
jle 0x42baf9
push 0x5dc05c
call fcn.0052459e
add esp, 4
cmp dword [0x5dc05c], 0xffffffff
jne 0x42baf9
push 0x56a9d0
call fcn.00524a42
add esp, 4
push 0x5dc05c
call fcn.0052454d
add esp, 4
mov eax, dword [esi + 4]
mov eax, dword [eax + 4]
cmp eax, dword [0x5cacac]
jne 0x42bb0f
cmp dword [esi], 0x2733
je 0x42bb42
push 0x4d5
lea ecx, [ebp - 0x134]
call fcn.00433520
mov eax, dword [esi + 4]
mov ecx, dword [eax + 4]
mov eax, dword [ebp - 0x130]
cmp ecx, dword [eax + 4]
jne 0x42bbd6
mov eax, dword [esi]
cmp eax, dword [ebp - 0x134]
jne 0x42bbd6
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 0x42bb8a
mov ecx, dword [ebp - 0x120]
mov edx, dword [ebp - 0x12c]
mov dword [esi], 0
jmp 0x42b958
mov eax, dword [0x5dc05c]
cmp eax, dword [edi + 4]
jle 0x42bbc7
push 0x5dc05c
call fcn.0052459e
add esp, 4
cmp dword [0x5dc05c], 0xffffffff
jne 0x42bbc7
push 0x56a9d0
call fcn.00524a42
add esp, 4
push 0x5dc05c
call fcn.0052454d
add esp, 4
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [esi], eax
mov dword [esi + 4], 0x5caca8
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0052450f
mov esp, ebp
pop ebp
ret