Function at 0x1401ca400
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 [0x14022c038]
xor rax, rsp
mov qword [rsp + 0x5e8], rax
movabs r13, 0xaaaaaaaaaaaaaaaa
mov dil, byte [0x14023ab80]
test dil, 0x19
jne 0x1401ca846
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 [0x1401fd270]
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 0x1401ca5e8
mov rdx, qword [rsp + 0x188]
xor r13d, r13d
lea rcx, [rsp + 0x158]
mov qword [rcx], r13
call fcn.1400ee9f0
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x150]
mov qword [rcx], r13
call fcn.1400ee9f0
mov rcx, qword [rsp + 0x188]
mov edx, 1
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x1401ca599
movabs rax, 0xaaaaaaaaaaaaaaaa
lea r13, [rsp + 0x130]
mov qword [r13 + 0x10], rax
movaps xmmword [r13], xmm6
mov rcx, r13
mov rdx, r12
call fcn.14008bac0
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 0x1401ca638
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
jmp 0x1401ca640
call fcn.1401d1030
xor ebp, ebp
mov rax, qword [rsp + 0x150]
inc rax
cmp rax, 2
jb 0x1401ca5c3
call fcn.14011f3f0
mov rcx, qword [rsp + 0x150]
call fcn.140107f20
mov rax, qword [rsp + 0x158]
inc rax
cmp rax, 2
jb 0x1401ca5ef
call fcn.14011f3f0
mov rcx, qword [rsp + 0x158]
call fcn.140107f20
jmp 0x1401ca5ef
call fcn.1401d1030
xor ebp, ebp
test dil, 0x19
je 0x1401ca60a
cmp byte [rsi], 0
je 0x1401ca60a
mov rcx, rsi
mov rdx, qword [rsp + 0x58]
mov r8, rbx
call fcn.140107340
mov rcx, qword [rsp + 0x5e8]
xor rcx, rsp
call fcn.140152880
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 0x1401ca67c
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 0x1401ca83d
lea rcx, [rsp + 0x80]
movabs rax, 0xaaaaaaaaaaaaaaaa
mov qword [rcx + 0x10], rax
movaps xmmword [rcx], xmm6
lea rdx, [rsp + 0xa0]
call fcn.1400bc730
mov rax, qword [rsp + 0x150]
inc rax
cmp rax, 2
jb 0x1401ca719
call fcn.14011f3f0
mov rcx, qword [rsp + 0x150]
call fcn.140107f20
mov qword [rsp + 0x150], 0
lea r12, [rsp + 0x1e0]
mov r8d, 0x400
mov rcx, r12
mov dl, 0xaa
call fcn.140155860
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 0x1401ca788
mov r8d, dword [rsp + 0x190]
test r8d, r8d
je 0x1401ca788
mov rcx, r15
mov rdx, r12
call fcn.140104e40
jmp 0x1401ca740
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.14011f3d0
mov rcx, r15
mov rdx, r12
xor r8d, r8d
call fcn.1401119e0
lea r12, [rsp + 0x80]
mov rcx, qword [r12]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, r15
call fcn.140111c50
mov rcx, qword [r12]
mov rdx, r14
call fcn.1400bc950
and eax, 0xfffffffd
cmp eax, 1
setne bpl
mov rcx, r12
call fcn.1400bc870
cmp byte [rsp + 0x147], 0
jns 0x1401ca5a0
mov rcx, qword [rsp + 0x130]
call fcn.140151c70
jmp 0x1401ca5a0
call fcn.1401d1030
xor ebp, ebp
jmp 0x1401ca81d
lea rsi, [rsp + 0x1e0]
mov rcx, rsi
call fcn.140108710
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, [0x14023ab80]
lea r8, str.GetAppOutput
mov cl, 0x58
mov rdx, rsi
mov qword [rsp + 0x58], r8
xor r9d, r9d
call fcn.140106980
mov rbx, rax
jmp 0x1401ca45d