Function at 0x140004490
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x3b0]
sub rsp, 0x4b0
mov rax, qword [0x14002b010]
xor rax, rsp
mov qword [rbp + 0x3a0], rax
xor edi, edi
mov dword [rsp + 0x34], 4
xor eax, eax
mov qword [rsp + 0x58], rdi
mov qword [rsp + 0x78], rdi
mov rsi, rcx
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x30], edi
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x4c], edi
mov dword [rsp + 0x48], edi
test rcx, rcx
je 0x1400047ca
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
lea rax, [rsp + 0x58]
xor edx, edx
lea r9, [0x14002ba20]
mov qword [rsp + 0x20], rax
lea r8d, [rdi + 0x17]
lea rcx, [0x14002ba30]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x1400047b7
mov rcx, qword [rsp + 0x58]
lea r9, [rsp + 0x40]
xor edx, edx
lea r8d, [rdi + 0xf]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x1400047b7
mov rcx, qword [rsp + 0x40]
lea rdx, [rsp + 0x30]
mov rax, qword [rcx]
call qword [rax + 0x18]
test eax, eax
jne 0x1400047ac
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1400047ac
imul rdx, rax, 0x108
lea ecx, [rdi + 0x40]
call qword [sym.imp.KERNEL32.dll_GlobalAlloc]
test rax, rax
je 0x1400047ac
cmp dword [rsp + 0x30], edi
jbe 0x1400047ac
mov qword [rsp + 0x4c8], rbx
nop dword [rax]
nop dword [rax + rax]
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x78]
mov edx, edi
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
jne 0x14000478f
mov rcx, qword [rsp + 0x78]
lea r8, [rsp + 0x38]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
jne 0x14000478f
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x60]
xor eax, eax
lea rdx, [0x140027380]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov rax, qword [rcx]
call qword [rax + 0x28]
test eax, eax
jne 0x14000477a
cmp qword [rsp + 0x68], 0
je 0x14000477a
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionMMDevicesAudioRender
mov edx, 0x200
lea rcx, [rbp - 0x60]
call fcn.14000f364
lea r8, [0x140026a00]
mov edx, 0x200
lea rcx, [rbp - 0x60]
call fcn.14000f3cc
mov r8, qword [rsp + 0x68]
lea rcx, [rbp - 0x60]
mov edx, 0x200
call fcn.14000f3cc
lea r8, str.FxProperties
mov edx, 0x200
lea rcx, [rbp - 0x60]
call fcn.14000f3cc
lea rax, [rsp + 0x50]
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]
test eax, eax
jne 0x14000478f
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x60]
lea rdx, [0x140027398]
mov rax, qword [rcx]
call qword [rax + 0x28]
cmp dword [rsp + 0x68], 1
jne 0x14000477a
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14000477a
lea rax, [rsp + 0x34]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, str.3BA0CD54_830F_4551_A6EB_F3EAB68E3700_4
lea rax, [rsp + 0x48]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x50]
lea rdx, str.3BA0CD54_830F_4551_A6EB_F3EAB68E3700_6
mov ebx, eax
xor r9d, r9d
lea rax, [rsp + 0x34]
xor r8d, r8d
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test ebx, ebx
jne 0x14000477a
test eax, eax
jne 0x14000477a
mov rcx, qword [rsp + 0x38]
lea r8, [rbp - 0x80]
xor eax, eax
lea rdx, [0x1400273b0]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov rax, qword [rcx]
call qword [rax + 0x28]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14000477a
lea rdx, str.SUBSYS_
call qword [sym.imp.SHLWAPI.dll_StrStrIW]
test rax, rax
jne 0x14000479d
lea rcx, [rsp + 0x60]
call qword [sym.imp.ole32.dll_PropVariantClear]
lea rcx, [rbp - 0x80]
call qword [sym.imp.ole32.dll_PropVariantClear]
inc edi
cmp edi, dword [rsp + 0x30]
jb 0x1400045c0
jmp 0x1400047a4
movups xmm0, xmmword [rax + 0xe]
movaps xmmword [rsi], xmm0
mov rbx, qword [rsp + 0x4c8]
mov rcx, qword [rsp + 0x40]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x58]
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.140004d00
lea r11, [rsp + 0x4b0]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret