Function at 0x140011100
Capabilities:
Create a process with modified i/o handles and window
Create pipe
Create process on windows
Create process suspended
Read file on windows
Run powershell expression

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x11d0]
mov eax, 0x12d0
call fcn.140026710
sub rsp, rax
mov rax, qword [0x140035040]
xor rax, rsp
mov qword [rbp + 0x11c0], rax
mov ebx, ecx
mov dword [rsp + 0x60], ecx
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xe0], xmm1
lea r8d, [rdi + 0x11]
lea rdx, str.Invoke_RestMethod
lea rcx, [rbp + 0xd0]
call fcn.14000bdd0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x100], xmm1
lea r8d, [rdi + 0x2b]
lea rdx, str.____String_encontrada:_Invoke_RestMethod.
lea rcx, [rbp + 0xf0]
call fcn.14000bdd0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x120], xmm1
lea r8d, [rdi + 0x11]
lea rdx, str.Invoke_Expression
lea rcx, [rbp + 0x110]
call fcn.14000bdd0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x130], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x140], xmm1
lea r8d, [rdi + 0x2b]
lea rdx, str.____String_encontrada:_Invoke_Expression.
lea rcx, [rbp + 0x130]
call fcn.14000bdd0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x160], xmm1
lea r8d, [rdi + 0xd]
lea rdx, str.import_base64
lea rcx, [rbp + 0x150]
call fcn.14000bdd0
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x170], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x180], xmm1
lea r8d, [rdi + 0x27]
lea rdx, str.____String_encontrada:_import_base64.
lea rcx, [rbp + 0x170]
call fcn.14000bdd0
nop
lea rax, [rbp + 0xd0]
mov qword [rbp - 0x80], rax
lea rax, [rbp + 0x190]
mov qword [rbp - 0x78], rax
lea rdx, [rbp - 0x80]
lea rcx, [rbp - 0x70]
call fcn.140011960
nop
lea r9, [fcn.14000c5c0]
lea edx, [rdi + 0x40]
lea r8d, [rdi + 3]
lea rcx, [rbp + 0xd0]
call fcn.140026100
lea r9, [rbp + 0x1ba]
mov r8d, ebx
nop dword [rax]
sub r9, 2
mov eax, 0xcccccccd
mul r8d
shr edx, 3
movzx eax, dx
shl ax, 2
lea ecx, [rax + rdx]
add cx, cx
sub r8w, cx
add r8w, 0x30
mov word [r9], r8w
mov r8d, edx
test edx, edx
jne 0x1400112a0
lea r8, [rbp + 0x1ba]
mov rdx, r9
lea rcx, [rbp + 0xb0]
call fcn.140003e10
nop
mov r9d, 0x16
lea r8, str.memory_scanner.exe__p
lea rcx, [rbp + 0xb0]
call fcn.140003d10
xorps xmm0, xmm0
movups xmmword [rbp + 0x90], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0xa0], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 0x90], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0xa0], xmm1
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], 7
mov word [rax], di
mov rdx, qword [rbp + 0xc8]
cmp rdx, 7
jbe 0x140011382
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001137d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14001137d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140025d64
movdqa xmm0, xmmword [0x14002bff0]
movdqu xmmword [rbp + 0xc0], xmm0
mov word [rbp + 0xb0], di
mov qword [rbp - 0x58], 0x18
mov qword [rbp - 0x48], 1
mov qword [rbp - 0x50], rdi
xor r9d, r9d
lea r8, [rbp - 0x58]
lea rdx, [rsp + 0x68]
lea rcx, [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CreatePipe]
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov dword [rbp - 0x20], 0x68
xorps xmm0, xmm0
movups xmmword [rbp - 0x18], xmm0
movups xmmword [rbp - 8], xmm0
movups xmmword [rbp + 8], xmm0
movups xmmword [rbp + 0x18], xmm0
movups xmmword [rbp + 0x28], xmm0
movups xmmword [rbp + 0x38], xmm0
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0x38], rax
psrldq xmm0, 4
movd eax, xmm0
or eax, 0x101
mov dword [rbp + 0x1c], eax
mov word [rbp + 0x20], di
lea rdx, [rbp + 0x90]
cmp qword [rbp + 0xa8], 7
cmova rdx, qword [rbp + 0x90]
lea rax, [rbp - 0x40]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x10
mov dword [rsp + 0x20], 1
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x140011841
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
xor edx, edx
mov r8d, 0x1000
lea rcx, [rbp + 0x1c0]
call sub.VCRUNTIME140.dll_memset
mov qword [rsp + 0x20], rdi
lea r9, [rsp + 0x50]
mov r8d, 0x1000
lea rdx, [rbp + 0x1c0]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x14001181e
mov edx, 0xa
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x14001181e
shr rax, 1
lea r14, [rbp + 0x1c0]
add r14, rax
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
lea rcx, [rbp + 0x1c0]
xor r9d, r9d
mov qword [rbp + 0x60], r9
cmp rcx, r14
jne 0x140011505
mov r13d, r9d
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r9w
jmp 0x1400115c4
lea rdi, [rbp + 0x1c0]
mov rsi, r9
mov ebx, 7
mov qword [rbp + 0x68], rbx
cmp rax, rbx
jbe 0x140011580
mov rbx, rax
or rbx, 7
cmp rbx, 0xa
cmovb rbx, rdx
lea rcx, [rbx*2 + 2]
cmp rcx, 0x1000
jb 0x14001156c
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140011940
mov rcx, rax
call fcn.140025d20
mov rcx, rax
test rax, rax
je 0x140011817
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x140011571
call fcn.140025d20
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x68], rbx
xor r9d, r9d
nop dword [rax]
lea rcx, [rbp + 0x50]
cmp rbx, 7
cmova rcx, qword [rbp + 0x50]
movsx eax, byte [rdi]
mov word [rcx + rsi*2], ax
mov rsi, qword [rbp + 0x60]
inc rsi
mov qword [rbp + 0x60], rsi
inc rdi
cmp rdi, r14
je 0x1400115ad
mov rbx, qword [rbp + 0x68]
jmp 0x140011580
lea rax, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova rax, qword [rbp + 0x50]
mov word [rax + rsi*2], r9w
mov r13, qword [rbp + 0x60]
mov rbx, qword [rbp - 0x70]
mov rax, qword [rbp - 0x68]
mov qword [rbp - 0x80], rax
mov rcx, qword [rbp + 0x50]
mov qword [rsp + 0x70], rcx
cmp rbx, rax
je 0x1400117c5
nop dword [rax]
nop word [rax + rax]
lea r12, [rbx + 0x20]
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x14001160b
mov rcx, qword [rbx]
mov rdx, rcx
lea r8, [rcx + rax*2]
jmp 0x140011612
lea r8, [rbx + rax*2]
mov rdx, rbx
xorps xmm0, xmm0
movups xmmword [rbp + 0x70], xmm0
mov qword [rbp + 0x80], r9
mov qword [rbp + 0x88], r9
cmp rdx, r8
jne 0x140011649
mov rdi, r9
mov qword [rbp + 0x80], r9
mov esi, 7
mov qword [rbp + 0x88], rsi
mov word [rbp + 0x70], r9w
jmp 0x140011669
sub r8, rdx
sar r8, 1
lea rcx, [rbp + 0x70]
call fcn.14000bdd0
mov rsi, qword [rbp + 0x88]
mov rdi, qword [rbp + 0x80]
xor r9d, r9d
lea r11, [rbp + 0x70]
mov r14, qword [rbp + 0x70]
cmp rsi, 7
cmova r11, r14
lea r15, [rbp + 0x50]
cmp qword [rbp + 0x68], 7
cmova r15, qword [rsp + 0x70]
cmp rdi, r13
ja 0x140011771
mov rax, r13
sub rax, rdi
test rdi, rdi
je 0x140011724
inc rax
lea r13, [r15 + rax*2]
mov rax, r15
movzx r10d, word [r11]
nop
mov rcx, r13
sub rcx, rax
sar rcx, 1
mov rdx, r9
je 0x1400116da
cmp word [rax], r10w
je 0x1400116d7
cmp rcx, 1
je 0x1400116da
dec rcx
add rax, 2
cmp word [rax], r10w
jne 0x1400116c4
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x140011771
mov r8, rdi
mov rdx, r11
test rdi, rdi
je 0x140011718
mov r9, rax
sub r9, r11
nop word [rax + rax]
movzx ecx, word [r9 + rdx]
cmp cx, word [rdx]
jne 0x140011804
add rdx, 2
sub r8, 1
jne 0x140011700
sub rax, r15
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x140011771
mov r8, qword [r12 + 0x10]
cmp qword [r12 + 0x18], 7
jbe 0x140011735
mov r12, qword [r12]
mov rdx, r12
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14000c300
lea rdx, str.no_processo:
mov rcx, rax
call fcn.14000b8f0
mov edx, dword [rsp + 0x60]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___unsigned_long_int____ptr64]
lea rdx, [0x14000bad0]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
nop
cmp rsi, 7
jbe 0x1400117a8
lea rdx, [rsi*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x1400117a0
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011810
mov rcx, r14
call fcn.140025d64
add rbx, 0x40
cmp rbx, qword [rbp - 0x80]
mov r13, qword [rbp + 0x60]
mov r9d, 0
jne 0x1400115f0
mov rcx, qword [rsp + 0x70]
mov rax, qword [rbp + 0x68]
cmp rax, 7
jbe 0x1400117fd
lea rdx, [rax*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400117f8
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140011817
call fcn.140025d64
xor edi, edi
jmp 0x14001148e
add rax, 2
xor r9d, r9d
jmp 0x1400116b0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov edx, 0xffffffff
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x38]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp + 0xa8]
cmp rdx, 7
jbe 0x140011896
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140011891
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011891
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140025d64
movdqa xmm0, xmmword [0x14002bff0]
movdqu xmmword [rbp + 0xa0], xmm0
mov word [rbp + 0x90], di
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x140011910
mov rdi, qword [rbp - 0x68]
cmp rbx, rdi
je 0x1400118d5
nop
mov rcx, rbx
call fcn.14000c5c0
add rbx, 0x40
cmp rbx, rdi
jne 0x1400118c0
mov rbx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x60]
sub rdx, rbx
and rdx, 0xffffffffffffffc0
mov rax, rbx
cmp rdx, 0x1000
jb 0x140011908
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140011908
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140025d64
mov rcx, qword [rbp + 0x11c0]
xor rcx, rsp
call fcn.140025d00
lea r11, [rsp + 0x12d0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140001120
nop
int3