Function at 0x14001f900
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rbp - 0x80], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
movaps xmmword [rax - 0x78], xmm10
movaps xmmword [rax - 0x88], xmm11
movaps xmmword [rax - 0x98], xmm12
mov rax, qword [0x1400d6010]
xor rax, rsp
mov qword [rbp + 8], rax
xor r13d, r13d
mov dword [rsp + 0x30], r13d
call fcn.1400099e0
mov rbx, rax
or edx, 0xffffffff
mov rcx, qword [rax + 0x140]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_WaitForSingleObject]
inc dword [rbx + 0x138]
call fcn.1400099e0
cmp dword [rax + 0x138], r13d
jne 0x14001f9cd
cmp dword [0x1400da6dc], r13d
je 0x14001f9cd
cmp dword [0x1400da710], r13d
jne 0x14001f9b4
mov rax, qword [0x1400d63b8]
test byte [rax + 0x1c], 1
je 0x14001f9cd
mov r8d, 0x39
lea rdx, str.CMMPlatform::AudioDevList_GetHeadPosition
lea rcx, str._s__d_please_call_AudioDevList_AddRef_before_AudioDevList_GetHeadPosition
call fcn.140032320
call fcn.1400099e0
mov r12, qword [rax + 0xd8]
test r12, r12
je 0x1400202e6
movss xmm9, dword [0x1400b25e0]
movss xmm10, dword [0x1400b2648]
movss xmm8, dword [0x1400b260c]
movss xmm12, dword [0x1400b2608]
movss xmm7, dword [0x1400b2588]
movss xmm11, dword [0x1400b261c]
call fcn.1400099e0
call fcn.1400099e0
test r12, r12
je 0x1400202db
mov rdi, qword [r12 + 0x10]
mov r12, qword [r12]
test rdi, rdi
je 0x14001fb92
cmp dword [rdi + 0x16c], 0
je 0x14001fb92
lea rcx, [rdi + 0xd0]
call fcn.14000d7a0
mov rbx, rax
test rax, rax
je 0x14001fb92
call fcn.140009750
test dword [rax + 0xac], 0x100
je 0x14001fabf
mov r8, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [r8 + 0x10]
mov r9, qword [rdi + 0x10]
mov r8d, 0xad2
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s__d__s_IntelDMIC_SetMute_FALSE_
call fcn.140032320
call fcn.140009750
cmp dword [rax + 0x22c], 0x33
jne 0x14001fb92
mov rax, qword [rbx]
movaps xmm1, xmm9
mov rcx, rbx
call qword [rax + 0x78]
jmp 0x14001fb92
movaps xmm6, xmm10
mov dword [rsp + 0x40], r13d
mov esi, r13d
mov dword [rsp + 0x34], r13d
xor r9d, r9d
lea r8, [rsp + 0x40]
lea rdx, [0x140092290]
mov rcx, rdi
call fcn.140002db0
test eax, eax
je 0x14001fb10
xor r9d, r9d
lea r8, [rsp + 0x34]
lea rdx, [0x1400922c0]
mov rcx, rdi
call fcn.140002db0
mov esi, dword [rsp + 0x34]
test eax, eax
mov r14d, 1
jne 0x14001fb13
mov r14d, r13d
mov dword [rsp + 0x28], esi
mov r15d, dword [rsp + 0x40]
mov dword [rsp + 0x20], r15d
mov r9d, r14d
mov r8d, 0xae5
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s__d_bSuccess_d_RtkApoVolCustomize_d_RtkApoVolCustomize_1_d
call fcn.140032320
test r14d, r14d
je 0x14001fb51
cmp r15d, 1
jne 0x14001fb51
cmp esi, r15d
jne 0x14001fb51
movaps xmm6, xmm8
mov rax, qword [rbx]
movaps xmm1, xmm6
mov rcx, rbx
call qword [rax + 0x78]
mov rax, qword [rbx]
xor edx, edx
mov rcx, rbx
call qword [rax + 0x10]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm6
movsd qword [rsp + 0x20], xmm0
mov r9, qword [rdi + 0x10]
mov r8d, 0xaee
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s__d__s_IntelDMIC_SetDBLevel__f__SetMute_FALSE_
call fcn.140032320
cmp dword [rdi + 0x180], 4
jne 0x14001fe16
mov rcx, qword [rdi + 0x120]
cmp dword [rcx - 0x10], 0
jl 0x14001fbcb
lea rdx, str.VEN_1002
call fcn.140080c48
test rax, rax
je 0x14001fbcb
sub rax, qword [rdi + 0x120]
sar rax, 1
test eax, eax
jns 0x14001fc03
mov rcx, qword [rdi + 0x120]
cmp dword [rcx - 0x10], 0
jl 0x14001fe16
lea rdx, [0x14009ace8]
call fcn.140080c48
test rax, rax
je 0x14001fe16
sub rax, qword [rdi + 0x120]
sar rax, 1
test eax, eax
js 0x14001fe16
cmp dword [rdi + 0x15c], 0
jne 0x14001fe16
mov dword [rbp - 0x48], r13d
movaps xmm6, xmm12
lea rcx, [rdi + 0xd0]
call fcn.14000d7a0
mov r14, rax
xor r9d, r9d
lea r8, [rbp - 0x48]
lea rdx, [0x1400922a8]
lea rcx, [rdi + 0x10]
call fcn.140002ef0
test eax, eax
jne 0x14001fdad
mov qword [rbp - 0x50], r13
mov dword [rbp - 0x40], 3
mov dword [rbp - 0x44], 4
mov rcx, qword [rdi + 0x120]
sub rcx, 0x18
call fcn.140005340
lea rbx, [rax + 0x18]
mov qword [rbp - 0x30], rbx
cmp dword [rbx - 0x10], 0
jl 0x14001fccf
lea rdx, [0x14009ace4]
mov rcx, rbx
call fcn.140080c48
test rax, rax
je 0x14001fccf
sub rax, rbx
sar rax, 1
test eax, eax
js 0x14001fccf
cmp dword [rbx - 0x10], 0
jge 0x14001fc9f
or eax, 0xffffffff
jmp 0x14001fcbe
lea rdx, [0x14009ace4]
mov rcx, rbx
call fcn.140080c48
test rax, rax
jne 0x14001fcb8
or eax, 0xffffffff
jmp 0x14001fcbe
sub rax, rbx
sar rax, 1
lea r8d, [rax + 1]
lea rcx, [rbp - 0x30]
call fcn.140021dd0
mov rbx, qword [rbp - 0x30]
xor eax, eax
mov qword [rbp - 0x38], rax
lea rcx, [rbx - 0x18]
call fcn.140005340
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, [rsp + 0x50]
lea rcx, [rbp - 0x38]
call fcn.140058560
nop
lea rax, [rbp - 0x50]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rbp - 0x38]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x14001fd73
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14001fd73
lea rax, [rbp - 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x40]
xor r8d, r8d
lea rdx, str.DefaultCustomVolume
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov dword [rsp + 0x20], r13d
xor r9d, r9d
mov r8d, dword [rbp - 0x48]
lea rdx, [0x1400922a8]
lea rcx, [rdi + 0x10]
call fcn.140003150
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001fd92
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
or eax, 0xffffffff
lock xadd dword [rbx - 8], eax
sub eax, 1
jg 0x14001fdad
mov rcx, qword [rbx - 0x18]
mov rax, qword [rcx]
lea rdx, [rbx - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, dword [rbp - 0x48]
test eax, eax
je 0x14001fdbf
movd xmm6, eax
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm7
movups xmm0, xmmword [0x140097078]
movaps xmmword [rbp - 0x70], xmm0
mov rax, qword [r14]
lea r8, [rbp - 0x70]
movaps xmm1, xmm6
mov rcx, r14
call qword [rax + 0x30]
mov rax, qword [r14]
xor edx, edx
mov rcx, r14
call qword [rax + 0x10]
xorps xmm0, xmm0
cvtss2sd xmm0, xmm6
mov eax, dword [rbp - 0x48]
mov dword [rsp + 0x28], eax
movsd qword [rsp + 0x20], xmm0
mov r9, qword [rdi + 0x10]
mov r8d, 0xb21
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s__d__s_IntelDMIC_SetDBLevel__f__SetMute_FALSE__DrvDefVol_x
call fcn.140032320
call fcn.140009750
test dword [rax + 0xac], 0x100
je 0x14001fe7c
cmp dword [rdi + 0x150], 0
jne 0x14001fe7c
cmp dword [rdi + 0x158], 0
jne 0x14001fe7c
cmp dword [rdi + 0x154], 0
jne 0x14001fe7c
lea rcx, [rdi + 0xd0]
call fcn.14000d7a0
test rax, rax
je 0x14001fe7c
mov r8, qword [rax]
xor edx, edx
mov rcx, rax
call qword [r8 + 0x10]
mov r9, qword [rdi + 0x10]
mov r8d, 0xb2e
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s__d__s_non_Realtek_device_SetMute_FALSE_
call fcn.140032320
mov rcx, qword [rdi + 0x120]
cmp dword [rcx - 0x10], 0
jl 0x14002001d
lea rdx, str.VID_03F0PID_0567
call fcn.140080c48
test rax, rax
je 0x14002001d
sub rax, qword [rdi + 0x120]
sar rax, 1
test eax, eax
js 0x14002001d
mov rax, qword [rdi + 0x118]
test rax, rax
je 0x14002001d
mov r15, qword [rax]
test r15, r15
je 0x14002001d
mov rsi, qword [r15 + 0x10]
mov r15, qword [r15]
test rsi, rsi
je 0x140020014
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.140040f90
mov rbx, rax
lea rdx, [rsp + 0x58]
mov rcx, rsi
call fcn.140041010
nop
mov rcx, qword [rbx]
mov qword [rsp + 0x20], rcx
mov r9, qword [rax]
mov r8d, 0xb3d
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s__d___Endpoint_ID___s__Line_Name___s
call fcn.140032320
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001ff43
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x60]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001ff62
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
call fcn.140009750
test dword [rax + 0xac], 0x100
je 0x14001ffb7
lea rcx, [rdi + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_EnterCriticalSection]
cmp dword [rdi + 0x58], 0
jne 0x14001ff8b
mov rcx, rdi
call fcn.1400118d0
lea rcx, [rdi + 0x20]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_LeaveCriticalSection]
cmp dword [rdi + 0x8c], 0
jne 0x14001ffb7
call fcn.140009750
cmp dword [rax + 0x22c], 0x33
je 0x14001ffb7
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x50]
jmp 0x140020014
cmp dword [rdi + 0x180], 1
jne 0x140020008
mov r9d, 1
lea r8, [rsp + 0x48]
lea rdx, [0x1400923f8]
mov rcx, rdi
call fcn.140002db0
mov ebx, eax
mov r14d, dword [rsp + 0x48]
mov r9d, r14d
mov r8d, eax
lea rdx, str.CAudioDevice::IsInHeadphonesMode
lea rcx, str._s_bSuccess_d_dwHpMode_d
call fcn.140032320
test ebx, ebx
je 0x140020008
test r14d, r14d
mov edx, 1
jne 0x14002000b
mov edx, r13d
mov rax, qword [rsi]
mov rcx, rsi
call qword [rax + 0x48]
test r15, r15
jne 0x14001fed0
lea rcx, [rdi + 0xd0]
call fcn.14000d7a0
mov rsi, rax
test rax, rax
je 0x1400202d1
call fcn.140009750
test dword [rax + 0x17c], 0x2000
je 0x1400202d1
cmp dword [rsi + 0x108], 1
jne 0x140020106
cmp dword [rsi + 0x104], 0xffffffff
jne 0x140020106
cmp dword [rdi + 0x180], 1
jne 0x140020106
movups xmm0, xmmword [0x1400922a8]
movups xmmword [rbp - 0x28], xmm0
mov dword [rbp - 0x18], 1
mov dword [rsp + 0x44], r13d
mov rdx, qword [rdi + 0x148]
lea rcx, [rsp + 0x68]
call fcn.1400052a0
nop
xor r9d, r9d
lea r8, [rsp + 0x44]
lea rdx, [rbp - 0x28]
mov rcx, rax
call fcn.140002ef0
mov ebx, eax
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x1400200d0
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
test ebx, ebx
je 0x140020106
mov rax, qword [rsi]
mov edx, r13d
mov ebx, dword [rsp + 0x44]
test ebx, ebx
setne dl
mov rcx, rsi
call qword [rax + 0x10]
mov r9d, ebx
mov r8, qword [rdi + 0x148]
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s_EpId_s_SetMute_d
call fcn.140032320
cmp dword [rsi + 0x114], 1
jne 0x1400202d1
cmp dword [rsi + 0x110], 0xffffffff
jne 0x1400202d1
cmp dword [rdi + 0x180], 1
jne 0x1400202d1
movups xmm0, xmmword [0x1400922a8]
movups xmmword [rbp - 0x10], xmm0
mov dword [rbp], r13d
mov dword [rsp + 0x3c], r13d
mov rdx, qword [rdi + 0x148]
lea rcx, [rsp + 0x70]
call fcn.1400052a0
nop
xor r9d, r9d
lea r8, [rsp + 0x3c]
lea rdx, [rbp - 0x10]
mov rcx, rax
call fcn.140002ef0
mov ebx, eax
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
or ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140020189
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
test ebx, ebx
je 0x1400202d1
mov dword [rbp - 0x3c], r13d
mov rax, qword [rsi]
lea rdx, [rbp - 0x3c]
mov rcx, rsi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
je 0x1400202d1
movd xmm6, dword [rsp + 0x3c]
cvtdq2ps xmm6, xmm6
mulss xmm6, xmm7
mov rcx, rdi
call fcn.14000c9b0
test eax, eax
je 0x14002028a
mov dword [rsp + 0x38], r13d
lea r9, [rsp + 0x38]
lea r8, str.PbDefaultVol_Hp
lea rdx, str.SOFTWARERealtekRealtekEffectsDriver
mov rcx, 0xffffffff80000002
call fcn.14004d820
test eax, eax
jne 0x140020229
lea rcx, [rsp + 0x78]
call fcn.140057f90
nop
mov ebx, dword [rsp + 0x30]
or ebx, 1
mov dword [rsp + 0x30], ebx
lea r9, [rsp + 0x38]
lea r8, str.PbDefaultVol_Hp
mov rdx, qword [rax]
mov rcx, 0xffffffff80000002
call fcn.14004d820
test eax, eax
jne 0x14002022d
xor r14b, r14b
jmp 0x140020230
mov ebx, dword [rsp + 0x30]
mov r14b, 1
test bl, 1
je 0x14002025b
and ebx, 0xfffffffe
mov dword [rsp + 0x30], ebx
mov rdx, qword [rsp + 0x78]
add rdx, 0xffffffffffffffe8
or eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14002025b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test r14b, r14b
je 0x14002028a
mov r9d, dword [rsp + 0x38]
movd xmm6, r9d
cvtdq2ps xmm6, xmm6
divss xmm6, xmm11
mov r8d, dword [rsp + 0x3c]
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s_nValue_d_nHpDefVol_d
call fcn.140032320
movups xmm0, xmmword [0x140097078]
movaps xmmword [rbp - 0x60], xmm0
mov rax, qword [rsi]
lea r8, [rbp - 0x60]
movaps xmm1, xmm6
mov rcx, rsi
call qword [rax + 0x30]
cvtps2pd xmm3, xmm6
mov eax, dword [rsi + 0x110]
mov dword [rsp + 0x20], eax
movq r9, xmm3
mov r8, qword [rdi + 0x148]
lea rdx, str.CCustomizeHP::RestoreAllAudioDeviceMMLineCtrlsSettings
lea rcx, str._s_EpId_s_fDefaultVoldB_f_NodeId_d
call fcn.140032320
test r12, r12
je 0x1400202e6
jmp 0x14001fa17
mov ecx, 0x80004005
call fcn.140003fc0
int3
call fcn.1400099e0
mov ecx, dword [rax + 0x138]
sub ecx, 1
mov dword [rax + 0x138], ecx
jne 0x14002031c
mov rcx, qword [rax + 0x148]
cmp dword [rax + 0x13c], 0
je 0x140020314
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetEvent]
jmp 0x14002033a
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_ResetEvent]
jmp 0x14002033a
cmp ecx, 0x32
jle 0x14002033a
mov r8d, 0x6f
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.140032320
mov rcx, qword [rbp + 8]
xor rcx, rsp
call fcn.140078ef0
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
movaps xmm10, xmmword [r11 - 0x50]
movaps xmm11, xmmword [r11 - 0x60]
movaps xmm12, xmmword [r11 - 0x70]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret