Function at 0x140063990
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 - 0x940]
sub rsp, 0xa40
mov rax, qword [0x1400a8010]
xor rax, rsp
mov qword [rbp + 0x930], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x78], 0x18
mov dword [rbp - 0x78], 1
xor esi, esi
mov qword [rbp - 0x80], rsi
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x140063adf
xor r8d, r8d
lea edx, [rsi + 1]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x140063adf
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
xorps xmm1, xmm1
movups xmmword [rbp - 0x70], xmm1
movups xmmword [rbp - 0x60], xmm1
movups xmmword [rbp - 0x50], xmm1
movaps xmmword [rbp - 0x40], xmm1
movups xmmword [rbp - 0x30], xmm1
movups xmmword [rbp - 0x20], xmm1
mov dword [rbp - 0x70], 0x68
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x18], rax
psrldq xmm1, 0xc
movd eax, xmm1
or eax, 0x101
mov dword [rbp - 0x34], eax
mov word [rbp - 0x30], si
cmp qword [rdi + 0x18], 8
jb 0x140063a6e
mov rdi, qword [rdi]
mov r8, rdi
mov edx, 0x400
lea rcx, [rbp + 0x130]
call qword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcscpy_s]
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
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
lea rdx, [rbp + 0x130]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140063b08
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbx], rsi
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], reloc.WS2_32.dll_ntohs
mov byte [rbx], sil
xor r8d, r8d
lea rdx, [0x14008abff]
mov rcx, rbx
call fcn.14006c690
jmp 0x140063bdc
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 8], rsi
mov qword [rbp + 0x18], rsi
mov qword [rbp + 0x20], reloc.WS2_32.dll_ntohs
mov byte [rbp + 8], sil
mov qword [rsp + 0x20], rsi
lea r9, [rbp]
mov r8d, 0xff
lea rdx, [rbp + 0x30]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140063bac
nop dword [rax]
mov eax, dword [rbp]
test eax, eax
je 0x140063bac
cmp rax, 0x100
jae 0x140063c01
mov byte [rbp + rax + 0x30], 0
lea rax, [rbp + 0x30]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x140063b73
lea rdx, [rbp + 0x30]
lea rcx, [rbp + 8]
call fcn.14006c7f0
mov qword [rsp + 0x20], rsi
lea r9, [rbp]
mov r8d, 0xff
lea rdx, [rbp + 0x30]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x140063b50
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [rbp + 8]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x18]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
mov rcx, qword [rbp + 0x930]
xor rcx, rsp
call fcn.140083df0
mov rbx, qword [rsp + 0xa70]
add rsp, 0xa40
pop rdi
pop rsi
pop rbp
ret
call fcn.140083f18
nop
int3