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

Disassembly:
push 0x64
mov eax, 0x5da877
call fcn.005234b0
mov esi, ecx
mov eax, dword [ebp + 8]
xor ebx, ebx
xor edi, edi
cmp dword [ebp + 0x10], ebx
mov dword [ebp - 0x18], edi
mov dword [eax], ebx
jle 0x4efb92
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov edi, eax
add edi, dword [ebp + 0x10]
mov dword [ebp - 0x18], edi
mov eax, dword [esi + 0x15c]
cmp eax, 5
je 0x4efd6a
cmp eax, 6
je 0x4efd6a
cmp byte [ebp + 0xc], bl
je 0x4efd54
push 0x104
call fcn.0051d97d
pop ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.004eab6f
mov dword [ebp - 4], ebx
cmp edi, ebx
mov byte [ebp + 0xf], bl
jbe 0x4efcb4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jae 0x4efca5
cmp byte [esi + 0x248], bl
jne 0x4efca5
cmp byte [ebp + 0xf], bl
jne 0x4efca5
mov eax, dword [ebp - 0x20]
mov dword [eax], ebx
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
cmp edx, ebx
mov dword [ebp - 0x14], ebx
jbe 0x4efc21
lea eax, [ecx + 4]
mov edi, dword [esi + 0x160]
cmp dword [eax], edi
je 0x4efc21
inc dword [ebp - 0x14]
add eax, 4
cmp dword [ebp - 0x14], edx
jb 0x4efc0c
mov eax, dword [ebp - 0x14]
cmp eax, edx
jne 0x4efc3f
cmp edx, 0x40
jae 0x4efc3f
mov edx, dword [esi + 0x160]
mov dword [ecx + eax*4 + 4], edx
mov eax, dword [ebp - 0x20]
inc dword [eax]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp + 0x10]
cdq
mov edi, 0x3e8
idiv edi
mov edi, 0xf4240
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x10]
imul eax, eax, 0x3e8
cdq
idiv edi
lea eax, [ebp - 0x28]
push eax
mov eax, dword [esi + 0x160]
push ebx
push ebx
push ecx
inc eax
push eax
mov dword [ebp - 0x24], edx
call dword [sym.imp.WSOCK32.dll_select]
cmp eax, 0xffffffff
je 0x4efc8f
cmp eax, ebx
mov edi, dword [ebp - 0x18]
je 0x4efbd5
mov byte [ebp + 0xf], 1
jmp 0x4efbd5
or esi, 0xffffffff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004fc03d
mov eax, esi
jmp 0x4efdd9
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jb 0x4efcb4
xor esi, esi
inc esi
jmp 0x4efc92
push 2
push 1
lea eax, [ebp - 0xd]
push eax
lea edi, [esi + 0x160]
push dword [edi]
call dword [sym.imp.WSOCK32.dll_recv]
cmp eax, ebx
jg 0x4efd48
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push ebx
push edi
mov dword [ebp + 0xc], eax
call fcn.004c153b
pop ecx
pop ecx
push ebx
push str._NC.GetDataSize.Disconnect_LE
lea ecx, [ebp - 0x4c]
call fcn.004ac9bc
mov byte [ebp - 4], 1
push esi
push ebx
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x70]
call fcn.004ac6f7
mov byte [ebp - 4], 2
sub esp, 0x24
mov ecx, esp
mov dword [ebp + 0xc], esp
push eax
lea eax, [ebp - 0x4c]
push eax
push ecx
call fcn.004adc57
add esp, 0xc
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
mov ecx, 0x721f30
call fcn.004cc5c3
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.004ac66a
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x4c]
call fcn.004ac66a
jmp 0x4efc8f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004fc03d
push dword [ebp + 8]
push 0x4004667f
push dword [esi + 0x160]
call dword [sym.imp.WSOCK32.dll_ioctlsocket]
jmp 0x4efdd7
mov ecx, esi
call fcn.004eec14
jmp 0x4efdbf
lea ecx, [esi + 0xa0]
call fcn.0043ba89
test eax, eax
jne 0x4efdc7
cmp byte [ebp + 0xc], bl
je 0x4efdc7
push 0x3e8
mov ecx, esi
call fcn.004ef406
mov ecx, esi
call fcn.004eec14
lea ecx, [esi + 0xa0]
call fcn.0043ba89
test eax, eax
jne 0x4efdbf
cmp edi, ebx
jbe 0x4efdb7
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jae 0x4efde1
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x248], bl
je 0x4efd73
lea ecx, [esi + 0xa0]
call fcn.0043ba89
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor eax, eax
call fcn.00523588
ret 0xc
xor eax, eax
inc eax
jmp 0x4efdd9