Function at 0x1400091b0
Capabilities:
Print debug messages
Query or enumerate registry value
Set registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
mov rax, qword [0x14007d038]
xor rax, rsp
mov qword [rbp + 0x3b0], rax
mov rax, qword [rcx + 0x598]
mov rsi, rcx
mov qword [rbp - 0x68], rax
mov rax, qword [rcx + 0x570]
mov byte [rcx + 0x448], 0
xor ecx, ecx
mov qword [rbp - 0x60], rax
call qword [sym.imp.ole32.dll_CoInitialize]
lea r8, [rsi + 0x648]
mov rcx, rsi
lea rdx, str.samsfpaspk.dat
call fcn.14001b3e0
test al, al
jne 0x14000922f
xor edi, edi
mov dword [rsi + 0x648], edi
jmp 0x1400095dd
cmp dword [rsi + 0x648], 0
je 0x1400095dd
movzx eax, byte [rsi + 0x448]
test al, al
jne 0x1400095d7
xor edi, edi
nop dword [rax]
cmp byte [0x14007ff2a], dil
jne 0x1400095d7
xor r8d, r8d
lea rdx, [rbp - 0x68]
mov r9d, 0xffffffff
lea ecx, [r8 + 2]
call qword [sym.imp.KERNEL32.dll_WaitForMultipleObjects]
xor edx, edx
mov qword [rsp + 0x48], rdi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rdi
lea r9, [0x14007dcd8]
mov qword [rsp + 0x38], rdi
lea rcx, [0x14007dcc8]
mov qword [rsp + 0x30], rdi
lea r8d, [rdx + 0x17]
mov dword [rsp + 0x6c], 0xffffffff
mov dword [rsp + 0x7c], 0x40860000
mov dword [rsp + 0x78], edi
mov dword [rsp + 0x70], edi
mov dword [rsp + 0x74], edi
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x20], rax
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jne 0x1400095b8
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
xor edx, edx
mov rax, qword [rcx]
lea r8d, [rdx + 1]
call qword [rax + 0x20]
test eax, eax
jne 0x1400095a8
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x38]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
jne 0x140009598
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x50]
xor eax, eax
lea rdx, [0x140068128]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
mov rax, qword [rcx]
call qword [rax + 0x28]
test eax, eax
jne 0x1400093e0
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionMMDevicesAudioRender
mov edx, 0x200
lea rcx, [rbp - 0x50]
call fcn.14003c608
lea r8, [0x14006a5f0]
mov edx, 0x200
lea rcx, [rbp - 0x50]
call fcn.14003c584
mov r8, qword [rsp + 0x58]
lea rcx, [rbp - 0x50]
mov edx, 0x200
call fcn.14003c584
lea r8, str.FxProperties
mov edx, 0x200
lea rcx, [rbp - 0x50]
call fcn.14003c584
lea rax, [rsp + 0x30]
mov r9d, 0x2001b
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x50]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1400093e0
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400093d6
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
jmp 0x1400095bd
mov rcx, qword [rsp + 0x38]
lea r8, [rbp - 0x80]
lea rdx, [0x140068110]
mov ebx, 1
mov rax, qword [rcx]
call qword [rax + 0x28]
cmp dword [rbp - 0x78], ebx
jne 0x1400094a8
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1400094a8
lea rax, [rsp + 0x68]
xor r9d, r9d
mov qword [rsp + 0x28], rax
lea rdx, str.3BA0CD54_830F_4551_A6EB_F3EAB68E3700_4
lea rax, [rsp + 0x70]
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, str.3BA0CD54_830F_4551_A6EB_F3EAB68E3700_1
lea rax, [rsp + 0x74]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, str.3BA0CD54_830F_4551_A6EB_F3EAB68E3700_6
lea rax, [rsp + 0x78]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x70], edi
jne 0x1400094a1
cmp dword [rsp + 0x74], edi
jne 0x1400094a1
mov ebx, edi
jmp 0x1400094a8
cmp dword [rsp + 0x78], edi
cmovne ebx, edi
test byte [rsi + 0x64c], 0x80
je 0x1400094c9
lea rcx, str.External_Render_Device_r_n
test ebx, ebx
jne 0x1400094c3
lea rcx, str.Internal_Render_Device_r_n
call qword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140009573
lea rax, [rsp + 0x68]
mov dword [rsp + 0x68], 4
mov qword [rsp + 0x28], rax
lea rdx, str.2b24be42_a892_11dc_8314_0800200c9a66_7
lea rax, [rsp + 0x6c]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rdx, str.BE73ED5B_FC1C_4875_AC4F_833FFF79CDAA_7
lea rax, [rsp + 0x7c]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp ebx, 1
jne 0x14000953e
or dword [rsp + 0x6c], 4
jmp 0x140009546
mov eax, dword [rsp + 0x7c]
mov dword [rsp + 0x6c], eax
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x6c]
mov dword [rsp + 0x28], 4
lea rdx, str.2b24be42_a892_11dc_8314_0800200c9a66_7
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
lea rcx, [rsp + 0x50]
call qword [sym.imp.ole32.dll_PropVariantClear]
lea rcx, [rbp - 0x80]
call qword [sym.imp.ole32.dll_PropVariantClear]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140009598
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x1400095a8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x1400095b8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x1400095c8
mov rax, qword [rcx]
call qword [rax + 0x10]
movzx eax, byte [rsi + 0x448]
test al, al
je 0x140009250
call qword [sym.imp.ole32.dll_CoUninitialize]
mov rcx, qword [rbp + 0x3b0]
xor rcx, rsp
call fcn.140024cf0
lea r11, [rsp + 0x4c0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret