Function at 0x140076bb0
Capabilities:
Connect socket
Get local ipv4 addresses
Get socket information
Reference absolute stream path on windows

Disassembly:
mov dword [rsp + 0x20], r9d
mov qword [rsp + 0x18], r8
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0xc0
mov rax, qword [0x140173240]
xor rax, rsp
mov qword [rsp + 0xb0], rax
mov qword [rsp + 0x28], 0xffffffffffffffff
mov byte [rsp + 0x30], 0
lea rcx, [rsp + 0x48]
call fcn.140076280
nop
mov rax, qword [0x140134318]
mov qword [rsp + 0x98], rax
lea rax, [rsp + 0xa0]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_inet_ntoa
rep stosb byte [rdi], al
mov rcx, qword [rsp + 0xd0]
call fcn.140076610
movzx eax, al
test eax, eax
je 0x140076c47
mov byte [rsp + 0x20], 0
lea rcx, [rsp + 0x48]
call fcn.140001e20
movzx eax, byte [rsp + 0x20]
jmp 0x140076f63
xor r8d, r8d
mov edx, dword [rsp + 0xf0]
mov ecx, dword [rsp + 0xe8]
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rsp + 0x28], rax
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x140076f37
mov rax, qword [rsp + 0xd0]
add rax, 0x58
mov rcx, rax
call fcn.140076390
mov r9d, 2
mov r8, qword [rsp + 0xe0]
mov rdx, qword [rsp + 0xd8]
lea rcx, [rsp + 0x48]
call fcn.140076410
nop
lea rcx, [rsp + 0x48]
call fcn.140076330
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x48]
call fcn.140002360
mov rcx, qword [rsp + 0x40]
mov r8d, ecx
mov rdx, rax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x140076d11
mov rax, qword [rsp + 0xd0]
add rax, 0x58
mov rcx, rax
call fcn.1400763b0
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.WS2_32.dll_closesocket]
nop
mov byte [rsp + 0x21], 0
lea rcx, [rsp + 0x48]
call fcn.140001e20
movzx eax, byte [rsp + 0x21]
jmp 0x140076f63
movzx eax, word [0x140134498]
mov word [rsp + 0x80], ax
lea rax, [rsp + 0x82]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_select
rep stosb byte [rdi], al
mov ecx, dword [rsp + 0x4c]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r8, rax
mov edx, reloc.OLEAUT32.dll_SafeArrayLock
lea rcx, [rsp + 0x80]
call fcn.140002f30
movzx ecx, word [rsp + 0x4a]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rsp + 0x34], ax
movzx eax, word [rsp + 0x34]
mov r9d, eax
lea r8, [rsp + 0x80]
lea rdx, str.server_ip_address:_s_port:_d
lea rcx, str.D:_svnplayersvnTLDrivingRecordSocketComm.cpp_700_:CSocketComm::ConnectTo
call fcn.1400c46e0
lea rcx, [rsp + 0x58]
call fcn.140076280
nop
mov dword [rsp + 0x3c], reloc.WS2_32.dll_recv
lea rcx, [rsp + 0x58]
call fcn.140002360
lea r8, [rsp + 0x3c]
mov rdx, rax
mov rcx, qword [rsp + 0x28]
call qword [sym.imp.WS2_32.dll_getsockname]
mov rax, qword [str.0.0.0.0]
mov qword [rsp + 0x68], rax
lea rax, [rsp + 0x70]
mov rdi, rax
xor eax, eax
mov ecx, reloc.WS2_32.dll_inet_ntoa
rep stosb byte [rdi], al
mov ecx, dword [rsp + 0x5c]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
mov r9, rax
lea r8, [0x14013445c]
mov edx, reloc.OLEAUT32.dll_SafeArrayLock
lea rcx, [rsp + 0x68]
call fcn.140002f30
movzx ecx, word [rsp + 0x5a]
call qword [sym.imp.WS2_32.dll_ntohs]
mov word [rsp + 0x24], ax
lea rdx, str.127.0.0.1
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140076e77
lea rdx, [0x140134470]
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140076e77
lea rdx, str.255.255.255.255
lea rcx, [rsp + 0x68]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll__stricmp]
test eax, eax
je 0x140076e77
lea rdx, str.use_getsockname_ip
lea rcx, str.D:_svnplayersvnTLDrivingRecordSocketComm.cpp_713_:CSocketComm::ConnectTo
call fcn.1400c46e0
mov rax, qword [rsp + 0xd0]
add rax, 0x10
lea rdx, [rsp + 0x58]
mov rcx, rax
call fcn.140076300
nop
jmp 0x140076e9b
lea rdx, str.use_networklist_ip
lea rcx, str.D:_svnplayersvnTLDrivingRecordSocketComm.cpp_718_:CSocketComm::ConnectTo
call fcn.1400c46e0
lea rax, [rsp + 0x68]
mov rdi, rax
xor eax, eax
mov ecx, reloc.OLEAUT32.dll_SafeArrayLock
rep stosb byte [rdi], al
mov rax, qword [rsp + 0xd0]
mov ecx, dword [rax + 0x14]
call qword [sym.imp.WS2_32.dll_inet_ntoa]
movsxd rcx, dword [rsp + 0x100]
mov r9, rax
lea r8, [0x140134520]
mov rdx, rcx
mov rcx, qword [rsp + 0xf8]
call fcn.140002f30
movzx eax, word [rsp + 0x24]
mov r9d, eax
mov r8, qword [rsp + 0xf8]
lea rdx, str.client_ip_address:_s_port:_d
lea rcx, str.D:_svnplayersvnTLDrivingRecordSocketComm.cpp_723_:CSocketComm::ConnectTo
call fcn.1400c46e0
nop
movzx eax, word [rsp + 0x24]
test eax, eax
jne 0x140076f06
mov qword [rsp + 0x28], 0xffffffffffffffff
jmp 0x140076f17
mov rax, qword [rsp + 0xd0]
mov rcx, qword [rsp + 0x28]
mov qword [rax + 8], rcx
mov rax, qword [rsp + 0xd0]
add rax, 0x58
mov rcx, rax
call fcn.1400763b0
nop
lea rcx, [rsp + 0x58]
call fcn.140001e20
nop
lea rcx, [rsp + 0x48]
call fcn.140001e20
nop
jmp 0x140076f44
cmp qword [rsp + 0x28], 0xffffffffffffffff
je 0x140076f56
mov dword [rsp + 0x38], 1
jmp 0x140076f5e
mov dword [rsp + 0x38], 0
movzx eax, byte [rsp + 0x38]
mov rcx, qword [rsp + 0xb0]
xor rcx, rsp
call fcn.140100c60
add rsp, 0xc0
pop rdi
ret