Function at 0x14000a8e0
Capabilities:
Connect socket
Get local ipv4 addresses
Get socket information
Set socket configuration

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push r14
sub rsp, 0x50
mov rax, qword [0x1400b1008]
xor rax, rsp
mov qword [rsp + 0x48], rax
xorps xmm0, xmm0
mov dword [rsp + 0x20], reloc.WS2_32.dll_recv
movups xmmword [rsp + 0x28], xmm0
mov esi, 2
mov dword [rsp + 0x2c], 0x100007f
mov word [rsp + 0x28], si
mov r14, 0xffffffffffffffff
movups xmm0, xmmword [rsp + 0x28]
xor r8d, r8d
mov ecx, esi
lea edx, [rsi - 1]
mov rbx, r14
movups xmmword [rsp + 0x38], xmm0
call qword [sym.imp.WS2_32.dll_socket]
mov rdi, rax
cmp rax, rbx
je 0x14000aa4e
mov r8d, dword [rsp + 0x20]
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
jne 0x14000aa4e
mov edx, 0x400
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_listen]
test eax, eax
jne 0x14000aa4e
lea r8, [rsp + 0x20]
mov rcx, rdi
lea rdx, [rsp + 0x28]
call qword [sym.imp.WS2_32.dll_getsockname]
test eax, eax
jne 0x14000aa4e
xor r8d, r8d
lea edx, [rsi - 1]
mov ecx, esi
call qword [sym.imp.WS2_32.dll_socket]
mov rsi, rax
cmp rax, rbx
je 0x14000aa32
mov r8d, dword [rsp + 0x20]
lea rdx, [rsp + 0x28]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
jne 0x14000aa32
nop dword [rax]
nop word [rax + rax]
xorps xmm0, xmm0
lea r8, [rsp + 0x20]
lea rdx, [rsp + 0x38]
mov rcx, rdi
movups xmmword [rsp + 0x38], xmm0
call qword [sym.imp.WS2_32.dll_accept]
mov rbx, rax
cmp rax, r14
jne 0x14000aa0d
call fcn.14006c390
cmp dword [rax], 4
je 0x14000a9e0
cmp rbx, r14
je 0x14000aa32
lea r8, [rsp + 0x24]
mov dword [rsp + 0x24], 1
mov edx, 0x8004667e
mov rcx, rbx
mov bpl, 1
call qword [sym.imp.WS2_32.dll_ioctlsocket]
jmp 0x14000aa60
cmp rsi, r14
je 0x14000aa40
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
cmp rbx, r14
je 0x14000aa4e
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov rbx, r14
xor bpl, bpl
mov rsi, r14
cmp rdi, rbx
je 0x14000ab55
mov rcx, rdi
call qword [sym.imp.WS2_32.dll_closesocket]
test bpl, bpl
je 0x14000ab3f
mov rdx, qword [0x1400d67d8]
mov ecx, 1
add rdx, 0x100
cmovb rdx, r14
call fcn.14006bdc8
mov rdi, rax
test rax, rax
je 0x14000ab43
mov qword [rdi + 0x70], 0x2000
lea rax, [0x1400d6770]
mov qword [rdi + 8], rax
xor r9d, r9d
mov qword [rdi + 0x90], 0x2000
lea rax, [fcn.140011d10]
mov ecx, dword [0x1400d67a0]
xor r8d, r8d
inc ecx
mov dword [0x1400d67a0], ecx
lea edx, [r9 + 1]
mov dword [rdi + 0x50], ecx
movsxd rcx, ebx
mov qword [rdi + 0x48], rcx
mov rcx, rdi
mov qword [rdi + 0x98], rax
mov qword [rdi + 0xa0], 0
call fcn.140011d10
mov rax, qword [rdi + 0xa8]
test rax, rax
je 0x14000ab1a
mov r9, qword [rdi + 0xb0]
xor r8d, r8d
mov rcx, rdi
lea edx, [r8 + 1]
call rax
mov rax, qword [0x1400d6770]
mov qword [rdi], rax
mov qword [0x1400d6770], rdi
mov byte [rdi + 0x44], 0
movzx eax, word [rsp + 0x2a]
mov word [rdi + 0x2c], ax
mov eax, dword [rsp + 0x2c]
mov dword [rdi + 0x30], eax
mov eax, esi
jmp 0x14000ab58
mov rcx, rsi
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, rbx
call qword [sym.imp.WS2_32.dll_closesocket]
mov eax, r14d
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.14001a6d0
mov rbx, qword [rsp + 0x60]
mov rbp, qword [rsp + 0x68]
mov rsi, qword [rsp + 0x70]
mov rdi, qword [rsp + 0x78]
add rsp, 0x50
pop r14
ret