Function at 0x140003b70
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 + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1040]
mov eax, 0x1140
call fcn.14000a730
sub rsp, rax
mov rax, qword [0x140010008]
xor rax, rsp
mov qword [rbp + 0x1030], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x60], rcx
xor esi, esi
mov dword [rbp - 0x80], 0x18
xorps xmm0, xmm0
movups xmmword [rbp - 0x78], xmm0
mov dword [rbp - 0x70], 1
mov qword [rbp - 0x78], rsi
xor r9d, r9d
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
xorps xmm0, xmm0
test eax, eax
je 0x140003c8e
mov dword [rbp - 0x60], 0x68
movups xmmword [rbp - 0x58], xmm0
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
mov dword [rbp - 0x24], 0x101
mov word [rbp - 0x20], si
mov rax, qword [rsp + 0x60]
mov qword [rbp - 8], rax
mov qword [rbp], rax
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
cmp qword [rdi + 0x18], 8
jb 0x140003c33
mov rdi, qword [rdi]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
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_CreateProcessW]
mov rcx, qword [rsp + 0x60]
test eax, eax
jne 0x140003cb0
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
xor r8d, r8d
lea rdx, [0x14000b828]
mov rcx, rbx
call fcn.140008230
jmp 0x140003d70
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp + 0x10], xmm0
movdqa xmm1, xmmword [0x14000bf30]
movdqu xmmword [rbp + 0x20], xmm1
mov word [rbp + 0x10], si
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x54]
mov r8d, 0x1000
lea rdx, [rbp + 0x30]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140003d30
mov eax, dword [rsp + 0x54]
test eax, eax
je 0x140003d30
lea r8, [rbp + 0x30]
add r8, rax
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 0x10]
call fcn.140007720
mov qword [rsp + 0x20], rsi
lea r9, [rsp + 0x54]
mov r8d, 0x1000
lea rdx, [rbp + 0x30]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140003cf1
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [rbp + 0x10]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x20]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
mov rcx, qword [rbp + 0x1030]
xor rcx, rsp
call fcn.1400098a0
mov rbx, qword [rsp + 0x1170]
add rsp, 0x1140
pop rdi
pop rsi
pop rbp
ret