Function at 0x14004fb60
Capabilities:
Create pipe
Create process on windows
Read file on windows
Read pipe
Terminate process

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
lea rbp, [rsp - 0x1060]
mov eax, 0x1160
call fcn.140085b10
sub rsp, rax
mov rax, qword [0x1400a90c0]
xor rax, rsp
mov qword [rbp + 0x1050], rax
xorps xmm0, xmm0
mov dword [rbp - 0x70], 0x68
xor eax, eax
lea r8, [rbp + 0x30]
movups xmmword [rbp - 0x3c], xmm0
mov dword [rbp - 0x1c], eax
lea rdx, [rsp + 0x70]
movups xmmword [rbp - 0x6c], xmm0
mov rbx, rcx
xor edi, edi
movups xmmword [rbp - 0x5c], xmm0
xor r9d, r9d
lea rcx, [rsp + 0x68]
movups xmmword [rbp - 0x4c], xmm0
mov qword [rsp + 0x68], rdi
movups xmmword [rbp - 0x2c], xmm0
mov qword [rsp + 0x70], rdi
psrldq xmm0, 8
movd eax, xmm0
xorps xmm0, xmm0
movups xmmword [rbp + 0x30], xmm0
mov dword [rbp + 0x30], 0x18
bts eax, 8
mov dword [rbp - 0x34], eax
xor eax, eax
mov qword [rbp + 0x40], rax
mov dword [rbp + 0x40], 1
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
je 0x14004febe
mov rax, qword [rsp + 0x70]
movabs rsi, 0x7fffffffffffffff
mov rcx, qword [rbx + 0x10]
mov qword [rbp - 0x18], rax
mov qword [rbp - 0x10], rax
mov rax, rsi
sub rax, rcx
cmp rax, 0x60
jb 0x14004fec8
cmp qword [rbx + 0x18], 0xf
mov r9, rbx
jbe 0x14004fc42
mov r9, qword [rbx]
movzx edx, byte [rsp + 0x50]
lea rax, str.__VERYSILENT__SUPPRESSMSGBOXES__NORESTART__NOCANCEL__NOCLOSEAPPLICATIONS__FORCECLOSEAPPLICATIONS
mov qword [rsp + 0x30], 0x60
mov r8, rbx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
lea rcx, [rbp + 0x10]
call fcn.14006c8b0
cmp qword [rbp + 0x28], 0xf
lea rax, [rsp + 0x78]
mov qword [rsp + 0x48], rax
lea rdx, [rbp + 0x10]
cmova rdx, qword [rbp + 0x10]
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
xor r9d, r9d
mov qword [rsp + 0x38], rdi
xor r8d, r8d
mov qword [rsp + 0x30], rdi
xor ecx, ecx
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x14004fe6a
mov rcx, qword [rsp + 0x70]
mov qword [rsp + 0x1188], r14
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor bl, bl
movabs r14, 0x7ffffffffa0a1eff
nop dword [rax]
mov rcx, qword [rsp + 0x68]
lea rax, [rbp + 4]
mov qword [rsp + 0x28], rdi
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor edx, edx
call qword [sym.imp.KERNEL32.dll_PeekNamedPipe]
test eax, eax
je 0x14004fd50
cmp dword [rbp + 4], edi
jbe 0x14004fd50
mov rcx, qword [rsp + 0x68]
lea r9, [rbp]
mov r8d, 0xfff
mov qword [rsp + 0x20], rdi
lea rdx, [rbp + 0x50]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14004fd50
mov eax, dword [rbp]
test eax, eax
je 0x14004fd50
cmp rax, 0x1000
jae 0x14004fec2
mov byte [rbp + rax + 0x50], dil
mov bl, 1
mov dword [0x1400dc03c], 0x3f000000
mov rcx, qword [rsp + 0x78]
mov edx, 0x64
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x14004fdb7
test bl, bl
jne 0x14004fdaa
lea rcx, [rsp + 0x60]
call fcn.140039370
mov rax, qword [rsp + 0x60]
cmp rax, r14
jge 0x14004fd96
add rax, 0x5f5e100
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], rax
call fcn.14006f290
jmp 0x14004fce0
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x58], rsi
call fcn.14006f290
jmp 0x14004fce0
mov rcx, qword [rsp + 0x78]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_TerminateProcess]
mov rcx, qword [rsp + 0x78]
mov edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x78]
lea rdx, [rbp + 8]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rdx, qword [rbp + 0x28]
mov dword [0x1400dc03c], 0x3f800000
cmp rdx, 0xf
jbe 0x14004fe3e
mov rcx, qword [rbp + 0x10]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004fe39
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004fe39
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140083b7c
mov r14, qword [rsp + 0x1188]
mov al, 1
mov rcx, qword [rbp + 0x1050]
xor rcx, rsp
call fcn.140083450
mov rbx, qword [rsp + 0x1190]
add rsp, 0x1160
pop rdi
pop rsi
pop rbp
ret
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 rdx, qword [rbp + 0x28]
cmp rdx, 0xf
jbe 0x14004febe
mov rcx, qword [rbp + 0x10]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004feb9
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004feb9
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140083b7c
xor al, al
jmp 0x14004fe48
call fcn.140083698
int3
call fcn.140035cb0
int3