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

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0xa0]
sub rsp, 0x1a0
mov rdi, rdx
mov rbx, rcx
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
movdqa xmm1, xmmword [0x140129cc0]
movdqu xmmword [rsp + 0x68], xmm1
mov byte [rsp + 0x58], sil
mov dword [rbp - 0x80], 0x18
mov qword [rbp - 0x78], rsi
mov dword [rbp - 0x70], 1
xor r9d, r9d
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x50]
lea rcx, [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
xorps xmm0, xmm0
test eax, eax
jne 0x14005a1b3
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], Ordinal_18
mov byte [rbx], al
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14005a371
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a1a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005a2a2
call fcn.1400f870c
jmp 0x14005a371
mov dword [rbp - 0x50], 0x68
movups xmmword [rbp - 0x48], xmm0
movups xmmword [rbp - 0x38], xmm0
movups xmmword [rbp - 0x28], xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
mov dword [rbp - 0x14], 0x101
mov word [rbp - 0x10], si
mov rax, qword [rsp + 0x50]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
cmp qword [rdi + 0x18], 0xf
jbe 0x14005a1f4
mov rdi, qword [rdi]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14005a2a9
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], Ordinal_18
mov byte [rbx], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x14005a371
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005a1a9
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005a1a9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0xd0]
mov r8d, 0x7f
lea rdx, [rbp + 0x20]
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14005a33f
nop dword [rax + rax]
mov eax, dword [rbp + 0xd0]
test eax, eax
je 0x14005a33f
mov byte [rbp + rax + 0x20], 0
lea rax, [rbp + 0x20]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x14005a300
lea rdx, [rbp + 0x20]
lea rcx, [rsp + 0x58]
call fcn.140077990
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0xd0]
mov r8d, 0x7f
lea rdx, [rbp + 0x20]
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14005a2e0
mov rcx, qword [rbp + 0xd8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [rsp + 0x58]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rsp + 0x68]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
mov rbx, qword [rsp + 0x1c0]
add rsp, 0x1a0
pop rdi
pop rsi
pop rbp
ret