Function at 0x14002e2ed
Capabilities:
Query or enumerate registry value

Disassembly:
cmp r8d, 0x218
jne 0x14002e69b
push rbx
push rbp
push rsi
push rdi
push r14
sub rsp, 0x80
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov rax, qword [0x1400ff010]
xor rax, rsp
mov qword [rsp + 0x70], rax
mov rbp, r9
mov r14, rcx
mov rbx, qword [rsp + 0xd0]
mov qword [rsp + 0x20], r9
mov r9d, r8d
mov r8d, 0xcb7
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d___uMsg___d__wParam___d
call fcn.1400430e0
cmp rbp, 6
jb 0x14002e681
cmp rbp, 7
jbe 0x14002e50b
cmp rbp, 0x12
je 0x14002e50b
cmp rbp, 0x8013
jne 0x14002e681
mov r8d, 0xce7
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d___uMsg__WM_POWERBROADCAST__wParam__PBT_POWERSETTINGCHANGE
call fcn.1400430e0
mov qword [0x140103c50], rbx
test rbx, rbx
je 0x14002e4ed
mov rdx, rbx
lea rcx, [rsp + 0x38]
call fcn.14003bc50
nop
mov rdx, qword [0x140103c50]
lea rcx, [rdx + 0x14]
mov qword [rsp + 0x28], rcx
mov ecx, dword [rdx + 0x10]
mov dword [rsp + 0x20], ecx
mov r9, qword [rax]
mov r8d, 0xcee
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d_GUID___s__Length___d__Data___d
call fcn.1400430e0
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002e3f8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [0x140103c50]
mov rax, qword [rcx]
cmp rax, qword [0x1400a4200]
jne 0x14002e681
mov rax, qword [rcx + 8]
cmp rax, qword [0x1400a4208]
jne 0x14002e681
mov ebx, dword [rcx + 0x14]
mov r9d, ebx
mov r8d, 0xcf3
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d_GUID_CONSOLE_DISPLAY_STATE__dwConsoleDisplayState___d
call fcn.1400430e0
test ebx, ebx
jne 0x14002e47f
mov r8d, 0xcf7
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d_GUID_CONSOLE_DISPLAY_STATE__disbale_mute_function
call fcn.1400430e0
lea r9d, [rbx + 1]
lea r8, str.DisableKeyboardMute
lea rdx, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rcx, 0xffffffff80000002
call fcn.1400604b0
jmp 0x14002e681
cmp ebx, 1
jne 0x14002e681
xor esi, esi
mov dword [rsp + 0x30], esi
lea r9, [rsp + 0x30]
lea r8, str.DisableKeyboardMute
lea rdx, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rcx, 0xffffffff80000002
call fcn.140060380
cmp dword [rsp + 0x30], esi
je 0x14002e681
mov r8d, 0xd00
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d_GUID_CONSOLE_DISPLAY_STATE__enable_mute_function
call fcn.1400430e0
call fcn.140009f90
mov rcx, rax
mov edx, 0x430
mov r8d, 0x1f4
call fcn.140087ab0
jmp 0x14002e681
mov r8d, 0xd08
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d_lParam_is_NULL
call fcn.1400430e0
jmp 0x14002e681
mov dword [r14 + 0xcc], 1
xor esi, esi
mov ebx, esi
lea edi, [rsi + 0x20]
nop dword [rax]
lea rcx, [r14 + 0xd0]
add rcx, rbx
xor r8d, r8d
lea rdx, [0x1400b1068]
call fcn.140003840
add rbx, 8
sub rdi, 1
jne 0x14002e520
call fcn.140017430
test byte [rax + 4], 1
je 0x14002e572
cmp dword [0x140103e90], 0x9c48
jne 0x14002e572
call fcn.140009f90
mov rcx, rax
mov edx, 0x42a
mov r8d, 0x1f4
call fcn.140087ab0
cmp dword [0x140103c60], esi
je 0x14002e681
cmp dword [0x140103e90], 0x9c47
jne 0x14002e681
xor eax, eax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x58], rsi
mov dword [rsp + 0x60], esi
mov qword [rsp + 0x68], rsi
mov dword [rsp + 0x48], esi
lea r9d, [rax + 1]
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x58]
call fcn.14001da70
test eax, eax
je 0x14002e5f8
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.1400430e0
nop
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x14002e681
jmp 0x14002e67b
mov dword [rsp + 0x4c], 4
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.DisableKeyboardMute
mov rbx, qword [rsp + 0x58]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14002e673
cmp dword [rsp + 0x50], 4
jne 0x14002e673
mov edi, dword [rsp + 0x48]
test rbx, rbx
je 0x14002e64e
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x14002e681
mov r9, rbp
mov r8d, 0xcdf
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d_RESUME__d___enable_mute_function
call fcn.1400430e0
jmp 0x14002e4d0
test rbx, rbx
je 0x14002e681
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [rsp + 0x70]
xor rcx, rsp
call fcn.140091f30
add rsp, 0x80
pop r14
pop rdi
pop rsi
pop rbp
pop rbx
ret