Function at 0x140062c10
Capabilities:
Query or enumerate registry value

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
sub rsp, 0x78
mov qword [rsp + 0x40], 0xfffffffffffffffe
xor ebp, ebp
mov dword [rsp + 0xb8], ebp
mov rax, qword [rcx + 0x1e0]
mov r13, qword [rax + 0x10]
test r13, r13
jne 0x140062c46
xor eax, eax
jmp 0x140062ec0
lea rax, [rsp + 0x30]
mov qword [rsp + 0xb0], rax
call fcn.140129a50
mov rcx, rax
mov eax, ebp
test rcx, rcx
setne al
test eax, eax
jne 0x140062c72
mov ecx, 0x80004005
call fcn.140002d80
int3
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x30], rax
lea rdx, str.PbDefaultVol_Hp
or rsi, 0xffffffffffffffff
test rdx, 0xffffffffffff0000
jne 0x140062cb6
movzx edi, dx
mov ecx, edi
call fcn.140138984
test rax, rax
je 0x140062cd3
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140004d70
jmp 0x140062cd3
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x30]
call fcn.1400032e0
nop
lea rax, [rsp + 0x30]
mov qword [rsp + 0x48], 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 0x140062d06
cmp rax, qword [rdi - 0x18]
jne 0x140062d06
lea rbx, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x140062d44
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x140062d22
call fcn.1400b7790
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.1401448d0
add rbx, 0x18
mov qword [rsp + 0x50], rbx
mov dword [rsp + 0xb0], ebp
mov qword [rsp + 0x38], rbp
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r12d, 1
mov r9d, r12d
xor r8d, r8d
lea rdx, str.SOFTWARERealtekRealtekEffectsDriver
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140062e41
mov rdi, qword [rsp + 0x38]
mov dword [rsp + 0xc0], 4
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xc8]
xor r8d, r8d
mov rdx, rbx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140062e13
cmp dword [rsp + 0xc8], 4
jne 0x140062e13
mov eax, dword [rsp + 0xb0]
mov dword [rsp + 0xb8], eax
test rdi, rdi
je 0x140062df6
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140062e5f
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x140062e5f
test rdi, rdi
je 0x140062e21
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140062e3c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r12d, ebp
jmp 0x140062e5f
lea rdx, [rbx - 0x18]
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140062e5c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r12d, ebp
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x140062e7d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test r12d, r12d
je 0x140062ebe
lea rcx, [rsp + 0x60]
mov rax, qword [0x14018ead0]
mov qword [rcx], rax
mov rax, qword [0x14018ead8]
mov qword [rcx + 8], rax
mov rax, qword [r13]
cvtsi2ss xmm1, dword [rsp + 0xb8]
divss xmm1, dword [0x14019ac68]
lea r8, [rsp + 0x60]
mov rcx, r13
call qword [rax + 0x40]
mov ebp, eax
mov eax, ebp
add rsp, 0x78
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret