Function at 0x14000fa00
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.1400399b0
sub rsp, rax
mov rax, qword [0x140054040]
xor rax, rsp
mov qword [rbp + 0x11c0], rax
mov ebx, ecx
mov dword [rsp + 0x60], ecx
xor esi, esi
xorps xmm0, xmm0
movups xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xe0], xmm1
lea r8d, [rsi + 0x11]
lea rdx, str.Invoke_RestMethod
lea rcx, [rbp + 0xd0]
call fcn.140003500
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0xf0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x100], xmm1
lea r8d, [rsi + 0x31]
lea rdx, str.____Found_ImportCode_string:_Invoke_RestMethod.
lea rcx, [rbp + 0xf0]
call fcn.140003500
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x110], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x120], xmm1
lea r8d, [rsi + 0x11]
lea rdx, str.Invoke_Expression
lea rcx, [rbp + 0x110]
call fcn.140003500
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x130], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x140], xmm1
lea r8d, [rsi + 0x31]
lea rdx, str.____Found_ImportCode_string:_Invoke_Expression.
lea rcx, [rbp + 0x130]
call fcn.140003500
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x150], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x160], xmm1
lea r8d, [rsi + 0xd]
lea rdx, str.import_base64
lea rcx, [rbp + 0x150]
call fcn.140003500
nop
xorps xmm0, xmm0
movups xmmword [rbp + 0x170], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x180], xmm1
lea r8d, [rsi + 0x2d]
lea rdx, str.____Found_ImportCode_string:_import_base64.
lea rcx, [rbp + 0x170]
call fcn.140003500
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.1400102e0
nop
lea r9, [0x1400102a0]
lea edx, [rsi + 0x40]
lea r8d, [rsi + 3]
lea rcx, [rbp + 0xd0]
call fcn.1400391fc
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 0x14000fba0
lea r8, [rbp + 0x1ba]
mov rdx, r9
lea rcx, [rbp + 0xb0]
call fcn.140002ee0
nop
mov r9d, 0x16
lea r8, str.memory_scanner.exe__p
lea rcx, [rbp + 0xb0]
call fcn.140003940
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], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rbp + 0xc8]
cmp rdx, 7
jbe 0x14000fc8c
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rbp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000fc87
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000fc87
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140038e10
movdqa xmm0, xmmword [0x140049850]
movdqu xmmword [rbp + 0xc0], xmm0
mov word [rbp + 0xb0], si
mov qword [rbp - 0x58], 0x18
mov qword [rbp - 0x48], 1
mov qword [rbp - 0x50], rsi
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], si
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], rsi
mov qword [rsp + 0x30], rsi
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 0x140010190
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 ss:[rsp + 0x20], rsi
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 0x140010167
mov edx, 0xa
mov eax, dword [rsp + 0x50]
test eax, eax
je 0x140010167
mov edi, eax
shr rdi, 1
lea rax, [rbp + 0x1c0]
add rax, rdi
xorps xmm0, xmm0
movups xmmword [rbp + 0x50], xmm0
lea rcx, [rbp + 0x1c0]
cmp rcx, rax
jne 0x14000fe25
xor r9d, r9d
mov r13d, r9d
mov qword [rbp + 0x60], r9
mov qword [rbp + 0x68], 7
mov word [rbp + 0x50], r9w
jmp 0x14000feb6
mov qword [rbp + 0x60], rsi
mov ebx, 7
mov qword [rbp + 0x68], rbx
cmp rdi, rbx
jbe 0x14000fe62
mov rbx, rdi
or rbx, 7
cmp rbx, 0xa
cmovb rbx, rdx
lfence
lea rcx, [rbx*2 + 2]
call fcn.140003b00
mov qword ds:[rbp + 0x50], rax
mov qword [rbp + 0x68], rbx
jmp 0x14000fe66
mov rax, qword [rbp + 0x50]
lea r9, ds:[rbp + 0x50]
cmp rbx, 7
cmova r9, rax
mov rcx, r9
mov r8, rdi
lea rdx, [rbp + 0x1c0]
test rdi, rdi
je 0x14000fea6
nop word [rax + rax]
movsx eax, byte ds:[rdx]
mov word [rcx], ax
lea rcx, [rcx + 2]
lea rdx, [rdx + 1]
sub r8, 1
jne 0x14000fe90
mov qword [rbp + 0x60], rdi
mov word [r9 + rdi*2], si
mov r13, qword [rbp + 0x60]
xor r9d, r9d
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 0x140010103
nop dword [rax]
nop dword [rax + rax]
lea r12, [rbx + 0x20]
mov rax, qword [rbx + 0x10]
cmp qword [rbx + 0x18], 7
jbe 0x14000fefb
mov rcx, qword [rbx]
lea r8, [rcx + rax*2]
mov rdx, rcx
jmp 0x14000ff02
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 0x14000ff39
mov rdi, r9
mov qword [rbp + 0x80], r9
mov esi, 7
mov qword [rbp + 0x88], rsi
mov word [rbp + 0x70], r9w
jmp 0x14000ff59
sub r8, rdx
sar r8, 1
lea rcx, [rbp + 0x70]
call fcn.140003500
mov rsi, qword [rbp + 0x88]
mov rdi, qword [rbp + 0x80]
xor r9d, r9d
lea r11, ds:[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 0x140010087
mov rax, r13
sub rax, rdi
test rdi, rdi
je 0x140010026
inc rax
lea r13, [r15 + rax*2]
mov rax, r15
movzx r10d, word [r11]
nop word [rax + rax]
mov rcx, r13
sub rcx, rax
sar rcx, 1
mov rdx, r9
je 0x14000ffdc
nop
cmp word [rax], r10w
je 0x14000ffd9
cmp rcx, 1
je 0x14000ffdc
dec rcx
add rax, 2
cmp word [rax], r10w
jne 0x14000ffc6
mov rdx, rax
mov rax, rdx
test rdx, rdx
je 0x140010087
mov r8, rdi
mov rdx, r11
test rdi, rdi
je 0x140010018
mov r9, rax
sub r9, r11
nop word [rax + rax]
movzx ecx, word [rdx + r9]
cmp cx, word [rdx]
jne 0x14001014c
add rdx, 2
sub r8, 1
jne 0x140010000
sub rax, r15
sar rax, 1
cmp rax, 0xffffffffffffffff
je 0x140010087
mov r8, qword [r12 + 0x10]
cmp qword [r12 + 0x18], 7
jbe 0x140010037
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.140006180
lea rdx, str.on_process_with_pid:
mov rcx, rax
call fcn.140003020
mov edx, dword ds:[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]
mov rcx, rax
lea rdx, str.._This_is_bannable_
call fcn.140003020
lea rdx, [0x140005660]
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 0x1400100d2
lea rdx, ds:[rsi*2 + 2]
mov rax, r14
cmp rdx, 0x1000
jb 0x1400100ca
add rdx, 0x27
mov r14, qword [r14 - 8]
sub rax, r14
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140010158
mov rcx, r14
call fcn.140038e10
xor r9d, r9d
mov qword [rbp + 0x80], r9
mov qword [rbp + 0x88], 7
mov word [rbp + 0x70], r9w
add rbx, 0x40
cmp rbx, qword [rbp - 0x80]
mov r13, qword [rbp + 0x60]
jne 0x14000fee0
mov rcx, qword [rsp + 0x70]
mov rax, qword [rbp + 0x68]
cmp rax, 7
jbe 0x140010145
lea rdx, ds:[rax*2 + 2]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14001013e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001015f
nop
call fcn.140038e10
xor esi, esi
jmp 0x14000fd9e
add rax, 2
xor r9d, r9d
jmp 0x14000ffb0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
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 ds:[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 0x1400101ec
lea rdx, ds:[rdx*2 + 2]
mov rcx, qword [rbp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400101e7
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400101e7
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140038e10
movdqa xmm0, xmmword [0x140049850]
movdqu xmmword [rbp + 0xa0], xmm0
mov word [rbp + 0x90], si
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x14001026f
mov rdi, qword [rbp - 0x68]
cmp rbx, rdi
je 0x140010233
lea rcx, [rbx + 0x20]
call fcn.140002b80
mov rcx, rbx
call fcn.140002b80
add rbx, 0x40
cmp rbx, rdi
jne 0x140010215
mov rbx, qword [rbp - 0x70]
mov rdx, qword [rbp - 0x60]
sub rdx, rbx
and rdx, 0xffffffffffffffc0
mov rax, rbx
cmp rdx, 0x1000
jb 0x140010267
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140010267
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.140038e10
mov rcx, qword [rbp + 0x11c0]
xor rcx, rsp
call fcn.140038df0
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