Function at 0x14000b0c8
Capabilities:
Delete registry value

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
push rsi
push r12
push r13
push r14
push r15
sub rsp, 0x90
mov qword [r11 - 0x70], 0xfffffffffffffffe
mov qword [r11 + 8], rbx
mov esi, r8d
mov rbx, rcx
mov r14d, 0x8007000e
and dword [rsp + 0xd8], 0
lea rax, vtable.__SmartHANDLE.0
mov qword [r11 - 0x68], rax
mov qword [r11 - 0x58], 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]
mov r12, rax
mov qword [rsp + 0x58], 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]
mov r15, rax
mov qword [rsp + 0x68], rax
test r12, r12
je 0x14000b16b
test rax, rax
je 0x14000b16b
mov dword [rsp + 0xd8], 1
mov rcx, r12
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
cmp eax, 1
jne 0x14000b470
test esi, esi
je 0x14000b383
xor esi, esi
mov qword [rsp + 0x70], rsi
and qword [rsp + 0x78], rsi
and qword [rsp + 0x80], rsi
and qword [rsp + 0xc8], rsi
lea rax, [rsp + 0xc8]
mov qword [rsp + 0x20], rax
mov r9d, 0x10002
xor r8d, r8d
lea rdx, str.SYSTEMCurrentControlSetServicesWmiApRplPerformance
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14000b21f
mov rsi, qword [rsp + 0xc8]
mov qword [rsp + 0x70], rsi
lea rdx, [0x1400208a8]
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
lea rdx, str.First_Help
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
lea rdx, str.Last_Counter
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
lea rdx, str.Last_Help
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
test rsi, rsi
je 0x14000b21f
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor esi, esi
mov qword [rsp + 0x70], rsi
lea rdx, str.LoadPerfCounterTextStringsW
mov rcx, qword [rbx + 0x78]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov qword [rsp + 0x38], rax
test rax, rax
jne 0x14000b275
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
test rsi, rsi
je 0x14000b251
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
nop
test r15, r15
je 0x14000b260
mov rcx, r15
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop
test r12, r12
je 0x14000b26e
mov rcx, r12
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, ebx
jmp 0x14000b496
mov ecx, 1
call fcn.140009bcc
mov r13, rax
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14000b36c
and qword [rsp + 0x30], 0
mov rcx, rax
call qword [sym.imp.msvcrt.dll_wcslen]
mov rbx, rax
lea rcx, str.WmiApRpl
call qword [sym.imp.msvcrt.dll_wcslen]
lea rcx, [rbx + 8]
add rcx, rax
mov ecx, ecx
mov qword [rsp + 0xc8], rcx
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140019114
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000b331
lea rax, str.WmiApRpl
mov qword [rsp + 0x20], rax
mov r9, r13
lea r8, str.xx__s_s.ini
mov rdx, qword [rsp + 0xc8]
mov rcx, rbx
call fcn.140001cb8
mov edx, 1
mov rcx, rbx
mov rax, qword [rsp + 0x38]
call qword [0x14001f610]
mov r14d, eax
test eax, eax
je 0x14000b331
mov ecx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop
jmp 0x14000b354
test rbx, rbx
je 0x14000b362
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
mov rcx, r13
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
nop
test rsi, rsi
je 0x14000b454
mov rcx, rsi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x14000b454
and qword [rsp + 0x30], 0
lea rdx, str.UnloadPerfCounterTextStringsW
mov rcx, qword [rbx + 0x78]
call qword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetProcAddress]
mov r13, rax
test rax, rax
jne 0x14000b3af
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
jmp 0x14000b251
lea rsi, str.WmiApRpl
mov rcx, rsi
call qword [sym.imp.msvcrt.dll_wcslen]
lea ecx, [rax + 4]
mov qword [rsp + 0xc8], rcx
mov eax, 2
mul rcx
mov rcx, 0xffffffffffffffff
cmovo rax, rcx
mov rcx, rax
call fcn.140019114
mov rbx, rax
mov qword [rsp + 0x30], rax
test rax, rax
je 0x14000b42d
mov r9, rsi
lea r8, str.xx__s
mov rdx, qword [rsp + 0xc8]
mov rcx, rax
call fcn.140001cb8
mov edx, 1
mov rcx, rbx
mov rax, r13
call qword [0x14001f610]
mov r14d, eax
test eax, eax
je 0x14000b42d
mov ecx, eax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop
jmp 0x14000b446
test rbx, rbx
je 0x14000b454
mov rcx, rbx
call qword [sym.imp.msvcrt.dll_void___cdecl_operator_delete___void____ptr64_]
cmp dword [rsp + 0xd8], 0
je 0x14000b476
mov edx, 0xbb8
mov rcx, r15
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
test eax, eax
je 0x14000b476
mov r14d, 0x80004005
test r15, r15
je 0x14000b485
mov rcx, r15
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
nop
test r12, r12
je 0x14000b493
mov rcx, r12
call qword [sym.imp.api_ms_win_core_handle_l1_1_0.dll_CloseHandle]
mov eax, r14d
mov rbx, qword [rsp + 0xc0]
add rsp, 0x90
pop r15
pop r14
pop r13
pop r12
pop rsi
ret