Function at 0x140004450
Capabilities:
Create thread
Initialize winsock library

Disassembly:
mov qword [rsp + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
sub rsp, 0x60
mov rax, qword [0x14001b040]
xor rax, rsp
mov qword [rsp + 0x50], rax
movzx ebp, r9b
movzx r14d, r8w
mov rbx, rcx
xor r15d, r15d
add rcx, 8
cmp rcx, rdx
je 0x1400044cc
mov r9, rdx
cmp qword [rdx + 0x18], 0xf
jbe 0x140004493
mov r9, qword [rdx]
mov rdi, qword [rdx + 0x10]
mov rax, qword [rcx + 0x18]
cmp rdi, rax
ja 0x1400044c4
mov rsi, rcx
cmp rax, 0xf
jbe 0x1400044ac
mov rsi, qword [rcx]
mov qword [rcx + 0x10], rdi
mov r8, rdi
mov rdx, r9
mov rcx, rsi
call sub.VCRUNTIME140.dll_memmove
mov byte [rsi + rdi], r15b
jmp 0x1400044cc
mov rdx, rdi
call fcn.14000a2d0
test bpl, bpl
je 0x1400044e8
lea rdx, [rbx + 0x28]
mov ecx, 0x202
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400046d3
mov qword [rsp + 0x48], r15
mov edi, 2
mov word [rsp + 0x40], di
movzx ecx, r14w
call qword [sym.imp.WS2_32.dll_htons]
mov word [rsp + 0x42], ax
mov dword [rsp + 0x44], r15d
lea edx, [rdi - 1]
lea r8d, [rdi + 4]
mov ecx, edi
call qword [sym.imp.WS2_32.dll_socket]
mov qword [rbx + 0x1c0], rax
cmp rax, 0xffffffffffffffff
je 0x1400046cb
lea r8d, [rdi + 0xe]
lea rdx, [rsp + 0x40]
mov rcx, rax
call qword [sym.imp.WS2_32.dll_bind]
cmp eax, 0xffffffff
je 0x1400046cb
lea edx, [rdi - 1]
mov rcx, qword [rbx + 0x1c0]
call qword [sym.imp.WS2_32.dll_listen]
cmp eax, 0xffffffff
je 0x1400046cb
xchg byte [rbx + 4], dil
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400128c0
mov rsi, rax
mov qword [rsp + 0x30], rax
lea rbp, [rbx + 0x270]
mov ecx, 0x18
call fcn.1400128c0
mov qword [rax], rbp
mov qword [rax + 8], rbx
lea rcx, [0x1400053d0]
mov qword [rax + 0x10], rcx
mov qword [rsp + 0x38], rax
lea rdi, [rsi + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14000c920]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi], rax
test rax, rax
je 0x1400046bc
mov qword [rbx + 0x248], rsi
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400128c0
mov rsi, rax
mov qword [rsp + 0x38], rax
mov ecx, 0x18
call fcn.1400128c0
mov qword [rax], rbp
mov qword [rax + 8], rbx
lea rcx, [0x140005610]
mov qword [rax + 0x10], rcx
mov qword [rsp + 0x30], rax
lea rdi, [rsi + 8]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14000c920]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsi], rax
test rax, rax
je 0x1400046ad
mov qword [rbx + 0x250], rsi
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400128c0
mov rdi, rax
mov qword [rsp + 0x38], rax
mov ecx, 0x18
call fcn.1400128c0
mov qword [rax], rbp
mov qword [rax + 8], rbx
lea rcx, [0x1400060d0]
mov qword [rax + 0x10], rcx
mov qword [rsp + 0x30], rax
lea rsi, [rdi + 8]
mov qword [rsp + 0x28], rsi
mov dword [rsp + 0x20], r15d
mov r9, rax
lea r8, [0x14000c920]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rdi], rax
test rax, rax
je 0x14000469e
mov qword [rbx + 0x258], rdi
mov al, 1
jmp 0x1400046d5
mov dword [rsi], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rdi], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rdi], r15d
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov rcx, rbx
call fcn.140004700
xor al, al
mov rcx, qword [rsp + 0x50]
xor rcx, rsp
call fcn.1400128a0
mov rbx, qword [rsp + 0xa8]
add rsp, 0x60
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret