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

Disassembly:
push 0x64
mov eax, 0x5be01e
call fcn.00518b46
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 0x4e348f
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 0x4e3667
cmp eax, 6
je 0x4e3667
cmp byte [ebp + 0xc], bl
je 0x4e3651
push 0x104
call fcn.00511d1d
pop ecx
push eax
lea ecx, [ebp - 0x20]
call fcn.004db094
mov dword [ebp - 4], ebx
cmp edi, ebx
mov byte [ebp + 0xf], bl
jbe 0x4e35b1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jae 0x4e35a2
cmp byte [esi + 0x248], bl
jne 0x4e35a2
cmp byte [ebp + 0xf], bl
jne 0x4e35a2
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 0x4e351e
lea eax, [ecx + 4]
mov edi, dword [esi + 0x160]
cmp dword [eax], edi
je 0x4e351e
inc dword [ebp - 0x14]
add eax, 4
cmp dword [ebp - 0x14], edx
jb 0x4e3509
mov eax, dword [ebp - 0x14]
cmp eax, edx
jne 0x4e353c
cmp edx, 0x40
jae 0x4e353c
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 0x4e358c
cmp eax, ebx
mov edi, dword [ebp - 0x18]
je 0x4e34d2
mov byte [ebp + 0xf], 1
jmp 0x4e34d2
or esi, 0xffffffff
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004da9e8
mov eax, esi
jmp 0x4e36d6
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jb 0x4e35b1
xor esi, esi
inc esi
jmp 0x4e358f
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 0x4e3645
call dword [sym.imp.WSOCK32.dll_WSAGetLastError]
push ebx
push edi
mov dword [ebp + 0xc], eax
call fcn.004b2e00
pop ecx
pop ecx
push ebx
push str._NC.GetDataSize.Disconnect_LE
lea ecx, [ebp - 0x4c]
call fcn.0049eefc
mov byte [ebp - 4], 1
push esi
push ebx
push ebx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x70]
call fcn.0049ec37
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.004a0106
add esp, 0xc
mov byte [ebp - 4], 3
mov byte [ebp - 4], 2
mov ecx, 0x6ed748
call fcn.004c25fd
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x70]
call fcn.0049ebaa
mov byte [ebp - 4], bl
lea ecx, [ebp - 0x4c]
call fcn.0049ebaa
jmp 0x4e358c
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.004da9e8
push dword [ebp + 8]
push 0x4004667f
push dword [esi + 0x160]
call dword [sym.imp.WSOCK32.dll_ioctlsocket]
jmp 0x4e36d4
mov ecx, esi
call fcn.004e2511
jmp 0x4e36bc
lea ecx, [esi + 0xa0]
call fcn.00432f85
test eax, eax
jne 0x4e36c4
cmp byte [ebp + 0xc], bl
je 0x4e36c4
push 0x3e8
mov ecx, esi
call fcn.004e2d03
mov ecx, esi
call fcn.004e2511
lea ecx, [esi + 0xa0]
call fcn.00432f85
test eax, eax
jne 0x4e36bc
cmp edi, ebx
jbe 0x4e36b4
call dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp eax, edi
jae 0x4e36de
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp byte [esi + 0x248], bl
je 0x4e3670
lea ecx, [esi + 0xa0]
call fcn.00432f85
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
xor eax, eax
call fcn.00518c1e
ret 0xc
xor eax, eax
inc eax
jmp 0x4e36d6