Function at 0x1400771f0
Capabilities:
Get socket status
Receive data
Receive data on socket
Reference absolute stream path on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov dword [rsp + 0x18], r8d
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x390
mov rax, qword [0x140173240]
xor rax, rsp
mov qword [rsp + 0x380], rax
mov dword [rsp + 0x3c], 0
mov rcx, qword [rsp + 0x3a0]
call fcn.140076610
movzx eax, al
test eax, eax
jne 0x140077244
mov eax, 0xffffffff
jmp 0x14007742d
cmp qword [rsp + 0x3a8], 0
je 0x140077259
cmp dword [rsp + 0x3b0], 1
jae 0x140077260
xor eax, eax
jmp 0x14007742d
lea rax, [rsp + 0x60]
mov rdi, rax
xor eax, eax
mov ecx, 0x208
rep stosb byte [rdi], al
mov qword [rsp + 0x50], 0
cmp dword [rsp + 0x3b8], 0xffffffff
je 0x1400772be
xor edx, edx
mov eax, dword [rsp + 0x3b8]
mov ecx, 0x3e8
div ecx
mov dword [rsp + 0x48], eax
xor edx, edx
mov eax, dword [rsp + 0x3b8]
mov ecx, 0x3e8
div ecx
mov eax, edx
imul eax, eax, 0x3e8
mov dword [rsp + 0x4c], eax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x50], rax
mov rax, qword [rsp + 0x3a0]
mov rax, qword [rax + 8]
mov qword [rsp + 0x40], rax
lea rdx, [rsp + 0x60]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll___WSAFDIsSet]
test eax, eax
jne 0x140077344
mov dword [rsp + 0x30], 0
jmp 0x1400772f7
mov eax, dword [rsp + 0x30]
inc eax
mov dword [rsp + 0x30], eax
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x30], eax
jae 0x140077315
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
cmp qword [rsp + rax*8 + 0x68], rcx
jne 0x140077313
jmp 0x140077315
jmp 0x1400772ed
mov eax, dword [rsp + 0x60]
cmp dword [rsp + 0x30], eax
jne 0x14007733e
cmp dword [rsp + 0x60], 0x40
jae 0x14007733e
mov eax, dword [rsp + 0x30]
mov rcx, qword [rsp + 0x40]
mov qword [rsp + rax*8 + 0x68], rcx
mov eax, dword [rsp + 0x60]
inc eax
mov dword [rsp + 0x60], eax
xor eax, eax
test eax, eax
jne 0x1400772e3
mov rax, qword [rsp + 0x40]
inc rax
mov rcx, qword [rsp + 0x50]
mov qword [rsp + 0x20], rcx
xor r9d, r9d
xor r8d, r8d
lea rdx, [rsp + 0x60]
mov ecx, eax
call qword [sym.imp.WS2_32.dll_select]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jle 0x140077406
xor r9d, r9d
mov r8d, dword [rsp + 0x3b0]
mov rdx, qword [rsp + 0x3a8]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.WS2_32.dll_recv]
mov dword [rsp + 0x34], eax
cmp dword [rsp + 0x34], 0
jge 0x1400773eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x58], eax
movzx eax, word [0x140134a1c]
mov word [rsp + 0x270], ax
lea rax, [rsp + 0x272]
mov rdi, rax
xor eax, eax
mov ecx, 0x102
rep stosb byte [rdi], al
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
lea rdx, str.recv_error_GetLastError___d
lea rcx, str.D:_svnplayersvnTLDrivingRecordSocketComm.cpp_915_:CSocketComm::ReadComm
call fcn.1400c46e0
nop
cmp dword [rsp + 0x34], 0
jne 0x140077406
lea rdx, str.recv0
lea rcx, str.D:_svnplayersvnTLDrivingRecordSocketComm.cpp_919_:CSocketComm::ReadComm
call fcn.1400c46e0
nop
cmp dword [rsp + 0x34], 0
jle 0x140077417
mov eax, dword [rsp + 0x34]
mov dword [rsp + 0x38], eax
jmp 0x14007741f
mov dword [rsp + 0x38], 0xffffffff
mov eax, dword [rsp + 0x38]
mov dword [rsp + 0x3c], eax
jmp 0x140077429
mov eax, dword [rsp + 0x3c]
mov rcx, qword [rsp + 0x380]
xor rcx, rsp
call fcn.140100c60
add rsp, 0x390
pop rdi
ret