Function at 0x14003dc30
Capabilities:
Create tcp socket
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x128]
sub rsp, 0x200
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140283aa8]
xor rax, rsp
mov qword [rbp + 0xe0], rax
mov r13, rcx
call fcn.140198620
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x28], 1
xor edi, edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
lea edx, [rdi + 1]
lea ecx, [rdi + 2]
lea r8d, [rdi + 6]
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov r14, rax
call fcn.140198620
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], rbx
movaps xmm6, xmmword [rsp + 0x40]
or r12, 0xffffffffffffffff
cmp r14, r12
jne 0x14003dcd2
mov r14, r12
jmp 0x14003dce5
mov dword [rsp + 0x40], edi
call fcn.140198620
mov qword [rsp + 0x48], rax
movaps xmm6, xmmword [rsp + 0x40]
mov qword [rsp + 0x68], r14
lea r15, [fcn.140012770]
cmp r14, 0xffffffffffffffff
jne 0x14003dd8c
mov rcx, r15
movd eax, xmm6
test eax, eax
cmove rcx, rdi
test rcx, rcx
je 0x14003dd8c
lea rax, vtable.std::exception.0
mov qword [rbp - 0x80], rax
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea rdx, str.socket_select_interrupter
mov qword [rsp + 0x40], rdx
mov byte [rsp + 0x48], 1
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x40]
call qword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
lea rax, vtable.boost::system::system_error.0
mov qword [rbp - 0x80], rax
movups xmmword [rbp - 0x68], xmm6
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x48], rdi
mov byte [rbp - 0x58], 0
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x70]
call fcn.1400279f0
nop
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140027a40
lea rdx, [0x140271318]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
mov dword [rsp + 0x50], 1
cmp r14, 0xffffffffffffffff
je 0x14003ddd4
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x50]
mov edx, 0xffff
mov r8d, 4
mov rcx, r14
call qword [sym.imp.WS2_32.dll_setsockopt]
mov ebx, eax
call fcn.140198620
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test ebx, ebx
jne 0x14003ddd9
call fcn.140198620
mov esi, reloc.WS2_32.dll_recv
xor eax, eax
mov qword [rbp - 0x30], rax
mov qword [rbp - 0x28], rax
mov eax, 2
mov word [rbp - 0x30], ax
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp - 0x2c], eax
mov word [rbp - 0x2e], di
cmp r14, 0xffffffffffffffff
jne 0x14003de22
call fcn.140198620
mov dword [rsp + 0x40], 0x2719
mov qword [rsp + 0x48], rax
movaps xmm6, xmmword [rsp + 0x40]
jmp 0x14003de71
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov r8d, esi
lea rdx, [rbp - 0x30]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_bind]
mov edi, eax
call fcn.140198620
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], rbx
movaps xmm6, xmmword [rsp + 0x40]
test edi, edi
jne 0x14003de66
call fcn.140198620
jmp 0x14003df02
cmp edi, 0xffffffff
jne 0x14003df02
xor edi, edi
mov rcx, r15
movd eax, xmm6
test eax, eax
cmove rcx, rdi
test rcx, rcx
je 0x14003df02
lea rax, vtable.std::exception.0
mov qword [rbp - 0x80], rax
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea rdx, str.socket_select_interrupter
mov qword [rsp + 0x40], rdx
mov byte [rsp + 0x48], 1
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x40]
call qword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
lea rax, vtable.boost::system::system_error.0
mov qword [rbp - 0x80], rax
movups xmmword [rbp - 0x68], xmm6
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x48], rdi
mov byte [rbp - 0x58], 0
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x70]
call fcn.1400279f0
nop
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140027a40
lea rdx, [0x140271318]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
cmp r14, 0xffffffffffffffff
jne 0x14003df21
call fcn.140198620
mov dword [rsp + 0x40], 0x2719
mov qword [rsp + 0x48], rax
movaps xmm6, xmmword [rsp + 0x40]
jmp 0x14003df79
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x58], esi
lea r8, [rsp + 0x58]
lea rdx, [rbp - 0x30]
mov rcx, r14
call qword [sym.imp.WS2_32.dll_getsockname]
mov edi, eax
movsxd rsi, dword [rsp + 0x58]
call fcn.140198620
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], rbx
movaps xmm6, xmmword [rsp + 0x40]
test edi, edi
jne 0x14003df70
call fcn.140198620
jmp 0x14003e00e
cmp edi, 0xffffffff
jne 0x14003e00e
mov rcx, r15
movd eax, xmm6
test eax, eax
mov ebx, 0
cmove rcx, rbx
test rcx, rcx
je 0x14003e00e
lea rax, vtable.std::exception.0
mov qword [rbp - 0x80], rax
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea rdx, str.socket_select_interrupter
mov qword [rsp + 0x40], rdx
mov byte [rsp + 0x48], 1
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x40]
call qword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
lea rax, vtable.boost::system::system_error.0
mov qword [rbp - 0x80], rax
movups xmmword [rbp - 0x68], xmm6
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x48], rbx
mov byte [rbp - 0x58], bl
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x70]
call fcn.1400279f0
nop
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140027a40
lea rdx, [0x140271318]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_htonl]
cmp dword [rbp - 0x2c], eax
jne 0x14003e029
mov ecx, 0x7f000001
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp - 0x2c], eax
cmp r14, 0xffffffffffffffff
jne 0x14003e048
call fcn.140198620
mov dword [rsp + 0x40], 0x2719
mov qword [rsp + 0x48], rax
movaps xmm6, xmmword [rsp + 0x40]
jmp 0x14003e093
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov edx, 0x7fffffff
mov rcx, r14
call qword [sym.imp.WS2_32.dll_listen]
mov edi, eax
call fcn.140198620
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], rbx
movaps xmm6, xmmword [rsp + 0x40]
test edi, edi
jne 0x14003e08a
call fcn.140198620
jmp 0x14003e12c
cmp edi, 0xffffffff
jne 0x14003e12c
mov rcx, r15
movd eax, xmm6
test eax, eax
mov ebx, 0
cmove rcx, rbx
test rcx, rcx
je 0x14003e12e
lea rax, vtable.std::exception.0
mov qword [rbp - 0x80], rax
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea rdx, str.socket_select_interrupter
mov qword [rsp + 0x40], rdx
mov byte [rsp + 0x48], 1
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x40]
call qword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
lea rax, vtable.boost::system::system_error.0
mov qword [rbp - 0x80], rax
movups xmmword [rbp - 0x68], xmm6
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x48], rbx
mov byte [rbp - 0x58], bl
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x70]
call fcn.1400279f0
nop
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140027a40
lea rdx, [0x140271318]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
xor ebx, ebx
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x28], 1
mov dword [rsp + 0x20], ebx
xor r9d, r9d
lea edx, [r9 + 1]
lea ecx, [rdx + 1]
lea r8d, [r9 + 6]
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov rdi, rax
call fcn.140198620
mov rbx, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], rbx
movaps xmm6, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm6
cmp rdi, 0xffffffffffffffff
je 0x14003e19d
xor eax, eax
mov dword [rsp + 0x40], eax
call fcn.140198620
mov qword [rsp + 0x48], rax
movaps xmm6, xmmword [rsp + 0x40]
movaps xmmword [rsp + 0x40], xmm6
mov r12, rdi
mov qword [rsp + 0x58], r12
cmp r12, 0xffffffffffffffff
jne 0x14003e246
mov rcx, r15
movd eax, xmm6
test eax, eax
mov edi, 0
cmove rcx, rdi
test rcx, rcx
je 0x14003e248
lea rax, vtable.std::exception.0
mov qword [rbp - 0x80], rax
xor eax, eax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea rdx, str.socket_select_interrupter
mov qword [rsp + 0x40], rdx
mov byte [rsp + 0x48], 1
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x40]
call qword [sym.imp.VCRUNTIME140.dll___std_exception_copy]
lea rax, vtable.boost::system::system_error.0
mov qword [rbp - 0x80], rax
movups xmmword [rbp - 0x68], xmm6
mov qword [rbp - 0x40], reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x48], rdi
mov byte [rbp - 0x58], dil
lea rdx, [rbp - 0x80]
lea rcx, [rbp + 0x70]
call fcn.1400279f0
nop
mov rdx, rax
lea rcx, [rbp - 0x20]
call fcn.140027a40
lea rdx, [0x140271318]
lea rcx, [rbp - 0x20]
call sub.VCRUNTIME140.dll__CxxThrowException
nop
xor edi, edi
lea r9, [rsp + 0x40]
mov r8, rsi
lea rdx, [rbp - 0x30]
mov rcx, r12
call fcn.14003cea0
cmp eax, 0xffffffff
jne 0x14003e284
mov rax, r15
cmp dword [rsp + 0x40], 0
cmove rax, rdi
test rax, rax
je 0x14003e284
lea rdx, str.socket_select_interrupter
lea rcx, [rsp + 0x40]
call fcn.1400136e0
int3
lea r9, [rsp + 0x40]
mov rcx, r14
call fcn.14003cad0
mov rbx, rax
mov qword [rsp + 0x70], rax
cmp rax, 0xffffffffffffffff
jne 0x14003e2c2
mov rax, r15
cmp dword [rsp + 0x40], 0
cmove rax, rdi
test rax, rax
je 0x14003e2c2
lea rdx, str.socket_select_interrupter
lea rcx, [rsp + 0x40]
call fcn.1400136e0
int3
mov dword [rsp + 0x54], 1
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
lea rdx, [rsp + 0x30]
mov rcx, r12
call fcn.14003d6d0
test eax, eax
je 0x14003e312
mov rax, r15
cmp dword [rsp + 0x40], 0
cmove rax, rdi
test rax, rax
je 0x14003e312
lea rdx, str.socket_select_interrupter
lea rcx, [rsp + 0x40]
call fcn.1400136e0
int3
mov dword [rsp + 0x50], 1
cmp r12, 0xffffffffffffffff
jne 0x14003e33f
call fcn.140198620
mov dword [rsp + 0x40], 0x2719
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
jmp 0x14003e3ab
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x50]
mov edx, 6
lea r8d, [rdx - 5]
mov rcx, r12
call qword [sym.imp.WS2_32.dll_setsockopt]
mov esi, eax
call fcn.140198620
mov rdi, rax
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov dword [rsp + 0x40], eax
mov qword [rsp + 0x48], rdi
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
test esi, esi
jne 0x14003e3ab
xor esi, esi
mov dword [rsp + 0x40], esi
call fcn.140198620
mov qword [rsp + 0x48], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
jmp 0x14003e3ad
xor esi, esi
mov dword [rsp + 0x54], 1
mov byte [rsp + 0x30], 0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x54]
lea rdx, [rsp + 0x30]
mov rcx, rbx
call fcn.14003d6d0
test eax, eax
je 0x14003e3fa
cmp dword [rsp + 0x40], 0
cmove r15, rsi
test r15, r15
je 0x14003e3fa
lea rdx, str.socket_select_interrupter
lea rcx, [rsp + 0x40]
call fcn.1400136e0
int3
mov dword [rsp + 0x50], 1
cmp rbx, 0xffffffffffffffff
je 0x14003e440
xor ecx, ecx
call qword [sym.imp.WS2_32.dll_WSASetLastError]
mov dword [rsp + 0x20], 4
lea r9, [rsp + 0x50]
mov edx, 6
lea r8d, [rdx - 5]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
call fcn.140198620
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
test edi, edi
jne 0x14003e445
call fcn.140198620
mov qword [r13], rbx
mov qword [r13 + 8], r12
cmp r14, 0xffffffffffffffff
je 0x14003e47b
mov dword [rsp + 0x40], esi
call fcn.140198620
mov qword [rsp + 0x48], rax
mov byte [rsp + 0x30], 0
lea r9, [rsp + 0x40]
mov r8b, 1
lea rdx, [rsp + 0x30]
mov rcx, r14
call fcn.14003cc50
mov rcx, qword [rbp + 0xe0]
xor rcx, rsp
call fcn.1401aad60
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret