Function at 0x140083a50
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
mov qword [rsp + 0x20], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov rax, qword [0x140104bf0]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rsi, rdx
mov r14, rcx
mov qword [rsp + 0x60], rcx
xor r12d, r12d
mov dword [rsp + 0x54], r12d
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], r12
mov ebx, r12d
mov qword [rbp + 0x30], rbx
mov r15d, send
mov qword [rbp + 0x38], r15
mov byte [rbp + 0x20], bl
mov dword [rsp + 0x78], 0x18
mov dword [rbp - 0x78], 1
mov qword [rbp - 0x80], r12
xor r9d, r9d
lea r8, [rsp + 0x78]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x140083b28
mov byte [r14 + 0x20], al
mov dword [rsp + 0x54], 1
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], send
mov byte [rbp + 0x20], 0
mov rax, r14
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.1400b4b60
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
lea rdi, [rbp - 0x50]
xor eax, eax
mov ecx, 0x68
rep stosb byte [rdi], al
mov dword [rbp - 0x50], 0x68
mov dword [rbp - 0x14], 0x101
mov word [rbp - 0x10], r12w
mov ecx, 0xfffffff6
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov qword [rbp], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp + 8], rax
mov qword [rbp + 0x10], rax
cmp qword [rsi + 0x18], 0x10
jb 0x140083b80
mov rsi, qword [rsi]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], r12d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rsi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x140083bde
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [r14 + 0x20], 0
jmp 0x140083ae5
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], rax
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x48], xmm1
mov qword [rbp + 0x58], r12
mov ecx, 0x2027
call fcn.1400b4e20
mov rcx, rax
test rax, rax
je 0x140083db1
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov qword [rbp + 0x48], rax
mov qword [rbp + 0x50], rax
add rax, 0x2000
mov qword [rbp + 0x58], rax
lea rax, [rbp + 0x48]
mov qword [rsp + 0x58], rax
mov rcx, qword [rbp + 0x48]
lea rdi, [rcx + 0x2000]
xor edx, edx
mov r8d, 0x2000
call fcn.1400b7530
mov qword [rbp + 0x50], rdi
mov qword [rsp + 0x58], r12
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x40]
mov r8d, 0x2000
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140083d2d
movzx edi, byte [rsp + 0x50]
nop
mov eax, dword [rbp + 0x40]
test eax, eax
je 0x140083d2d
mov esi, eax
mov rax, r15
sub rax, rbx
cmp rsi, rax
ja 0x140083ce5
lea rax, [rsi + rbx]
mov qword [rbp + 0x30], rax
lea rax, [rbp + 0x20]
cmp r15, 0x10
cmovae rax, qword [rbp + 0x20]
add rbx, rax
mov r8d, esi
mov rdx, qword [rbp + 0x48]
mov rcx, rbx
call fcn.1400b6e80
mov byte [rbx + rsi], 0
jmp 0x140083cfe
mov qword [rsp + 0x20], rsi
mov r9, qword [rbp + 0x48]
movzx r8d, dil
mov rdx, rsi
lea rcx, [rbp + 0x20]
call fcn.140047860
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x40]
mov r8d, 0x2000
mov rdx, qword [rbp + 0x48]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x140083d2d
mov r15, qword [rbp + 0x38]
mov rbx, qword [rbp + 0x30]
jmp 0x140083ca0
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [rbp + 0x20]
movups xmmword [r14], xmm0
movups xmm1, xmmword [rbp + 0x30]
movups xmmword [r14 + 0x10], xmm1
mov qword [rbp + 0x30], r12
mov qword [rbp + 0x38], send
mov byte [rbp + 0x20], 0
mov byte [r14 + 0x20], 1
mov dword [rsp + 0x54], 1
mov rcx, qword [rbp + 0x48]
test rcx, rcx
je 0x140083aed
mov rdx, qword [rbp + 0x58]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x140083d9b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140083db1
call fcn.1400b4b80
xorps xmm0, xmm0
movdqu xmmword [rbp + 0x48], xmm0
mov qword [rbp + 0x58], r12
jmp 0x140083aed
call fcn.140098678
int3