Function at 0x42f5b0
Capabilities:
Check for time delay via queryperformancecounter
Get socket status
Receive data
Receive data on socket
Resolve function by parsing pe exports

Disassembly:
mov eax, 0x1170
call fcn.004abe10
mov eax, dword [0x4e2204]
xor eax, esp
mov dword [esp + 0x1168], eax
push ebx
push ebp
push esi
lea esi, [esp + 0x10]
call fcn.0044a930
lea esi, [esp + 0x20]
call fcn.0044a930
xor ebx, ebx
cmp byte [edi + 4], bl
jne 0x42f81b
mov eax, dword [edi + 0x28]
lea ecx, [esp + 0x40]
push ecx
push ebx
push ebx
lea edx, [esp + 0x74]
mov dword [esp + 0x78], eax
mov eax, 1
push edx
push eax
mov dword [esp + 0x7c], eax
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], ebx
call dword [sym.imp.WSOCK32.dll_select]
test eax, eax
je 0x42f662
push 0xfff
lea eax, [esp + 0x175]
push ebx
push eax
mov byte [esp + 0x17c], bl
call fcn.004a1b50
mov edx, dword [edi + 0x28]
add esp, 0xc
push ebx
push 0xfff
lea ecx, [esp + 0x178]
push ecx
push edx
call dword [sym.imp.WSOCK32.dll_recv]
cmp eax, 0xffffffff
je 0x42f81b
push edi
lea ecx, [esp + 0x174]
call fcn.0042f3a0
lea esi, [esp + 0x10]
call fcn.0044aa40
fld qword [0x4d3428]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x42f718
mov esi, edi
call fcn.0042e9f0
mov eax, dword [0x5670c8]
or eax, dword [0x5670cc]
jne 0x42f6eb
call dword [sym.imp.WINMM.dll_timeGetTime]
lea ecx, [esp + 0x48]
push ecx
mov dword [0x5670c8], eax
mov dword [0x5670cc], ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edx, dword [esp + 0x48]
mov eax, dword [esp + 0x4c]
movsd xmm0, qword [0x4d3478]
lea ecx, [esp + 0x58]
push ecx
mov dword [0x5670d0], edx
mov dword [0x5670d4], eax
movsd qword [0x5670d8], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
fild qword [esp + 0x58]
fdivr qword [0x4bab50]
fstp qword [0x5670e0]
cmp byte [esp + 0x18], bl
je 0x42f70a
lea edx, [esp + 0x50]
push edx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x54]
mov eax, dword [esp + 0x50]
mov dword [esp + 0x14], ecx
jmp 0x42f714
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
lea esi, [esp + 0x20]
call fcn.0044aa40
fld qword [0x4c3fb8]
fxch st(1)
fcompi st(1)
fstp st(0)
jbe 0x42f812
cmp byte [edi + 0x40], bl
je 0x42f812
xor esi, esi
test dword [edi + 0x4c], 0xfffffffe
jbe 0x42f776
xor ebp, ebp
lea esp, [esp]
mov edx, dword [edi + 0x48]
fld qword [edi + 0x30]
movsd xmm0, qword [edi + 0x38]
sub esp, 8
add edx, ebp
fstp qword [esp]
push edx
call fcn.0042ecb0
mov eax, dword [edi + 0x4c]
inc esi
shr eax, 1
add ebp, 0x38
cmp esi, eax
jb 0x42f750
mov ecx, dword [0x5670c8]
or ecx, dword [0x5670cc]
mov byte [edi + 0x40], bl
jne 0x42f7e1
call dword [sym.imp.WINMM.dll_timeGetTime]
lea edx, [esp + 0x30]
push edx
mov dword [0x5670c8], eax
mov dword [0x5670cc], ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
movsd xmm0, qword [0x4d3478]
lea edx, [esp + 0x60]
push edx
mov dword [0x5670d0], eax
mov dword [0x5670d4], ecx
movsd qword [0x5670d8], xmm0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
fild qword [esp + 0x60]
fdivr qword [0x4bab50]
fstp qword [0x5670e0]
cmp byte [esp + 0x28], bl
je 0x42f804
lea eax, [esp + 0x38]
push eax
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x24], edx
jmp 0x42f812
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ebx
cmp byte [edi + 4], bl
je 0x42f5e8
mov ecx, dword [esp + 0x1174]
pop esi
pop ebp
pop ebx
xor ecx, esp
xor eax, eax
call fcn.0049ceb0
add esp, 0x1170
ret