Function at 0x180008e90
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 [0x1800a0040]
xor rax, rsp
mov qword [rbp - 8], rax
mov r12, rcx
xor r13d, r13d
mov dword [rbp - 0x50], r13d
lea rax, [0x1800a0df8]
mov qword [rbp - 0x48], 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 - 0x50]
call fcn.180008bf0
mov rsi, 0xffffffffffffffff
cmp rdi, rsi
cmove rdi, rsi
mov qword [rbp - 0x28], rdi
cmp rdi, rsi
jne 0x180008f75
cmp dword [rbp - 0x50], r13d
jne 0x180009330
mov dword [rbp - 0x3c], 1
mov edx, 0x2719
lea rcx, [rbp - 0x50]
call fcn.18000f540
mov qword [rbp - 0x10], r13
mov word [rbp - 0x18], r14w
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp - 0x14], eax
mov word [rbp - 0x16], r13w
mov edx, 0x2719
lea rcx, [rbp - 0x50]
call fcn.18000f540
lea r15d, [r13 + 0x10]
jmp 0x180008ff1
mov dword [rbp - 0x3c], 1
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.180008bf0
mov qword [rbp - 0x10], r13
mov word [rbp - 0x18], r14w
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp - 0x14], eax
mov word [rbp - 0x16], r13w
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.180008bf0
cmp ebx, 0xffffffff
jne 0x180009011
cmp dword [rbp - 0x50], 0
jne 0x180009330
cmp rdi, 0xffffffffffffffff
jne 0x180009011
mov edx, 0x2719
lea rcx, [rbp - 0x50]
call fcn.18000f540
jmp 0x180009042
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.180008bf0
cmp ebx, 0xffffffff
jne 0x18000904c
cmp dword [rbp - 0x50], 0
jne 0x180009330
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_htonl]
cmp dword [rbp - 0x14], eax
jne 0x180009067
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp - 0x14], eax
cmp rdi, 0xffffffffffffffff
jne 0x18000907d
mov edx, 0x2719
lea rcx, [rbp - 0x50]
call fcn.18000f540
jmp 0x1800090a0
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.180008bf0
cmp ebx, 0xffffffff
jne 0x1800090aa
cmp dword [rbp - 0x50], 0
jne 0x180009330
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 - 0x50]
call fcn.180008bf0
cmp r14, 0xffffffffffffffff
cmove r14, rsi
mov qword [rbp - 0x30], r14
cmp r14, 0xffffffffffffffff
jne 0x18000910a
cmp dword [rbp - 0x50], 0
jne 0x180009341
mov edx, 0x2719
lea rcx, [rbp - 0x50]
call fcn.18000f540
jmp 0x18000912f
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.180008bf0
cmp ebx, 0xffffffff
jne 0x180009139
cmp dword [rbp - 0x50], 0
jne 0x180009341
cmp rdi, 0xffffffffffffffff
jne 0x18000914f
mov edx, 0x2719
lea rcx, [rbp - 0x50]
call fcn.18000f540
jmp 0x18000917d
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.180008bf0
cmp rbx, 0xffffffffffffffff
je 0x18000917d
mov dword [rbp - 0x50], r13d
mov rsi, rbx
mov qword [rbp - 0x20], rsi
cmp rsi, 0xffffffffffffffff
jne 0x180009191
cmp dword [rbp - 0x50], 0
jne 0x18000931f
mov dword [rbp - 0x38], 1
cmp r14, 0xffffffffffffffff
jne 0x1800091ae
mov edx, 0x2719
lea rcx, [rbp - 0x50]
call fcn.18000f540
jmp 0x1800091d4
lea r8, [rbp - 0x38]
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 - 0x50]
call fcn.180008bf0
test ebx, ebx
je 0x1800091de
cmp dword [rbp - 0x50], 0
jne 0x18000931f
mov dword [rbp - 0x3c], 1
cmp r14, 0xffffffffffffffff
jne 0x1800091fb
mov edx, 0x2719
lea rcx, [rbp - 0x50]
call fcn.18000f540
jmp 0x180009227
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.180008bf0
mov dword [rbp - 0x38], 1
cmp rsi, 0xffffffffffffffff
jne 0x180009244
mov edx, 0x2719
lea rcx, [rbp - 0x50]
call fcn.18000f540
jmp 0x18000926a
lea r8, [rbp - 0x38]
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 - 0x50]
call fcn.180008bf0
test ebx, ebx
je 0x180009274
cmp dword [rbp - 0x50], 0
jne 0x18000931f
mov dword [rbp - 0x3c], 1
cmp rsi, 0xffffffffffffffff
jne 0x180009291
mov edx, 0x2719
lea rcx, [rbp - 0x50]
call fcn.18000f540
jmp 0x1800092bd
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.180008bf0
mov qword [r12], rsi
mov qword [r12 + 8], r14
cmp rdi, 0xffffffffffffffff
je 0x1800092f2
mov dword [rbp - 0x50], r13d
lea rax, [0x1800a0df8]
mov qword [rbp - 0x48], rax
mov byte [rbp - 0x40], 0
lea r9, [rbp - 0x50]
mov r8b, 1
lea rdx, [rbp - 0x40]
mov rcx, rdi
call fcn.180008c80
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.180050570
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.1800050a0
nop
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 0x50]
call fcn.1800050a0
nop
lea rdx, str.socket_select_interrupter
lea rcx, [rbp - 0x50]
call fcn.1800050a0
int3