Function at 0x14003baf0
Capabilities:
Query or enumerate registry value

Disassembly:
cmp r8d, 0x218
jne 0x14003c0ec
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xa0
mov qword [rbp - 0x31], 0xfffffffffffffffe
mov qword [rsp + 0xd8], rbx
mov rax, qword [0x140150010]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov r15, r9
mov r14, rcx
mov rbx, qword [rbp + 0x7f]
mov qword [rsp + 0x20], r9
mov r9d, r8d
mov r8d, 0x10ca
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d___uMsg___d__wParam___d
call fcn.14005c7e0
cmp r15, 6
jb 0x14003c0ca
cmp r15, 7
jbe 0x14003be14
cmp r15, 0x12
je 0x14003be14
cmp r15, 0x8013
jne 0x14003c0ca
mov r8d, 0x1104
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d___uMsg__WM_POWERBROADCAST__wParam__PBT_POWERSETTINGCHANGE
call fcn.14005c7e0
mov qword [0x140157a50], rbx
test rbx, rbx
je 0x14003bdf6
mov rdx, rbx
lea rcx, [rbp - 0x39]
call fcn.14004c260
nop
mov rdx, qword [0x140157a50]
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, 0x110b
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d_GUID___s__Length___d__Data___d
call fcn.14005c7e0
nop
mov rdx, qword [rbp - 0x39]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14003bc0e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [0x140157a50]
mov rax, qword [rcx]
cmp rax, qword [0x1400ce250]
jne 0x14003c0ca
mov rax, qword [rcx + 8]
cmp rax, qword [0x1400ce258]
jne 0x14003c0ca
mov ebx, dword [rcx + 0x14]
mov r9d, ebx
mov r8d, 0x1110
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d_GUID_CONSOLE_DISPLAY_STATE__dwConsoleDisplayState___d
call fcn.14005c7e0
test ebx, ebx
jne 0x14003bd03
cmp dword [0x140157a5c], ebx
je 0x14003bca8
cmp dword [0x140157ca8], 0x9c47
jne 0x14003bca8
mov r8d, 0x1116
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d_GUID_CONSOLE_DISPLAY_STATE__disbale_mute_function
call fcn.14005c7e0
lea r9d, [rbx + 1]
lea r8, str.DisableKeyboardMute
lea rdx, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rcx, 0xffffffff80000002
call fcn.14007c5b0
call fcn.14001c230
test eax, eax
je 0x14003c0ca
cmp dword [0x140157ca8], 0x9c48
jne 0x14003c0ca
mov r8d, 0x111c
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d_GUID_CONSOLE_DISPLAY_STATE__enter_s0i3
call fcn.14005c7e0
mov r9d, 1
lea r8, str.s0i3
lea rdx, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rcx, 0xffffffff80000002
call fcn.14007c5b0
jmp 0x14003c0ca
cmp ebx, 1
jne 0x14003c0ca
xor edi, edi
cmp dword [0x140157a5c], edi
je 0x14003bd79
cmp dword [0x140157ca8], 0x9c47
jne 0x14003bd79
mov dword [rbp - 0x41], edi
lea r9, [rbp - 0x41]
lea r8, str.DisableKeyboardMute
lea rdx, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rcx, 0xffffffff80000002
call fcn.14007c480
cmp dword [rbp - 0x41], edi
je 0x14003bd79
mov r8d, 0x1128
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d_GUID_CONSOLE_DISPLAY_STATE__enable_mute_function
call fcn.14005c7e0
call fcn.14000b630
mov rcx, rax
mov edx, 0x430
mov r8d, 0x1f4
call fcn.1400afb90
call fcn.14001c230
test eax, eax
je 0x14003c0ca
cmp dword [0x140157ca8], 0x9c48
jne 0x14003c0ca
mov dword [rbp - 0x3d], edi
lea r9, [rbp - 0x3d]
lea r8, str.s0i3
lea rdx, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rcx, 0xffffffff80000002
call fcn.14007c480
cmp dword [rbp - 0x3d], edi
je 0x14003c0ca
mov r8d, 0x1133
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d_GUID_CONSOLE_DISPLAY_STATE__weak_up_from_s0i3
call fcn.14005c7e0
call fcn.14000b630
mov rcx, rax
mov edx, 0x43d
mov r8d, 0x1f4
call fcn.1400afb90
jmp 0x14003c0ca
mov r8d, 0x113c
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d_lParam_is_NULL
call fcn.14005c7e0
jmp 0x14003c0ca
mov dword [r14 + 0xb4], 1
xor edi, edi
mov ebx, edi
lea esi, [rdi + 0x20]
nop word [rax + rax]
lea rcx, [r14 + 0xb8]
add rcx, rbx
xor r8d, r8d
lea rdx, [0x1400deef8]
call fcn.140004940
add rbx, 8
sub rsi, 1
jne 0x14003be30
call fcn.14001d670
test dword [rax + 4], 0x200
je 0x14003be79
call fcn.14000b630
mov rcx, rax
mov edx, 0x42a
mov r8d, 0x1f4
call fcn.1400afb90
cmp dword [0x140157a5c], edi
je 0x14003bf8f
cmp dword [0x140157ca8], 0x9c47
jne 0x14003bf8f
xor eax, eax
mov qword [rbp - 9], rax
mov qword [rbp - 0x11], rdi
mov dword [rbp - 9], edi
mov qword [rbp - 1], rdi
mov dword [rbp - 0x29], edi
lea r9d, [rax + 1]
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x11]
call fcn.140026e20
test eax, eax
je 0x14003bef8
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14005c7e0
nop
mov rcx, qword [rbp - 0x11]
test rcx, rcx
je 0x14003bf8f
jmp 0x14003bf89
mov dword [rbp - 0x21], 4
lea rax, [rbp - 0x21]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x1d]
xor r8d, r8d
lea rdx, str.DisableKeyboardMute
mov rbx, qword [rbp - 0x11]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14003bf81
cmp dword [rbp - 0x1d], 4
jne 0x14003bf81
mov esi, dword [rbp - 0x29]
test rbx, rbx
je 0x14003bf47
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test esi, esi
je 0x14003bf8f
mov r9, r15
mov r8d, 0x10f2
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d_RESUME__d___enable_mute_function
call fcn.14005c7e0
call fcn.14000b630
mov rcx, rax
mov edx, 0x430
mov r8d, 0x1f4
call fcn.1400afb90
jmp 0x14003bf8f
test rbx, rbx
je 0x14003bf8f
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
cmp dword [0x14015991c], 0
jne 0x14003bfca
call fcn.140005070
test rax, rax
je 0x14003bfb6
cmp dword [rax + 4], 0xa
jne 0x14003bfb6
cmp dword [rax + 0xc], 0x5374
mov eax, 1
jae 0x14003bfb8
mov eax, edi
mov dword [0x140159918], eax
mov dword [0x14015991c], 1
jmp 0x14003bfd0
mov eax, dword [0x140159918]
test eax, eax
je 0x14003c0ca
cmp dword [0x140157ca8], 0x9c48
jne 0x14003c0ca
xor eax, eax
mov qword [rbp + 0xf], rax
mov qword [rbp + 7], rdi
mov dword [rbp + 0xf], edi
mov qword [rbp + 0x17], rdi
mov dword [rbp - 0x25], edi
lea r9d, [rax + 1]
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 7]
call fcn.140026e20
test eax, eax
je 0x14003c048
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14005c7e0
nop
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x14003c0ca
jmp 0x14003c0c4
mov dword [rbp - 0x19], 4
lea rax, [rbp - 0x19]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x25]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x15]
xor r8d, r8d
lea rdx, str.s0i3
mov rbx, qword [rbp + 7]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x14003c0bc
cmp dword [rbp - 0x15], 4
jne 0x14003c0bc
mov edi, dword [rbp - 0x25]
test rbx, rbx
je 0x14003c097
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x14003c0ca
mov r9, r15
mov r8d, 0x10fd
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d_RESUME__d___weak_up_from_s0i3
call fcn.14005c7e0
jmp 0x14003bdd9
test rbx, rbx
je 0x14003c0ca
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.1400ba610
mov rbx, qword [rsp + 0xd8]
add rsp, 0xa0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret