Function at 0x4e9991
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a9299
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x6274d0]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x6274d0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov esi, ecx
mov ecx, dword [esi - 0x50]
xor ebx, ebx
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], eax
cmp ecx, ebx
jne 0x4e99e9
or eax, 0xffffffff
jmp 0x4e9c85
call fcn.004e2e57
mov byte [esp + 0x12], al
cmp al, bl
jne 0x4e9b19
mov eax, dword [esi - 0x50]
cmp eax, ebx
je 0x4e9b01
push ebx
push eax
call fcn.004e28cc
pop ecx
pop ecx
cmp dword [esi + 0x3c], ebx
jne 0x4e9a3e
push 0x70
call fcn.0055e7f7
pop ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x58], ebx
cmp eax, ebx
je 0x4e9a34
push ebx
push ebx
xor ecx, ecx
push eax
inc ecx
call fcn.004eaa01
jmp 0x4e9a36
xor eax, eax
or dword [esp + 0x58], 0xffffffff
mov dword [esi + 0x3c], eax
cmp dword [esi + 0x34], 0x10
jb 0x4e9a49
mov eax, dword [esi + 0x20]
jmp 0x4e9a4c
lea eax, [esi + 0x20]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0047758b
pop ecx
pop ecx
push 0xa
mov dword [esp + 0x5c], 1
mov ecx, dword [esi - 0x50]
mov dword [esp + 0x18], ebx
pop ebx
call fcn.004e2e72
call fcn.004e333e
mov ebx, eax
jmp 0x4e9aa0
mov eax, dword [esp + 0x14]
inc dword [esp + 0x14]
cmp eax, ebx
jge 0x4e9aa9
cmp dword [esi + 0x34], 0x10
jb 0x4e9a90
mov edx, dword [esi + 0x20]
jmp 0x4e9a93
lea edx, [esi + 0x20]
movzx eax, word [esi + 0x1c]
mov ecx, dword [esi + 0x3c]
push eax
call fcn.004eacaf
mov eax, dword [esi + 0x3c]
cmp byte [eax + 0x1d], 0
je 0x4e9a79
mov eax, dword [esi + 0x3c]
cmp byte [eax + 0x1d], 0
jne 0x4e9ade
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x4e9ac1
lea eax, [esp + 0x2c]
push eax
push 0xa
push dword [esi - 0x50]
call fcn.004e28cc
add esp, 0xc
push 1
xor edi, edi
lea esi, [esp + 0x30]
call fcn.0040b028
jmp 0x4e9b01
lea eax, [esi - 0x8c]
call fcn.004e9951
or dword [esp + 0x58], 0xffffffff
push 1
xor edi, edi
lea esi, [esp + 0x30]
mov bl, al
call fcn.0040b028
test bl, bl
jne 0x4e9b08
xor eax, eax
jmp 0x4e9c85
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x3c]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jmp 0x4e9b24
mov edi, dword [edi + 4]
cmp edi, ebx
je 0x4e9b01
mov dword [esp + 0x14], edi
mov ecx, dword [esi - 0x50]
push 8
pop ebx
call fcn.004e2e72
call fcn.004e333e
mov ecx, dword [esi - 0x50]
push 0xb
pop ebx
mov dword [esp + 0x18], eax
call fcn.004e2e72
call fcn.004e333e
mov ecx, dword [esi - 0x50]
push 4
mov edi, eax
pop ebx
mov dword [esp + 0x20], edi
call fcn.004e2e72
call fcn.004e333e
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
mov eax, dword [eax]
call fcn.004e2371
inc edi
xor ebx, ebx
mov dword [esp + 0x28], edi
mov byte [esp + 0x13], bl
lea eax, [esp + 0x13]
push eax
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call fcn.00459d23
push dword [esp + 0x24]
mov edi, dword [esp + 0x18]
push ebx
mov dword [esp + 0x60], 2
call fcn.004eae80
cmp eax, ebx
jge 0x4e9bb5
or edi, 0xffffffff
jmp 0x4e9bda
jne 0x4e9bbb
xor edi, edi
jmp 0x4e9bda
mov eax, dword [esp + 0x14]
push ebx
push dword [esp + 0x24]
push dword [esp + 0x34]
push dword [eax + 0x64]
call dword [sym.imp.WS2_32.dll_recv]
cmp eax, ebx
jne 0x4e9bd8
or eax, 0xffffffff
mov edi, eax
mov eax, dword [esp + 0x1c]
push dword [esp + 0x2c]
mov ecx, dword [eax]
call fcn.0040aabc
or dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x2c], ebx
je 0x4e9bfe
push dword [esp + 0x2c]
call fcn.0055e74f
pop ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
cmp edi, ebx
je 0x4e9c13
cmp edi, 0xffffffff
jne 0x4e9c62
dec dword [esp + 0x18]
cmp dword [esp + 0x18], ebx
jg 0x4e9b78
cmp edi, 0xffffffff
jne 0x4e9c62
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, ebx
je 0x4e9c43
push str.Sock::RecvTm
push eax
push 0x1b
push dword [esi - 0x50]
call fcn.004e28cc
add esp, 0x10
cmp byte [esp + 0x12], bl
jne 0x4e99e1
mov ecx, dword [esi + 0x3c]
cmp ecx, ebx
je 0x4e9c5a
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x3c], ebx
jmp 0x4e99e1
cmp edi, ebx
jne 0x4e9c83
cmp byte [esp + 0x12], bl
je 0x4e9c83
push str.Sock::RecvTm
push 0x20
push dword [esi - 0x50]
call fcn.004e28cc
add esp, 0xc
jmp 0x4e9b01
mov eax, edi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x38]
xor ecx, esp
call fcn.0055d7fe
mov esp, ebp
pop ebp
ret 8