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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x54b77d
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x5b0008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebp + 0x10], 0xffffffff
je 0x484e7a
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x484ebb
cmp byte [ebx + 0x1c], 0
je 0x484ed2
mov ecx, dword [ebx + 0x14]
cmp byte [ecx + 0x21], 0
je 0x484ed2
mov edx, dword [ebx + 0x18]
lea esi, [ecx + 8]
test edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0x1c], esi
mov ecx, edx
sete al
mov byte [ebp - 0x18], al
test edx, edx
jne 0x484d7a
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ecx, dword [ebx + 0x18]
mov dword [ebp - 4], 0
mov dword [ebp + 0x10], 0
test ecx, ecx
je 0x484d9c
mov eax, dword [ecx]
lea edx, [ebp + 0x10]
push edx
push edi
push 0
call dword [eax + 8]
mov edi, eax
jmp 0x484db9
mov esi, dword [ebx + 0x14]
lea eax, [ebp + 0x10]
push eax
push edi
push 0
mov eax, dword [esi + 0x2a4]
call eax
mov edi, eax
add esp, 0xc
mov dword [esi + 0x2c0], edi
test edi, edi
jne 0x484dc7
mov eax, str.VSocket::ReadExactSock_:_WriteExact:_DSMPlugin_RestoreBuffer_Alloc_Error_n
jmp 0x484e5b
mov eax, dword [ebp + 0x10]
mov edx, eax
mov dword [ebp - 0x14], edx
test edx, edx
jle 0x484e1d
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebx + 8]
mov edx, dword [sym.imp.WS2_32.dll_recv]
cmp ecx, 0xffffffff
jne 0x484def
mov ecx, dword [ebx + 0xc]
cmp ecx, 0xffffffff
je 0x484e56
push 0
push eax
push edi
push ecx
call edx
mov ecx, eax
test ecx, ecx
jle 0x484e08
mov eax, dword [ebp + 0x10]
add edi, ecx
sub eax, ecx
mov dword [ebp + 0x10], eax
jmp 0x484e16
je 0x484e56
call esi
cmp eax, 0x2733
jne 0x484e3d
mov eax, dword [ebp + 0x10]
test eax, eax
jg 0x484dd9
mov edx, dword [ebp - 0x14]
mov ecx, dword [ebx + 0x18]
mov dword [ebp + 0xc], 0
mov dword [ebp + 0x10], edx
test ecx, ecx
je 0x484e90
mov eax, dword [ecx]
lea esi, [ebp + 0xc]
push esi
push edx
push dword [ebp + 8]
call dword [eax + 8]
jmp 0x484eac
call esi
push eax
push str.VSocket::ReadExactSock_:_socket_error_1:__d_n
push 4
push 0x5b0d48
call fcn.0041cc90
add esp, 0x10
jmp 0x484e6b
mov eax, str.VSocket::ReadExactSock_:_zero_bytes_read1_n
push eax
push 4
push 0x5b0d48
call fcn.0041cc90
add esp, 0xc
cmp dword [ebp - 0x10], 0
jne 0x484e7a
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov esi, dword [ebx + 0x14]
lea eax, [ebp + 0xc]
push eax
push edx
push dword [ebp + 8]
mov eax, dword [esi + 0x2a4]
call eax
add esp, 0xc
mov dword [esi + 0x2c0], eax
cmp dword [ebp - 0x10], 0
jne 0x484ebb
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
or eax, 0xffffffff
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
mov ecx, dword [sym.imp.WS2_32.dll_recv]
mov esi, dword [ebp + 8]
nop dword [eax + eax]
mov eax, dword [ebx + 8]
cmp eax, 0xffffffff
jne 0x484ef0
mov eax, dword [ebx + 0xc]
cmp eax, 0xffffffff
je 0x484f20
push 0
push edi
push esi
push eax
call ecx
test eax, eax
jle 0x484f01
add esi, eax
sub edi, eax
jmp 0x484f14
je 0x484f20
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x484e7a
mov ecx, dword [sym.imp.WS2_32.dll_recv]
test edi, edi
jne 0x484ee0
jmp 0x484ebb
push str.VSocket::ReadExactSock_:_zero_bytes_read2_n
push 4
push 0x5b0d48
call fcn.0041cc90
add esp, 0xc
jmp 0x484e7a