Function at 0x140052cb0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0x90
mov rax, qword [0x1401aa010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r12d, edx
mov edi, ecx
mov dword [rbp - 0x25], ecx
mov r8d, 0x10ee
lea rdx, str.CCustomizeHP::SetMuteForAllDevices
lea rcx, [0x14011bca8]
call fcn.140075db0
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
xor esi, esi
mov qword [rbp + 0x17], rsi
mov dword [rbp + 0x1f], esi
mov qword [rbp + 0x27], rsi
mov dword [rbp - 0x11], esi
lea r9d, [rsi + 1]
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x17]
call fcn.140035040
test eax, eax
je 0x140052d6f
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 + 0x17]
test rcx, rcx
je 0x140052df3
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x140052df3
mov dword [rbp - 0xd], 4
lea rax, [rbp - 0xd]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 9]
xor r8d, r8d
lea rdx, str.DisableKeyboardMute
mov rbx, qword [rbp + 0x17]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140052de0
cmp dword [rbp - 9], 4
jne 0x140052de0
mov edi, dword [rbp - 0x11]
test rbx, rbx
je 0x140052dbe
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x140052df0
mov r8d, 0x10f4
lea rdx, str.CCustomizeHP::SetMuteForAllDevices
lea rcx, str._s__d_mute_function_is_disable
call fcn.140075db0
jmp 0x1400532b4
test rbx, rbx
je 0x140052df3
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x140052df3
mov edi, dword [rbp - 0x25]
mov r13d, esi
mov ebx, esi
mov dword [rbp - 0x29], ebx
call fcn.140014660
mov rcx, rax
call fcn.1400aa410
call fcn.140014660
cmp dword [rax + 0x140], esi
jne 0x140052e4b
cmp dword [0x1401b2668], ebx
je 0x140052e4b
mov rax, qword [0x1401ab9a8]
test byte [rax + 0x1c], 1
jne 0x140052e32
cmp dword [0x1401b266c], ebx
je 0x140052e4b
mov r8d, 0x49
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.140075db0
call fcn.140014660
mov r15, qword [rax + 0xe0]
test r15, r15
je 0x14005320e
call fcn.140014660
call fcn.140014660
mov r14, qword [r15 + 0x10]
mov r15, qword [r15]
test r14, r14
je 0x1400531fe
cmp dword [r14 + 0x18c], 1
jne 0x1400531fe
mov rbx, qword [r14 + 0x170]
call fcn.14000cd60
mov rdx, rax
test edi, edi
je 0x140052f67
test rax, rax
je 0x1400532e1
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
mov rcx, rdx
call qword [case.0x14005eeb3.0]
add rax, 0x18
mov qword [rbp - 0x21], rax
mov rdx, rbx
lea rcx, [rbp - 0x21]
call fcn.14000c4c0
test al, al
jne 0x140052efa
test rbx, rbx
jne 0x140052ed9
mov eax, esi
jmp 0x140052eea
mov rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], 0
jne 0x140052ee0
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x21]
call fcn.14000c750
nop
mov rbx, qword [rbp - 0x21]
cmp dword [rbx - 0x10], 0
jge 0x140052f0b
mov edi, 0xffffffff
jmp 0x140052f2d
lea rdx, str.0.0.0.00000000
mov rcx, rbx
call fcn.1400fa604
mov rdi, rax
test rax, rax
jne 0x140052f27
lea edi, [rax - 1]
jmp 0x140052f2d
sub rdi, rbx
sar rdi, 1
shr edi, 0x1f
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140052f56
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
test dil, dil
jne 0x1400531fe
inc r13d
jmp 0x140053032
test rax, rax
je 0x1400532e1
mov rcx, qword [rax]
mov rax, qword [rcx + 0x18]
mov rcx, rdx
call qword [case.0x14005eeb3.0]
add rax, 0x18
mov qword [rbp - 0x19], rax
mov rdx, rbx
lea rcx, [rbp - 0x19]
call fcn.14000c4c0
test al, al
jne 0x140052fca
test rbx, rbx
jne 0x140052fa1
mov eax, esi
jmp 0x140052fba
mov rax, 0xffffffffffffffff
nop dword [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140052fb0
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x19]
call fcn.14000c750
nop
mov rbx, qword [rbp - 0x19]
cmp dword [rbx - 0x10], 0
jge 0x140052fdb
mov edi, 0xffffffff
jmp 0x140052ffd
lea rdx, str.0.0.1.00000000
mov rcx, rbx
call fcn.1400fa604
mov rdi, rax
test rax, rax
jne 0x140052ff7
lea edi, [rax - 1]
jmp 0x140052ffd
sub rdi, rbx
sar rdi, 1
shr edi, 0x1f
lea rdx, [rbx - 0x18]
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140053026
lfence
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14005eeb3.0]
test dil, dil
jne 0x1400531fe
inc dword [rbp - 0x29]
lea rcx, [r14 + 0xd0]
call fcn.1400195c0
mov rbx, rax
test rax, rax
je 0x1400530aa
mov rcx, qword [rax]
mov rax, qword [rcx + 0x10]
mov edx, r12d
mov rcx, rbx
call qword [case.0x14005eeb3.0]
mov edi, eax
mov rcx, qword [r14 + 0x10]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8d, 0x1122
lea rdx, str.CCustomizeHP::SetMuteForAllDevices
lea rcx, str._s__d_SetMute_TRUE___bSuccess___d__sEndPointId_s
call fcn.140075db0
mov dword [rsp + 0x20], edi
mov r9, rbx
mov r8d, 0x1125
lea rdx, str.CCustomizeHP::SetMuteForAllDevices
lea rcx, str._s__d_pMainLineCtrl__0x_x__bSuccess___d
call fcn.140075db0
test edi, edi
jne 0x1400531fe
jmp 0x1400530cc
mov dword [rsp + 0x20], esi
mov r9, rbx
mov r8d, 0x1125
lea rdx, str.CCustomizeHP::SetMuteForAllDevices
lea rcx, str._s__d_pMainLineCtrl__0x_x__bSuccess___d
call fcn.140075db0
mov edi, esi
mov qword [rbp + 0xf], rsi
mov qword [rbp + 7], rsi
mov qword [rbp - 1], rsi
lea rax, [rbp + 0xf]
mov qword [rsp + 0x20], rax
lea r9, [0x140120428]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x140120448]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
test eax, eax
js 0x140053199
mov rcx, qword [rbp + 0xf]
mov rax, qword [rcx]
lea r8, [rbp + 7]
mov rdx, qword [r14 + 0x10]
mov rax, qword [rax + 0x28]
call qword [case.0x14005eeb3.0]
test eax, eax
js 0x140053199
mov rcx, qword [rbp + 7]
mov rax, qword [rcx]
lea rdx, [rbp - 1]
mov qword [rsp + 0x20], rdx
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [0x140120438]
mov rax, qword [rax + 0x18]
call qword [case.0x14005eeb3.0]
test eax, eax
js 0x140053199
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
lea r8, [0x140123e70]
mov edx, r12d
mov rax, qword [rax + 0x70]
call qword [case.0x14005eeb3.0]
test eax, eax
js 0x140053199
lfence
mov edi, 1
mov rax, qword [r14 + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, r12d
mov r8d, 0x1143
lea rdx, str.CCustomizeHP::SetMuteForAllDevices
lea rcx, str._s__d_bMute_d_sEndPointId_s
call fcn.140075db0
nop
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x1400531b0
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14005eeb3.0]
nop
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x1400531c7
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14005eeb3.0]
nop
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x1400531dd
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x14005eeb3.0]
test edi, edi
jne 0x1400531fe
mov r9, qword [r14 + 0x10]
mov r8d, 0x114c
lea rdx, str.CCustomizeHP::SetMuteForAllDevices
lea rcx, str._s__d_fail_to_set_mute__sEndPointId_s
call fcn.140075db0
test r15, r15
je 0x14005320b
mov edi, dword [rbp - 0x25]
jmp 0x140052e60
mov ebx, dword [rbp - 0x29]
call fcn.140014660
mov ecx, dword [rax + 0x140]
sub ecx, 1
mov dword [rax + 0x140], ecx
jne 0x140053233
mov rcx, qword [rax + 0x150]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x140053251
cmp ecx, 0x32
jle 0x140053251
mov r8d, 0x8b
lea rdx, str.CMMPlatform::AudioDevList_Release
lea rcx, str._s__d_calling_AudioDevList_Release_isnt_matched_AudioDevList_AddRef_or_directly_return_in_EnumAudioDeviceStart_loop
call fcn.140075db0
cmp dword [rbp - 0x25], 0
je 0x14005327a
cmp dword [0x1401b2408], 0
je 0x1400532b4
test r13d, r13d
cmovne esi, r12d
mov ecx, esi
call fcn.14001ced0
test eax, eax
jne 0x1400532b4
mov r8d, 0x11a5
jmp 0x14005329a
cmp dword [0x1401b240c], 0
je 0x1400532b4
test ebx, ebx
cmovne esi, r12d
mov ecx, esi
call fcn.14001d2f0
test eax, eax
jne 0x1400532b4
mov r8d, 0x11b6
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea rdx, str.CCustomizeHP::SetMuteForAllDevices
lea rcx, str._s__d___bSuccess___d__nValue_d
call fcn.140075db0
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400f4410
lea r11, [rsp + 0x90]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000ce90
int3