Function at 0x1400532f0
Capabilities:
Query or enumerate registry value

Disassembly:
cmp r8d, 0x218
jne 0x140053aa7
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x2f]
sub rsp, 0xd0
mov rax, qword [0x1401aa010]
xor rax, rsp
mov qword [rbp + 0x27], rax
mov r15, r9
mov r14, rcx
mov rbx, qword [rbp + 0x7f]
mov qword [rsp + 0x20], r9
mov r9d, r8d
mov r8d, 0x11c0
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d___uMsg___d__wParam___d
call fcn.140075db0
mov rax, r15
sub rax, 6
je 0x1400537d0
sub rax, 1
je 0x1400537d0
sub rax, 0xb
je 0x1400537d0
cmp rax, 0x8001
jne 0x140053a85
mov r8d, 0x11fa
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d___uMsg__WM_POWERBROADCAST__wParam__PBT_POWERSETTINGCHANGE
call fcn.140075db0
mov qword [0x1401b2400], rbx
test rbx, rbx
je 0x1400537b2
mov rdx, rbx
lea rcx, [rbp - 0x71]
call fcn.14006a160
nop
mov rdx, qword [0x1401b2400]
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, 0x1201
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d_GUID___s__Length___d__Data___d
call fcn.140075db0
nop
mov rdx, qword [rbp - 0x71]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14005340f
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
mov rcx, qword [0x1401b2400]
mov rax, qword [rcx]
cmp rax, qword [0x14010d870]
jne 0x140053a85
mov rax, qword [rcx + 8]
cmp rax, qword [0x14010d878]
jne 0x140053a85
mov ebx, dword [rcx + 0x14]
mov r9d, ebx
mov r8d, 0x1206
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d_GUID_CONSOLE_DISPLAY_STATE__dwConsoleDisplayState___d
call fcn.140075db0
test ebx, ebx
jne 0x140053542
cmp dword [0x1401b2408], ebx
je 0x1400534a9
cmp dword [0x1401b264c], 0x9c47
jne 0x1400534a9
mov r8d, 0x120c
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d_GUID_CONSOLE_DISPLAY_STATE__disbale_mute_function
call fcn.140075db0
lea r9d, [rbx + 1]
lea r8, str.DisableKeyboardMute
lea rdx, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rcx, 0xffffffff80000002
call fcn.1400986f0
cmp dword [0x1401bb1d4], 0
jne 0x1400534e6
call fcn.14000ced0
test rax, rax
je 0x1400534d2
cmp dword [rax + 4], 0xa
jne 0x1400534d2
cmp dword [rax + 0xc], 0x5374
jb 0x1400534d2
mov ebx, 1
jmp 0x1400534d4
xor ebx, ebx
mov dword [0x1401bb1d0], ebx
mov dword [0x1401bb1d4], 1
jmp 0x1400534ec
mov ebx, dword [0x1401bb1d0]
test ebx, ebx
je 0x140053a85
cmp dword [0x1401b264c], 0x9c48
jne 0x140053a85
mov r8d, 0x1212
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d_GUID_CONSOLE_DISPLAY_STATE__enter_s0i3
call fcn.140075db0
mov r9d, 1
lea r8, str.s0i3
lea rdx, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rcx, 0xffffffff80000002
call fcn.1400986f0
jmp 0x140053a85
cmp ebx, 1
jne 0x140053a85
xor ebx, ebx
cmp dword [0x1401b2408], ebx
je 0x140053661
cmp dword [0x1401b264c], 0x9c47
jne 0x140053661
xorps xmm0, xmm0
movups xmmword [rbp - 0x39], xmm0
mov qword [rbp - 0x39], rbx
mov dword [rbp - 0x31], ebx
mov qword [rbp - 0x29], rbx
mov dword [rbp - 0x69], ebx
lea r9d, [rbx + 1]
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x39]
call fcn.140035040
test eax, eax
je 0x1400535cd
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140075db0
nop
mov rcx, qword [rbp - 0x39]
test rcx, rcx
je 0x140053661
jmp 0x14005365b
mov dword [rbp - 0x59], 4
lea rax, [rbp - 0x59]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x69]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x55]
xor r8d, r8d
lea rdx, str.DisableKeyboardMute
mov rdi, qword [rbp - 0x39]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140053653
cmp dword [rbp - 0x55], 4
jne 0x140053653
mov esi, dword [rbp - 0x69]
test rdi, rdi
je 0x14005361c
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test esi, esi
je 0x140053661
mov r8d, 0x121e
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d_GUID_CONSOLE_DISPLAY_STATE__enable_mute_function
call fcn.140075db0
call fcn.1400147e0
mov rcx, rax
mov edx, 0x430
mov r8d, 0x1f4
call fcn.1400e8700
jmp 0x140053661
test rdi, rdi
je 0x140053661
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
cmp dword [0x1401bb1d4], 0
jne 0x14005369c
call fcn.14000ced0
test rax, rax
je 0x140053688
cmp dword [rax + 4], 0xa
jne 0x140053688
cmp dword [rax + 0xc], 0x5374
mov eax, 1
jae 0x14005368a
mov eax, ebx
mov dword [0x1401bb1d0], eax
mov dword [0x1401bb1d4], 1
jmp 0x1400536a2
mov eax, dword [0x1401bb1d0]
test eax, eax
je 0x140053a85
cmp dword [0x1401b264c], 0x9c48
jne 0x140053a85
xorps xmm0, xmm0
movups xmmword [rbp - 0x21], xmm0
mov qword [rbp - 0x21], rbx
mov dword [rbp - 0x19], ebx
mov qword [rbp - 0x11], rbx
mov dword [rbp - 0x65], ebx
mov r9d, 1
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x21]
call fcn.140035040
test eax, eax
je 0x140053720
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140075db0
nop
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x140053a85
jmp 0x140053a7f
mov dword [rbp - 0x51], 4
lea rax, [rbp - 0x51]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x65]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x4d]
xor r8d, r8d
lea rdx, str.s0i3
mov rbx, qword [rbp - 0x21]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x1400537ad
cmp dword [rbp - 0x4d], 4
jne 0x1400537ad
mov edi, dword [rbp - 0x65]
test rbx, rbx
je 0x14005376f
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x140053a85
mov r8d, 0x1229
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d_GUID_CONSOLE_DISPLAY_STATE__weak_up_from_s0i3
call fcn.140075db0
call fcn.1400147e0
mov rcx, rax
mov edx, 0x43d
mov r8d, 0x1f4
call fcn.1400e8700
jmp 0x140053a85
jmp 0x140053a77
mov r8d, 0x1232
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d_lParam_is_NULL
call fcn.140075db0
jmp 0x140053a85
mov dword [r14 + 0xb4], 1
xor ebx, ebx
mov edi, ebx
lea esi, [rbx + 0x20]
lea rcx, [r14 + 0xb8]
add rcx, rdi
xor r8d, r8d
lea rdx, [0x14011c160]
call fcn.14000c750
add rdi, 8
sub rsi, 1
jne 0x1400537e2
call fcn.1400143d0
test dword [rax + 4], 0x200
je 0x14005382b
call fcn.1400147e0
mov rcx, rax
mov edx, 0x42a
mov r8d, 0x1f4
call fcn.1400e8700
cmp dword [0x1401b2408], ebx
je 0x140053944
cmp dword [0x1401b264c], 0x9c47
jne 0x140053944
xorps xmm0, xmm0
movups xmmword [rbp - 9], xmm0
mov qword [rbp - 9], rbx
mov dword [rbp - 1], ebx
mov qword [rbp + 7], rbx
mov dword [rbp - 0x61], ebx
mov r9d, 1
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 9]
call fcn.140035040
test eax, eax
je 0x1400538ad
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140075db0
nop
mov rcx, qword [rbp - 9]
test rcx, rcx
je 0x140053944
jmp 0x14005393e
mov dword [rbp - 0x49], 4
lea rax, [rbp - 0x49]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x61]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x45]
xor r8d, r8d
lea rdx, str.DisableKeyboardMute
mov rdi, qword [rbp - 9]
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140053936
cmp dword [rbp - 0x45], 4
jne 0x140053936
mov esi, dword [rbp - 0x61]
test rdi, rdi
je 0x1400538fc
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test esi, esi
je 0x140053944
mov r9, r15
mov r8d, 0x11e8
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d_RESUME__d___enable_mute_function
call fcn.140075db0
call fcn.1400147e0
mov rcx, rax
mov edx, 0x430
mov r8d, 0x1f4
call fcn.1400e8700
jmp 0x140053944
test rdi, rdi
je 0x140053944
mov rcx, rdi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
cmp dword [0x1401bb1d4], 0
jne 0x14005397f
call fcn.14000ced0
test rax, rax
je 0x14005396b
cmp dword [rax + 4], 0xa
jne 0x14005396b
cmp dword [rax + 0xc], 0x5374
mov eax, 1
jae 0x14005396d
mov eax, ebx
mov dword [0x1401bb1d0], eax
mov dword [0x1401bb1d4], 1
jmp 0x140053985
mov eax, dword [0x1401bb1d0]
test eax, eax
je 0x140053a85
cmp dword [0x1401b264c], 0x9c48
jne 0x140053a85
xorps xmm0, xmm0
movups xmmword [rbp + 0xf], xmm0
mov qword [rbp + 0xf], rbx
mov dword [rbp + 0x17], ebx
mov qword [rbp + 0x1f], rbx
mov dword [rbp - 0x5d], ebx
mov r9d, 1
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0xf]
call fcn.140035040
test eax, eax
je 0x140053a03
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.140075db0
nop
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x140053a85
jmp 0x140053a7f
mov dword [rbp - 0x41], 4
lea rax, [rbp - 0x41]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x5d]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x3d]
xor r8d, r8d
lea rdx, str.s0i3
mov rbx, qword [rbp + 0xf]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140053a77
cmp dword [rbp - 0x3d], 4
jne 0x140053a77
mov edi, dword [rbp - 0x5d]
test rbx, rbx
je 0x140053a52
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x140053a85
mov r9, r15
mov r8d, 0x11f3
lea rdx, str.CCustomizeHP::OnWindowsPowerMessage
lea rcx, str._s__d_RESUME__d___weak_up_from_s0i3
call fcn.140075db0
jmp 0x140053790
test rbx, rbx
je 0x140053a85
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400f4410
mov rbx, qword [rsp + 0x108]
add rsp, 0xd0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret