Function at 0x14004e3a0
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
push r14
push r15
lea rbp, [rsp - 0x1050]
mov eax, 0x1150
call fcn.1402983d0
sub rsp, rax
mov rax, qword [0x1406e22c0]
xor rax, rsp
mov qword [rbp + 0x1040], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x70], rcx
xor r15d, r15d
mov dword [rsp + 0x54], r15d
mov dword [rbp - 0x60], SafeArrayPutElement
mov qword [rbp - 0x58], r15
mov dword [rbp - 0x50], 1
xor r9d, r9d
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x14004e604
xor r8d, r8d
lea edx, [r15 + 1]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x14004e604
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
xorps xmm1, xmm1
movups xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm1
movups xmmword [rbp - 0x20], xmm1
movups xmmword [rbp - 0x10], xmm1
movups xmmword [rbp], xmm1
movups xmmword [rbp + 0x10], xmm1
mov dword [rbp - 0x40], 0x68
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x18], rax
mov dword [rbp - 4], 0x101
mov word [rbp], r15w
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
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, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x14004e5e1
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rsi], r15b
mov dword [rsp + 0x54], 1
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x30]
mov r8d, 0x1000
lea rdx, [rbp + 0x40]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14004e5ad
movzx ebx, byte [rsp + 0x50]
nop
mov eax, dword [rbp + 0x30]
test eax, eax
je 0x14004e5ad
mov r14d, eax
mov rcx, qword [rsi + 0x10]
mov rdx, qword [rsi + 0x18]
mov rax, rdx
sub rax, rcx
cmp r14, rax
ja 0x14004e56f
lea rax, [rcx + r14]
mov qword [rsi + 0x10], rax
mov rax, rsi
cmp rdx, 0xf
jbe 0x14004e555
mov rax, qword [rsi]
lea rdi, [rax + rcx]
mov r8, r14
lea rdx, [rbp + 0x40]
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + r14], 0
jmp 0x14004e587
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x40]
movzx r8d, bl
mov rdx, r14
mov rcx, rsi
call fcn.14001b7c0
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x30]
mov r8d, 0x1000
lea rdx, [rbp + 0x40]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14004e520
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rsi
mov rcx, qword [rbp + 0x1040]
xor rcx, rsp
call fcn.140297700
mov rbx, qword [rsp + 0x1190]
add rsp, 0x1150
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
lea rdx, str.CreateProcess_failed
lea rcx, [rsp + 0x58]
call fcn.140001970
lea rdx, [0x140551c08]
lea rcx, [rsp + 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
lea rdx, str.Pipe_creation_failed
lea rcx, [rsp + 0x58]
call fcn.140001970
lea rdx, [0x140551c08]
lea rcx, [rsp + 0x58]
call sub.VCRUNTIME140.dll__CxxThrowException
int3