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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5a7f87
mov eax, dword fs:[0]
push eax
sub esp, 0x40
mov eax, dword [0x631350]
xor eax, esp
mov dword [esp + 0x38], eax
push ebx
push esi
push edi
mov eax, dword [0x631350]
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 + 0x24], eax
cmp ecx, ebx
jne 0x4f0c30
or eax, 0xffffffff
jmp 0x4f0edb
call fcn.004ea12a
mov byte [esp + 0x12], al
cmp al, bl
jne 0x4f0d61
mov eax, dword [esi - 0x50]
cmp eax, ebx
je 0x4f0d49
push ebx
push eax
call fcn.004e9b93
pop ecx
pop ecx
cmp dword [esi + 0x3c], ebx
jne 0x4f0c85
push 0x70
call fcn.0055db17
pop ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x58], ebx
cmp eax, ebx
je 0x4f0c7b
push ebx
push ebx
xor ecx, ecx
push eax
inc ecx
call fcn.004f29a1
jmp 0x4f0c7d
xor eax, eax
or dword [esp + 0x58], 0xffffffff
mov dword [esi + 0x3c], eax
cmp dword [esi + 0x34], 0x10
jb 0x4f0c90
mov eax, dword [esi + 0x20]
jmp 0x4f0c93
lea eax, [esi + 0x20]
push eax
lea eax, [esp + 0x30]
push eax
call fcn.0047bdb1
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.004ea145
push eax
call fcn.004ea57d
mov ebx, eax
jmp 0x4f0ce8
mov eax, dword [esp + 0x14]
inc dword [esp + 0x14]
cmp eax, ebx
jge 0x4f0cf1
cmp dword [esi + 0x34], 0x10
jb 0x4f0cd8
mov edx, dword [esi + 0x20]
jmp 0x4f0cdb
lea edx, [esi + 0x20]
movzx eax, word [esi + 0x1c]
mov ecx, dword [esi + 0x3c]
push eax
call fcn.004f2c4f
mov eax, dword [esi + 0x3c]
cmp byte [eax + 0x1d], 0
je 0x4f0cc1
mov eax, dword [esi + 0x3c]
cmp byte [eax + 0x1d], 0
jne 0x4f0d26
cmp dword [esp + 0x40], 8
mov eax, dword [esp + 0x2c]
jae 0x4f0d09
lea eax, [esp + 0x2c]
push eax
push 0xa
push dword [esi - 0x50]
call fcn.004e9b93
add esp, 0xc
push 1
xor edi, edi
lea esi, [esp + 0x30]
call fcn.00404589
jmp 0x4f0d49
lea eax, [esi - 0x8c]
call fcn.004f0b98
or dword [esp + 0x58], 0xffffffff
push 1
xor edi, edi
lea esi, [esp + 0x30]
mov bl, al
call fcn.00404589
test bl, bl
jne 0x4f0d50
xor eax, eax
jmp 0x4f0edb
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x3c]
mov esi, dword [esp + 0x18]
mov dword [esp + 0x14], eax
jmp 0x4f0d6c
mov edi, dword [edi + 4]
cmp edi, ebx
je 0x4f0d49
mov dword [esp + 0x14], edi
mov ecx, dword [esi - 0x50]
push 8
pop ebx
call fcn.004ea145
push eax
call fcn.004ea57d
mov ecx, dword [esi - 0x50]
push 0xb
pop ebx
mov dword [esp + 0x18], eax
call fcn.004ea145
push eax
call fcn.004ea57d
mov ecx, dword [esi - 0x50]
push 4
mov edi, eax
pop ebx
mov dword [esp + 0x20], edi
call fcn.004ea145
push eax
call fcn.004ea57d
xor ebx, ebx
mov dword [esp + 0x1c], eax
cmp byte [esp + 0x12], bl
jne 0x4f0dba
or dword [esp + 0x1c], 0xffffffff
mov eax, dword [esp + 0x24]
mov eax, dword [eax]
call fcn.004e968b
inc edi
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.00463fcf
push dword [esp + 0x1c]
mov edi, dword [esp + 0x18]
push ebx
mov dword [esp + 0x60], 2
call fcn.004f2e20
cmp eax, ebx
jge 0x4f0e0b
or edi, 0xffffffff
jmp 0x4f0e30
jne 0x4f0e11
xor edi, edi
jmp 0x4f0e30
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 0x4f0e2e
or eax, 0xffffffff
mov edi, eax
mov eax, dword [esp + 0x24]
push dword [esp + 0x2c]
mov ecx, dword [eax]
call fcn.004043a1
or dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x2c], ebx
je 0x4f0e54
push dword [esp + 0x2c]
call fcn.0055da69
pop ecx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
cmp edi, ebx
je 0x4f0e69
cmp edi, 0xffffffff
jne 0x4f0eb8
dec dword [esp + 0x18]
cmp dword [esp + 0x18], ebx
jg 0x4f0dce
cmp edi, 0xffffffff
jne 0x4f0eb8
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, ebx
je 0x4f0e99
push str.Sock::RecvTm
push eax
push 0x1b
push dword [esi - 0x50]
call fcn.004e9b93
add esp, 0x10
cmp byte [esp + 0x12], bl
jne 0x4f0c28
mov ecx, dword [esi + 0x3c]
cmp ecx, ebx
je 0x4f0eb0
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esi + 0x3c], ebx
jmp 0x4f0c28
cmp edi, ebx
jne 0x4f0ed9
cmp byte [esp + 0x12], bl
je 0x4f0ea3
push str.Sock::RecvTm
push 0x20
push dword [esi - 0x50]
call fcn.004e9b93
add esp, 0xc
jmp 0x4f0d49
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.0055c9d4
mov esp, ebp
pop ebp
ret 8