Function at 0x14001a0c0
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.14004aa80
mov rcx, rax
test rax, rax
je 0x14001a5d3
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp - 0x61], rax
lea rbx, [0x140280a28]
mov rdx, rbx
lea rcx, [rbp - 0x61]
call fcn.1400050a0
mov rdi, 0xffffffffffffffff
test al, al
jne 0x14001a15a
mov rax, rdi
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14001a140
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x61]
call fcn.1400054e0
nop
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x14001a5de
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 0x14001a1aa
mov rax, rdi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x14001a190
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x69]
call fcn.1400054e0
nop
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x14001a5c8
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 0x14001a1fd
mov rax, rdi
inc rax
cmp word [rbx + rax*2], 0
jne 0x14001a1e3
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 0x14001a27f
cmp ecx, 2
je 0x14001a24c
lea rdx, [0x14028303c]
nop dword [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x14001a220
mov r8d, eax
lea rcx, [rbp - 0x61]
call fcn.1400054e0
lea rdx, [0x140280ed8]
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x14001a240
jmp 0x14001a2b0
lea rdx, str.HPCh
inc rax
cmp word [rdx + rax*2], 0
jne 0x14001a253
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 0x14001a273
jmp 0x14001a2b0
lea rdx, str.SpkCh
inc rax
cmp word [rdx + rax*2], 0
jne 0x14001a286
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 0x14001a2a6
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 0x14001a2f2
lea rdx, [r14 - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jmp 0x14001a3ae
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.14000ddf0
test eax, eax
je 0x14001a328
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x14001a3a0
jmp 0x14001a39a
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 0x14001a392
cmp dword [rbp - 0x45], 4
jne 0x14001a392
test rbx, rbx
je 0x14001a370
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 0x14001a389
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rbp - 0x59]
jmp 0x14001a55e
test rbx, rbx
je 0x14001a3a0
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 0x14001a3b9
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 0x14001a3f1
mov dword [rbp + 0x77], esi
cmp dword [rcx + 0x1c], esi
je 0x14001a3f1
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.14004a5b0
mov r14, rax
mov qword [rbp - 0x31], rax
mov rbx, qword [rbp - 0x59]
test rax, rax
je 0x14001a561
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 0x14001a54d
cmp dword [r13 + 0x1c], esi
je 0x14001a4d4
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.14004a5b0
mov r14, rax
mov qword [rbp - 0x31], rax
test rax, rax
je 0x14001a54d
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 0x14001a4c5
mov r15d, dword [rbp + 0x6f]
mov dword [rbp - 0x41], r15d
lea esi, [r15*4]
mov dword [rbp - 0x3d], esi
jmp 0x14001a4dc
mov rcx, r14
call fcn.14004a5a8
mov r14, rsi
mov qword [rbp - 0x31], rsi
lea esi, [r15*4]
test r12d, r12d
je 0x14001a54d
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.140012660
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.1400128f0
and r12d, eax
jmp 0x14001a551
mov r13, qword [rbp - 0x51]
test r14, r14
je 0x14001a55e
mov rcx, r14
call fcn.14004a5a8
mov esi, r12d
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14001a57b
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 0x14001a599
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 0x14001a5b2
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