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

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r13
push r14
sub rsp, 0x20
movsxd r13, dword [rcx + 0x128]
mov rbx, rcx
mov esi, 4
mov r14, r13
lea rbp, [rsp + 0x50]
test r13d, r13d
je 0x18001497c
nop dword [rax]
xor r9d, r9d
mov r8d, esi
mov rdx, rbp
mov rcx, r13
call qword [sym.imp.WS2_32.dll_recv]
movsxd r11, eax
test eax, eax
jns 0x180014970
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edi, eax
cmp eax, 0xe
je 0x1800149c4
cmp eax, 0x16
je 0x1800149bb
cmp eax, 0x2714
jne 0x1800149d0
lea rcx, str.__tcpip_read_exact_TCPIP_:_caught_an_EINTR__looping_for_more_data
call sym.VBoxOGLhostcrutil.dll_crWarning
jmp 0x180014978
je 0x1800149e6
add rbp, r11
sub esi, r11d
test esi, esi
jne 0x180014930
cmp dword [rbx + 0x80], 0
mov qword [rsp + 0x58], r12
je 0x180014a19
mov ecx, dword [rsp + 0x50]
mov edx, ecx
mov eax, ecx
shr eax, 0x10
and edx, 0xff0000
or edx, eax
mov eax, ecx
shl ecx, 0x10
and eax, 0xff00
shr edx, 8
or eax, ecx
shl eax, 8
or edx, eax
mov dword [rsp + 0x50], edx
jmp 0x180014a1d
lea rcx, str.EINVAL
jmp 0x1800149cb
lea rcx, str.EFAULT
call sym.VBoxOGLhostcrutil.dll_crWarning
mov ecx, edi
call fcn.180013a30
lea rcx, str.Bad_bad_bad_socket_error:__s
mov rdx, rax
call sym.VBoxOGLhostcrutil.dll_crWarning
mov r8, qword [rbx + 0x98]
mov rdx, qword [rbx + 0x128]
lea rcx, str.Dead_connection__sock_d__host_s___removing_from_pool
call sym.VBoxOGLhostcrutil.dll_crDebug
mov rcx, rbx
call fcn.1800146d0
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret
mov edx, dword [rsp + 0x50]
test edx, edx
jne 0x180014a45
lea r8, str.D:_tinderboxwin_4.2_srcVBoxGuestHostOpenGLutil_tcpip.c
lea rdx, str.len___0
lea rcx, str.Assertion_failed:__s__file__s__line__d
mov r9d, 0x357
call sym.VBoxOGLhostcrutil.dll_crWarning
mov edx, dword [rsp + 0x50]
xor esi, esi
cmp edx, dword [rbx + 0x6c]
ja 0x180014a5a
mov rcx, rbx
call fcn.180014120
lea rdi, [rax - 0x14]
jmp 0x180014a75
lea ecx, [rdx + 0x14]
call sym.VBoxOGLhostcrutil.dll_crAlloc
mov rdi, rax
mov dword [rax], 0x89134532
mov dword [rax + 4], 1
mov dword [rax + 0x10], esi
mov ecx, dword [rsp + 0x50]
mov dword [rdi + 8], ecx
mov ebp, dword [rsp + 0x50]
cmp qword [rbx + 0x88], rsi
je 0x180014a9a
cmp dword [rbx + 0x90], 8
jl 0x180014a9a
lea esi, [rbp - 8]
mov ebp, 8
lea rdx, [rdi + 0x14]
mov r8d, ebp
mov rcx, r13
call fcn.180013bc0
test eax, eax
jg 0x180014af1
mov edx, dword [rdi + 0xc]
lea rcx, str.Bad_juju:__d__d_on_socket_0x_x
mov r9d, r13d
mov r8d, ebp
call sym.VBoxOGLhostcrutil.dll_crWarning
mov rcx, rdi
call sym.VBoxOGLhostcrutil.dll_crFree
mov r8, qword [rbx + 0x98]
mov rdx, qword [rbx + 0x128]
lea rcx, str.Dead_connection__sock_d__host_s___removing_from_pool
call sym.VBoxOGLhostcrutil.dll_crDebug
mov rcx, rbx
call fcn.1800146d0
jmp 0x180014c08
sub dword [rbx + 0x120], ebp
add dword [rbx + 0x110], ebp
cmp dword [rbx + 0x80], 0
mov r13d, dword [rdi + 0x14]
je 0x180014b5c
mov ecx, r13d
mov eax, r13d
sar ecx, 8
and eax, 0xff00
shl eax, 8
and ecx, 0xff00
or ecx, eax
movzx eax, byte [rdi + 0x17]
or ecx, eax
mov eax, r13d
shl eax, 0x18
or ecx, eax
mov dword [rdi + 0x14], ecx
mov ecx, dword [rdi + 0x18]
mov edx, ecx
mov eax, ecx
shr ecx, 8
shl edx, 0x10
and eax, 0xff00
and ecx, 0xff00
or edx, eax
movzx eax, byte [rdi + 0x1b]
shl edx, 8
or edx, ecx
or edx, eax
mov dword [rdi + 0x18], edx
mov qword [rsp + 0x60], r15
test esi, esi
je 0x180014bc4
lea rdx, [rdi + 0x14]
mov rcx, rbx
call fcn.180014810
sub esi, eax
mov r15d, eax
je 0x180014bb6
mov edx, ebp
mov r8d, esi
mov rcx, r14
lea rdx, [rdx + rdx*4 + 5]
lea rdx, [rdi + rdx*4]
call fcn.180013bc0
test eax, eax
jg 0x180014bb6
mov edx, dword [rdi + 0xc]
lea rcx, str.Bad_juju:__d__d
mov r8d, esi
call sym.VBoxOGLhostcrutil.dll_crWarning
mov rcx, rdi
call sym.VBoxOGLhostcrutil.dll_crFree
mov rcx, rbx
call fcn.1800147e0
jmp 0x180014c03
sub dword [rbx + 0x120], r15d
add dword [rbx + 0x110], r15d
mov r9d, dword [rsp + 0x50]
mov rcx, qword [0x180033708]
lea r8, [rdi + 0x14]
mov rdx, rbx
call sym.VBoxOGLhostcrutil.dll_crNetDispatchMessage
cmp r13d, 0x77474c01
je 0x180014c03
cmp r13d, 0x77474c08
je 0x180014c03
cmp r13d, 0x77474c0a
je 0x180014c03
lea rdx, [rdi + 0x14]
mov rcx, rbx
call fcn.180014350
mov r15, qword [rsp + 0x60]
mov r12, qword [rsp + 0x58]
mov rbx, qword [rsp + 0x68]
add rsp, 0x20
pop r14
pop r13
pop rdi
pop rsi
pop rbp
ret