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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1060]
mov eax, 0x1160
call fcn.14008cce0
sub rsp, rax
mov rax, qword [0x1400ae038]
xor rax, rsp
mov qword [rbp + 0x1050], rax
mov r13, rdx
mov r14, rcx
xor ebx, ebx
mov dword [rbp - 0x60], 0x18
mov dword [rbp - 0x50], 1
mov qword [rbp - 0x58], rbx
xor r9d, r9d
lea r8, [rbp - 0x60]
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x14004db35
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14004de33
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
test eax, eax
je 0x14004db2a
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x78], xmm0
mov qword [rbp - 0x68], rax
xorps xmm1, xmm1
movups xmmword [rbp - 0x3c], xmm1
movups xmmword [rbp - 0x2c], xmm1
movups xmmword [rbp - 0x1c], xmm1
movups xmmword [rbp - 0xc], xmm1
movups xmmword [rbp + 4], xmm1
mov dword [rbp + 0x14], eax
mov dword [rbp - 0x40], 0x68
mov rax, qword [rbp - 0x80]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x18], rax
psrldq xmm1, 8
movd eax, xmm1
bts eax, 8
mov dword [rbp - 4], eax
mov r12, qword [r14 + 0x10]
movabs rcx, 0x7ffffffffffffffe
mov rax, rcx
sub rax, r12
cmp rax, 0x18
jb 0x14004de63
cmp qword [r14 + 0x18], 8
jb 0x14004dbbd
mov r14, qword [r14]
movups xmmword [rbp + 0x30], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x40], xmm1
lea r15, [r12 + 0x18]
mov esi, 7
lea rdi, [rbp + 0x30]
cmp r15, rsi
jbe 0x14004dc70
mov rsi, r15
or rsi, 7
cmp rsi, rcx
jbe 0x14004dbff
mov rsi, rcx
movabs rax, 0x7fffffffffffffff
lea rcx, [rax + rax]
jmp 0x14004dc2e
mov eax, 0xa
cmp rsi, rax
cmovb rsi, rax
lea rcx, [rsi + 1]
movabs rax, 0x7fffffffffffffff
cmp rcx, rax
ja 0x14004de5d
add rcx, rcx
cmp rcx, 0x1000
jb 0x14004dc5a
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14004de5d
mov rcx, rax
call fcn.14008bba8
test rax, rax
je 0x14004de25
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14004dc6c
test rcx, rcx
je 0x14004dc69
call fcn.14008bba8
mov rdi, rax
jmp 0x14004dc6c
mov rdi, rbx
mov qword [rbp + 0x30], rdi
mov qword [rbp + 0x40], r15
mov qword [rbp + 0x48], rsi
movups xmm0, xmmword [str.powershell.exe__Command]
movups xmmword [rdi], xmm0
movups xmm1, xmmword [0x140099ea0]
movups xmmword [rdi + 0x10], xmm1
movups xmm0, xmmword [0x140099eb0]
movups xmmword [rdi + 0x20], xmm0
lea rcx, [rdi + 0x30]
lea r8, [r12 + r12]
mov rdx, r14
call sub.VCRUNTIME140.dll_memcpy
mov word [rdi + r15*2], bx
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rdx, qword [rbp + 0x30]
lea rax, [rbp - 0x78]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x14004dd02
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
jmp 0x14004ddee
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rsp + 0x20], rbx
lea r9, [rsp + 0x70]
mov r8d, 0x2000
lea rdx, [rbp + 0x50]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14004ddce
mov eax, dword [rsp + 0x70]
test eax, eax
je 0x14004ddce
mov r8d, eax
shr r8, 1
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
lea rdx, [rbp + 0x50]
lea rcx, [rsp + 0x50]
call fcn.140006aa0
nop
lea rdx, [rsp + 0x50]
cmp qword [rsp + 0x68], 0x10
cmovae rdx, qword [rsp + 0x50]
mov r8, qword [rsp + 0x60]
mov rcx, r13
call fcn.140006070
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x14004dd0c
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004ddbd
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14004ddc7
call fcn.14008bba0
jmp 0x14004dd0c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x14004de31
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14004de2c
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14004de2c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14008bba0
mov eax, ebx
mov rcx, qword [rbp + 0x1050]
xor rcx, rsp
call fcn.14008bb80
mov rbx, qword [rsp + 0x11b0]
add rsp, 0x1160
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1400014c0
int3
call fcn.140001560
int3