Function at 0x140003ea0
Capabilities:
Acquire debug privileges
Check if file exists
Execute command
Get file attributes

Disassembly:
push rbp
push rsi
push rdi
push rbx
sub rsp, 0x198
lea rbp, [rsp + 0x80]
mov qword [rbp + 0x110], 0xfffffffffffffffe
lea rcx, [0x14000c884]
call fcn.140003120
lea rcx, str.powershell.exe
call fcn.140002d90
test eax, eax
je 0x140004043
mov esi, eax
lea rcx, str.Process_pid:__d_n
mov edx, eax
call fcn.140002950
xorps xmm0, xmm0
movaps xmmword [rbp + 0xf0], xmm0
mov qword [rbp + 0x108], 0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea r8, [rbp + 0x108]
mov rcx, rax
mov edx, 0x28
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x140003f7e
mov dword [rbp + 0xf0], 1
lea r8, [rbp + 0xf4]
mov dword [rbp + 0xfc], 2
lea rdx, str.SeDebugPrivilege
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
test eax, eax
je 0x140003f71
mov rcx, qword [rbp + 0x108]
xorps xmm0, xmm0
movups xmmword [rsp + 0x20], xmm0
lea r8, [rbp + 0xf0]
xor edx, edx
xor r9d, r9d
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
mov rcx, qword [rbp + 0x108]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, 0x1fffff
xor edx, edx
mov r8d, esi
call qword [sym.imp.KERNEL32.dll_OpenProcess]
test rax, rax
je 0x140004066
mov rsi, rax
mov rcx, rax
call fcn.140002b40
test al, al
je 0x140004091
lea rcx, str.C:UsersAdministratorDesktopEnginePro.dll
call qword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1400040bd
mov dword [rsp + 0x20], 1
lea rdx, str.C:UsersAdministratorDesktopEnginePro.dll
lea rcx, [rbp - 0x38]
mov r8d, 0x24
mov r9d, 0x40
call fcn.140004260
mov rax, qword [rbp - 0x38]
movsxd rax, dword [rax + 4]
lea rcx, [rax + rbp]
add rcx, 0xffffffffffffffc8
call qword [sym.imp.MSVCP140.dll_public:_bool___cdecl_std::ios_base::fail_void_const___ptr64]
test al, al
je 0x1400040e9
mov rax, qword [rbp - 0x38]
movsxd rax, dword [rax + 4]
mov edx, dword [rbp + rax - 0x28]
lea rcx, str.Opening_the_file_failed:__X_n
call fcn.140002950
lea rcx, [rbp - 0x38]
call fcn.140004490
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov esi, 0xfffffffb
jmp 0x14000420e
lea rcx, str.Process_not_found_n
call fcn.140002950
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov esi, 0xffffffff
jmp 0x140004217
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, str.OpenProcess_failed:_0x_X_n
mov edx, eax
call fcn.140002950
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov esi, 0xfffffffe
jmp 0x140004217
lea rcx, str.Invalid_Process_Architecture._n
call fcn.140002950
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov esi, 0xfffffffd
jmp 0x140004217
lea rcx, str.Dll_file_doesnt_exist_n
call fcn.140002950
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov esi, 0xfffffffc
jmp 0x140004217
lea rcx, [rbp - 0x38]
lea rdx, [rbp + 0xd8]
call qword [sym.imp.MSVCP140.dll_public:_class_std::fpos_struct__Mbstatet____cdecl_std::basic_istream_char__struct_std::char_traits_char__::tellg_void____ptr64]
mov rcx, qword [rbp + 0xe0]
add rcx, qword [rbp + 0xd8]
cmp rcx, 0xfff
jg 0x140004146
lea rcx, str.Filesize_invalid._n
call fcn.140002950
lea rcx, [rbp - 0x38]
call fcn.140004490
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov esi, 0xfffffffa
jmp 0x14000420e
call fcn.14000ad20
mov rdi, rax
lea rcx, [rbp - 0x38]
xor edx, edx
xor r8d, r8d
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::seekg_long_long___int64___int____ptr64]
mov r8, qword [rbp + 0xe0]
add r8, qword [rbp + 0xd8]
lea rcx, [rbp - 0x38]
mov rdx, rdi
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::read_char____ptr64__long_long___int64_____ptr64]
lea rcx, [rbp - 0x38]
call fcn.140004490
lea rcx, str.Mapping..._n
call fcn.140002950
mov r8, qword [rbp + 0xe0]
add r8, qword [rbp + 0xd8]
mov qword [rsp + 0x40], 0
mov dword [rsp + 0x38], 1
mov byte [rsp + 0x30], 1
mov byte [rsp + 0x28], 1
mov byte [rsp + 0x20], 1
mov rcx, rsi
mov rdx, rdi
mov r9b, 1
call section..text
mov ebx, eax
mov rcx, rdi
call fcn.14000ad28
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
test bl, bl
je 0x1400041f0
lea rcx, [0x14000c9df]
call fcn.140002950
xor esi, esi
jmp 0x14000420e
lea rcx, str.Error_while_mapping._n
call fcn.140002950
lea rcx, str.PAUSE
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov esi, 0xfffffff8
lea rcx, [rbp - 0x38]
call fcn.140004550
mov eax, esi
add rsp, 0x198
pop rbx
pop rdi
pop rsi
pop rbp
ret