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

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x608
movaps xmmword [rsp + 0x5f0], xmm6
mov r14, r9
mov r15, r8
mov ebp, edx
mov r12, rcx
mov rax, qword [0x1401e8038]
xor rax, rsp
mov qword [rsp + 0x5e8], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
mov dil, byte [0x1401f6180]
test dil, 0x19
jne 0x14018cab6
xor esi, esi
mov rbx, r13
mov qword [rsp + 0x58], r13
xor eax, eax
lea rcx, [rsp + 0x188]
mov qword [rcx], rax
lea rdx, [rsp + 0x180]
mov qword [rdx], rax
movaps xmm6, xmmword [0x1401bc9e0]
lea r8, [rsp + 0x160]
movaps xmmword [r8], xmm6
mov qword [r8 + 0x10], r13
mov dword [r8], SafeArrayCopy
mov dword [r8 + 0x10], 1
mov qword [r8 + 8], rax
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x14018c858
mov rdx, qword [rsp + 0x188]
xor r13d, r13d
lea rcx, [rsp + 0x158]
mov qword [rcx], r13
call fcn.1400d64f0
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x150]
mov qword [rcx], r13
call fcn.1400d64f0
mov rcx, qword [rsp + 0x188]
mov edx, 1
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x14018c809
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r13, [rsp + 0x130]
mov qword [r13 + 0x10], rax
movaps xmmword [r13], xmm6
mov rcx, r13
mov rdx, r12
call fcn.140075d50
xorps xmm0, xmm0
movaps xmmword [rsp + 0xc0], xmm0
movaps xmmword [rsp + 0x100], xmm0
movaps xmmword [rsp + 0xf0], xmm0
movaps xmmword [rsp + 0xe0], xmm0
movaps xmmword [rsp + 0xd0], xmm0
mov dword [rsp + 0xc0], WSAGetLastError
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x118], rax
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rsp + 0x110], rax
test bpl, bpl
jne 0x14018c8a8
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
jmp 0x14018c8b0
call fcn.1401936c0
xor ebp, ebp
mov rax, qword [rsp + 0x150]
inc rax
cmp rax, 2
jb 0x14018c833
call fcn.1400f2160
mov rcx, qword [rsp + 0x150]
call fcn.1400db920
mov rax, qword [rsp + 0x158]
inc rax
cmp rax, 2
jb 0x14018c85f
call fcn.1400f2160
mov rcx, qword [rsp + 0x158]
call fcn.1400db920
jmp 0x14018c85f
call fcn.1401936c0
xor ebp, ebp
test dil, 0x19
je 0x14018c87a
cmp byte [rsi], 0
je 0x14018c87a
mov rcx, rsi
mov rdx, qword [rsp + 0x58]
mov r8, rbx
call fcn.1400daec0
mov rcx, qword [rsp + 0x5e8]
xor rcx, rsp
call fcn.140126950
mov eax, ebp
movaps xmm6, xmmword [rsp + 0x5f0]
add rsp, 0x608
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rax, qword [rsp + 0x180]
mov qword [rsp + 0x120], rax
mov dword [rsp + 0xfc], 0x100
xorps xmm0, xmm0
movaps xmmword [rsp + 0xa0], xmm0
mov qword [rsp + 0xb0], 0
cmp byte [rsp + 0x147], 0
jns 0x14018c8ec
mov r13, qword [rsp + 0x130]
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x40], rax
movups xmmword [rsp + 0x30], xmm0
mov dword [rsp + 0x28], 0
mov dword [rsp + 0x20], 1
xor ecx, ecx
mov rdx, r13
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14018caad
lea rcx, [rsp + 0x80]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rcx + 0x10], rax
movaps xmmword [rcx], xmm6
lea rdx, [rsp + 0xa0]
call fcn.1400a5870
mov rax, qword [rsp + 0x150]
inc rax
cmp rax, 2
jb 0x14018c989
call fcn.1400f2160
mov rcx, qword [rsp + 0x150]
call fcn.1400db920
mov qword [rsp + 0x150], 0
lea r12, [rsp + 0x1e0]
mov r8d, 0x400
mov rcx, r12
mov dl, 0xaa
call fcn.1401298e0
lea r13, [rsp + 0x190]
mov rbp, qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x190], 0
mov rcx, qword [rsp + 0x188]
mov qword [rsp + 0x20], 0
mov rdx, r12
mov r8d, 0x400
mov r9, r13
call rbp
test eax, eax
je 0x14018c9f8
mov r8d, dword [rsp + 0x190]
test r8d, r8d
je 0x14018c9f8
mov rcx, r15
mov rdx, r12
call fcn.14007d540
jmp 0x14018c9b0
lea r15, [rsp + 0x190]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [r15 + 0x40], rax
movaps xmmword [r15 + 0x30], xmm6
movaps xmmword [r15 + 0x20], xmm6
movaps xmmword [r15 + 0x10], xmm6
movaps xmmword [r15], xmm6
lea rdx, str.GetAppOutputInternal
lea r8, str....._baseprocesslaunch_win.cc
lea r12, [rsp + 0x60]
mov rcx, r12
mov r9d, 0x83
call fcn.1400f2140
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.1400e51a0
lea r12, [rsp + 0x80]
mov rcx, qword [r12]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, r15
call fcn.1400e5410
mov rcx, qword [r12]
mov rdx, r14
call fcn.1400a5a90
and eax, 0xfffffffd
cmp eax, 1
setne bpl
mov rcx, r12
call fcn.1400a59b0
cmp byte [rsp + 0x147], 0
jns 0x14018c810
mov rcx, qword [rsp + 0x130]
call fcn.140125ddc
jmp 0x14018c810
call fcn.1401936c0
xor ebp, ebp
jmp 0x14018ca8d
lea rsi, [rsp + 0x1e0]
mov rcx, rsi
call fcn.1400dc070
call sub.KERNEL32.dll_GetCurrentThreadId
mov qword [rsp + 0x38], rsi
mov dword [rsp + 0x30], eax
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
mov dword [rsp + 0x48], 0
mov qword [rsp + 0x40], 0
lea rsi, [0x1401f6180]
lea r8, str.GetAppOutput
mov cl, 0x58
mov rdx, rsi
mov qword [rsp + 0x58], r8
xor r9d, r9d
call fcn.1400da5d0
mov rbx, rax
jmp 0x14018c6cd