Function at 0x14012aa00
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp + 0x37], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movzx ebx, r9w
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rcx], rdx
movdqa xmm0, xmmword [0x1401b6b30]
movdqu xmmword [rbp - 0x19], xmm0
mov byte [rbp - 0x29], 0
mov edx, 1
lea r8d, [rdx + 5]
mov r15d, 2
mov ecx, r15d
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rdi + 8], rax
cmp rax, 0xffffffffffffffff
jne 0x14012aab3
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp - 0x69]
call fcn.14012e2d0
nop
mov r8, rax
lea rdx, str.socket_failed_
lea rcx, [rbp - 0x49]
call fcn.14001af10
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.140037ca0
lea rcx, [rbp - 0x49]
call fcn.14001d000
nop
lea rcx, [rbp - 0x69]
call fcn.14001d000
jmp 0x14012acd5
mov word [rbp - 0x49], r15w
movzx ecx, bx
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x47], ax
mov rcx, r14
call fcn.1400bcf50
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp - 0x45], eax
mov r8d, setsockopt
lea rdx, [rbp - 0x49]
mov rcx, qword [rdi + 8]
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x14012ab30
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp - 9]
call fcn.14012e2d0
nop
mov r8, rax
lea rdx, str.bind_failed_
lea rcx, [rbp - 0x69]
call fcn.14001af10
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.140037ca0
lea rcx, [rbp - 0x69]
call fcn.14001d000
nop
jmp 0x14012acc2
mov edx, 0x7fffffff
mov rcx, qword [rdi + 8]
call qword [sym.imp.WS2_32.dll_listen]
test eax, eax
je 0x14012ab87
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp - 0x69]
call fcn.14012e2d0
nop
mov r8, rax
lea rdx, str.listen_failed_
lea rcx, [rbp - 9]
call fcn.14001af10
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.140037ca0
lea rcx, [rbp - 9]
call fcn.14001d000
nop
lea rcx, [rbp - 0x69]
jmp 0x14012acc6
mov dword [rbp - 0x69], 0xb5367df1
mov dword [rbp - 0x65], 0x11cfcbac
mov dword [rbp - 0x61], 0x8000ca95
mov dword [rbp - 0x5d], 0x92a1485f
mov dword [rbp + 0x67], 8
xor r14d, r14d
cmp qword [0x14028c608], r14
jne 0x14012ac40
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r14
lea rax, [rbp + 0x67]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [0x14028c608]
mov qword [rsp + 0x20], rax
lea r9d, [r14 + 0x10]
lea r8, [rbp - 0x69]
mov edx, 0xc8000006
mov rcx, qword [rdi + 8]
call qword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x14012ac40
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp + 0x17]
call fcn.14012e2d0
nop
mov r8, rax
lea rdx, str.WSAIoctl_failed_
lea rcx, [rbp - 9]
call fcn.14001af10
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.140037ca0
lea rcx, [rbp - 9]
call fcn.14001d000
nop
lea rcx, [rbp + 0x17]
jmp 0x14012acc6
mov rcx, rsi
call fcn.140033760
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
mov rcx, qword [rdi + 8]
call qword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
mov rbx, rax
mov rcx, rsi
call fcn.140033760
cmp rbx, rax
jne 0x14012ac8f
mov qword [rdi + 0x10], r14
mov rax, rdi
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
lea rcx, [rbp - 9]
call fcn.14012e6a0
nop
mov r8, rax
lea rdx, str.CreateIoCompletionPort_failed_
lea rcx, [rbp + 0x17]
call fcn.14001af10
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.140037ca0
lea rcx, [rbp + 0x17]
call fcn.14001d000
nop
lea rcx, [rbp - 9]
call fcn.14001d000
mov rcx, qword [rdi + 8]
call qword [sym.imp.WS2_32.dll_closesocket]
lea r8, [rbp - 0x29]
lea rdx, str.TcpListener::TcpListener_
lea rcx, [rbp + 0x17]
call fcn.14001af70
nop
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.14001cb20
lea rdx, [0x140275160]
lea rcx, [rbp - 0x49]
call fcn.14016cf20
int3