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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x502580
mov eax, dword fs:[0]
push eax
sub esp, 0x748
mov eax, dword [0x540020]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [edi + 0xa0]
lea esi, [edi + 0xd8]
push esi
mov dword [ebp - 0x52c], 0
mov dword [ebp - 0x634], 0
mov dword [ebp - 0x738], eax
mov dword [ebp - 0x73c], 1
call fcn.004dce4d
add esp, 4
test eax, eax
jne 0x4283ff
cmp dword [edi + 0xd4], eax
ja 0x42817c
cmp dword [edi + 0xc8], eax
jne 0x42817c
push esi
call fcn.004dce72
add esp, 4
jmp 0x4281c1
push esi
call fcn.004dce72
mov eax, dword [ebp - 0x52c]
add esp, 4
xor ecx, ecx
test eax, eax
je 0x4281a5
mov edx, dword [edi + 0xa0]
cmp dword [ebp + ecx*4 - 0x528], edx
je 0x4281a5
inc ecx
cmp ecx, eax
jb 0x428197
cmp ecx, eax
jne 0x4281c1
cmp eax, 0x40
jae 0x4281c1
mov eax, dword [edi + 0xa0]
mov dword [ebp + ecx*4 - 0x528], eax
inc dword [ebp - 0x52c]
mov eax, dword [ebp - 0x634]
xor ecx, ecx
test eax, eax
je 0x4281e1
mov edx, dword [edi + 0xa0]
cmp dword [ebp + ecx*4 - 0x630], edx
je 0x4281e1
inc ecx
cmp ecx, eax
jb 0x4281d3
cmp ecx, eax
jne 0x4281fd
cmp eax, 0x40
jae 0x4281fd
mov eax, dword [edi + 0xa0]
mov dword [ebp + ecx*4 - 0x630], eax
inc dword [ebp - 0x634]
lea eax, [ebp - 0x424]
mov dword [ebp - 0x424], 0
push eax
lea eax, [ebp - 0x634]
mov dword [ebp - 0x420], 0xc350
push eax
lea eax, [ebp - 0x52c]
push eax
lea eax, [ebp - 0x73c]
push eax
mov eax, dword [edi + 0xa0]
inc eax
push eax
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jne 0x428243
mov al, 1
jmp 0x4282bb
jns 0x428249
xor al, al
jmp 0x4282bb
mov esi, dword [sym.imp.WS2_32.dll___WSAFDIsSet]
lea eax, [ebp - 0x73c]
push eax
push dword [edi + 0xa0]
mov bl, 1
call esi
test eax, eax
je 0x428284
push 0
push 0x400
lea eax, [ebp - 0x41c]
push eax
push dword [edi + 0xa0]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x4282d9
xor bl, bl
lea eax, [ebp - 0x52c]
push eax
push dword [edi + 0xa0]
call esi
test eax, eax
je 0x4282a0
mov ecx, edi
call fcn.00427f80
and bl, al
lea eax, [ebp - 0x634]
push eax
push dword [edi + 0xa0]
call esi
xor edx, edx
movzx ecx, bl
test eax, eax
cmovne ecx, edx
mov al, cl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004ddc19
mov esp, ebp
pop ebp
ret 4
cmp eax, 0x401
jae 0x4283fa
mov byte [ebp + eax - 0x41c], 0
lea esi, [ebp - 0x41c]
mov eax, esi
push 0xa
push eax
call fcn.004df450
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x4283e1
nop dword [eax]
mov eax, ebx
mov dword [ebp - 0x754], 0
sub eax, esi
mov dword [ebp - 0x744], 0
push eax
push esi
lea ecx, [ebp - 0x754]
mov dword [ebp - 0x740], 0xf
mov byte [ebp - 0x754], 0
call fcn.0040a7b0
lea eax, [ebp - 0x754]
mov dword [ebp - 4], 0
push eax
lea ecx, [edi + 0xa4]
call fcn.00409d10
mov dword [ebp - 4], 0xffffffff
mov edx, dword [ebp - 0x740]
cmp edx, 0x10
jb 0x42839c
mov ecx, dword [ebp - 0x754]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x428392
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x428405
push edx
push ecx
call fcn.004ddd71
add esp, 8
cmp dword [edi + 0xb8], 0x10
lea esi, [edi + 0xa4]
mov eax, esi
jb 0x4283af
mov eax, dword [esi]
push eax
mov ecx, edi
call fcn.00427430
mov dword [esi + 0x10], 0
cmp dword [esi + 0x14], 0x10
jb 0x4283c6
mov esi, dword [esi]
mov byte [esi], 0
lea esi, [ebx + 1]
push 0xa
push esi
call fcn.004df450
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x428310
push esi
lea ecx, [edi + 0xa4]
call fcn.00409ca0
mov esi, dword [sym.imp.WS2_32.dll___WSAFDIsSet]
mov bl, 1
jmp 0x428284
call fcn.004de327
push eax
call fcn.004dcade
call fcn.004e9a81
int3