Function at 0x140033e00
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 [0x14011f010]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov r12d, edx
mov ebx, ecx
mov dword [rbp - 0x35], ecx
mov r8d, 0xd9f
lea rdx, str.CCustomizeHP::SetMuteForAllDevices
lea rcx, [0x1400c4050]
call fcn.14004c3d0
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.140021cb0
test eax, eax
je 0x140033ec5
lea r9, str.SOFTWARERealtekAudioRtkAudUServiceOthers
mov r8d, eax
lea rdx, str.CRegClient::GetRegUI4Property
lea rcx, str._s_nRet_d_szRegKey_s
call fcn.14004c3d0
nop
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x140033f4a
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
jmp 0x140033f4a
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 0x140033f39
cmp dword [rbp - 9], 4
jne 0x140033f39
mov edi, dword [rbp - 0x11]
mov dword [rbp - 0x21], edi
test rbx, rbx
je 0x140033f17
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
je 0x140033f47
mov r8d, 0xda5
lea rdx, str.CCustomizeHP::SetMuteForAllDevices
lea rcx, str._s__d_mute_function_is_disable
call fcn.14004c3d0
jmp 0x140034353
test rbx, rbx
je 0x140033f47
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov ebx, dword [rbp - 0x35]
mov r13d, esi
mov edi, esi
mov dword [rbp - 0x39], esi
call fcn.14000adc0
mov rcx, rax
call fcn.140077520
call fcn.14000adc0
cmp dword [rax + 0x138], esi
jne 0x140033fa2
cmp dword [0x140125c9c], esi
je 0x140033fa2
cmp dword [0x140125c98], esi
jne 0x140033f89
mov rax, qword [0x14011faa0]
test byte [rax + 0x1c], 1
je 0x140033fa2
mov r8d, 0x3c
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.14004c3d0
call fcn.14000adc0
mov r15, qword [rax + 0xd8]
test r15, r15
je 0x1400342ad
call fcn.14000adc0
call fcn.14000adc0
test r15, r15
je 0x140034380
mov r14, qword [r15 + 0x10]
mov r15, qword [r15]
test r14, r14
je 0x1400342a0
cmp dword [r14 + 0x18c], 1
jne 0x1400342a0
test ebx, ebx
mov rbx, qword [r14 + 0x170]
je 0x1400340b6
call fcn.140004540
test rax, rax
je 0x14003438b
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.140003d00
test al, al
jne 0x140034050
test rbx, rbx
jne 0x14003402f
mov eax, esi
jmp 0x140034040
mov rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], 0
jne 0x140034036
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x31]
call fcn.140003f80
nop
mov rbx, qword [rbp - 0x31]
cmp dword [rbx - 0x10], 0
jge 0x140034061
mov edi, 0xffffffff
jmp 0x140034083
lea rdx, str.0.0.0.00000000
mov rcx, rbx
call fcn.1400aa2c0
mov rdi, rax
test rax, rax
jne 0x14003407d
lea edi, [rax - 1]
jmp 0x140034083
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 0x1400340a2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
mov edi, dword [rbp - 0x39]
jne 0x1400342a0
inc r13d
jmp 0x140034172
call fcn.140004540
test rax, rax
je 0x140034396
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.140003d00
test al, al
jne 0x14003410f
test rbx, rbx
jne 0x1400340ee
mov eax, esi
jmp 0x1400340ff
mov rax, 0xffffffffffffffff
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400340f5
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x29]
call fcn.140003f80
nop
mov rbx, qword [rbp - 0x29]
cmp dword [rbx - 0x10], 0
jge 0x140034120
mov edi, 0xffffffff
jmp 0x140034142
lea rdx, str.0.0.1.00000000
mov rcx, rbx
call fcn.1400aa2c0
mov rdi, rax
test rax, rax
jne 0x14003413c
lea edi, [rax - 1]
jmp 0x140034142
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 0x140034161
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test dil, dil
mov edi, dword [rbp - 0x39]
jne 0x1400342a0
inc edi
mov dword [rbp - 0x39], edi
lea rcx, [r14 + 0xc8]
call fcn.14000f590
mov ebx, esi
test rax, rax
je 0x1400341b0
mov r8, qword [rax]
mov edx, r12d
mov rcx, rax
call qword [r8 + 0x10]
mov ebx, eax
mov r8, qword [r14 + 0x10]
lea rdx, str.CCustomizeHP::SetMuteForAllDevices
lea rcx, str._s_SetMute_TRUE__sEndPointId_s
call fcn.14004c3d0
jmp 0x140034285
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, [0x1400c7798]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x1400c77b8]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
test eax, eax
js 0x140034256
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 0x140034256
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, [0x1400c77a8]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
js 0x140034256
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
lea r8, [0x1400c94e0]
mov edx, r12d
call qword [rax + 0x70]
test eax, eax
js 0x140034256
mov ebx, 1
mov r9, qword [r14 + 0x10]
mov r8d, r12d
lea rdx, str.CCustomizeHP::SetMuteForAllDevices
lea rcx, str._s_bMute_d_sEndPointId_s
call fcn.14004c3d0
nop
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x140034266
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp + 7]
test rcx, rcx
je 0x140034276
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rbp + 0xf]
test rcx, rcx
je 0x140034285
mov rax, qword [rcx]
call qword [rax + 0x10]
test ebx, ebx
jne 0x1400342a0
mov r8, qword [r14 + 0x10]
lea rdx, str.CCustomizeHP::SetMuteForAllDevices
lea rcx, str._s_fail_to_set_mute__sEndPointId_s
call fcn.14004c3d0
test r15, r15
je 0x1400342ad
mov ebx, dword [rbp - 0x35]
jmp 0x140033fb7
call fcn.14000adc0
mov ecx, dword [rax + 0x138]
sub ecx, 1
mov dword [rax + 0x138], ecx
jne 0x1400342d2
mov rcx, qword [rax + 0x148]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x1400342f0
cmp ecx, 0x32
jle 0x1400342f0
mov r8d, 0x82
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.14004c3d0
cmp dword [rbp - 0x35], 0
je 0x140034319
cmp dword [0x140125a0c], 0
je 0x140034353
test r13d, r13d
cmovne esi, r12d
mov ecx, esi
call fcn.1400127a0
test eax, eax
jne 0x140034353
mov r8d, 0xe54
jmp 0x140034339
cmp dword [0x140125a10], 0
je 0x140034353
test edi, edi
cmovne esi, r12d
mov ecx, esi
call fcn.140012a00
test eax, eax
jne 0x140034353
mov r8d, 0xe65
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea rdx, str.CCustomizeHP::SetMuteForAllDevices
lea rcx, str._s__d___bSuccess___d__nValue_d
call fcn.14004c3d0
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1400a4020
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.140004670
int3
mov ecx, 0x80004005
call fcn.140004670
int3
mov ecx, 0x80004005
call fcn.140004670
int3