Function at 0x1400aee40
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.140095f80
mov rdx, rax
mov rcx, qword [rsp + 0x88]
call fcn.140080cc0
mov qword [rsp + 0x90], rax
mov rdx, qword [rsp + 0x90]
lea rcx, [rsp + 0x210]
call fcn.140024170
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 0x1400aefed
mov byte [rsp + 0x51], 0
lea rcx, [rsp + 0x1b0]
call fcn.140022320
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.14000bd70
mov eax, dword [rsp + 0x54]
or eax, 1
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x1b0]
call fcn.1400282e0
nop
lea rcx, [rsp + 0x210]
call fcn.140028f90
nop
mov rax, qword [rsp + 0x2a0]
jmp 0x1400af2a0
xor r8d, r8d
mov edx, 1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
jne 0x1400af097
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.140022320
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.14000bd70
mov eax, dword [rsp + 0x54]
or eax, 1
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x1d0]
call fcn.1400282e0
nop
lea rcx, [rsp + 0x210]
call fcn.140028f90
nop
mov rax, qword [rsp + 0x2a0]
jmp 0x1400af2a0
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x198], rax
lea rcx, [rsp + 0x118]
call fcn.140022320
nop
mov rcx, qword [rsp + 0x2a8]
call fcn.140047390
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 0x1400af241
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [rsp + 0x84], 0x1000
mov ecx, 0x1000
call fcn.14020d664
mov qword [rsp + 0xb8], rax
mov rax, qword [rsp + 0xb8]
mov qword [rsp + 0x78], rax
lea rcx, [rsp + 0xf8]
call fcn.140021de0
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 0x1400af1aa
cmp dword [rsp + 0x60], 0
jne 0x1400af188
jmp 0x1400af1aa
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.14009b230
nop
jmp 0x1400af157
lea rcx, [rsp + 0xf8]
call fcn.140047370
mov rdx, rax
lea rcx, [rsp + 0x1f0]
call fcn.140073b40
mov qword [rsp + 0xc0], rax
mov rdx, qword [rsp + 0xc0]
lea rcx, [rsp + 0x118]
call fcn.140029f50
lea rcx, [rsp + 0x1f0]
call fcn.1400282e0
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.1400282b0
nop
jmp 0x1400af258
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.14000bd10
mov eax, dword [rsp + 0x54]
or eax, 1
mov dword [rsp + 0x54], eax
lea rcx, [rsp + 0x118]
call fcn.1400282e0
nop
lea rcx, [rsp + 0x210]
call fcn.140028f90
mov rax, qword [rsp + 0x2a0]
add rsp, 0x290
pop rdi
ret