Function at 0x14000c2f0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push r14
push r15
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x14006c038]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
xor r15d, r15d
mov dword [rbp - 0x74], 4
xor eax, eax
mov qword [rsp + 0x50], r15
mov qword [rsp + 0x40], r15
mov r14, rdx
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x48], r15
mov dword [rbp - 0x78], r15d
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov qword [rsp + 0x38], r15
mov dword [rbp - 0x6c], r15d
mov dword [rbp - 0x70], r15d
test rdx, rdx
je 0x14000c684
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rax, [rsp + 0x50]
xor edx, edx
lea r9, [0x14006ccd8]
mov qword [rsp + 0x20], rax
lea r8d, [r15 + 0x17]
lea rcx, [0x14006ccc8]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x14000c671
mov rcx, qword [rsp + 0x50]
lea r9, [rsp + 0x48]
mov qword [rsp + 0x4e0], rsi
lea r8d, [r15 + 0xf]
xor edx, edx
mov esi, r15d
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x14000c669
mov rcx, qword [rsp + 0x48]
lea rdx, [rbp - 0x78]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x14000c65e
mov eax, dword [rbp - 0x78]
test eax, eax
je 0x14000c65e
mov qword [rsp + 0x4e8], rdi
mov edi, r15d
mov qword [rsp + 0x4d0], rbx
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [rsp + 0x48]
lea r8, [rsp + 0x40]
mov edx, edi
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
jne 0x14000c62f
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x30]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
jne 0x14000c61f
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x58]
xor eax, eax
lea rdx, [0x14005b0b8]
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov rax, qword [rcx]
call qword [rax + 0x28]
test eax, eax
jne 0x14000c609
cmp qword [rsp + 0x60], r15
je 0x14000c609
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionMMDevicesAudioRender
mov edx, 0x200
lea rcx, [rbp - 0x60]
call fcn.140031158
lea r8, [0x14005d4c0]
mov edx, 0x200
lea rcx, [rbp - 0x60]
call fcn.1400310d4
mov r8, qword [rsp + 0x60]
lea rcx, [rbp - 0x60]
mov edx, 0x200
call fcn.1400310d4
lea r8, str.FxProperties
mov edx, 0x200
lea rcx, [rbp - 0x60]
call fcn.1400310d4
lea rax, [rsp + 0x38]
mov r9d, 0x2001b
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x60]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x30]
test eax, eax
je 0x14000c522
test rcx, rcx
je 0x14000c509
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000c643
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14000c643
mov rax, qword [rcx]
lea r8, [rsp + 0x58]
lea rdx, [0x14005b0a0]
call qword [rax + 0x28]
cmp dword [rsp + 0x60], 1
jne 0x14000c5f4
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000c609
lea rax, [rbp - 0x74]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, str.3BA0CD54_830F_4551_A6EB_F3EAB68E3700_4
lea rax, [rbp - 0x70]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x38]
lea rdx, str.3BA0CD54_830F_4551_A6EB_F3EAB68E3700_6
mov ebx, eax
xor r9d, r9d
lea rax, [rbp - 0x74]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test ebx, ebx
jne 0x14000c5f4
test eax, eax
jne 0x14000c5f4
mov rcx, qword [rsp + 0x30]
lea r8, [rsp + 0x70]
xor eax, eax
lea rdx, [0x14005b088]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000c5f4
lea rdx, str.SUBSYS_
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
je 0x14000c5f4
movups xmm0, xmmword [rax + 0xe]
lea esi, [rbx + 1]
movaps xmmword [r14], xmm0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x14000c609
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x38], r15
lea rcx, [rsp + 0x58]
call qword [sym.imp.ole32.dll_PropVariantClear]
lea rcx, [rsp + 0x70]
call qword [sym.imp.ole32.dll_PropVariantClear]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14000c62f
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000c63f
mov rax, qword [rcx]
call qword [rax + 0x10]
test esi, esi
jne 0x14000c64e
inc edi
cmp edi, dword [rbp - 0x78]
jb 0x14000c410
mov rbx, qword [rsp + 0x4d0]
mov rdi, qword [rsp + 0x4e8]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rsi, qword [rsp + 0x4e0]
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
mov rcx, qword [rbp + 0x3a0]
xor rcx, rsp
call fcn.140019840
add rsp, 0x4b0
pop r15
pop r14
pop rbp
ret