Function at 0x1400609d0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
sub rsp, 0xa0
mov qword [rsp + 0x80], 0xfffffffffffffffe
mov r14, rcx
xor ebp, ebp
mov dword [rsp + 0xe0], ebp
mov rax, qword [rcx + 0x1e0]
mov rsi, qword [rax + 0x10]
test rsi, rsi
jne 0x140060a11
xor eax, eax
jmp 0x140060eec
mov rax, qword [rsi]
lea rdx, [rsp + 0xe0]
mov rcx, rsi
call qword [rax + 0x28]
test eax, eax
je 0x140060eec
mov ecx, dword [rsp + 0xe0]
mov eax, 4
mul rcx
mov r12, 0xffffffffffffffff
cmovo rax, r12
mov rcx, rax
call fcn.1401287fc
mov r13, rax
test rax, rax
je 0x140060eec
mov r8d, dword [rsp + 0xe0]
shl r8, 2
xor edx, edx
mov rcx, rax
call fcn.140148fe0
mov dword [rsp + 0xe8], ebp
lea rdx, str.PbDefaultVol_IntSpk
lea rcx, [rsp + 0x48]
call fcn.140004b50
lea r8, [rsp + 0xe8]
mov rdx, rax
lea rcx, str.SOFTWARERealtekRealtekEffectsDriver
call fcn.1400daa70
test eax, eax
je 0x140060b13
mov eax, ebp
cmp dword [rsp + 0xe0], eax
jbe 0x140060ad2
mov rcx, r13
mov edx, dword [rsp + 0xe8]
nop
nop
nop
mov dword [rcx], edx
add eax, 1
add rcx, 4
cmp eax, dword [rsp + 0xe0]
jb 0x140060ac0
mov rcx, r14
call fcn.14005fa70
test eax, eax
je 0x140060b27
lea rcx, [rsp + 0x70]
mov rax, qword [0x14018eae0]
mov qword [rcx], rax
mov rax, qword [0x14018eae8]
mov qword [rcx + 8], rax
mov rax, qword [rsi]
lea r9, [rsp + 0x70]
mov r8d, dword [rsp + 0xe0]
mov rdx, r13
mov rcx, rsi
call qword [rax + 0x60]
jmp 0x140060b27
mov rax, qword [rsi]
mov r8d, dword [rsp + 0xe0]
mov rdx, r13
mov rcx, rsi
call qword [rax + 0x70]
call fcn.14013c798
mov rcx, qword [rax + 8]
mov eax, dword [rsp + 0xe0]
shl eax, 2
mov dword [rsp + 0x20], eax
mov r9, r13
lea r8, str.SpeakerVolume
lea rdx, str.Others
call fcn.140138900
lea rdx, [rsp + 0x30]
mov qword [rsp + 0xf0], rdx
call fcn.14012a060
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x140060b80
mov ecx, 0x80004005
call fcn.140002cb0
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rdx, str.PbDefaultVol_HpForDell
test rdx, 0xffffffffffff0000
jne 0x140060bc3
movzx edi, dx
mov ecx, edi
call fcn.140138f84
test rax, rax
je 0x140060be0
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140004c30
jmp 0x140060be0
xor eax, eax
mov rcx, r12
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x30]
call fcn.140003210
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x60], rax
mov rdi, qword [rsp + 0x30]
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x140060c13
cmp rax, qword [rdi - 0x18]
jne 0x140060c13
lea rbx, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x140060c51
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x140060c2f
call fcn.1400b7870
int3
mov eax, dword [rdi - 0x10]
mov dword [rbx + 8], eax
mov eax, dword [rdi - 0x10]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [rbx + 0x18]
call fcn.140144ee0
add rbx, 0x18
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0xf0], ebp
mov qword [rsp + 0x40], rbp
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 1
xor r8d, r8d
lea rdx, str.SOFTWARERealtekRealtekEffectsDriver
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140060d45
mov rdi, qword [rsp + 0x40]
mov dword [rsp + 0x3c], 4
lea rax, [rsp + 0x3c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xf0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x38]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140060d17
cmp dword [rsp + 0x38], 4
jne 0x140060d17
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0xe8], eax
test rdi, rdi
je 0x140060cf4
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140060d10
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, 1
jmp 0x140060d63
test rdi, rdi
je 0x140060d25
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140060d41
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, ebp
jmp 0x140060d63
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140060d61
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, ebp
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], r12d
add r12d, 0xffffffff
test r12d, r12d
jg 0x140060d84
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test edi, edi
jne 0x140060dca
lea rdx, str.PbDefaultVol_Hp
lea rcx, [rsp + 0x58]
call fcn.140004b50
lea r8, [rsp + 0xe8]
mov rdx, rax
lea rcx, str.SOFTWARERealtekRealtekEffectsDriver
call fcn.1400daa70
test eax, eax
jne 0x140060dca
mov rax, qword [rsi]
mov r8d, dword [rsp + 0xe0]
mov rdx, r13
mov rcx, rsi
call qword [rax + 0x70]
jmp 0x140060e37
mov eax, ebp
cmp dword [rsp + 0xe0], eax
jbe 0x140060df2
mov rcx, r13
mov edx, dword [rsp + 0xe8]
nop
mov dword [rcx], edx
add eax, 1
add rcx, 4
cmp eax, dword [rsp + 0xe0]
jb 0x140060de0
mov rcx, r14
call fcn.14005f040
test eax, eax
je 0x140060e37
lea rcx, [rsp + 0x90]
mov rax, qword [0x14018eae0]
mov qword [rcx], rax
mov rax, qword [0x14018eae8]
mov qword [rcx + 8], rax
mov rax, qword [rsi]
lea r9, [rsp + 0x90]
mov r8d, dword [rsp + 0xe0]
mov rdx, r13
mov rcx, rsi
call qword [rax + 0x60]
call fcn.14013c798
mov rcx, qword [rax + 8]
mov eax, dword [rsp + 0xe0]
shl eax, 2
mov dword [rsp + 0x20], eax
mov r9, r13
lea r8, str.HeadphoneVolume
lea rdx, str.Others
call fcn.140138900
mov rcx, r13
call fcn.1401287f4
cmp dword [rsi + 0x14], 0
je 0x140060eb8
mov dword [rsp + 0xf8], ebp
mov rax, qword [rsi]
lea rdx, [rsp + 0xf8]
mov rcx, rsi
call qword [rax + 0x18]
test eax, eax
je 0x140060eb8
call fcn.14013c798
mov r9d, ebp
cmp dword [rsp + 0xf8], ebp
setne r9b
lea r8, str.SpeakerMute
lea rdx, str.Others
mov rcx, qword [rax + 8]
call fcn.140138748
mov rcx, r14
call fcn.14005f040
mov edi, eax
call fcn.14013c798
test edi, edi
setne bpl
mov r9d, ebp
lea r8, str.InHPMode
lea rdx, str.Others
mov rcx, qword [rax + 8]
call fcn.140138748
mov eax, 1
add rsp, 0xa0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret