Function at 0x14002b330
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 + 0x20], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov rax, qword [0x14006a040]
xor rax, rsp
mov qword [rbp + 0x40], rax
mov r14, r8
mov rsi, rdx
mov rdi, rcx
mov dword [rsp + 0x60], 0x18
xor r15d, r15d
mov qword [rsp + 0x68], r15
mov dword [rsp + 0x70], 1
xor r9d, r9d
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x14002b431
mov dword [rbp - 0x70], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
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
mov dword [rbp - 0x34], 0x101
mov word [rbp - 0x30], r15w
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
cmp qword [rdi + 0x18], 7
jbe 0x14002b3dc
mov rdi, qword [rdi]
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14002b456
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.14004de30
mov rbx, qword [rsp + 0x198]
add rsp, 0x150
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movdqu xmmword [rbp + 8], xmm0
mov qword [rbp + 0x18], r15
mov ecx, 0x2027
call fcn.14004de58
test rax, rax
je 0x14002b625
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
mov qword [rbp + 8], rdi
lea rbx, [rdi + 0x2000]
mov qword [rbp + 0x18], rbx
xor edx, edx
mov r8d, 0x2000
mov rcx, rdi
call sub.VCRUNTIME140.dll_memset
mov qword [rbp + 0x10], rbx
mov rdx, qword [rbp + 8]
sub rbx, rdx
sar rbx, 1
lea r8d, [rbx + rbx]
mov qword [rsp + 0x20], r15
lea r9, [rbp]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002b5aa
nop dword [rax]
mov eax, dword [rbp]
test eax, eax
je 0x14002b5aa
shr rax, 1
mov rdx, qword [rbp + 8]
lea r8, [rdx + rax*2]
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], r15
cmp rdx, r8
jne 0x14002b51d
mov qword [rbp + 0x30], r15
mov qword [rbp + 0x38], 7
mov word [rbp + 0x20], r15w
jmp 0x14002b52d
sub r8, rdx
sar r8, 1
lea rcx, [rbp + 0x20]
call fcn.14001a7f0
nop
lea r8, [rbp + 0x20]
mov rdx, r14
mov rcx, rsi
call fcn.14000bbd0
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 7
jbe 0x14002b57d
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b578
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b61e
call fcn.14004de50
mov r8, qword [rbp + 0x10]
mov rdx, qword [rbp + 8]
sub r8, rdx
sar r8, 1
add r8d, r8d
mov qword [rsp + 0x20], r15
lea r9, [rbp]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14002b4e0
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rcx, qword [rbp + 8]
test rcx, rcx
je 0x14002b617
mov rdx, qword [rbp + 0x18]
sub rdx, rcx
sar rdx, 1
add rdx, rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14002b612
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14002b625
call fcn.14004de50
mov al, 1
jmp 0x14002b433
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3