Function at 0x1400445b0
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
mov rbp, rsp
sub rsp, 0x80
mov rax, qword [0x1400992c0]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov r12, rcx
call fcn.140066390
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x28], 1
xor r13d, r13d
mov dword [rsp + 0x20], r13d
xor r9d, r9d
lea edx, [r13 + 1]
lea r8d, [r13 + 6]
mov r14d, 2
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rsi, rax
call fcn.140066390
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 0x50], eax
mov qword [rbp - 0x48], rbx
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
mov rdi, 0xffffffffffffffff
cmp rsi, rdi
jne 0x14004464c
mov rsi, rdi
jmp 0x140044665
mov dword [rbp - 0x50], r13d
call fcn.140066390
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
mov eax, r13d
mov qword [rbp - 0x30], rsi
cmp rsi, 0xffffffffffffffff
jne 0x1400446a4
test eax, eax
jne 0x140044b52
mov dword [rbp - 0x40], 1
call fcn.140066390
mov qword [rbp - 0x18], r13
mov word [rbp - 0x20], r14w
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp - 0x1c], eax
mov word [rbp - 0x1e], r13w
jmp 0x140044b38
mov dword [rbp - 0x40], 1
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x40]
mov edx, 0xffff
mov r8d, 4
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov ebx, eax
call fcn.140066390
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
jne 0x14004474d
call fcn.140066390
mov qword [rbp - 0x18], r13
mov word [rbp - 0x20], r14w
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp - 0x1c], eax
mov word [rbp - 0x1e], r13w
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov r8d, SafeArrayGetElemsize
lea rdx, [rbp - 0x20]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_bind]
mov r14d, eax
call fcn.140066390
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 0x50], eax
mov qword [rbp - 0x48], rbx
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
test r14d, r14d
jne 0x140044775
call fcn.140066390
jmp 0x140044783
mov qword [rbp - 0x18], r13
mov word [rbp - 0x20], r14w
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp - 0x1c], eax
mov word [rbp - 0x1e], r13w
cmp rsi, 0xffffffffffffffff
je 0x140044b38
jmp 0x140044705
cmp r14d, 0xffffffff
jne 0x140044783
test eax, eax
jne 0x140044b52
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rbp - 0x38], SafeArrayGetElemsize
lea r8, [rbp - 0x38]
lea rdx, [rbp - 0x20]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_getsockname]
mov r14d, eax
movsxd r15, dword [rbp - 0x38]
call fcn.140066390
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 0x50], eax
mov qword [rbp - 0x48], rbx
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
test r14d, r14d
jne 0x1400447d4
call fcn.140066390
jmp 0x1400447e2
cmp r14d, 0xffffffff
jne 0x1400447e2
test eax, eax
jne 0x140044b52
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_htonl]
cmp dword [rbp - 0x1c], eax
jne 0x1400447fd
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp - 0x1c], eax
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov edx, 0x7fffffff
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_listen]
mov r14d, eax
call fcn.140066390
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 0x50], eax
mov qword [rbp - 0x48], rbx
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
test r14d, r14d
jne 0x140044893
call fcn.140066390
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r13d
xor r9d, r9d
lea edx, [r9 + 1]
lea r8d, [r9 + 6]
lea ecx, [rdx + 1]
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov r14, rax
call fcn.140066390
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 0x50], eax
mov qword [rbp - 0x48], rbx
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
cmp r14, 0xffffffffffffffff
jne 0x1400448a3
mov r14, rdi
jmp 0x1400448bc
cmp r14d, 0xffffffff
jne 0x14004483e
test eax, eax
jne 0x140044b52
jmp 0x14004483e
mov dword [rbp - 0x50], r13d
call fcn.140066390
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
mov eax, r13d
mov qword [rbp - 0x38], r14
cmp r14, 0xffffffffffffffff
je 0x140044b63
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov r8d, r15d
lea rdx, [rbp - 0x20]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_connect]
mov r15d, eax
call fcn.140066390
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 0x50], eax
mov qword [rbp - 0x48], rbx
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
test r15d, r15d
jne 0x140044a3c
call fcn.140066390
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
xor r8d, r8d
xor edx, edx
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_accept]
mov rsi, rax
call fcn.140066390
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 0x50], eax
mov qword [rbp - 0x48], rbx
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
cmp rsi, 0xffffffffffffffff
je 0x14004496a
mov dword [rbp - 0x50], r13d
call fcn.140066390
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
mov rdi, rsi
mov eax, r13d
mov qword [rbp - 0x28], rdi
cmp rdi, 0xffffffffffffffff
jne 0x14004497c
test eax, eax
jne 0x140044baa
mov dword [rbp - 0x3c], 1
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r8, [rbp - 0x3c]
mov edx, 0x8004667e
mov rcx, r14
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov esi, eax
call fcn.140066390
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 0x50], eax
mov qword [rbp - 0x48], rbx
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
test esi, esi
js 0x1400449dc
mov dword [rbp - 0x50], r13d
call fcn.140066390
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
mov eax, r13d
test esi, esi
je 0x1400449e6
test eax, eax
jne 0x140044baa
mov dword [rbp - 0x40], 1
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x40]
mov edx, 6
lea r8d, [rdx - 5]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_setsockopt]
mov ebx, eax
call fcn.140066390
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
jne 0x140044a29
call fcn.140066390
mov dword [rbp - 0x3c], 1
cmp rdi, 0xffffffffffffffff
je 0x140044b91
jmp 0x140044a53
cmp r15d, 0xffffffff
jne 0x140044911
test eax, eax
jne 0x140044b80
jmp 0x140044911
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
lea r8, [rbp - 0x3c]
mov edx, 0x8004667e
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov esi, eax
call fcn.140066390
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rbp - 0x50], eax
mov qword [rbp - 0x48], rbx
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
test esi, esi
js 0x140044aac
mov dword [rbp - 0x50], r13d
call fcn.140066390
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
mov eax, r13d
test esi, esi
je 0x140044ab6
test eax, eax
jne 0x140044baa
mov dword [rbp - 0x40], 1
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x40]
mov edx, 6
lea r8d, [rdx - 5]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_setsockopt]
mov ebx, eax
call fcn.140066390
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
jne 0x140044af9
call fcn.140066390
mov qword [r12], rdi
mov qword [r12 + 8], r14
lea rcx, [rbp - 0x30]
call fcn.14003ee70
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.140066410
lea r11, [rsp + 0x80]
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
call fcn.140066390
nop
mov dword [rbp - 0x50], 0x2719
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 0x50]
call fcn.1400043c0
nop
test eax, eax
jne 0x140044b80
call fcn.140066390
mov dword [rbp - 0x50], 0x2719
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 0x50]
call fcn.1400043c0
nop
call fcn.140066390
mov dword [rbp - 0x50], 0x2719
mov qword [rbp - 0x48], rax
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 0x50]
call fcn.1400043c0
int3