Function at 0x1400618a0
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 0x1400618e1
xor eax, eax
jmp 0x140061dcc
mov rax, qword [rsi]
lea rdx, [rsp + 0xe0]
mov rcx, rsi
call qword [rax + 0x28]
test eax, eax
je 0x140061dcc
mov ecx, dword [rsp + 0xe0]
mov eax, 4
mul rcx
mov r12, 0xffffffffffffffff
cmovo rax, r12
mov rcx, rax
call fcn.14013d074
mov r13, rax
test rax, rax
je 0x140061dcc
mov r8d, dword [rsp + 0xe0]
shl r8, 2
xor edx, edx
mov rcx, rax
call fcn.140160e90
mov dword [rsp + 0xe8], ebp
lea rdx, str.PbDefaultVol_IntSpk
lea rcx, [rsp + 0x48]
call fcn.140002000
lea r8, [rsp + 0xe8]
mov rdx, rax
lea rcx, str.SOFTWARERealtekRealtekEffectsDriver
call fcn.1400eccb0
test eax, eax
je 0x1400619e3
mov eax, ebp
cmp dword [rsp + 0xe0], eax
jbe 0x1400619a2
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 0x140061990
mov rcx, r14
call fcn.140060b00
test eax, eax
je 0x1400619fa
lea rcx, [rsp + 0x70]
mov rax, qword [0x1401acbd0]
mov qword [rcx], rax
mov rax, qword [0x1401acbd8]
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 0x1400619fa
mov rax, qword [rsi]
mov r8d, dword [rsp + 0xe0]
mov rdx, r13
mov rcx, rsi
call qword [rax + 0x80]
call fcn.140153968
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.14014bca8
lea rdx, [rsp + 0x30]
mov qword [rsp + 0xf0], rdx
call fcn.14013d07c
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x140061a53
mov ecx, 0x80004005
call fcn.140001c00
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 0x140061a96
movzx edi, dx
mov ecx, edi
call fcn.14013d654
test rax, rax
je 0x140061ab3
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400020e0
jmp 0x140061ab3
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.140002390
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 0x140061ae6
cmp rax, qword [rdi - 0x18]
jne 0x140061ae6
lea rbx, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x140061b24
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x140061b02
call fcn.1400c5210
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.14015cd30
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 0x140061c18
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 0x140061bea
cmp dword [rsp + 0x38], 4
jne 0x140061bea
mov eax, dword [rsp + 0xf0]
mov dword [rsp + 0xe8], eax
test rdi, rdi
je 0x140061bc7
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 0x140061be3
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, 1
jmp 0x140061c36
test rdi, rdi
je 0x140061bf8
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 0x140061c14
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edi, ebp
jmp 0x140061c36
lea rdx, [rbx - 0x18]
mov eax, r12d
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140061c34
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 0x140061c57
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test edi, edi
jne 0x140061ca0
lea rdx, str.PbDefaultVol_Hp
lea rcx, [rsp + 0x58]
call fcn.140002000
lea r8, [rsp + 0xe8]
mov rdx, rax
lea rcx, str.SOFTWARERealtekRealtekEffectsDriver
call fcn.1400eccb0
test eax, eax
jne 0x140061ca0
mov rax, qword [rsi]
mov r8d, dword [rsp + 0xe0]
mov rdx, r13
mov rcx, rsi
call qword [rax + 0x80]
jmp 0x140061d17
mov eax, ebp
cmp dword [rsp + 0xe0], eax
jbe 0x140061cd2
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 0x140061cc0
mov rcx, r14
call fcn.1400603a0
test eax, eax
je 0x140061d17
lea rcx, [rsp + 0x90]
mov rax, qword [0x1401acbd0]
mov qword [rcx], rax
mov rax, qword [0x1401acbd8]
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.140153968
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.14014bca8
mov rcx, r13
call fcn.14013d06c
cmp dword [rsi + 0x1c], 0
je 0x140061d98
mov dword [rsp + 0xf8], ebp
mov rax, qword [rsi]
lea rdx, [rsp + 0xf8]
mov rcx, rsi
call qword [rax + 0x18]
test eax, eax
je 0x140061d98
call fcn.140153968
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.14014baf0
mov rcx, r14
call fcn.1400603a0
mov edi, eax
call fcn.140153968
test edi, edi
setne bpl
mov r9d, ebp
lea r8, str.InHPMode
lea rdx, str.Others
mov rcx, qword [rax + 8]
call fcn.14014baf0
mov eax, 1
add rsp, 0xa0
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret