Function at 0x1400123a0
Capabilities:
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.1400a7e00
sub rsp, rax
mov rax, qword [0x140136210]
xor rax, rsp
mov qword [rbp + 0x1040], rax
mov rbx, rdx
mov rsi, rcx
mov qword [rsp + 0x60], rcx
xor r15d, r15d
mov dword [rsp + 0x68], 0x18
mov dword [rsp + 0x78], 1
mov qword [rsp + 0x70], r15
xor r9d, r9d
lea r8, [rsp + 0x68]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x1400124c8
xor r8d, r8d
lea edx, [r15 + 1]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x5c], xmm0
movups xmmword [rbp - 0x4c], xmm0
movups xmmword [rbp - 0x3c], xmm0
movups xmmword [rbp - 0x2c], xmm0
movups xmmword [rbp - 0x1c], xmm0
mov dword [rbp - 0xc], eax
mov dword [rbp - 0x60], 0x68
mov rax, qword [rsp + 0x60]
mov qword [rbp], rax
mov qword [rbp - 8], rax
psrldq xmm0, 8
movd eax, xmm0
bts eax, 8
mov dword [rbp - 0x24], eax
cmp qword [rbx + 0x18], 0x10
jb 0x140012471
mov rbx, qword [rbx]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x8000000
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
jne 0x1400124ed
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rsi], xmm0
mov qword [rsi + 0x10], r15
mov qword [rsi + 0x18], r15
xor r8d, r8d
lea rdx, [0x1400f7ccd]
mov rcx, rsi
call fcn.14000efc0
jmp 0x140012609
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
mov rbx, r15
mov qword [rbp + 0x28], rbx
mov r14d, 0xf
mov qword [rbp + 0x30], r14
mov byte [rbp + 0x18], bl
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x10]
mov r8d, 0x1000
lea rdx, [rbp + 0x40]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400125cc
nop dword [rax]
mov eax, dword [rbp + 0x10]
test eax, eax
je 0x1400125cc
mov edi, eax
mov rax, r14
sub rax, rbx
cmp rdi, rax
ja 0x140012585
lea rax, [rbx + rdi]
mov qword [rbp + 0x28], rax
lea rax, [rbp + 0x18]
cmp r14, 0x10
cmovae rax, qword [rbp + 0x18]
add rbx, rax
mov r8d, edi
lea rdx, [rbp + 0x40]
mov rcx, rbx
call fcn.1400a98a0
mov byte [rbx + rdi], 0
jmp 0x14001259d
mov qword [rsp + 0x20], rdi
lea r9, [rbp + 0x40]
xor r8d, r8d
mov rdx, rdi
lea rcx, [rbp + 0x18]
call fcn.14000f510
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x10]
mov r8d, 0x1000
lea rdx, [rbp + 0x40]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1400125cc
mov r14, qword [rbp + 0x30]
mov rbx, qword [rbp + 0x28]
jmp 0x140012540
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [rbp + 0x18]
movups xmmword [rsi], xmm0
movups xmm1, xmmword [rbp + 0x28]
movups xmmword [rsi + 0x10], xmm1
mov rax, rsi
mov rcx, qword [rbp + 0x1040]
xor rcx, rsp
call fcn.1400a70e0
mov rbx, qword [rsp + 0x1190]
add rsp, 0x1150
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret