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

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1080]
mov eax, 0x1180
call fcn.140095800
sub rsp, rax
mov rbx, r8
mov r12, rcx
mov dword [rbp + 0x10d8], 1
xor r15d, r15d
mov qword [rcx], r15
mov qword [rcx + 8], r15
mov qword [rcx + 0x10], r15
mov dword [rbp + 0x10d8], 1
mov dword [rbp - 0x48], Ordinal_30
mov dword [rbp - 0x38], 1
mov qword [rbp - 0x40], r15
xor r9d, r9d
lea r8, [rbp - 0x48]
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
test eax, eax
jne 0x14004e53c
lea rdx, str.Failed_to_create_pipe_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14006ca80
jmp 0x14004e96f
mov dword [rbp + 0x10], 0x68
xorps xmm0, xmm0
movups xmmword [rbp + 0x18], xmm0
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm0
movups xmmword [rbp + 0x48], xmm0
movups xmmword [rbp + 0x58], xmm0
movups xmmword [rbp + 0x68], xmm0
mov rax, qword [rsp + 0x70]
mov qword [rbp + 0x70], rax
mov qword [rbp + 0x68], rax
psrldq xmm0, 4
movd eax, xmm0
bts eax, 8
mov dword [rbp + 0x4c], eax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
lea rcx, str.C:WindowsSystem32WindowsPowerShell_v1.0powershell.exe
call qword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x14004e610
lea rdx, str.Failed_to_create_process._Error:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.14006ca80
mov rbx, rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
mov rcx, rbx
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___unsigned_long_int____ptr64]
lea rdx, [0x14006ce20]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14004e96f
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], r15
mov esi, reloc.WS2_32.dll_ntohs
mov qword [rsp + 0x68], rsi
mov byte [rsp + 0x50], 0
movdqu xmmword [rbp - 0x80], xmm0
mov r14, r15
mov qword [rbp - 0x70], r15
mov rdi, qword [rbp - 0x78]
nop word [rax + rax]
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x10c8]
mov r8d, 0xfff
lea rdx, [rbp + 0x80]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14004e755
mov ecx, dword [rbp + 0x10c8]
test ecx, ecx
je 0x14004e755
mov byte [rbp + rcx + 0x80], 0
mov ebx, r15d
nop word [rax + rax]
mov eax, ebx
movzx r9d, byte [rbp + rax + 0x80]
cmp r9b, 0xa
jne 0x14004e701
cmp rdi, r14
je 0x14004e6cd
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14004e2f0
add rdi, 0x20
mov qword [rbp - 0x78], rdi
jmp 0x14004e6e6
lea r8, [rsp + 0x50]
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.140073de0
mov r14, qword [rbp - 0x70]
mov rdi, qword [rbp - 0x78]
mov qword [rsp + 0x60], r15
lea rax, [rsp + 0x50]
cmp qword [rsp + 0x68], 0xf
cmova rax, qword [rsp + 0x50]
mov byte [rax], 0
jmp 0x14004e738
mov rcx, qword [rsp + 0x60]
cmp rcx, rsi
jae 0x14004e72e
lea rax, [rcx + 1]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
cmp rsi, 0xf
cmova rax, qword [rsp + 0x50]
mov byte [rax + rcx], r9b
mov byte [rax + rcx + 1], 0
jmp 0x14004e738
lea rcx, [rsp + 0x50]
call fcn.140070dd0
inc ebx
mov ecx, dword [rbp + 0x10c8]
mov rsi, qword [rsp + 0x68]
cmp ebx, ecx
jb 0x14004e6a0
test ecx, ecx
jne 0x14004e650
cmp qword [rsp + 0x60], 0
je 0x14004e78e
cmp rdi, r14
je 0x14004e779
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.14004e2f0
add rdi, 0x20
mov qword [rbp - 0x78], rdi
jmp 0x14004e78e
lea r8, [rsp + 0x50]
mov rdx, rdi
lea rcx, [rbp - 0x80]
call fcn.140073de0
mov rdi, qword [rbp - 0x78]
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
mov ecx, reloc.WS2_32.dll_WSASetLastError
call fcn.140094f58
mov r13, rax
mov qword [rbp - 0x18], rax
mov qword [rbp - 8], 0x60
mov qword [rbp], reloc.WS2_32.dll_WSAGetLastError
movaps xmm0, xmmword [str.abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789____________:__.____]
movups xmmword [rax], xmm0
movaps xmm1, xmmword [0x14012dd10]
movups xmmword [rax + 0x10], xmm1
movaps xmm0, xmmword [0x14012dd20]
movups xmmword [rax + 0x20], xmm0
movaps xmm1, xmmword [0x14012dd30]
movups xmmword [rax + 0x30], xmm1
movaps xmm0, xmmword [0x14012dd40]
movups xmmword [rax + 0x40], xmm0
movaps xmm1, xmmword [0x14012dd50]
movups xmmword [rax + 0x50], xmm1
mov byte [rax + 0x60], 0
mov r15, qword [rbp - 0x80]
cmp r15, rdi
je 0x14004e921
nop dword [rax + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
mov qword [rbp - 0x58], 0
mov esi, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x50], rsi
mov byte [rbp - 0x68], 0
mov rcx, r15
cmp qword [r15 + 0x18], rsi
jbe 0x14004e83d
mov rcx, qword [r15]
mov rdx, rcx
jmp 0x14004e840
mov rdx, r15
mov rbx, rcx
mov r12, qword [r15 + 0x10]
add r12, rdx
cmp rcx, r12
je 0x14004e904
nop dword [rax]
nop word [rax + rax]
movsx r14d, byte [rbx]
mov edx, r14d
mov r8d, 0x60
mov rcx, r13
call sub.VCRUNTIME140.dll_memchr
test rax, rax
je 0x14004e8bd
sub rax, r13
cmp rax, 0xffffffffffffffff
je 0x14004e8bd
mov rcx, qword [rbp - 0x58]
cmp rcx, rsi
jae 0x14004e8ac
lea rax, [rcx + 1]
mov qword [rbp - 0x58], rax
lea rax, [rbp - 0x68]
cmp rsi, 0xf
cmova rax, qword [rbp - 0x68]
mov byte [rax + rcx], r14b
mov byte [rax + rcx + 1], 0
jmp 0x14004e8b9
movzx r9d, r14b
lea rcx, [rbp - 0x68]
call fcn.140070dd0
mov rsi, qword [rbp - 0x50]
inc rbx
cmp rbx, r12
jne 0x14004e860
mov r12, qword [rbp + 0x10c0]
cmp qword [rbp - 0x58], 0
jbe 0x14004e90b
mov rax, qword [r12 + 8]
cmp rax, qword [r12 + 0x10]
je 0x14004e8f3
lea rdx, [rbp - 0x68]
mov rcx, rax
call fcn.14004e2f0
add qword [r12 + 8], 0x20
jmp 0x14004e90b
lea r8, [rbp - 0x68]
mov rdx, rax
mov rcx, r12
call fcn.140073de0
jmp 0x14004e90b
mov r12, qword [rbp + 0x10c0]
lea rcx, [rbp - 0x68]
call fcn.140046b40
add r15, 0x20
cmp r15, rdi
jne 0x14004e810
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x30]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x28]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp - 0x18]
call fcn.140046b40
nop
lea rcx, [rbp - 0x80]
call fcn.140063d70
nop
lea rcx, [rsp + 0x50]
call fcn.140046b40
nop
mov rax, r12
mov rbx, qword [rsp + 0x11d0]
add rsp, 0x1180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret