Function at 0x14001a2d0
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1f]
sub rsp, 0xb8
mov qword [rbp - 1], 0xfffffffffffffffe
mov r15, rcx
mov rdx, qword [rcx]
lea rcx, str.CDtsUpc2PlusSetting::InitDefVolReg__s_n
call fcn.1400056e0
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x14001a7e3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x61], rax
lea rbx, [0x140280b88]
mov rdx, rbx
lea rcx, [rbp - 0x61]
call fcn.1400050a0
mov rdi, 0xffffffffffffffff
test al, al
jne 0x14001a36a
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14001a350
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x61]
call fcn.1400054e0
nop
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x14001a7ee
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x69], rax
mov rdx, rbx
lea rcx, [rbp - 0x69]
call fcn.1400050a0
test al, al
jne 0x14001a3ba
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14001a3a0
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x69]
call fcn.1400054e0
nop
call fcn.14004adf0
mov rcx, rax
test rax, rax
je 0x14001a7d8
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x59], rax
lea rbx, str.SOFTWARERealtekRealtekEffectsBG
mov rdx, rbx
lea rcx, [rbp - 0x59]
call fcn.1400050a0
test al, al
jne 0x14001a40d
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x14001a3f3
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x59]
call fcn.1400054e0
nop
mov ecx, dword [r15 + 0x15c]
sub ecx, 1
mov rax, rdi
je 0x14001a48f
cmp ecx, 2
je 0x14001a45c
lea rdx, [0x1402831cc]
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14001a430
mov r8d, eax
lea rcx, [rbp - 0x61]
call fcn.1400054e0
lea rdx, [0x140281098]
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x14001a450
jmp 0x14001a4c0
lea rdx, str.HPCh
inc rax
cmp word [rdx + rax*2], 0
jne 0x14001a463
mov r8d, eax
lea rcx, [rbp - 0x61]
call fcn.1400054e0
lea rdx, str.HPVol
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x14001a483
jmp 0x14001a4c0
lea rdx, str.SpkCh
inc rax
cmp word [rdx + rax*2], 0
jne 0x14001a496
mov r8d, eax
lea rcx, [rbp - 0x61]
call fcn.1400054e0
lea rdx, str.SpkVol
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x14001a4b6
mov r8d, eax
lea rcx, [rbp - 0x69]
call fcn.1400054e0
mov r13, qword [rbp - 0x61]
add r13, 0xffffffffffffffe8
mov qword [rbp - 0x51], r13
mov rcx, r13
call fcn.140004c20
lea r14, [rax + 0x18]
xor esi, esi
mov r8, qword [rbp - 0x59]
test r8, r8
jne 0x14001a502
lea rdx, [r14 - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jmp 0x14001a5be
mov qword [rbp - 0x19], rsi
mov dword [rbp - 0x11], esi
mov qword [rbp - 9], rsi
mov dword [rbp - 0x49], esi
mov r12d, 1
mov r9d, r12d
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x19]
call fcn.14000e2b0
test eax, eax
je 0x14001a538
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x14001a5b0
jmp 0x14001a5aa
mov dword [rbp + 0x7f], 4
lea rax, [rbp + 0x7f]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x45]
xor r8d, r8d
mov rdx, r14
mov rbx, qword [rbp - 0x19]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14001a5a2
cmp dword [rbp - 0x45], 4
jne 0x14001a5a2
test rbx, rbx
je 0x14001a580
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [r14 - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, r12d
jg 0x14001a599
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rbp - 0x59]
jmp 0x14001a76e
test rbx, rbx
je 0x14001a5b0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [r14 - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, r12d
jg 0x14001a5c9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [r15 + 0x1d0]
mov rcx, qword [rax + 0x10]
mov r15d, esi
test rcx, rcx
je 0x14001a601
mov dword [rbp + 0x77], esi
cmp dword [rcx + 0x1c], esi
je 0x14001a601
mov rax, qword [rcx]
lea rdx, [rbp + 0x77]
call qword [rax + 0x28]
mov edx, dword [rbp + 0x77]
lea rcx, str.CDtsUpc2PlusSetting::RestorePlaybackVolumes_nCount___d_n
call fcn.1400056e0
mov r15d, dword [rbp + 0x77]
mov dword [rbp - 0x41], r15d
mov ecx, r15d
mov eax, 4
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.14004a920
mov r14, rax
mov qword [rbp - 0x31], rax
mov rbx, qword [rbp - 0x59]
test rax, rax
je 0x14001a771
lea ecx, [r15*4]
mov dword [rbp - 0x3d], ecx
mov rax, qword [rbp + 0x67]
mov rax, qword [rax + 0x1d0]
mov r13, qword [rax + 0x10]
mov r12d, esi
test r13, r13
je 0x14001a75d
cmp dword [r13 + 0x1c], esi
je 0x14001a6e4
mov dword [rbp + 0x6f], esi
mov r8, qword [r13]
lea rdx, [rbp + 0x6f]
mov rcx, r13
call qword [r8 + 0x28]
mov edx, dword [rbp + 0x6f]
lea rcx, str.CDtsUpc2PlusSetting::RestorePlaybackVolumes_nCount___d_n
call fcn.1400056e0
mov ecx, dword [rbp + 0x6f]
mov eax, 4
mul rcx
cmovo rax, rdi
mov rcx, rax
call fcn.14004a920
mov r14, rax
mov qword [rbp - 0x31], rax
test rax, rax
je 0x14001a75d
mov rax, qword [r13]
mov r8d, dword [rbp + 0x6f]
mov rdx, r14
mov rcx, r13
call qword [rax + 0x30]
mov r12d, eax
test eax, eax
je 0x14001a6d5
mov r15d, dword [rbp + 0x6f]
mov dword [rbp - 0x41], r15d
lea esi, [r15*4]
mov dword [rbp - 0x3d], esi
jmp 0x14001a6ec
mov rcx, r14
call fcn.14004a918
mov r14, rsi
mov qword [rbp - 0x31], rsi
lea esi, [r15*4]
test r12d, r12d
je 0x14001a75d
mov r13, qword [rbp - 0x51]
mov rcx, r13
call fcn.140004c20
add rax, 0x18
mov qword [rbp - 0x29], rax
mov r8d, r15d
lea rdx, [rbp - 0x29]
mov rcx, rbx
call fcn.140012b20
and r12d, eax
lea rax, [rbp - 0x21]
mov qword [rbp + 0x67], rax
mov rcx, qword [rbp - 0x69]
add rcx, 0xffffffffffffffe8
call fcn.140004c20
add rax, 0x18
mov qword [rbp - 0x21], rax
lea rcx, [rbx - 0x18]
call fcn.140004c20
add rax, 0x18
mov qword [rbp - 0x39], rax
mov r9d, esi
mov r8, r14
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x39]
call fcn.140012db0
and r12d, eax
jmp 0x14001a761
mov r13, qword [rbp - 0x51]
test r14, r14
je 0x14001a76e
mov rcx, r14
call fcn.14004a918
mov esi, r12d
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001a78b
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x69]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001a7a9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
lock xadd dword [r13 + 0x10], edi
sub edi, 1
jg 0x14001a7c2
mov rcx, qword [r13]
mov r8, qword [rcx]
mov rdx, r13
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, esi
add rsp, 0xb8
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
nop
mov ecx, 0x80004005
call fcn.140005680
int3