Function at 0x6fe7e0
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 rsi
push rbx
sub rsp, 0x230
mov rbp, rsp
mov qword [rbp + 0x58], 0
mov qword [rbp + 0x60], 0
mov qword [rbp + 0x210], 0
mov qword [rbp + 0x68], rbp
mov qword [rbp + 0x250], rcx
mov qword [rbp + 0x258], rdx
mov qword [rbp + 0x260], r8
mov qword [rbp + 0x268], r9
mov eax, dword [rbp + 0x270]
mov dword [rbp + 0x270], eax
movzx rax, byte [rbp + 0x278]
mov byte [rbp + 0x278], al
movzx rax, byte [rbp + 0x280]
mov byte [rbp + 0x280], al
mov rcx, qword [rbp + 0x258]
call fcn.0040fef0
mov rcx, qword [rbp + 0x260]
call fcn.0040fef0
mov rcx, qword [rbp + 0x268]
call fcn.0040fef0
nop
mov dword [rbp + 0x1f0], 0x18
mov dword [rbp + 0x200], 0xffffffff
mov qword [rbp + 0x1f8], 0
lea rcx, [rbp + 0x208]
lea rdx, [rbp + 0x180]
lea r8, [rbp + 0x1f0]
xor r9, r9
call sub.kernel32.dll_CreatePipe
nop
lea rcx, [rbp + 0x188]
mov edx, 0x68
xor r8, r8
call fcn.0040bcd0
mov dword [rbp + 0x188], 0x68
mov dword [rbp + 0x1c4], 0x101
mov word [rbp + 0x1c8], 0
mov ecx, 0xfffffff6
call sub.kernel32.dll_GetStdHandle
mov qword [rbp + 0x1d8], rax
mov rax, qword [rbp + 0x180]
mov qword [rbp + 0x1e0], rax
mov rax, qword [rbp + 0x180]
mov qword [rbp + 0x1e8], rax
mov rcx, qword [rbp + 0x258]
call fcn.00411370
mov rbx, rax
lea rcx, [rbp + 0x60]
lea rdx, [0x006feb8c]
mov r8, qword [rbp + 0x260]
call fcn.004117d0
mov rcx, qword [rbp + 0x60]
call fcn.00411370
mov rsi, rax
mov rcx, qword [rbp + 0x268]
call fcn.00411370
mov rcx, rbx
mov rdx, rsi
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 + 0x188]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x218]
mov qword [rsp + 0x48], rax
call sub.kernel32.dll_CreateProcessW
test eax, eax
setne al
mov byte [rbp + 0x17f], al
mov rcx, qword [rbp + 0x180]
call sub.kernel32.dll_CloseHandle
cmp byte [rbp + 0x17f], 0
jne 0x6fe9cd
lea rcx, [rbp + 0x210]
lea rdx, [0x006feb9c]
call fcn.00410410
jmp 0x6fea70
nop
lea rcx, [rbp + 0x210]
call fcn.0040fd60
mov rcx, qword [rbp + 0x208]
lea rdx, [rbp + 0x7f]
mov r8d, 0xff
lea r9, [rbp + 0x78]
mov qword [rsp + 0x20], 0
call sub.kernel32.dll_ReadFile
test eax, eax
setne al
mov byte [rbp + 0x17f], al
cmp dword [rbp + 0x78], 0
jbe 0x6fea39
mov eax, dword [rbp + 0x78]
mov byte [rax + rbp + 0x7f], 0
lea rcx, [rbp + 0x58]
lea rdx, [rbp + 0x7f]
mov r8d, pe_nt_image_headers64
call fcn.00411430
lea rcx, [rbp + 0x210]
mov rdx, qword [rbp + 0x58]
call fcn.00411700
cmp byte [rbp + 0x17f], 0
je 0x6fea48
cmp dword [rbp + 0x78], 0
jne 0x6fe9da
mov rcx, qword [rbp + 0x218]
or edx, 0xffffffff
call sub.kernel32.dll_WaitForSingleObject
nop
mov rcx, qword [rbp + 0x220]
call sub.kernel32.dll_CloseHandle
mov rcx, qword [rbp + 0x218]
call sub.kernel32.dll_CloseHandle
nop
mov rcx, qword [rbp + 0x250]
mov rdx, qword [rbp + 0x210]
call fcn.00410390
mov rcx, qword [rbp + 0x208]
call sub.kernel32.dll_CloseHandle
nop
lea rcx, [rbp + 0x58]
mov edx, 2
call fcn.0040fe40
lea rcx, [rbp + 0x210]
call fcn.0040fd60
lea rcx, [rbp + 0x258]
mov edx, 3
call fcn.0040fe40
mov rax, qword [rbp + 0x250]
lea rsp, [rbp + 0x230]
pop rbx
pop rsi
pop rbp
ret