Function at 0x14001c6e0
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 [0x1401bf0a0]
xor rax, rsp
mov qword [rbp - 8], rax
mov r12, rcx
xor r14d, r14d
mov dword [rbp - 0x50], r14d
mov byte [rbp - 0x4c], r14b
lea r13, [0x140195cb8]
mov qword [rbp - 0x48], r13
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea edx, [r14 + 1]
mov ebx, 2
lea r8d, [r14 + 6]
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rdi, rax
cmp rax, 0xffffffffffffffff
sete dl
lea rcx, [rbp - 0x50]
call fcn.14001c280
mov rsi, 0xffffffffffffffff
cmp rdi, rsi
cmove rdi, rsi
mov qword [rbp - 0x28], rdi
cmp rdi, rsi
jne 0x14001c782
cmp byte [rbp - 0x4c], r14b
jne 0x14001cbe9
mov dword [rbp - 0x3c], 1
cmp rdi, 0xffffffffffffffff
jne 0x14001c7c8
mov qword [rbp - 0x10], r14
mov word [rbp - 0x18], bx
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp - 0x14], eax
mov word [rbp - 0x16], r14w
mov dword [rbp - 0x50], 0x2719
mov byte [rbp - 0x4c], 1
mov qword [rbp - 0x48], r13
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
lea r15d, [rdi + 0x11]
jmp 0x14001c83c
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x3c]
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 - 0x50]
call fcn.14001c280
mov qword [rbp - 0x10], r14
mov word [rbp - 0x18], bx
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp - 0x14], eax
mov word [rbp - 0x16], r14w
mov r15d, setsockopt
mov r8d, r15d
lea rdx, [rbp - 0x18]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_bind]
mov ebx, eax
test eax, eax
setne dl
lea rcx, [rbp - 0x50]
call fcn.14001c280
cmp ebx, 0xffffffff
jne 0x14001c866
cmp byte [rbp - 0x4c], 0
jne 0x14001cbe9
cmp rdi, 0xffffffffffffffff
jne 0x14001c866
mov dword [rbp - 0x50], 0x2719
mov byte [rbp - 0x4c], 1
mov qword [rbp - 0x48], r13
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
jmp 0x14001c897
mov dword [rbp - 0x30], setsockopt
lea r8, [rbp - 0x30]
lea rdx, [rbp - 0x18]
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_getsockname]
mov ebx, eax
movsxd r15, dword [rbp - 0x30]
test eax, eax
setne dl
lea rcx, [rbp - 0x50]
call fcn.14001c280
cmp ebx, 0xffffffff
jne 0x14001c8a1
cmp byte [rbp - 0x4c], 0
jne 0x14001cbe9
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_htonl]
cmp dword [rbp - 0x14], eax
jne 0x14001c8bc
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp - 0x14], eax
cmp rdi, 0xffffffffffffffff
jne 0x14001c8dc
mov dword [rbp - 0x50], 0x2719
mov byte [rbp - 0x4c], 1
mov qword [rbp - 0x48], r13
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
jmp 0x14001c8ff
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 - 0x50]
call fcn.14001c280
cmp ebx, 0xffffffff
jne 0x14001c909
cmp byte [rbp - 0x4c], 0
jne 0x14001cbe9
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea edx, [r9 + 1]
lea ecx, [rdx + 1]
lea r8d, [r9 + 6]
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov r14, rax
cmp rax, 0xffffffffffffffff
sete dl
lea rcx, [rbp - 0x50]
call fcn.14001c280
cmp r14, 0xffffffffffffffff
cmove r14, rsi
mov qword [rbp - 0x30], r14
cmp r14, 0xffffffffffffffff
jne 0x14001c973
cmp byte [rbp - 0x4c], 0
jne 0x14001cbfa
mov dword [rbp - 0x50], 0x2719
mov byte [rbp - 0x4c], 1
mov qword [rbp - 0x48], r13
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
jmp 0x14001c998
mov r8d, r15d
lea rdx, [rbp - 0x18]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_connect]
mov ebx, eax
test eax, eax
setne dl
lea rcx, [rbp - 0x50]
call fcn.14001c280
cmp ebx, 0xffffffff
jne 0x14001c9a2
cmp byte [rbp - 0x4c], 0
jne 0x14001cbfa
cmp rdi, 0xffffffffffffffff
jne 0x14001c9c2
mov dword [rbp - 0x50], 0x2719
mov byte [rbp - 0x4c], 1
mov qword [rbp - 0x48], r13
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
jmp 0x14001ca28
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 - 0x50]
call fcn.14001c280
cmp rbx, 0xffffffffffffffff
je 0x14001ca28
mov dword [rbp - 0x50], 0
mov rcx, qword [rbp - 0x48]
mov rax, qword [rcx + 8]
movabs rdx, 0x8fafd21e25c5e09b
cmp rax, rdx
je 0x14001ca20
movabs rdx, 0xb2ab117a257edf0d
cmp rax, rdx
je 0x14001ca20
mov rax, qword [rcx]
xor edx, edx
call qword [rax + 0x30]
jmp 0x14001ca22
xor al, al
mov byte [rbp - 0x4c], al
mov rsi, rbx
mov qword [rbp - 0x20], rsi
cmp rsi, 0xffffffffffffffff
jne 0x14001ca3c
cmp byte [rbp - 0x4c], 0
jne 0x14001cbd8
mov dword [rbp - 0x38], 1
cmp r14, 0xffffffffffffffff
jne 0x14001ca63
mov dword [rbp - 0x50], 0x2719
mov byte [rbp - 0x4c], 1
mov qword [rbp - 0x48], r13
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
jmp 0x14001ca89
lea r8, [rbp - 0x38]
mov edx, 0x8004667e
mov rcx, r14
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov ebx, eax
test eax, eax
sets dl
lea rcx, [rbp - 0x50]
call fcn.14001c280
test ebx, ebx
je 0x14001ca93
cmp byte [rbp - 0x4c], 0
jne 0x14001cbd8
mov dword [rbp - 0x3c], 1
cmp r14, 0xffffffffffffffff
jne 0x14001caba
mov dword [rbp - 0x50], 0x2719
mov byte [rbp - 0x4c], 1
mov qword [rbp - 0x48], r13
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
jmp 0x14001cae6
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x3c]
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 - 0x50]
call fcn.14001c280
mov dword [rbp - 0x38], 1
cmp rsi, 0xffffffffffffffff
jne 0x14001cb0d
mov dword [rbp - 0x50], 0x2719
mov byte [rbp - 0x4c], 1
mov qword [rbp - 0x48], r13
movaps xmm0, xmmword [rbp - 0x50]
movdqa xmmword [rbp - 0x50], xmm0
jmp 0x14001cb33
lea r8, [rbp - 0x38]
mov edx, 0x8004667e
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_ioctlsocket]
mov ebx, eax
test eax, eax
sets dl
lea rcx, [rbp - 0x50]
call fcn.14001c280
test ebx, ebx
je 0x14001cb3d
cmp byte [rbp - 0x4c], 0
jne 0x14001cbd8
mov dword [rbp - 0x3c], 1
cmp rsi, 0xffffffffffffffff
je 0x14001cb76
mov dword [rsp + 0x20], 4
lea r9, [rbp - 0x3c]
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 - 0x50]
call fcn.14001c280
mov qword [r12], rsi
mov qword [r12 + 8], r14
cmp rdi, 0xffffffffffffffff
je 0x14001cbab
mov dword [rbp - 0x50], 0
mov byte [rbp - 0x4c], 0
mov qword [rbp - 0x48], r13
mov byte [rbp - 0x40], 0
lea r9, [rbp - 0x50]
mov r8b, 1
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.14001c320
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.1400ba210
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 - 0x50]
call fcn.14001a330
nop
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 0x50]
call fcn.14001a330
nop
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 0x50]
call fcn.14001a330
int3