Function at 0x14000d528
Capabilities:
Delete registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x10], rdx
push r12
push r13
push r14
sub rsp, 0x80
mov r13d, r8d
mov r14, rcx
mov esi, 0x8007000e
and dword [rsp + 0xb8], 0
lea rax, vtable.__SmartHANDLE.0
mov qword [r11 - 0x40], rax
mov qword [r11 - 0x50], rax
lea r8, str.GlobalWMI_RevAdap_Set
xor edx, edx
lea ecx, [rdx + 2]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenEventW]
nop dword [rax + rax]
mov rbx, rax
mov qword [rsp + 0x60], rax
lea r8, str.GlobalWMI_RevAdap_ACK
xor edx, edx
mov ecx, 0x100000
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_OpenEventW]
nop dword [rax + rax]
mov r12, rax
mov qword [rsp + 0x50], rax
test rbx, rbx
je 0x14000d5d1
test rax, rax
je 0x14000d5d1
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
nop dword [rax + rax]
cmp eax, 1
jne 0x14000d8de
mov dword [rsp + 0xb8], eax
test r13d, r13d
je 0x14000d7ca
and qword [rsp + 0x68], 0
and qword [rsp + 0x70], 0
and qword [rsp + 0x78], 0
mov r9d, 0x10002
lea r8, str.SYSTEMCurrentControlSetServicesWmiApRplPerformance
lea rcx, [rsp + 0x68]
call fcn.14000c438
test eax, eax
jne 0x14000d664
lea rdx, [0x14001fdc8]
mov rbx, qword [rsp + 0x68]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
lea rdx, str.First_Help
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
lea rdx, str.Last_Counter
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
lea rdx, str.Last_Help
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
nop dword [rax + rax]
lea rcx, [rsp + 0x68]
call fcn.14000bdcc
lea rdx, str.LoadPerfCounterTextStringsW
mov rcx, qword [r14 + 0x78]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14000d6ac
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
lea rcx, [rsp + 0x68]
call fcn.14000bdcc
jmp 0x14000d8e3
mov ecx, 1
call fcn.14000c1f8
mov r14, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14000d7bb
and qword [rsp + 0x30], 0
mov rcx, rax
call qword [sym.imp.msvcrt.dll_wcslen]
nop dword [rax + rax]
mov rbx, rax
lea r13, str.WmiApRpl
mov rcx, r13
call qword [sym.imp.msvcrt.dll_wcslen]
nop dword [rax + rax]
lea rcx, [rax + 8]
add rcx, rbx
mov ecx, ecx
mov qword [rsp + 0xa8], rcx
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140001284
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000d77f
mov qword [rsp + 0x20], r13
mov r9, r14
lea r8, str.xx__s_s.ini
mov rdx, qword [rsp + 0xa8]
mov rcx, rax
call fcn.1400039cc
movabs r10, 0xe9900741185bc170
mov edx, 1
mov rcx, rbx
mov rax, qword [rsp + 0x38]
call qword [0x14001e660]
mov esi, eax
test eax, eax
je 0x14000d77f
mov ecx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
nop
jmp 0x14000d797
test rbx, rbx
je 0x14000d7ab
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
mov rcx, r14
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
nop
lea rcx, [rsp + 0x68]
call fcn.14000bdcc
jmp 0x14000d8bc
and qword [rsp + 0x30], 0
lea rdx, str.UnloadPerfCounterTextStringsW
mov rcx, qword [r14 + 0x78]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
nop dword [rax + rax]
mov r14, rax
test rax, rax
jne 0x14000d802
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov esi, eax
jmp 0x14000d8e3
lea r13, str.WmiApRpl
mov rcx, r13
call qword [sym.imp.msvcrt.dll_wcslen]
nop dword [rax + rax]
lea ecx, [rax + 4]
mov qword [rsp + 0xa8], rcx
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140001284
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000d895
mov r9, r13
lea r8, str.xx__s
mov rdx, qword [rsp + 0xa8]
mov rcx, rax
call fcn.1400039cc
movabs r10, 0xe9900741185bc170
mov edx, 1
mov rcx, rbx
mov rax, r14
call qword [0x14001e660]
mov esi, eax
test eax, eax
je 0x14000d895
mov ecx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
nop
jmp 0x14000d8a8
test rbx, rbx
je 0x14000d8bc
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop dword [rax + rax]
cmp dword [rsp + 0xb8], 0
je 0x14000d8e3
mov edx, 0xbb8
mov rcx, r12
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
nop dword [rax + rax]
test eax, eax
je 0x14000d8e3
mov esi, 0x80004005
lea rcx, [rsp + 0x48]
call fcn.140005968
nop
lea rcx, [rsp + 0x58]
call fcn.140005968
mov eax, esi
lea r11, [rsp + 0x80]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop r13
pop r12
ret