Function at 0x14003b530
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xa0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140150010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r12d, edx
mov edi, ecx
mov dword [rbp - 0x35], ecx
mov r8d, 0xff8
lea rdx, str.CCustomizeHP::SetMuteForAllDevices
lea rcx, [0x1400deb00]
call fcn.14005c7e0
xor eax, eax
mov qword [rbp + 0x1f], rax
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, [rax + 1]
lea r8, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x17]
call fcn.140026e20
test eax, eax
je 0x14003b5f5
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 + 0x17]
test rcx, rcx
je 0x14003b67c
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x14003b67c
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 0x14003b669
cmp dword [rbp - 9], 4
jne 0x14003b669
mov edi, dword [rbp - 0x11]
mov dword [rbp - 0x21], edi
test rbx, rbx
je 0x14003b647
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x14003b679
mov r8d, 0xffe
lea rdx, str.CCustomizeHP::SetMuteForAllDevices
lea rcx, str._s__d_mute_function_is_disable
call fcn.14005c7e0
jmp 0x14003ba96
test rbx, rbx
je 0x14003b67c
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x14003b67c
mov edi, dword [rbp - 0x35]
mov r13d, esi
mov ebx, esi
mov dword [rbp - 0x39], ebx
call fcn.14000b4c0
mov rcx, rax
call fcn.14008b0b0
call fcn.14000b4c0
mov rcx, rax
call fcn.14008b050
mov r15, rax
test rax, rax
je 0x14003b9f0
nop word [rax + rax]
call fcn.14000b4c0
call fcn.14000b4c0
test r15, r15
je 0x14003bac3
mov r14, qword [r15 + 0x10]
mov r15, qword [r15]
test r14, r14
je 0x14003b9e0
cmp dword [r14 + 0x184], 1
jne 0x14003b9e0
mov rbx, qword [r14 + 0x168]
call fcn.140004f00
test edi, edi
je 0x14003b7ad
test rax, rax
je 0x14003bace
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x31], rax
mov rdx, rbx
lea rcx, [rbp - 0x31]
call fcn.1400046a0
test al, al
jne 0x14003b74a
test rbx, rbx
jne 0x14003b728
mov eax, esi
jmp 0x14003b73a
mov rax, 0xffffffffffffffff
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x14003b730
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x31]
call fcn.140004940
nop
mov rbx, qword [rbp - 0x31]
cmp dword [rbx - 0x10], 0
jge 0x14003b75b
mov edi, 0xffffffff
jmp 0x14003b77d
lea rdx, str.0.0.0.00000000
mov rcx, rbx
call fcn.1400c08b0
mov rdi, rax
test rax, rax
jne 0x14003b777
lea edi, [rax - 1]
jmp 0x14003b77d
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 0x14003b79c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
jne 0x14003b9e0
inc r13d
jmp 0x14003b868
test rax, rax
je 0x14003bad9
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x29], rax
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.1400046a0
test al, al
jne 0x14003b80a
test rbx, rbx
jne 0x14003b7e0
mov eax, esi
jmp 0x14003b7fa
mov rax, 0xffffffffffffffff
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14003b7f0
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.140004940
nop
mov rbx, qword [rbp - 0x29]
cmp dword [rbx - 0x10], 0
jge 0x14003b81b
mov edi, 0xffffffff
jmp 0x14003b83d
lea rdx, str.0.0.1.00000000
mov rcx, rbx
call fcn.1400c08b0
mov rdi, rax
test rax, rax
jne 0x14003b837
lea edi, [rax - 1]
jmp 0x14003b83d
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 0x14003b85c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
jne 0x14003b9e0
inc dword [rbp - 0x39]
lea rcx, [r14 + 0xc8]
call fcn.1400101c0
mov rbx, rax
mov edi, esi
test rax, rax
je 0x14003b8b2
mov r8, qword [rax]
mov edx, r12d
mov rcx, rax
call qword [r8 + 0x10]
mov edi, eax
mov rcx, qword [r14 + 0x10]
mov qword [rsp + 0x20], rcx
mov r9d, eax
mov r8d, 0x102c
lea rdx, str.CCustomizeHP::SetMuteForAllDevices
lea rcx, str._s__d_SetMute_TRUE___bSuccess___d__sEndPointId_s
call fcn.14005c7e0
mov dword [rsp + 0x20], edi
mov r9, rbx
mov r8d, 0x102f
lea rdx, str.CCustomizeHP::SetMuteForAllDevices
lea rcx, str._s__d_pMainLineCtrl__0x_x__bSuccess___d
call fcn.14005c7e0
test rbx, rbx
je 0x14003b8df
test edi, edi
jne 0x14003b9e0
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, [0x1400e2558]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x1400e2578]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
test eax, eax
js 0x14003b990
mov rcx, qword [rbp + 0xf]
mov rax, qword [rcx]
lea r8, [rbp + 7]
mov rdx, qword [r14 + 0x10]
call qword [rax + 0x28]
test eax, eax
js 0x14003b990
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, [0x1400e2568]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
js 0x14003b990
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
lea r8, [0x1400e5218]
mov edx, r12d
call qword [rax + 0x70]
test eax, eax
js 0x14003b990
mov edi, 1
mov rax, qword [r14 + 0x10]
mov qword [rsp + 0x20], rax
mov r9d, r12d
mov r8d, 0x104d
lea rdx, str.CCustomizeHP::SetMuteForAllDevices
lea rcx, str._s__d_bMute_d_sEndPointId_s
call fcn.14005c7e0
nop
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x14003b9a0
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x14003b9b0
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x14003b9bf
mov rax, qword [rcx]
call qword [rax + 0x10]
test edi, edi
jne 0x14003b9e0
mov r9, qword [r14 + 0x10]
mov r8d, 0x1056
lea rdx, str.CCustomizeHP::SetMuteForAllDevices
lea rcx, str._s__d_fail_to_set_mute__sEndPointId_s
call fcn.14005c7e0
test r15, r15
je 0x14003b9ed
mov edi, dword [rbp - 0x35]
jmp 0x14003b6b0
mov ebx, dword [rbp - 0x39]
call fcn.14000b4c0
mov ecx, dword [rax + 0x140]
sub ecx, 1
mov dword [rax + 0x140], ecx
jne 0x14003ba15
mov rcx, qword [rax + 0x150]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x14003ba33
cmp ecx, 0x32
jle 0x14003ba33
mov r8d, 0x80
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.14005c7e0
cmp dword [rbp - 0x35], 0
je 0x14003ba5c
cmp dword [0x140157a5c], 0
je 0x14003ba96
test r13d, r13d
cmovne esi, r12d
mov ecx, esi
call fcn.1400137f0
test eax, eax
jne 0x14003ba96
mov r8d, 0x10af
jmp 0x14003ba7c
cmp dword [0x140157a60], 0
je 0x14003ba96
test ebx, ebx
cmovne esi, r12d
mov ecx, esi
call fcn.140013b60
test eax, eax
jne 0x14003ba96
mov r8d, 0x10c0
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea rdx, str.CCustomizeHP::SetMuteForAllDevices
lea rcx, str._s__d___bSuccess___d__nValue_d
call fcn.14005c7e0
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400ba610
lea r11, [rsp + 0xa0]
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.140005030
int3
mov ecx, 0x80004005
call fcn.140005030
int3
mov ecx, 0x80004005
call fcn.140005030
int3