Function at 0x140175fb0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create tcp socket
Get local ipv4 addresses
Get socket information
Set socket configuration
Start tcp server

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xa0
mov rax, qword [0x140648080]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r12, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
xor esi, esi
mov qword [rbp + 7], rsi
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov edx, 1
mov ecx, 2
mov r8d, 6
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
sete dl
lea rcx, [rbp - 9]
call fcn.140172470
mov r14, 0xffffffffffffffff
cmp rdi, r14
cmove rdi, r14
mov qword [rbp - 0x31], rdi
lea rax, str.C:_vcpkginstalledx64_windows_staticinclude_boost_asiodetailimpl_socket_select_interrupter.ipp
lea rcx, str.void___cdecl_boost::asio::detail::socket_select_interrupter::open_descriptors_void_
cmp rdi, r14
jne 0x140176084
mov qword [rbp - 0x21], rax
mov qword [rbp - 0x19], rcx
mov dword [rbp - 0x11], gethostbyaddr
mov dword [rbp - 0xd], 0x1a
test byte [rbp + 7], 1
je 0x140176084
cmp qword [rbp + 7], 1
jne 0x14017694d
cmp dword [rbp - 9], esi
setne al
test al, al
jne 0x14017694d
mov dword [rbp + 0xf], 1
movabs rbx, 0x4d54ee85da812030
lea r13, [0x140648f60]
cmp rdi, 0xffffffffffffffff
jne 0x1401760f5
mov dword [rbp - 0x1d], esi
mov rcx, qword [0x140648f68]
add rcx, rbx
cmp rcx, 1
jbe 0x1401760c9
mov rax, qword [0x140648f60]
mov edx, 0x2719
mov rcx, r13
call qword [rax + 0x30]
jmp 0x1401760cb
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x11], rax
mov dword [rbp - 0x21], 0x2719
mov qword [rbp - 0x19], r13
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rbp - 9], xmm0
movsd xmm1, qword [rbp - 0x11]
movsd qword [rbp + 7], xmm1
jmp 0x140176123
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0xf]
mov edx, 0xffff
mov r8d, 4
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
setne dl
lea rcx, [rbp - 9]
call fcn.140172470
mov r15d, reloc.WS2_32.dll_recv
mov qword [rbp + 0x1f], rsi
mov eax, 2
mov word [rbp + 0x17], ax
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp + 0x1b], eax
mov word [rbp + 0x19], si
cmp rdi, 0xffffffffffffffff
jne 0x1401761a1
mov dword [rbp - 0x1d], esi
mov rcx, qword [0x140648f68]
add rcx, rbx
cmp rcx, 1
jbe 0x140176175
mov rax, qword [0x140648f60]
mov edx, 0x2719
mov rcx, r13
call qword [rax + 0x30]
jmp 0x140176177
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x11], rax
mov dword [rbp - 0x21], 0x2719
mov qword [rbp - 0x19], r13
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rbp - 9], xmm0
movsd xmm1, qword [rbp - 0x11]
movsd qword [rbp + 7], xmm1
jmp 0x1401761c6
mov r8d, r15d
lea rdx, [rbp + 0x17]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_bind]
mov ebx, eax
test eax, eax
setne dl
lea rcx, [rbp - 9]
call fcn.140172470
cmp ebx, 0xffffffff
jne 0x14017620a
lea rax, str.C:_vcpkginstalledx64_windows_staticinclude_boost_asiodetailimpl_socket_select_interrupter.ipp
mov qword [rbp - 0x21], rax
lea rax, str.void___cdecl_boost::asio::detail::socket_select_interrupter::open_descriptors_void_
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x11], 0x42
mov dword [rbp - 0xd], 0x1a
test byte [rbp + 7], 1
je 0x14017620a
cmp qword [rbp + 7], 1
jne 0x140176962
cmp dword [rbp - 9], 0
setne al
test al, al
jne 0x140176962
cmp rdi, 0xffffffffffffffff
jne 0x14017626d
mov dword [rbp - 0x1d], esi
mov rcx, qword [0x140648f68]
movabs rbx, 0x4d54ee85da812030
add rcx, rbx
cmp rcx, 1
jbe 0x140176241
mov rax, qword [0x140648f60]
mov edx, 0x2719
mov rcx, r13
call qword [rax + 0x30]
jmp 0x140176243
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x11], rax
mov dword [rbp - 0x21], 0x2719
mov qword [rbp - 0x19], r13
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rbp - 9], xmm0
movsd xmm1, qword [rbp - 0x11]
movsd qword [rbp + 7], xmm1
jmp 0x1401762a5
mov dword [rbp + 0x27], r15d
lea r8, [rbp + 0x27]
lea rdx, [rbp + 0x17]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getsockname]
mov ebx, eax
movsxd r15, dword [rbp + 0x27]
test eax, eax
setne dl
lea rcx, [rbp - 9]
call fcn.140172470
cmp ebx, 0xffffffff
movabs rbx, 0x4d54ee85da812030
jne 0x1401762e9
lea rax, str.C:_vcpkginstalledx64_windows_staticinclude_boost_asiodetailimpl_socket_select_interrupter.ipp
mov qword [rbp - 0x21], rax
lea rax, str.void___cdecl_boost::asio::detail::socket_select_interrupter::open_descriptors_void_
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x11], 0x46
mov dword [rbp - 0xd], 0x1a
test byte [rbp + 7], 1
je 0x1401762e9
cmp qword [rbp + 7], 1
jne 0x140176977
cmp dword [rbp - 9], 0
setne al
test al, al
jne 0x140176977
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_htonl]
cmp dword [rbp + 0x1b], eax
jne 0x140176304
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp + 0x1b], eax
cmp rdi, 0xffffffffffffffff
jne 0x14017635d
mov dword [rbp - 0x1d], esi
mov rcx, qword [0x140648f68]
add rcx, rbx
cmp rcx, 1
jbe 0x140176331
mov rax, qword [0x140648f60]
mov edx, 0x2719
mov rcx, r13
call qword [rax + 0x30]
jmp 0x140176333
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x11], rax
mov dword [rbp - 0x21], 0x2719
mov qword [rbp - 0x19], r13
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rbp - 9], xmm0
movsd xmm1, qword [rbp - 0x11]
movsd qword [rbp + 7], xmm1
jmp 0x140176380
mov edx, 0x7fffffff
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_listen]
mov ebx, eax
test eax, eax
setne dl
lea rcx, [rbp - 9]
call fcn.140172470
cmp ebx, 0xffffffff
jne 0x1401763c6
lea rbx, str.C:_vcpkginstalledx64_windows_staticinclude_boost_asiodetailimpl_socket_select_interrupter.ipp
mov qword [rbp - 0x21], rbx
lea rax, str.void___cdecl_boost::asio::detail::socket_select_interrupter::open_descriptors_void_
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x11], 0x50
mov dword [rbp - 0xd], 0x1a
test byte [rbp + 7], 1
je 0x1401763cd
cmp qword [rbp + 7], 1
jne 0x140176938
cmp dword [rbp - 9], 0
setne al
test al, al
jne 0x140176938
jmp 0x1401763cd
lea rbx, str.C:_vcpkginstalledx64_windows_staticinclude_boost_asiodetailimpl_socket_select_interrupter.ipp
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov edx, 1
mov ecx, 2
mov r8d, 6
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rsi, rax
cmp rax, 0xffffffffffffffff
sete dl
lea rcx, [rbp - 9]
call fcn.140172470
cmp rsi, 0xffffffffffffffff
cmove rsi, r14
mov qword [rbp + 0x27], rsi
cmp rsi, 0xffffffffffffffff
jne 0x1401764bc
mov qword [rbp - 0x21], rbx
lea rax, str.void___cdecl_boost::asio::detail::socket_select_interrupter::open_descriptors_void_
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x11], 0x55
mov dword [rbp - 0xd], 0x1a
test byte [rbp + 7], 1
je 0x140176458
cmp qword [rbp + 7], 1
jne 0x14017698c
cmp dword [rbp - 9], 0
setne al
test al, al
jne 0x14017698c
cmp rsi, 0xffffffffffffffff
jne 0x1401764bc
xor r15d, r15d
mov dword [rbp - 0x1d], r15d
movabs rcx, 0x4d54ee85da812030
add rcx, qword [0x140648f68]
cmp rcx, 1
jbe 0x140176490
mov rax, qword [0x140648f60]
mov edx, 0x2719
mov rcx, r13
call qword [rax + 0x30]
jmp 0x140176492
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x11], rax
mov dword [rbp - 0x21], 0x2719
mov qword [rbp - 0x19], r13
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rbp - 9], xmm0
movsd xmm1, qword [rbp - 0x11]
movsd qword [rbp + 7], xmm1
jmp 0x1401764e4
mov r8d, r15d
lea rdx, [rbp + 0x17]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
mov ebx, eax
test eax, eax
setne dl
lea rcx, [rbp - 9]
call fcn.140172470
xor r15d, r15d
cmp ebx, 0xffffffff
jne 0x140176528
lea rax, str.C:_vcpkginstalledx64_windows_staticinclude_boost_asiodetailimpl_socket_select_interrupter.ipp
mov qword [rbp - 0x21], rax
lea rax, str.void___cdecl_boost::asio::detail::socket_select_interrupter::open_descriptors_void_
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x11], 0x59
mov dword [rbp - 0xd], 0x1a
test byte [rbp + 7], 1
je 0x140176528
cmp qword [rbp + 7], 1
jne 0x1401769a1
cmp dword [rbp - 9], 0
setne al
test al, al
jne 0x1401769a1
cmp rdi, 0xffffffffffffffff
jne 0x14017658c
mov dword [rbp - 0x1d], r15d
mov rcx, qword [0x140648f68]
movabs rbx, 0x4d54ee85da812030
add rcx, rbx
cmp rcx, 1
jbe 0x140176560
mov rax, qword [0x140648f60]
mov edx, 0x2719
mov rcx, r13
call qword [rax + 0x30]
jmp 0x140176562
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x11], rax
mov dword [rbp - 0x21], 0x2719
mov qword [rbp - 0x19], r13
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rbp - 9], xmm0
movsd xmm1, qword [rbp - 0x11]
movsd qword [rbp + 7], xmm1
jmp 0x1401765d5
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_accept]
mov rbx, rax
cmp rax, 0xffffffffffffffff
sete dl
lea rcx, [rbp - 9]
call fcn.140172470
cmp rbx, 0xffffffffffffffff
je 0x1401765cb
xorps xmm0, xmm0
mov qword [rbp - 0x11], r15
movups xmmword [rbp - 9], xmm0
movsd xmm0, qword [rbp - 0x11]
movsd qword [rbp + 7], xmm0
mov r14, rbx
movabs rbx, 0x4d54ee85da812030
mov qword [rbp - 0x29], r14
cmp r14, 0xffffffffffffffff
jne 0x140176623
lea rax, str.C:_vcpkginstalledx64_windows_staticinclude_boost_asiodetailimpl_socket_select_interrupter.ipp
mov qword [rbp - 0x21], rax
lea rax, str.void___cdecl_boost::asio::detail::socket_select_interrupter::open_descriptors_void_
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x11], 0x5d
mov dword [rbp - 0xd], 0x1a
test byte [rbp + 7], 1
je 0x140176623
cmp qword [rbp + 7], 1
jne 0x1401769b6
cmp dword [rbp - 9], 0
setne al
test al, al
jne 0x1401769b6
mov dword [rbp + 0x13], 1
cmp rsi, 0xffffffffffffffff
jne 0x140176684
mov dword [rbp - 0x1d], r15d
mov rcx, qword [0x140648f68]
add rcx, rbx
cmp rcx, 1
jbe 0x140176658
mov rax, qword [0x140648f60]
mov edx, 0x2719
mov rcx, r13
call qword [rax + 0x30]
jmp 0x14017665a
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x11], rax
mov dword [rbp - 0x21], 0x2719
mov qword [rbp - 0x19], r13
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rbp - 9], xmm0
movsd xmm1, qword [rbp - 0x11]
movsd qword [rbp + 7], xmm1
jmp 0x1401766aa
lea r8, [rbp + 0x13]
mov edx, 0x8004667e
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov ebx, eax
mov edx, eax
shr edx, 0x1f
lea rcx, [rbp - 9]
call fcn.140172470
test ebx, ebx
je 0x1401766ee
lea rax, str.C:_vcpkginstalledx64_windows_staticinclude_boost_asiodetailimpl_socket_select_interrupter.ipp
mov qword [rbp - 0x21], rax
lea rax, str.void___cdecl_boost::asio::detail::socket_select_interrupter::open_descriptors_void_
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x11], 0x63
mov dword [rbp - 0xd], 0x1a
test byte [rbp + 7], 1
je 0x1401766ee
cmp qword [rbp + 7], 1
jne 0x1401769cb
cmp dword [rbp - 9], 0
setne al
test al, al
jne 0x1401769cb
mov dword [rbp + 0xf], 1
cmp rsi, 0xffffffffffffffff
jne 0x140176759
mov dword [rbp - 0x1d], r15d
mov rcx, qword [0x140648f68]
movabs rbx, 0x4d54ee85da812030
add rcx, rbx
cmp rcx, 1
jbe 0x14017672d
mov rax, qword [0x140648f60]
mov edx, 0x2719
mov rcx, r13
call qword [rax + 0x30]
jmp 0x14017672f
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x11], rax
mov dword [rbp - 0x21], 0x2719
mov qword [rbp - 0x19], r13
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rbp - 9], xmm0
movsd xmm1, qword [rbp - 0x11]
movsd qword [rbp + 7], xmm1
jmp 0x140176791
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0xf]
mov edx, 6
mov r8d, 1
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
setne dl
lea rcx, [rbp - 9]
call fcn.140172470
movabs rbx, 0x4d54ee85da812030
mov dword [rbp + 0x13], 1
cmp r14, 0xffffffffffffffff
jne 0x1401767f2
mov dword [rbp - 0x1d], r15d
mov rcx, qword [0x140648f68]
add rcx, rbx
cmp rcx, 1
jbe 0x1401767c6
mov rax, qword [0x140648f60]
mov edx, 0x2719
mov rcx, r13
call qword [rax + 0x30]
jmp 0x1401767c8
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x11], rax
mov dword [rbp - 0x21], 0x2719
mov qword [rbp - 0x19], r13
movups xmm0, xmmword [rbp - 0x21]
movups xmmword [rbp - 9], xmm0
movsd xmm1, qword [rbp - 0x11]
movsd qword [rbp + 7], xmm1
jmp 0x140176818
lea r8, [rbp + 0x13]
mov edx, 0x8004667e
mov rcx, r14
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov ebx, eax
mov edx, eax
shr edx, 0x1f
lea rcx, [rbp - 9]
call fcn.140172470
test ebx, ebx
je 0x14017685c
lea rax, str.C:_vcpkginstalledx64_windows_staticinclude_boost_asiodetailimpl_socket_select_interrupter.ipp
mov qword [rbp - 0x21], rax
lea rax, str.void___cdecl_boost::asio::detail::socket_select_interrupter::open_descriptors_void_
mov qword [rbp - 0x19], rax
mov dword [rbp - 0x11], WSASetLastError
mov dword [rbp - 0xd], 0x1a
test byte [rbp + 7], 1
je 0x14017685c
cmp qword [rbp + 7], 1
jne 0x140176923
cmp dword [rbp - 9], 0
setne al
test al, al
jne 0x140176923
mov dword [rbp + 0xf], 1
cmp r14, 0xffffffffffffffff
jne 0x140176897
mov rdx, qword [0x140648f68]
movabs rcx, 0x4d54ee85da812030
add rdx, rcx
cmp rdx, 1
jbe 0x1401768c5
mov rax, qword [0x140648f60]
mov edx, 0x2719
mov rcx, r13
call qword [rax + 0x30]
jmp 0x1401768c5
mov dword [rsp + 0x20], 4
lea r9, [rbp + 0xf]
mov edx, 6
mov r8d, 1
mov rcx, r14
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
setne dl
lea rcx, [rbp - 9]
call fcn.140172470
mov qword [r12], r14
mov qword [r12 + 8], rsi
cmp rdi, 0xffffffffffffffff
je 0x1401768f6
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x11], r15
mov byte [rbp - 0x39], 0
lea r9, [rbp - 0x21]
mov r8b, 1
lea rdx, [rbp - 0x39]
mov rcx, rdi
call fcn.1401725e0
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1404a4900
lea r11, [rsp + 0xa0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
lea r8, [rbp - 0x21]
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 9]
call fcn.140172060
nop
lea r8, [rbp - 0x21]
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 9]
call fcn.140172060
int3
lea r8, [rbp - 0x21]
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 9]
call fcn.140172060
int3
lea r8, [rbp - 0x21]
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 9]
call fcn.140172060
int3
lea r8, [rbp - 0x21]
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 9]
call fcn.140172060
nop
lea r8, [rbp - 0x21]
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 9]
call fcn.140172060
int3
lea r8, [rbp - 0x21]
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 9]
call fcn.140172060
nop
lea r8, [rbp - 0x21]
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 9]
call fcn.140172060
int3
lea r8, [rbp - 0x21]
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 9]
call fcn.140172060
int3