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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
mov dword [ebp - 0x240], ecx
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x110], eax
mov dword [ebp - 0x10c], 0
mov dword [ebp - 0x218], 0
mov dword [ebp - 0x108], 0
mov dword [ebp - 0x228], 0
jmp 0x411c11
mov ecx, dword [ebp - 0x228]
add ecx, 1
mov dword [ebp - 0x228], ecx
mov edx, dword [ebp - 0x228]
cmp edx, dword [ebp - 0x218]
jae 0x411c3b
mov eax, dword [ebp - 0x228]
mov ecx, dword [ebp - 0x240]
mov edx, dword [ebp + eax*4 - 0x214]
cmp edx, dword [ecx + 0x40]
jne 0x411c39
jmp 0x411c3b
jmp 0x411c02
mov eax, dword [ebp - 0x228]
cmp eax, dword [ebp - 0x218]
jne 0x411c77
cmp dword [ebp - 0x218], 0x40
jae 0x411c77
mov ecx, dword [ebp - 0x228]
mov edx, dword [ebp - 0x240]
mov eax, dword [edx + 0x40]
mov dword [ebp + ecx*4 - 0x214], eax
mov ecx, dword [ebp - 0x218]
add ecx, 1
mov dword [ebp - 0x218], ecx
xor edx, edx
jne 0x411bf6
mov dword [ebp - 0x22c], 0
jmp 0x411c9a
mov eax, dword [ebp - 0x22c]
add eax, 1
mov dword [ebp - 0x22c], eax
mov ecx, dword [ebp - 0x22c]
cmp ecx, dword [ebp - 0x108]
jae 0x411cc4
mov edx, dword [ebp - 0x22c]
mov eax, dword [ebp - 0x240]
mov ecx, dword [ebp + edx*4 - 0x104]
cmp ecx, dword [eax + 0x40]
jne 0x411cc2
jmp 0x411cc4
jmp 0x411c8b
mov edx, dword [ebp - 0x22c]
cmp edx, dword [ebp - 0x108]
jne 0x411d00
cmp dword [ebp - 0x108], 0x40
jae 0x411d00
mov eax, dword [ebp - 0x22c]
mov ecx, dword [ebp - 0x240]
mov edx, dword [ecx + 0x40]
mov dword [ebp + eax*4 - 0x104], edx
mov eax, dword [ebp - 0x108]
add eax, 1
mov dword [ebp - 0x108], eax
xor ecx, ecx
jne 0x411c7f
lea edx, [ebp - 0x110]
push edx
lea eax, [ebp - 0x108]
push eax
push 0
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x240]
mov eax, dword [edx + 0x40]
add eax, 1
push eax
call dword [sym.imp.WS2_32.dll_select]
mov dword [ebp - 0x220], eax
cmp dword [ebp - 0x220], 0xffffffff
jne 0x411d4b
or eax, 0xffffffff
jmp 0x411f07
cmp dword [ebp - 0x220], 0
jne 0x411d5b
xor eax, eax
jmp 0x411f07
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x224], ecx
mov edx, dword [ebp - 0x240]
cmp dword [edx + 0x34], 0
jle 0x411ebb
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [ebp - 0x240]
sub eax, dword [ecx + 0x38]
mov dword [ebp - 0x230], eax
cmp dword [ebp - 0x230], 0
jbe 0x411ebb
mov edx, dword [ebp - 0x240]
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0x248], eax
mov dword [ebp - 0x244], 0
fild qword [ebp - 0x248]
mov ecx, dword [ebp - 0x230]
mov dword [ebp - 0x250], ecx
mov dword [ebp - 0x24c], 0
fild qword [ebp - 0x250]
fdiv qword [0x576f98]
fdivp st(1)
call fcn.005256f0
mov dword [ebp - 0x234], eax
mov edx, dword [ebp - 0x240]
mov eax, dword [ebp - 0x234]
cmp eax, dword [edx + 0x34]
jle 0x411ea5
mov ecx, dword [ebp - 0x240]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x258], edx
mov dword [ebp - 0x254], 0
fild qword [ebp - 0x258]
mov eax, dword [ebp - 0x230]
mov dword [ebp - 0x260], eax
mov dword [ebp - 0x25c], 0
fild qword [ebp - 0x260]
fdiv qword [0x576f98]
mov ecx, dword [ebp - 0x240]
fimul dword [ecx + 0x34]
fsubp st(1)
call fcn.005256f0
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0
jle 0x411ea3
mov ecx, dword [ebp - 0x240]
mov eax, dword [ebp - 0x238]
cdq
idiv dword [ecx + 0x34]
mov dword [ebp - 0x264], eax
fild dword [ebp - 0x264]
fmul qword [0x576f98]
call fcn.005256f0
mov dword [ebp - 0x23c], eax
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edx, dword [ebp - 0x240]
sub eax, dword [edx + 0x38]
mov dword [ebp - 0x230], eax
jmp 0x411eb6
mov eax, dword [ebp - 0x234]
add eax, 1
mov dword [ebp - 0x234], eax
jmp 0x411ebb
jmp 0x411d89
push 0
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 0x240]
mov ecx, dword [eax + 0x40]
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 0
jg 0x411ee9
or eax, 0xffffffff
jmp 0x411f07
mov edx, dword [ebp - 0x240]
mov eax, dword [edx + 0x3c]
add eax, dword [ebp - 0x21c]
mov ecx, dword [ebp - 0x240]
mov dword [ecx + 0x3c], eax
mov eax, dword [ebp - 0x21c]
mov esp, ebp
pop ebp
ret 0xc