Function at 0x140061da0
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 + 0x1e8]
mov rsi, qword [rax + 0x10]
test rsi, rsi
jne 0x140061de1
xor eax, eax
jmp 0x1400622cc
mov rax, qword [rsi]
lea rdx, [rsp + 0xe0]
mov rcx, rsi
call qword [rax + 0x28]
test eax, eax
je 0x1400622cc
mov ecx, dword [rsp + 0xe0]
mov eax, 4
mul rcx
mov r12, 0xffffffffffffffff
cmovo rax, r12
mov rcx, rax
call fcn.14013c75c
mov r13, rax
test rax, rax
je 0x1400622cc
mov r8d, dword [rsp + 0xe0]
shl r8, 2
xor edx, edx
mov rcx, rax
call fcn.1401601f0
mov dword [rsp + 0xe8], ebp
lea rdx, str.PbDefaultVol_IntSpk
lea rcx, [rsp + 0x48]
call fcn.140005060
lea r8, [rsp + 0xe8]
mov rdx, rax
lea rcx, str.SOFTWARERealtekRealtekEffectsDriver
call fcn.1400ec8f0
test eax, eax
je 0x140061ee3
mov eax, ebp
cmp dword [rsp + 0xe0], eax
jbe 0x140061ea2
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 0x140061e90
mov rcx, r14
call fcn.140060e40
test eax, eax
je 0x140061efa
lea rcx, [rsp + 0x70]
mov rax, qword [0x1401aba20]
mov qword [rcx], rax
mov rax, qword [0x1401aba28]
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 + 0x68]
jmp 0x140061efa
mov rax, qword [rsi]
mov r8d, dword [rsp + 0xe0]
mov rdx, r13
mov rcx, rsi
call qword [rax + 0x80]
call fcn.140152e58
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.14014cea8
lea rdx, [rsp + 0x30]
mov qword [rsp + 0xf0], rdx
call fcn.14013e120
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x140061f53
mov ecx, 0x80004005
call fcn.140001c70
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 0x140061f96
movzx edi, dx
mov ecx, edi
call fcn.14014c5c0
test rax, rax
je 0x140061fb3
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140005140
jmp 0x140061fb3
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.1400038f0
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 0x140061fe6
cmp rax, qword [rdi - 0x18]
jne 0x140061fe6
lea rbx, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x140062024
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x140062002
call fcn.1400c63c0
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.14015c410
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 0x140062118
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 0x1400620ea
cmp dword [rsp + 0x38], 4
jne 0x1400620ea
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0xe8], eax
test rdi, rdi
je 0x1400620c7
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 0x1400620e3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, 1
jmp 0x140062136
test rdi, rdi
je 0x1400620f8
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 0x140062114
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, ebp
jmp 0x140062136
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140062134
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 0x140062157
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test edi, edi
jne 0x1400621a0
lea rdx, str.PbDefaultVol_Hp
lea rcx, [rsp + 0x58]
call fcn.140005060
lea r8, [rsp + 0xe8]
mov rdx, rax
lea rcx, str.SOFTWARERealtekRealtekEffectsDriver
call fcn.1400ec8f0
test eax, eax
jne 0x1400621a0
mov rax, qword [rsi]
mov r8d, dword [rsp + 0xe0]
mov rdx, r13
mov rcx, rsi
call qword [rax + 0x80]
jmp 0x140062217
mov eax, ebp
cmp dword [rsp + 0xe0], eax
jbe 0x1400621d2
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 0x1400621c0
mov rcx, r14
call fcn.140060410
test eax, eax
je 0x140062217
lea rcx, [rsp + 0x90]
mov rax, qword [0x1401aba20]
mov qword [rcx], rax
mov rax, qword [0x1401aba28]
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 + 0x68]
call fcn.140152e58
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.14014cea8
mov rcx, r13
call fcn.14013c754
cmp dword [rsi + 0x1c], 0
je 0x140062298
mov dword [rsp + 0xf8], ebp
mov rax, qword [rsi]
lea rdx, [rsp + 0xf8]
mov rcx, rsi
call qword [rax + 0x18]
test eax, eax
je 0x140062298
call fcn.140152e58
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.14014ccf0
mov rcx, r14
call fcn.140060410
mov edi, eax
call fcn.140152e58
test edi, edi
setne bpl
mov r9d, ebp
lea r8, str.InHPMode
lea rdx, str.Others
mov rcx, qword [rax + 8]
call fcn.14014ccf0
mov eax, 1
add rsp, 0xa0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret