Function at 0x14002ea10
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 [0x1401f41c0]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r12, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
xor esi, esi
mov qword [rbp - 0x11], 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 - 0x21]
call fcn.1400124a0
mov r14, 0xffffffffffffffff
cmp rdi, r14
cmove rdi, r14
mov qword [rbp + 0xf], rdi
lea rax, str.F:_vcpkg_installed_x64_windows_static_include_boost_asio_detail_impl_socket_select_interrupter.ipp
lea rcx, str.open_descriptors
cmp rdi, r14
jne 0x14002eae4
mov qword [rbp - 0x39], rax
mov qword [rbp - 0x31], rcx
mov dword [rbp - 0x29], 0x32
mov dword [rbp - 0x25], 0x1a
test byte [rbp - 0x11], 1
je 0x14002eae4
cmp qword [rbp - 0x11], 1
jne 0x14002f3ad
cmp dword [rbp - 0x21], esi
setne al
test al, al
jne 0x14002f3ad
mov dword [rbp - 5], 1
movabs rbx, 0x4d54ee85da812030
lea r13, section..data
cmp rdi, 0xffffffffffffffff
jne 0x14002eb55
mov dword [rbp - 0x35], esi
mov rcx, qword [0x1401ef008]
add rcx, rbx
cmp rcx, 1
jbe 0x14002eb29
mov rax, qword [section..data]
mov edx, 0x2719
mov rcx, r13
call qword [rax + 0x30]
jmp 0x14002eb2b
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x29], rax
mov dword [rbp - 0x39], 0x2719
mov qword [rbp - 0x31], r13
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rbp - 0x21], xmm0
movsd xmm1, qword [rbp - 0x29]
movsd qword [rbp - 0x11], xmm1
jmp 0x14002eb83
mov dword [rsp + 0x20], 4
lea r9, [rbp - 5]
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 - 0x21]
call fcn.1400124a0
mov r15d, select
mov qword [rbp + 0x27], rsi
mov eax, 2
mov word [rbp + 0x1f], ax
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp + 0x23], eax
mov word [rbp + 0x21], si
cmp rdi, 0xffffffffffffffff
jne 0x14002ec01
mov dword [rbp - 0x35], esi
mov rcx, qword [0x1401ef008]
add rcx, rbx
cmp rcx, 1
jbe 0x14002ebd5
mov rax, qword [section..data]
mov edx, 0x2719
mov rcx, r13
call qword [rax + 0x30]
jmp 0x14002ebd7
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x29], rax
mov dword [rbp - 0x39], 0x2719
mov qword [rbp - 0x31], r13
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rbp - 0x21], xmm0
movsd xmm1, qword [rbp - 0x29]
movsd qword [rbp - 0x11], xmm1
jmp 0x14002ec26
mov r8d, r15d
lea rdx, [rbp + 0x1f]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_bind]
mov ebx, eax
test eax, eax
setne dl
lea rcx, [rbp - 0x21]
call fcn.1400124a0
cmp ebx, 0xffffffff
jne 0x14002ec6a
lea rax, str.F:_vcpkg_installed_x64_windows_static_include_boost_asio_detail_impl_socket_select_interrupter.ipp
mov qword [rbp - 0x39], rax
lea rax, str.open_descriptors
mov qword [rbp - 0x31], rax
mov dword [rbp - 0x29], 0x42
mov dword [rbp - 0x25], 0x1a
test byte [rbp - 0x11], 1
je 0x14002ec6a
cmp qword [rbp - 0x11], 1
jne 0x14002f3c2
cmp dword [rbp - 0x21], 0
setne al
test al, al
jne 0x14002f3c2
cmp rdi, 0xffffffffffffffff
jne 0x14002eccd
mov dword [rbp - 0x35], esi
mov rcx, qword [0x1401ef008]
movabs rbx, 0x4d54ee85da812030
add rcx, rbx
cmp rcx, 1
jbe 0x14002eca1
mov rax, qword [section..data]
mov edx, 0x2719
mov rcx, r13
call qword [rax + 0x30]
jmp 0x14002eca3
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x29], rax
mov dword [rbp - 0x39], 0x2719
mov qword [rbp - 0x31], r13
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rbp - 0x21], xmm0
movsd xmm1, qword [rbp - 0x29]
movsd qword [rbp - 0x11], xmm1
jmp 0x14002ed05
mov dword [rbp + 7], r15d
lea r8, [rbp + 7]
lea rdx, [rbp + 0x1f]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getsockname]
mov ebx, eax
movsxd r15, dword [rbp + 7]
test eax, eax
setne dl
lea rcx, [rbp - 0x21]
call fcn.1400124a0
cmp ebx, 0xffffffff
movabs rbx, 0x4d54ee85da812030
jne 0x14002ed49
lea rax, str.F:_vcpkg_installed_x64_windows_static_include_boost_asio_detail_impl_socket_select_interrupter.ipp
mov qword [rbp - 0x39], rax
lea rax, str.open_descriptors
mov qword [rbp - 0x31], rax
mov dword [rbp - 0x29], 0x46
mov dword [rbp - 0x25], 0x1a
test byte [rbp - 0x11], 1
je 0x14002ed49
cmp qword [rbp - 0x11], 1
jne 0x14002f3d7
cmp dword [rbp - 0x21], 0
setne al
test al, al
jne 0x14002f3d7
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_htonl]
cmp dword [rbp + 0x23], eax
jne 0x14002ed64
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp + 0x23], eax
cmp rdi, 0xffffffffffffffff
jne 0x14002edbd
mov dword [rbp - 0x35], esi
mov rcx, qword [0x1401ef008]
add rcx, rbx
cmp rcx, 1
jbe 0x14002ed91
mov rax, qword [section..data]
mov edx, 0x2719
mov rcx, r13
call qword [rax + 0x30]
jmp 0x14002ed93
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x29], rax
mov dword [rbp - 0x39], 0x2719
mov qword [rbp - 0x31], r13
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rbp - 0x21], xmm0
movsd xmm1, qword [rbp - 0x29]
movsd qword [rbp - 0x11], xmm1
jmp 0x14002ede0
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 - 0x21]
call fcn.1400124a0
cmp ebx, 0xffffffff
jne 0x14002ee26
lea rbx, str.F:_vcpkg_installed_x64_windows_static_include_boost_asio_detail_impl_socket_select_interrupter.ipp
mov qword [rbp - 0x39], rbx
lea rax, str.open_descriptors
mov qword [rbp - 0x31], rax
mov dword [rbp - 0x29], 0x50
mov dword [rbp - 0x25], 0x1a
test byte [rbp - 0x11], 1
je 0x14002ee2d
cmp qword [rbp - 0x11], 1
jne 0x14002f398
cmp dword [rbp - 0x21], 0
setne al
test al, al
jne 0x14002f398
jmp 0x14002ee2d
lea rbx, str.F:_vcpkg_installed_x64_windows_static_include_boost_asio_detail_impl_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 - 0x21]
call fcn.1400124a0
cmp rsi, 0xffffffffffffffff
cmove rsi, r14
mov qword [rbp + 7], rsi
cmp rsi, 0xffffffffffffffff
jne 0x14002ef1c
mov qword [rbp - 0x39], rbx
lea rax, str.open_descriptors
mov qword [rbp - 0x31], rax
mov dword [rbp - 0x29], 0x55
mov dword [rbp - 0x25], 0x1a
test byte [rbp - 0x11], 1
je 0x14002eeb8
cmp qword [rbp - 0x11], 1
jne 0x14002f3ec
cmp dword [rbp - 0x21], 0
setne al
test al, al
jne 0x14002f3ec
cmp rsi, 0xffffffffffffffff
jne 0x14002ef1c
xor r15d, r15d
mov dword [rbp - 0x35], r15d
movabs rcx, 0x4d54ee85da812030
add rcx, qword [0x1401ef008]
cmp rcx, 1
jbe 0x14002eef0
mov rax, qword [section..data]
mov edx, 0x2719
mov rcx, r13
call qword [rax + 0x30]
jmp 0x14002eef2
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x29], rax
mov dword [rbp - 0x39], 0x2719
mov qword [rbp - 0x31], r13
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rbp - 0x21], xmm0
movsd xmm1, qword [rbp - 0x29]
movsd qword [rbp - 0x11], xmm1
jmp 0x14002ef44
mov r8d, r15d
lea rdx, [rbp + 0x1f]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_connect]
mov ebx, eax
test eax, eax
setne dl
lea rcx, [rbp - 0x21]
call fcn.1400124a0
xor r15d, r15d
cmp ebx, 0xffffffff
jne 0x14002ef88
lea rax, str.F:_vcpkg_installed_x64_windows_static_include_boost_asio_detail_impl_socket_select_interrupter.ipp
mov qword [rbp - 0x39], rax
lea rax, str.open_descriptors
mov qword [rbp - 0x31], rax
mov dword [rbp - 0x29], 0x59
mov dword [rbp - 0x25], 0x1a
test byte [rbp - 0x11], 1
je 0x14002ef88
cmp qword [rbp - 0x11], 1
jne 0x14002f401
cmp dword [rbp - 0x21], 0
setne al
test al, al
jne 0x14002f401
cmp rdi, 0xffffffffffffffff
jne 0x14002efec
mov dword [rbp - 0x35], r15d
mov rcx, qword [0x1401ef008]
movabs rbx, 0x4d54ee85da812030
add rcx, rbx
cmp rcx, 1
jbe 0x14002efc0
mov rax, qword [section..data]
mov edx, 0x2719
mov rcx, r13
call qword [rax + 0x30]
jmp 0x14002efc2
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x29], rax
mov dword [rbp - 0x39], 0x2719
mov qword [rbp - 0x31], r13
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rbp - 0x21], xmm0
movsd xmm1, qword [rbp - 0x29]
movsd qword [rbp - 0x11], xmm1
jmp 0x14002f035
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 - 0x21]
call fcn.1400124a0
cmp rbx, 0xffffffffffffffff
je 0x14002f02b
xorps xmm0, xmm0
mov qword [rbp - 0x29], r15
movups xmmword [rbp - 0x21], xmm0
movsd xmm0, qword [rbp - 0x29]
movsd qword [rbp - 0x11], xmm0
mov r14, rbx
movabs rbx, 0x4d54ee85da812030
mov qword [rbp + 0x17], r14
cmp r14, 0xffffffffffffffff
jne 0x14002f083
lea rax, str.F:_vcpkg_installed_x64_windows_static_include_boost_asio_detail_impl_socket_select_interrupter.ipp
mov qword [rbp - 0x39], rax
lea rax, str.open_descriptors
mov qword [rbp - 0x31], rax
mov dword [rbp - 0x29], 0x5d
mov dword [rbp - 0x25], 0x1a
test byte [rbp - 0x11], 1
je 0x14002f083
cmp qword [rbp - 0x11], 1
jne 0x14002f416
cmp dword [rbp - 0x21], 0
setne al
test al, al
jne 0x14002f416
mov dword [rbp - 1], 1
cmp rsi, 0xffffffffffffffff
jne 0x14002f0e4
mov dword [rbp - 0x35], r15d
mov rcx, qword [0x1401ef008]
add rcx, rbx
cmp rcx, 1
jbe 0x14002f0b8
mov rax, qword [section..data]
mov edx, 0x2719
mov rcx, r13
call qword [rax + 0x30]
jmp 0x14002f0ba
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x29], rax
mov dword [rbp - 0x39], 0x2719
mov qword [rbp - 0x31], r13
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rbp - 0x21], xmm0
movsd xmm1, qword [rbp - 0x29]
movsd qword [rbp - 0x11], xmm1
jmp 0x14002f10a
lea r8, [rbp - 1]
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 - 0x21]
call fcn.1400124a0
test ebx, ebx
je 0x14002f14e
lea rax, str.F:_vcpkg_installed_x64_windows_static_include_boost_asio_detail_impl_socket_select_interrupter.ipp
mov qword [rbp - 0x39], rax
lea rax, str.open_descriptors
mov qword [rbp - 0x31], rax
mov dword [rbp - 0x29], 0x63
mov dword [rbp - 0x25], 0x1a
test byte [rbp - 0x11], 1
je 0x14002f14e
cmp qword [rbp - 0x11], 1
jne 0x14002f42b
cmp dword [rbp - 0x21], 0
setne al
test al, al
jne 0x14002f42b
mov dword [rbp - 5], 1
cmp rsi, 0xffffffffffffffff
jne 0x14002f1b9
mov dword [rbp - 0x35], r15d
mov rcx, qword [0x1401ef008]
movabs rbx, 0x4d54ee85da812030
add rcx, rbx
cmp rcx, 1
jbe 0x14002f18d
mov rax, qword [section..data]
mov edx, 0x2719
mov rcx, r13
call qword [rax + 0x30]
jmp 0x14002f18f
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x29], rax
mov dword [rbp - 0x39], 0x2719
mov qword [rbp - 0x31], r13
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rbp - 0x21], xmm0
movsd xmm1, qword [rbp - 0x29]
movsd qword [rbp - 0x11], xmm1
jmp 0x14002f1f1
mov dword [rsp + 0x20], 4
lea r9, [rbp - 5]
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 - 0x21]
call fcn.1400124a0
movabs rbx, 0x4d54ee85da812030
mov dword [rbp - 1], 1
cmp r14, 0xffffffffffffffff
jne 0x14002f252
mov dword [rbp - 0x35], r15d
mov rcx, qword [0x1401ef008]
add rcx, rbx
cmp rcx, 1
jbe 0x14002f226
mov rax, qword [section..data]
mov edx, 0x2719
mov rcx, r13
call qword [rax + 0x30]
jmp 0x14002f228
mov al, 1
movzx eax, al
add rax, 2
mov qword [rbp - 0x29], rax
mov dword [rbp - 0x39], 0x2719
mov qword [rbp - 0x31], r13
movups xmm0, xmmword [rbp - 0x39]
movups xmmword [rbp - 0x21], xmm0
movsd xmm1, qword [rbp - 0x29]
movsd qword [rbp - 0x11], xmm1
jmp 0x14002f278
lea r8, [rbp - 1]
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 - 0x21]
call fcn.1400124a0
test ebx, ebx
je 0x14002f2bc
lea rax, str.F:_vcpkg_installed_x64_windows_static_include_boost_asio_detail_impl_socket_select_interrupter.ipp
mov qword [rbp - 0x39], rax
lea rax, str.open_descriptors
mov qword [rbp - 0x31], rax
mov dword [rbp - 0x29], WSAGetLastError
mov dword [rbp - 0x25], 0x1a
test byte [rbp - 0x11], 1
je 0x14002f2bc
cmp qword [rbp - 0x11], 1
jne 0x14002f383
cmp dword [rbp - 0x21], 0
setne al
test al, al
jne 0x14002f383
mov dword [rbp - 5], 1
cmp r14, 0xffffffffffffffff
jne 0x14002f2f7
mov rdx, qword [0x1401ef008]
movabs rcx, 0x4d54ee85da812030
add rdx, rcx
cmp rdx, 1
jbe 0x14002f325
mov rax, qword [section..data]
mov edx, 0x2719
mov rcx, r13
call qword [rax + 0x30]
jmp 0x14002f325
mov dword [rsp + 0x20], 4
lea r9, [rbp - 5]
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 - 0x21]
call fcn.1400124a0
mov qword [r12], r14
mov qword [r12 + 8], rsi
cmp rdi, 0xffffffffffffffff
je 0x14002f356
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x29], r15
mov byte [rbp - 9], 0
lea r9, [rbp - 0x39]
mov r8b, 1
lea rdx, [rbp - 9]
mov rcx, rdi
call fcn.1400113c0
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14016ab50
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 - 0x39]
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 0x21]
call fcn.1400122a0
nop
lea r8, [rbp - 0x39]
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 0x21]
call fcn.1400122a0
int3
lea r8, [rbp - 0x39]
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 0x21]
call fcn.1400122a0
int3
lea r8, [rbp - 0x39]
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 0x21]
call fcn.1400122a0
int3
lea r8, [rbp - 0x39]
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 0x21]
call fcn.1400122a0
nop
lea r8, [rbp - 0x39]
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 0x21]
call fcn.1400122a0
int3
lea r8, [rbp - 0x39]
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 0x21]
call fcn.1400122a0
nop
lea r8, [rbp - 0x39]
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 0x21]
call fcn.1400122a0
int3
lea r8, [rbp - 0x39]
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 0x21]
call fcn.1400122a0
int3