Function at 0x140034250
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Read file on windows
Read pipe

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x4b0]
sub rsp, 0x5b0
mov rax, qword [0x14018d030]
xor rax, rsp
mov qword [rbp + 0x4a0], rax
mov rbx, rdx
mov r14, rcx
mov qword [rsp + 0x68], rcx
mov dword [rbp - 0x10], 0x18
xor r12d, r12d
mov qword [rbp - 8], r12
mov dword [rbp], 1
xor r9d, r9d
lea r8, [rbp - 0x10]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x1400342d4
mov qword [r14], r12
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 0xf
mov byte [r14], al
jmp 0x1400345aa
mov dword [rbp - 0x78], 0x68
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r12
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x50], r12
mov qword [rbp - 0x48], r12
mov dword [rbp - 0x40], r12d
mov qword [rbp - 0x3c], 0x101
movdqu xmmword [rbp - 0x30], xmm0
mov rax, qword [rsp + 0x68]
mov qword [rbp - 0x20], rax
mov qword [rbp - 0x18], rax
movups xmm0, xmmword [rbp - 0x78]
movaps xmmword [rbp + 0x10], xmm0
movups xmm1, xmmword [rbp - 0x68]
movaps xmmword [rbp + 0x20], xmm1
movups xmm0, xmmword [rbp - 0x58]
movaps xmmword [rbp + 0x30], xmm0
movups xmm1, xmmword [rbp - 0x48]
movaps xmmword [rbp + 0x40], xmm1
movups xmm0, xmmword [rbp - 0x38]
movaps xmmword [rbp + 0x50], xmm0
movups xmm1, xmmword [rbp - 0x28]
movaps xmmword [rbp + 0x60], xmm1
movsd xmm0, qword [rbp - 0x18]
movsd qword [rbp + 0x70], xmm0
xorps xmm1, xmm1
xor eax, eax
movups xmmword [rsp + 0x70], xmm1
mov qword [rbp - 0x80], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x1400343c9
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [r14], r12
mov qword [r14 + 0x10], r12
mov qword [r14 + 0x18], 0xf
mov byte [r14], 0
jmp 0x1400345aa
mov qword [rbp + 0x80], r12
mov qword [rbp + 0x90], r12
mov qword [rbp + 0x98], 0xf
mov byte [rbp + 0x80], 0
movzx ebx, byte [rsp + 0x54]
nop
mov edx, 0x32
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
sete r15b
mov dword [rsp + 0x58], r12d
mov dword [rsp + 0x50], r12d
mov qword [rsp + 0x28], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x14003455e
nop word [rax + rax]
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x14003455e
cmp eax, 0x3ff
jbe 0x140034458
mov eax, 0x3ff
mov qword [rsp + 0x20], r12
lea r9, [rsp + 0x58]
mov r8d, eax
lea rdx, [rbp + 0xa0]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14003455e
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x14003455e
cmp rax, 0x400
jae 0x1400345d8
mov byte [rbp + rax + 0xa0], 0
lea rax, [rbp + 0xa0]
mov rdi, 0xffffffffffffffff
nop dword [rax]
inc rdi
cmp byte [rax + rdi], 0
jne 0x1400344b0
mov rcx, qword [rbp + 0x90]
mov rdx, qword [rbp + 0x98]
mov rax, rdx
sub rax, rcx
cmp rdi, rax
ja 0x14003450b
lea rax, [rdi + rcx]
mov qword [rbp + 0x90], rax
lea rsi, [rbp + 0x80]
cmp rdx, 0x10
cmovae rsi, qword [rbp + 0x80]
add rsi, rcx
mov r8, rdi
lea rdx, [rbp + 0xa0]
mov rcx, rsi
call fcn.14013075c
mov byte [rsi + rdi], 0
jmp 0x14003452a
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0xa0]
movzx r8d, bl
mov rdx, rdi
lea rcx, [rbp + 0x80]
call fcn.140008690
mov dword [rsp + 0x58], r12d
mov dword [rsp + 0x50], r12d
mov qword [rsp + 0x28], r12
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
jne 0x140034440
test r15b, r15b
je 0x1400343f0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [rbp + 0x80]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp + 0x90]
movups xmmword [r14 + 0x10], xmm1
mov rax, r14
mov rcx, qword [rbp + 0x4a0]
xor rcx, rsp
call fcn.14012f1f0
lea r11, [rsp + 0x5b0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
call fcn.14012faec
nop
int3