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

Disassembly:
push rbp
push rbx
sub rsp, 0x258
mov rbp, rsp
mov qword [rbp + 0x68], 0
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x70], 0
mov qword [rbp + 0x98], 0
mov qword [rbp + 0x88], 0
mov qword [rbp + 0x80], 0
mov qword [rbp + 0x78], rbp
mov qword [rbp + 0x270], rcx
mov qword [rbp + 0x278], rdx
mov qword [rbp + 0x280], r8
mov rcx, qword [rbp + 0x278]
call fcn.0040fef0
mov rcx, qword [rbp + 0x280]
call fcn.0040fef0
nop
lea rcx, [rbp + 0x88]
mov edx, 5
lea r8, [0x006ffdd0]
mov r9, qword [rbp + 0x278]
lea rax, [0x006ffe3c]
mov qword [rsp + 0x20], rax
mov rax, qword [rbp + 0x280]
mov qword [rsp + 0x28], rax
lea rax, [0x006ffe4c]
mov qword [rsp + 0x30], rax
call fcn.00411900
lea rcx, [rbp + 0x80]
lea rdx, [0x006ffea4]
call fcn.00410410
mov rcx, qword [rbp + 0x270]
call fcn.0040fd60
mov dword [rbp + 0x218], 0x18
mov dword [rbp + 0x228], 0xffffffff
mov qword [rbp + 0x220], 0
lea rcx, [rbp + 0x230]
lea rdx, [rbp + 0x1a8]
lea r8, [rbp + 0x218]
xor r9, r9
call sub.kernel32.dll_CreatePipe
nop
lea rcx, [rbp + 0x1b0]
mov edx, 0x68
xor r8, r8
call fcn.0040bcd0
mov dword [rbp + 0x1b0], 0x68
mov dword [rbp + 0x1ec], 0x101
mov word [rbp + 0x1f0], 0
mov ecx, 0xfffffff6
call sub.kernel32.dll_GetStdHandle
mov qword [rbp + 0x200], rax
mov rax, qword [rbp + 0x1a8]
mov qword [rbp + 0x208], rax
mov rax, qword [rbp + 0x1a8]
mov qword [rbp + 0x210], rax
lea rcx, [rbp + 0x98]
mov rdx, qword [rbp + 0x80]
call fcn.00410410
lea rcx, [rbp + 0x70]
lea rdx, [0x006ffeb8]
mov r8, qword [rbp + 0x88]
call fcn.004117d0
mov rcx, qword [rbp + 0x70]
call fcn.00411370
mov rbx, rax
mov rcx, qword [rbp + 0x98]
call fcn.00411370
xor ecx, ecx
mov rdx, rbx
xor r8, r8
xor r9, r9
mov dword [rsp + 0x20], 0xffffffff
mov dword [rsp + 0x28], 0
mov qword [rsp + 0x30], 0
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x1b0]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x238]
mov qword [rsp + 0x48], rax
call sub.kernel32.dll_CreateProcessW
test eax, eax
setne al
mov byte [rbp + 0x97], al
mov rcx, qword [rbp + 0x1a8]
call sub.kernel32.dll_CloseHandle
cmp byte [rbp + 0x97], 0
je 0x6ffc95
nop
mov rcx, qword [rbp + 0x230]
lea rdx, [rbp + 0xa7]
mov r8d, 0xff
lea r9, [rbp + 0xa0]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_ReadFile
test eax, eax
setne al
mov byte [rbp + 0x1a7], al
cmp dword [rbp + 0xa0], 0
jbe 0x6ffc57
mov eax, dword [rbp + 0xa0]
mov byte [rax + rbp + 0xa7], 0
lea rcx, [rbp + 0x60]
lea rdx, [rbp + 0xa7]
mov r8d, pe_nt_image_headers64
xor r9, r9
call fcn.00410a40
lea rcx, [rbp + 0x68]
mov rdx, qword [rbp + 0x60]
call fcn.006ff930
lea rcx, [rbp + 0x58]
mov rdx, qword [rbp + 0x68]
call fcn.004114b0
mov rcx, qword [rbp + 0x270]
mov rdx, qword [rbp + 0x58]
call fcn.00411700
cmp byte [rbp + 0x1a7], 0
je 0x6ffc6d
cmp dword [rbp + 0xa0], 0
jne 0x6ffbc9
mov rcx, qword [rbp + 0x238]
or edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
nop
mov rcx, qword [rbp + 0x240]
call sub.kernel32.dll_CloseHandle
mov rcx, qword [rbp + 0x238]
call sub.kernel32.dll_CloseHandle
nop
mov rcx, qword [rbp + 0x230]
call sub.kernel32.dll_CloseHandle
nop
lea rcx, [rbp + 0x58]
call fcn.0040fd60
lea rcx, [rbp + 0x60]
mov edx, 2
call fcn.0040fe70
lea rcx, [rbp + 0x70]
call fcn.0040fd60
lea rcx, [rbp + 0x80]
mov edx, 2
call fcn.0040fe40
lea rcx, [rbp + 0x98]
call fcn.0040fd60
lea rcx, [rbp + 0x278]
mov edx, 2
call fcn.0040fe40
mov rax, qword [rbp + 0x270]
lea rsp, [rbp + 0x258]
pop rbx
pop rbp
ret