Function at 0x140181e80
Capabilities:
Create pipe
Create process on windows
Read file on windows

Disassembly:
push r15
push r14
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x5e0
movaps xmmword [rsp + 0x5d0], xmm6
mov rsi, r9
mov rdi, r8
mov ebp, edx
mov r14, rcx
mov rax, qword [0x1401eb038]
xor rax, rsp
mov qword [rsp + 0x5c8], rax
mov qword [rsp + 0xf0], 0xa
mov rax, qword [0x1401d1548]
mov al, byte [rax + 0xa]
test al, al
jne 0x14018228e
xor ebx, ebx
lea rcx, [rsp + 0x1b8]
mov qword [rcx], rbx
lea rdx, [rsp + 0x1b0]
mov qword [rdx], rbx
movaps xmm6, xmmword [0x1401bc9e0]
lea r8, [rsp + 0x190]
movaps xmmword [r8], xmm6
movabs r12, 0xaaaaaaaaaaaaaaaa
mov qword [r8 + 0x10], r12
mov dword [r8], SafeArrayCopy
mov dword [r8 + 0x10], 1
mov qword [r8 + 8], rbx
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x140182221
mov rdx, qword [rsp + 0x1b8]
xor ebx, ebx
lea rcx, [rsp + 0x188]
mov qword [rcx], rbx
call fcn.1400d35a0
mov rdx, qword [rsp + 0x1b0]
lea rcx, [rsp + 0x180]
mov qword [rcx], rbx
call fcn.1400d35a0
mov rcx, qword [rsp + 0x1b8]
mov edx, 1
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x1401821db
lea r15, [rsp + 0x160]
mov qword [r15 + 0x10], r12
movaps xmmword [r15], xmm6
mov rcx, r15
mov rdx, r14
call fcn.140071870
xorps xmm0, xmm0
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0x130], xmm0
movaps xmmword [rsp + 0x120], xmm0
movaps xmmword [rsp + 0x110], xmm0
movaps xmmword [rsp + 0x100], xmm0
mov dword [rsp + 0xf0], WSAGetLastError
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x148], rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x140], rax
test bpl, bpl
jne 0x140182007
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
jmp 0x14018200f
mov rax, qword [rsp + 0x1b0]
mov qword [rsp + 0x150], rax
mov dword [rsp + 0x12c], 0x100
xorps xmm0, xmm0
movaps xmmword [rsp + 0xd0], xmm0
mov qword [rsp + 0xe0], 0
cmp byte [rsp + 0x177], 0
jns 0x14018204b
mov r15, qword [rsp + 0x160]
lea rax, [rsp + 0xd0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
xor ebx, ebx
xor ecx, ecx
mov rdx, r15
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1401821c4
lea rcx, [rsp + 0xb0]
mov qword [rcx + 0x10], r12
movaps xmmword [rcx], xmm6
lea rdx, [rsp + 0xd0]
call fcn.1400a0330
mov rax, qword [rsp + 0x180]
inc rax
cmp rax, 2
jb 0x1401820e0
call fcn.1400ec560
mov rcx, qword [rsp + 0x180]
call fcn.1400d72e0
mov qword [rsp + 0x180], 0
lea rbx, [rsp + 0x1c0]
mov r8d, 0x400
mov rcx, rbx
mov dl, 0xaa
call fcn.14012ae40
lea r14, [rsp + 0x70]
mov r15, qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x70], 0
mov rcx, qword [rsp + 0x1b8]
mov qword [rsp + 0x20], 0
mov rdx, rbx
mov r8d, 0x400
mov r9, r14
call r15
test eax, eax
je 0x140182147
mov r8d, dword [rsp + 0x70]
test r8d, r8d
je 0x140182147
mov rcx, rdi
mov rdx, rbx
call fcn.140078ed0
jmp 0x140182104
lea rdi, [rsp + 0x70]
movaps xmmword [rdi + 0x30], xmm6
movaps xmmword [rdi + 0x20], xmm6
movaps xmmword [rdi + 0x10], xmm6
movaps xmmword [rdi], xmm6
lea rdx, str.GetAppOutputInternal
lea r8, str....._baseprocesslaunch_win.cc
lea rbx, [rsp + 0x50]
mov rcx, rbx
mov r9d, 0x83
call fcn.1400ec540
mov rcx, rdi
mov rdx, rbx
xor r8d, r8d
call fcn.1400df840
lea r14, [rsp + 0xb0]
mov rcx, qword [r14]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call fcn.1400df8c0
mov rcx, qword [r14]
mov rdx, rsi
call fcn.1400a0540
and eax, 0xfffffffd
cmp eax, 1
setne bl
mov rcx, r14
call fcn.1400a0460
cmp byte [rsp + 0x177], 0
jns 0x1401821db
mov rcx, qword [rsp + 0x160]
call fcn.14012733c
mov rax, qword [rsp + 0x180]
inc rax
cmp rax, 2
jb 0x1401821fe
call fcn.1400ec560
mov rcx, qword [rsp + 0x180]
call fcn.1400d72e0
mov rax, qword [rsp + 0x188]
inc rax
cmp rax, 2
jb 0x140182221
call fcn.1400ec560
mov rcx, qword [rsp + 0x188]
call fcn.1400d72e0
mov qword [rsp + 0xf0], 0xa
mov rax, qword [0x1401d1548]
mov al, byte [rax + 0xa]
test al, al
jne 0x140182267
mov rcx, qword [rsp + 0x5c8]
xor rcx, rsp
call fcn.140127eb0
mov eax, ebx
movaps xmm6, xmmword [rsp + 0x5d0]
add rsp, 0x5e0
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r14
pop r15
ret
movzx ecx, al
lea r8, [rsp + 0x1c0]
mov qword [r8], 0
lea rdx, [rsp + 0xf0]
mov r9d, 2
call fcn.1400d26b0
jmp 0x14018223b
movzx ecx, al
lea rax, str.GetAppOutput
lea r8, [rsp + 0x1c0]
mov qword [r8], rax
lea rdx, [rsp + 0xf0]
mov r9d, 1
call fcn.1400d1af0
jmp 0x140181ed4