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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x55989d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push ebx
push esi
push edi
mov eax, dword [0x5c3040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
cmp dword [ebx + 8], 0xffffffff
je 0x48f0db
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x48f11c
cmp byte [ebx + 0x18], 0
je 0x48f133
mov ecx, dword [ebx + 0x10]
cmp byte [ecx + 0x21], 0
je 0x48f133
mov edx, dword [ebx + 0x14]
test edx, edx
mov dword [ebp - 0x14], edx
sete al
add ecx, 8
mov dword [ebp - 0x20], ecx
mov byte [ebp - 0x1c], al
test edx, edx
jne 0x48efe5
push ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x14]
mov dword [ebp + 0xc], 0
test ecx, ecx
je 0x48f00a
mov eax, dword [ecx]
lea edx, [ebp + 0xc]
push edx
push edi
push 0
call dword [eax + 8]
mov edi, eax
jmp 0x48f027
mov esi, dword [ebx + 0x10]
lea eax, [ebp + 0xc]
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 0x48f032
mov eax, str.VSocket::ReadExact_:_WriteExact:_DSMPlugin_RestoreBuffer_Alloc_Error_n
jmp 0x48f0a3
mov eax, dword [ebp + 0xc]
mov edx, eax
mov dword [ebp - 0x18], edx
test edx, edx
jle 0x48f07e
mov esi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov ecx, dword [ebx + 8]
cmp ecx, 0xffffffff
je 0x48f06b
push 0
push eax
push edi
push ecx
call dword [sym.imp.WS2_32.dll_recv]
mov ecx, eax
test ecx, ecx
jle 0x48f069
mov eax, dword [ebp + 0xc]
add edi, ecx
sub eax, ecx
mov dword [ebp + 0xc], eax
jmp 0x48f077
je 0x48f09e
call esi
cmp eax, 0x2733
jne 0x48f0b5
mov eax, dword [ebp + 0xc]
test eax, eax
jg 0x48f044
mov edx, dword [ebp - 0x18]
mov ecx, dword [ebx + 0x14]
mov dword [ebp - 0x10], 0
mov dword [ebp + 0xc], edx
test ecx, ecx
je 0x48f0f1
mov eax, dword [ecx]
lea esi, [ebp - 0x10]
push esi
push edx
push dword [ebp + 8]
call dword [eax + 8]
jmp 0x48f10d
mov eax, str.VSocket::ReadExact_:_zero_bytes_read1_n
push eax
push 4
push 0x5c3db0
call fcn.0041dde0
add esp, 0xc
jmp 0x48f0cc
call esi
push eax
push str.VSocket::ReadExact_:_socket_error_1:__d_n
push 4
push 0x5c3db0
call fcn.0041dde0
add esp, 0x10
cmp dword [ebp - 0x14], 0
jne 0x48f0db
push dword [ebp - 0x20]
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 8
mov esi, dword [ebx + 0x10]
lea eax, [ebp - 0x10]
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 - 0x14], 0
jne 0x48f11c
push dword [ebp - 0x20]
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 8
mov esi, dword [ebp + 8]
mov eax, dword [ebx + 8]
cmp eax, 0xffffffff
je 0x48f155
push 0
push edi
push esi
push eax
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jle 0x48f153
add esi, eax
sub edi, eax
jmp 0x48f166
je 0x48f16c
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
jne 0x48f0db
test edi, edi
jne 0x48f136
jmp 0x48f11c
push str.VSocket::ReadExact_:_zero_bytes_read2_n
push 4
push 0x5c3db0
call fcn.0041dde0
add esp, 0xc
jmp 0x48f0db