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

Disassembly:
push 0x20
mov eax, 0x5d9dc7
call fcn.005234b0
mov dword [ebp - 0x1c], ecx
xor ebx, ebx
cmp byte [0x7222b0], bl
je 0x4eb31e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x1388
jmp 0x4eb329
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x4e20
push dword [ebp + 0xc]
mov dword [ebp - 0x14], eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x18], ebx
call fcn.00522720
add esp, 0xc
push 0x104
call fcn.0051d97d
pop ecx
push eax
lea ecx, [ebp - 0x24]
call fcn.004eab6f
mov dword [ebp - 4], ebx
mov byte [ebp - 0xd], bl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x14]
jae 0x4eb4d5
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x248], bl
jne 0x4eb3ec
cmp byte [ebp - 0xd], bl
jne 0x4eb3f5
mov eax, dword [ebp - 0x24]
mov dword [eax], ebx
mov eax, dword [ebp - 0x24]
mov edx, dword [eax]
xor ecx, ecx
cmp edx, ebx
jbe 0x4eb39b
lea edi, [eax + 4]
mov esi, dword [ebp + 0x10]
cmp dword [edi], esi
je 0x4eb39e
inc ecx
add edi, 4
cmp ecx, edx
jb 0x4eb38a
jmp 0x4eb39e
mov esi, dword [ebp + 0x10]
cmp ecx, edx
jne 0x4eb3b3
cmp edx, 0x40
jae 0x4eb3b3
mov dword [eax + ecx*4 + 4], esi
mov eax, dword [ebp - 0x24]
inc dword [eax]
mov eax, dword [ebp - 0x24]
lea ecx, [ebp - 0x2c]
push ecx
push ebx
push ebx
push eax
inc esi
push esi
mov dword [ebp - 0x2c], 1
mov dword [ebp - 0x28], ebx
call dword [sym.imp.WSOCK32.dll_select]
cmp eax, 0xffffffff
je 0x4eb512
cmp eax, ebx
je 0x4eb3dd
mov byte [ebp - 0xd], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x14]
jb 0x4eb367
cmp byte [ebp - 0xd], bl
je 0x4eb4d5
lea eax, [ebp - 0x18]
push eax
push 0x4004667f
push dword [ebp + 0x10]
call dword [sym.imp.WSOCK32.dll_ioctlsocket]
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jbe 0x4eb4cd
cmp dword [ebp + 0xc], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp + 0xc]
jb 0x4eb420
lea eax, [ebp - 0x18]
mov eax, dword [eax]
mov edi, dword [sym.imp.WSOCK32.dll_recv]
push 2
push eax
push dword [ebp + 8]
mov dword [ebp - 0x18], eax
push dword [ebp + 0x10]
call edi
cmp eax, ebx
jle 0x4eb512
mov esi, dword [ebp + 8]
push 0x6a7140
push esi
call fcn.00526200
cmp eax, ebx
pop ecx
pop ecx
jne 0x4eb523
push str._n_r_n_r
push esi
call fcn.00526200
cmp eax, ebx
pop ecx
pop ecx
jne 0x4eb523
push 0x67cad0
push esi
call fcn.00526200
cmp eax, ebx
pop ecx
pop ecx
je 0x4eb484
dec eax
dec eax
jne 0x4eb523
push 0x67cacc
push esi
call fcn.00526200
cmp eax, ebx
pop ecx
pop ecx
je 0x4eb49d
dec eax
dec eax
jne 0x4eb523
push 2
push 0x6a72fc
push esi
call fcn.00520c6b
add esp, 0xc
test eax, eax
je 0x4eb54f
push 1
push 0x67cac8
push esi
call fcn.00520c6b
add esp, 0xc
test eax, eax
je 0x4eb566
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004fc03d
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x14]
jae 0x4eb4fb
mov eax, dword [ebp - 0x1c]
cmp byte [eax + 0x248], bl
je 0x4eb33e
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, dword [ebp - 0x14]
sbb eax, eax
and eax, 0xfffffffe
inc eax
call fcn.00523588
ret 0xc
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004fc03d
or eax, 0xffffffff
jmp 0x4eb50a
add eax, 4
push esi
mov byte [eax], bl
call fcn.005235d0
pop ecx
mov esi, eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004fc03d
cmp esi, ebx
jle 0x4eb4fb
push ebx
push esi
push dword [ebp + 8]
push dword [ebp + 0x10]
call edi
xor eax, eax
jmp 0x4eb50a
mov eax, dword [ebp + 8]
push 2
pop esi
mov byte [eax + 2], bl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.004fc03d
jmp 0x4eb541
mov eax, dword [ebp + 8]
xor esi, esi
inc esi
mov byte [eax + 1], bl
jmp 0x4eb558