Function at 0x140023e50
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 - 0x440]
sub rsp, 0x540
mov rax, qword [0x1400fe158]
xor rax, rsp
mov qword [rbp + 0x430], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x58], rcx
mov dword [rsp + 0x60], Ordinal_27
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
jne 0x140023ee5
mov qword [rsi], r15
mov qword [rsi + 0x10], r15
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rsi + 0x18], rbx
mov byte [rsi], r15b
xor r8d, r8d
lea rdx, [0x1400eb99f]
mov rcx, rsi
call fcn.14000bbc0
jmp 0x14002408c
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
lea rcx, [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_GetStartupInfoW]
mov dword [rbp - 0x34], 0x101
mov word [rbp - 0x30], r15w
mov rax, qword [rsp + 0x58]
mov qword [rbp - 0x10], rax
mov qword [rbp - 0x18], rax
mov rcx, rbx
call fcn.140023da0
mov rdx, rax
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
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140023ebb
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp + 8], r15
mov r14, r15
mov qword [rbp + 0x18], r15
mov ebx, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x20], rbx
mov byte [rbp + 8], r14b
xor edx, edx
mov r8d, 0x400
lea rcx, [rbp + 0x30]
call fcn.140097cb0
mov dword [rbp], r15d
mov qword [rsp + 0x20], r15
lea r9, [rbp]
mov r8d, 0x400
lea rdx, [rbp + 0x30]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002405d
nop dword [rax]
nop word [rax + rax]
mov edi, dword [rbp]
mov rax, rbx
sub rax, r14
cmp rdi, rax
ja 0x14002401c
lea rax, [r14 + rdi]
mov qword [rbp + 0x18], rax
lea rax, [rbp + 8]
cmp rbx, 0x10
cmovae rax, qword [rbp + 8]
lea rbx, [rax + r14]
mov r8d, edi
lea rdx, [rbp + 0x30]
mov rcx, rbx
call fcn.140097600
mov byte [rbx + rdi], 0
jmp 0x140024031
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x30]
mov rdx, rdi
lea rcx, [rbp + 8]
call fcn.14000e580
mov qword [rsp + 0x20], r15
lea r9, [rbp]
mov r8d, 0x400
lea rdx, [rbp + 0x30]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14002405d
mov rbx, qword [rbp + 0x20]
mov r14, qword [rbp + 0x18]
jmp 0x140023fe0
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [rbp + 8]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp + 0x18]
movups xmmword [rsi + 0x10], xmm1
mov rax, rsi
mov rcx, qword [rbp + 0x430]
xor rcx, rsp
call fcn.1400951e0
mov rbx, qword [rsp + 0x580]
add rsp, 0x540
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret