Function at 0x1401b0340
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, 0x618
movaps xmmword [rsp + 0x600], xmm6
mov r14, r9
mov r15, r8
mov ebp, edx
mov r12, rcx
mov rax, qword [0x14022a038]
xor rax, rsp
mov qword [rsp + 0x5f8], rax
movabs rdi, 0xaaaaaaaaaaaaaaaa
mov bl, byte [0x14022c230]
test bl, 0x19
jne 0x1401b07c8
xor esi, esi
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x50], rdi
xor r13d, r13d
lea rcx, [rsp + 0x188]
mov qword [rcx], r13
lea rdx, [rsp + 0x180]
mov qword [rdx], r13
movaps xmm6, xmmword [0x140206780]
lea r8, [rsp + 0x160]
movaps xmmword [r8], xmm6
mov qword [r8 + 0x10], rdi
mov dword [r8], SafeArrayCopy
mov dword [r8 + 0x10], 1
mov qword [r8 + 8], r13
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x1401b077d
mov rdx, qword [rsp + 0x188]
xor r13d, r13d
lea rcx, [rsp + 0x158]
mov qword [rcx], r13
call fcn.1400eb220
mov rdx, qword [rsp + 0x180]
lea rcx, [rsp + 0x150]
mov qword [rcx], r13
call fcn.1400eb220
mov rcx, qword [rsp + 0x188]
mov edx, 1
xor r8d, r8d
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x1401b0737
movabs rax, 0xaaaaaaaaaaaaaaaa
lea rdi, [rsp + 0x130]
mov r13, rax
mov qword [rdi + 0x10], rax
movaps xmmword [rdi], xmm6
mov rdx, qword [r12]
mov r8, qword [r12 + 8]
mov rcx, rdi
call fcn.14003b710
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
je 0x1401b04d7
mov rax, qword [rsp + 0x180]
jmp 0x1401b04e2
mov ecx, 0xfffffff4
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
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
mov rbp, r13
jns 0x1401b0521
mov rdi, 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 r13d, r13d
xor ecx, ecx
mov rdx, rdi
xor r8d, r8d
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1401b0720
lea rcx, [rsp + 0x80]
mov qword [rcx + 0x10], rbp
movaps xmmword [rcx], xmm6
lea rdx, [rsp + 0xa0]
call fcn.1400c9310
mov rdi, qword [0x14023d040]
test rdi, rdi
je 0x1401b05d4
mov rdx, qword [r12]
mov r8, qword [r12 + 8]
lea r12, [rsp + 0x1f0]
mov rcx, r12
call fcn.14003b710
mov edx, dword [rsp + 0x90]
mov rcx, rdi
mov r8, r12
call fcn.1401a7c70
cmp byte [r12 + 0x17], 0
jns 0x1401b05d4
mov rcx, qword [rsp + 0x1f0]
call fcn.14014847c
mov rax, qword [rsp + 0x150]
inc rax
cmp rax, 2
jb 0x1401b0603
call fcn.1400fc5f0
mov rcx, qword [rsp + 0x150]
call fcn.14010ef00
mov qword [rsp + 0x150], 0
lea rdi, [rsp + 0x1f0]
mov r8d, 0x400
mov rcx, rdi
mov dl, 0xaa
call fcn.14014bec0
lea r12, [rsp + 0x190]
mov r13, qword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [rsp + 0x190], 0
mov rcx, qword [rsp + 0x188]
mov qword [rsp + 0x20], 0
mov rdx, rdi
mov r8d, 0x400
mov r9, r12
call r13
test eax, eax
je 0x1401b0673
mov r8d, dword [rsp + 0x190]
test r8d, r8d
je 0x1401b0673
mov rcx, r15
mov rdx, rdi
call fcn.14008e5b0
jmp 0x1401b062a
lea rdi, [rsp + 0x190]
mov qword [rdi + 0x50], rbp
movaps xmmword [rdi + 0x40], xmm6
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 r15, [rsp + 0x60]
mov rcx, r15
mov r9d, 0x87
call fcn.1400fc5d0
mov rcx, rdi
mov rdx, r15
xor r8d, r8d
call fcn.1401089a0
mov rcx, qword [rsp + 0x80]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, rdi
call fcn.140108a00
mov rcx, qword [rsp + 0x80]
mov rdx, r14
call fcn.1400c9520
mov edi, eax
mov r8d, dword [r14]
mov edx, dword [rsp + 0x90]
mov rcx, qword [0x14023d040]
test rcx, rcx
je 0x1401b0709
call fcn.1401a8140
and edi, 0xfffffffd
cmp edi, 1
setne r13b
lea rcx, [rsp + 0x80]
call fcn.1400c9440
cmp byte [rsp + 0x147], 0
jns 0x1401b0737
mov rcx, qword [rsp + 0x130]
call fcn.14014847c
mov rax, qword [rsp + 0x150]
inc rax
cmp rax, 2
jb 0x1401b075a
call fcn.1400fc5f0
mov rcx, qword [rsp + 0x150]
call fcn.14010ef00
mov rax, qword [rsp + 0x158]
inc rax
cmp rax, 2
jb 0x1401b077d
call fcn.1400fc5f0
mov rcx, qword [rsp + 0x158]
call fcn.14010ef00
test bl, 0x19
je 0x1401b0799
cmp byte [rsi], 0
je 0x1401b0799
mov rcx, rsi
mov rdx, qword [rsp + 0x58]
mov r8, qword [rsp + 0x50]
call fcn.140111380
mov rcx, qword [rsp + 0x5f8]
xor rcx, rsp
call fcn.140148f60
mov eax, r13d
movaps xmm6, xmmword [rsp + 0x600]
add rsp, 0x618
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
lea rsi, [rsp + 0x1f0]
mov rcx, rsi
call fcn.14010f7a0
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, [0x14022c230]
lea r8, str.GetAppOutput
mov cl, 0x58
mov rdx, rsi
mov qword [rsp + 0x58], r8
xor r9d, r9d
call fcn.1401107f0
mov qword [rsp + 0x50], rax
jmp 0x1401b039d