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

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rdi
sub rsp, 0x290
mov dword [rsp + 0x54], 0
call qword [sym.imp.KERNEL32.dll_GetConsoleOutputCP]
mov dword [rsp + 0x70], eax
mov ecx, 0xfde9
call qword [sym.imp.KERNEL32.dll_SetConsoleOutputCP]
nop
lea rax, [rsp + 0x250]
mov qword [rsp + 0x88], rax
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x80]
call fcn.1400952d0
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.1400800b0
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x210]
call fcn.1400240d0
nop
mov qword [rsp + 0x58], 0
mov qword [rsp + 0x68], 0
mov dword [rsp + 0xe0], SafeArrayPutElement
mov qword [rsp + 0xe8], 0
mov dword [rsp + 0xf0], 1
lea rax, [rsp + 0xc8]
mov rdi, rax
xor eax, eax
mov ecx, SafeArrayPutElement
rep stosb byte [rdi], al
mov dword [rsp + 0x140], 0x68
lea rax, [rsp + 0x148]
mov rdi, rax
xor eax, eax
mov ecx, 0x60
rep stosb byte [rdi], al
mov eax, dword [rsp + 0x17c]
bts eax, 8
mov dword [rsp + 0x17c], eax
mov qword [rsp + 0x198], 0
mov qword [rsp + 0x1a0], 0
mov byte [rsp + 0x50], 0
xor r9d, r9d
lea r8, [rsp + 0xe0]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x1400ae2dd
mov byte [rsp + 0x51], 0
lea rcx, [rsp + 0x1b0]
call fcn.140022280
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0xa0], rax
mov r8, qword [rsp + 0xa0]
lea rdx, [rsp + 0x51]
mov rcx, qword [rsp + 0x2a0]
call fcn.14000bd20
mov eax, dword [rsp + 0x54]
or eax, 1
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x1b0]
call fcn.140028230
nop
lea rcx, [rsp + 0x210]
call fcn.140028ee0
nop
mov rax, qword [rsp + 0x2a0]
jmp 0x1400ae590
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x1400ae387
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov byte [rsp + 0x52], 0
lea rcx, [rsp + 0x1d0]
call fcn.140022280
mov qword [rsp + 0xa8], rax
mov rax, qword [rsp + 0xa8]
mov qword [rsp + 0xb0], rax
mov r8, qword [rsp + 0xb0]
lea rdx, [rsp + 0x52]
mov rcx, qword [rsp + 0x2a0]
call fcn.14000bd20
mov eax, dword [rsp + 0x54]
or eax, 1
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x1d0]
call fcn.140028230
nop
lea rcx, [rsp + 0x210]
call fcn.140028ee0
nop
mov rax, qword [rsp + 0x2a0]
jmp 0x1400ae590
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x198], rax
lea rcx, [rsp + 0x118]
call fcn.140022280
nop
mov rcx, qword [rsp + 0x2a8]
call fcn.140046fb0
lea rcx, [rsp + 0xc8]
mov qword [rsp + 0x48], rcx
lea rcx, [rsp + 0x140]
mov qword [rsp + 0x40], rcx
mov qword [rsp + 0x38], 0
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rax
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400ae531
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x84], 0x1000
mov ecx, 0x1000
call fcn.1402047b4
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xf8]
call fcn.140021d40
nop
mov qword [rsp + 0x20], 0
lea r9, [rsp + 0x60]
mov r8d, 0xfff
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400ae49a
cmp dword [rsp + 0x60], 0
jne 0x1400ae478
jmp 0x1400ae49a
mov eax, dword [rsp + 0x60]
mov rcx, qword [rsp + 0x78]
mov byte [rcx + rax], 0
mov rdx, qword [rsp + 0x78]
lea rcx, [rsp + 0xf8]
call fcn.14009a580
nop
jmp 0x1400ae447
lea rcx, [rsp + 0xf8]
call fcn.140046f90
mov rdx, rax
lea rcx, [rsp + 0x1f0]
call fcn.140072f80
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x118]
call fcn.140029ea0
lea rcx, [rsp + 0x1f0]
call fcn.140028230
nop
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [rsp + 0x50], 1
lea rcx, [rsp + 0xf8]
call fcn.140028200
nop
jmp 0x1400ae548
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea r8, [rsp + 0x118]
lea rdx, [rsp + 0x50]
mov rcx, qword [rsp + 0x2a0]
call fcn.14000bcc0
mov eax, dword [rsp + 0x54]
or eax, 1
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x118]
call fcn.140028230
nop
lea rcx, [rsp + 0x210]
call fcn.140028ee0
mov rax, qword [rsp + 0x2a0]
add rsp, 0x290
pop rdi
ret