Function at 0x1401b0590
Capabilities:
Create tcp socket

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
movzx ebx, r9w
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov qword [rcx], rdx
xor r15d, r15d
mov qword [rbp - 0x49], r15
mov qword [rbp - 0x39], r15
mov qword [rbp - 0x31], shutdown
mov byte [rbp - 0x49], r15b
lea edx, [r15 + 1]
lea r8d, [r15 + 6]
mov r12d, 2
mov ecx, r12d
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rdi + 8], rax
cmp rax, 0xffffffffffffffff
jne 0x1401b063f
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp - 0x69]
call fcn.1401b2000
nop
mov r8, rax
lea rdx, str.socket_failed_
lea rcx, [rbp - 0x29]
call fcn.1400dbe30
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.14003dbe0
lea rcx, [rbp - 0x29]
call fcn.14000a9e0
nop
lea rcx, [rbp - 0x69]
call fcn.14000a9e0
jmp 0x1401b0860
mov word [rbp - 0x29], r12w
movzx ecx, bx
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp - 0x27], ax
mov rcx, r14
call fcn.1400eddb0
mov ecx, eax
call qword [sym.imp.WS2_32.dll_htonl]
mov dword [rbp - 0x25], eax
mov r8d, reloc.WS2_32.dll_recv
lea rdx, [rbp - 0x29]
mov rcx, qword [rdi + 8]
call qword [sym.imp.WS2_32.dll_bind]
test eax, eax
je 0x1401b06bc
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp - 9]
call fcn.1401b2000
nop
mov r8, rax
lea rdx, str.bind_failed_
lea rcx, [rbp - 0x69]
call fcn.1400dbe30
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.14003dbe0
lea rcx, [rbp - 0x69]
call fcn.14000a9e0
nop
jmp 0x1401b084d
mov edx, 0x7fffffff
mov rcx, qword [rdi + 8]
call qword [sym.imp.WS2_32.dll_listen]
test eax, eax
je 0x1401b0713
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp - 0x69]
call fcn.1401b2000
nop
mov r8, rax
lea rdx, str.listen_failed_
lea rcx, [rbp - 9]
call fcn.1400dbe30
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.14003dbe0
lea rcx, [rbp - 9]
call fcn.14000a9e0
nop
lea rcx, [rbp - 0x69]
jmp 0x1401b0851
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
cmp qword [0x1402f84f8], 0
jne 0x1401b07cc
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
lea rax, [rbp + 0x67]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 8
lea rax, [0x1402f84f8]
mov qword [rsp + 0x20], rax
mov r9d, reloc.WS2_32.dll_recv
lea r8, [rbp - 0x69]
mov edx, 0xc8000006
mov rcx, qword [rdi + 8]
call qword [sym.imp.WS2_32.dll_WSAIoctl]
test eax, eax
je 0x1401b07cc
call qword [sym.imp.WS2_32.dll_WSAGetLastError]
mov edx, eax
lea rcx, [rbp + 0x17]
call fcn.1401b2000
nop
mov r8, rax
lea rdx, str.WSAIoctl_failed_
lea rcx, [rbp - 9]
call fcn.1400dbe30
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.14003dbe0
lea rcx, [rbp - 9]
call fcn.14000a9e0
nop
lea rcx, [rbp + 0x17]
jmp 0x1401b0851
mov rcx, rsi
call fcn.1400d8ed0
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.1400d8ed0
cmp rbx, rax
jne 0x1401b081a
mov qword [rdi + 0x10], r15
mov rax, rdi
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
lea rcx, [rbp - 9]
call fcn.1401b23d0
nop
mov r8, rax
lea rdx, str.CreateIoCompletionPort_failed_
lea rcx, [rbp + 0x17]
call fcn.1400dbe30
mov rdx, rax
lea rcx, [rbp - 0x49]
call fcn.14003dbe0
lea rcx, [rbp + 0x17]
call fcn.14000a9e0
nop
lea rcx, [rbp - 9]
call fcn.14000a9e0
mov rcx, qword [rdi + 8]
call qword [sym.imp.WS2_32.dll_closesocket]
lea r8, [rbp - 0x49]
lea rdx, str.TcpListener::TcpListener_
lea rcx, [rbp + 0x17]
call fcn.14000e1c0
nop
mov rdx, rax
lea rcx, [rbp - 0x29]
call fcn.1400106b0
lea rdx, [0x1402ca490]
lea rcx, [rbp - 0x29]
call sub.VCRUNTIME140.dll__CxxThrowException
int3