Function at 0x14005b180
Capabilities:
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 - 0xd0]
sub rsp, 0x1d0
mov rax, qword [0x14012c040]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov rdi, rdx
mov rbx, rcx
mov qword [rsp + 0x60], rcx
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
movdqa xmm1, xmmword [0x140116850]
movdqu xmmword [rbp + 0x28], xmm1
mov byte [rbp + 0x18], sil
mov dword [rbp - 0x80], 0x18
mov qword [rbp - 0x78], rsi
mov dword [rbp - 0x70], 1
xor r9d, r9d
lea r8, [rbp - 0x80]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
xorps xmm0, xmm0
test eax, eax
jne 0x14005b262
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, 0x11
lea rdx, str.CreatePipe_failed
mov rcx, rbx
call fcn.140047b20
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x14005b41c
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b258
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14005b34b
call fcn.14007eed0
jmp 0x14005b41c
mov dword [rbp - 0x60], 0x68
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
movups xmmword [rbp - 8], xmm0
mov dword [rbp - 0x24], 0x100
mov rax, qword [rsp + 0x60]
mov qword [rbp - 8], rax
mov qword [rbp], rax
xor eax, eax
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x78], rax
cmp qword [rdi + 0x18], 0xf
jbe 0x14005b2ab
mov rdi, qword [rdi]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rdi
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14005b352
xorps xmm0, xmm0
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rsi
mov qword [rbx + 0x18], rsi
mov r8d, 0x14
lea rdx, str.CreateProcess_failed
mov rcx, rbx
call fcn.140047b20
nop
mov rdx, qword [rbp + 0x30]
cmp rdx, 0xf
jbe 0x14005b41c
inc rdx
mov rcx, qword [rbp + 0x18]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14005b258
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14005b258
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x10]
mov r8d, 0x7f
lea rdx, [rbp + 0x40]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14005b3ec
nop
mov eax, dword [rbp + 0x10]
test eax, eax
je 0x14005b3ec
cmp rax, 0x80
jae 0x14005b441
mov byte [rbp + rax + 0x40], 0
lea rax, [rbp + 0x40]
mov r8, 0xffffffffffffffff
inc r8
cmp byte [rax + r8], 0
jne 0x14005b3b3
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x18]
call fcn.1400486b0
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x10]
mov r8d, 0x7f
lea rdx, [rbp + 0x40]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x14005b390
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movups xmm0, xmmword [rbp + 0x18]
movups xmmword [rbx], xmm0
movups xmm1, xmmword [rbp + 0x28]
movups xmmword [rbx + 0x10], xmm1
mov rax, rbx
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.14007ec10
mov rbx, qword [rsp + 0x200]
add rsp, 0x1d0
pop rdi
pop rsi
pop rbp
ret
call fcn.14007ed38
nop
int3