Function at 0x14000c090
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 [0x14007c010]
xor rax, rsp
mov qword [rbp - 8], rax
mov r12, rcx
xor r13d, r13d
mov qword [rbp - 0x38], r13
lea rax, [0x14007c068]
mov qword [rbp - 0x30], rax
mov dword [rsp + 0x28], 1
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 rdi, rax
cmp rax, 0xffffffffffffffff
sete dl
lea rcx, [rbp - 0x38]
call fcn.14000b820
mov rsi, 0xffffffffffffffff
cmp rdi, rsi
cmove rdi, rsi
mov qword [rbp - 0x48], rdi
cmp rdi, rsi
jne 0x14000c175
cmp dword [rbp - 0x38], r13d
jne 0x14000c530
mov dword [rbp - 0x28], 1
mov edx, 0x2719
lea rcx, [rbp - 0x38]
call fcn.1400224f0
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
mov edx, 0x2719
lea rcx, [rbp - 0x38]
call fcn.1400224f0
lea r15d, [r13 + 0x10]
jmp 0x14000c1f1
mov dword [rbp - 0x28], 1
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x28]
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 - 0x38]
call fcn.14000b820
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
mov r15d, select
mov r8d, r15d
lea rdx, [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_bind]
mov ebx, eax
test eax, eax
setne dl
lea rcx, [rbp - 0x38]
call fcn.14000b820
cmp ebx, 0xffffffff
jne 0x14000c211
cmp dword [rbp - 0x38], 0
jne 0x14000c530
cmp rdi, 0xffffffffffffffff
jne 0x14000c211
mov edx, 0x2719
lea rcx, [rbp - 0x38]
call fcn.1400224f0
jmp 0x14000c242
mov dword [rbp - select], 0x10
lea r8, [rbp - 0x10]
lea rdx, [rbp - 0x20]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getsockname]
mov ebx, eax
movsxd r15, dword [rbp - 0x10]
test eax, eax
setne dl
lea rcx, [rbp - 0x38]
call fcn.14000b820
cmp ebx, 0xffffffff
jne 0x14000c24c
cmp dword [rbp - 0x38], 0
jne 0x14000c530
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_htonl]
cmp dword [rbp - 0x1c], eax
jne 0x14000c267
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp - 0x1c], eax
cmp rdi, 0xffffffffffffffff
jne 0x14000c27d
mov edx, 0x2719
lea rcx, [rbp - 0x38]
call fcn.1400224f0
jmp 0x14000c2a0
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 - 0x38]
call fcn.14000b820
cmp ebx, 0xffffffff
jne 0x14000c2aa
cmp dword [rbp - 0x38], 0
jne 0x14000c530
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r13d
xor r9d, r9d
lea edx, [r9 + 1]
lea r8d, [r9 + 6]
mov ecx, r14d
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov r14, rax
cmp rax, 0xffffffffffffffff
sete dl
lea rcx, [rbp - 0x38]
call fcn.14000b820
cmp r14, 0xffffffffffffffff
cmove r14, rsi
mov qword [rbp - 0x10], r14
cmp r14, 0xffffffffffffffff
jne 0x14000c30a
cmp dword [rbp - 0x38], 0
jne 0x14000c541
mov edx, 0x2719
lea rcx, [rbp - 0x38]
call fcn.1400224f0
jmp 0x14000c32f
mov r8d, r15d
lea rdx, [rbp - 0x20]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_connect]
mov ebx, eax
test eax, eax
setne dl
lea rcx, [rbp - 0x38]
call fcn.14000b820
cmp ebx, 0xffffffff
jne 0x14000c339
cmp dword [rbp - 0x38], 0
jne 0x14000c541
cmp rdi, 0xffffffffffffffff
jne 0x14000c34f
mov edx, 0x2719
lea rcx, [rbp - 0x38]
call fcn.1400224f0
jmp 0x14000c37d
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 - 0x38]
call fcn.14000b820
cmp rbx, 0xffffffffffffffff
je 0x14000c37d
mov dword [rbp - 0x38], r13d
mov rsi, rbx
mov qword [rbp - 0x40], rsi
cmp rsi, 0xffffffffffffffff
jne 0x14000c391
cmp dword [rbp - 0x38], 0
jne 0x14000c51f
mov dword [rbp - 0x24], 1
cmp r14, 0xffffffffffffffff
jne 0x14000c3ae
mov edx, 0x2719
lea rcx, [rbp - 0x38]
call fcn.1400224f0
jmp 0x14000c3d4
lea r8, [rbp - 0x24]
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 - 0x38]
call fcn.14000b820
test ebx, ebx
je 0x14000c3de
cmp dword [rbp - 0x38], 0
jne 0x14000c51f
mov dword [rbp - 0x28], 1
cmp r14, 0xffffffffffffffff
jne 0x14000c3fb
mov edx, 0x2719
lea rcx, [rbp - 0x38]
call fcn.1400224f0
jmp 0x14000c427
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x28]
mov edx, 6
lea r8d, [rdx - 5]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
setne dl
lea rcx, [rbp - 0x38]
call fcn.14000b820
mov dword [rbp - 0x24], 1
cmp rsi, 0xffffffffffffffff
jne 0x14000c444
mov edx, 0x2719
lea rcx, [rbp - 0x38]
call fcn.1400224f0
jmp 0x14000c46a
lea r8, [rbp - 0x24]
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 - 0x38]
call fcn.14000b820
test ebx, ebx
je 0x14000c474
cmp dword [rbp - 0x38], 0
jne 0x14000c51f
mov dword [rbp - 0x28], 1
cmp rsi, 0xffffffffffffffff
jne 0x14000c491
mov edx, 0x2719
lea rcx, [rbp - 0x38]
call fcn.1400224f0
jmp 0x14000c4bd
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x28]
mov edx, 6
lea r8d, [rdx - 5]
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_setsockopt]
test eax, eax
setne dl
lea rcx, [rbp - 0x38]
call fcn.14000b820
mov qword [r12], rsi
mov qword [r12 + 8], r14
cmp rdi, 0xffffffffffffffff
je 0x14000c4f2
mov qword [rbp - 0x38], r13
lea rax, [0x14007c068]
mov qword [rbp - 0x30], rax
mov byte [rbp - 0x50], 0
lea r9, [rbp - 0x38]
mov r8b, 1
lea rdx, [rbp - 0x50]
mov rcx, rdi
call fcn.14000b8b0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.14005ca70
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
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 0x38]
call fcn.140009790
nop
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 0x38]
call fcn.140009790
nop
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 0x38]
call fcn.140009790
int3