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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], rsi
push rbp
lea rbp, [r11 - 0x7a8]
sub rsp, 0x8a0
mov rax, qword [0x14004e038]
xor rax, rsp
mov qword [rbp + 0x790], rax
cmp qword [rcx + 0x2e0], 0
mov rsi, rcx
je 0x1400038da
add rcx, 0x2d0
mov rdx, qword [rcx]
test rdx, rdx
je 0x1400038fa
mov rax, qword [rdx]
mov qword [r11 + 0x10], rbx
xor ebx, ebx
mov qword [r11 + 0x18], rdi
mov rdi, qword [rdx + 0x10]
mov qword [rcx], rax
test rax, rax
je 0x1400035da
mov qword [rax + 8], rbx
jmp 0x1400035de
mov qword [rcx + 8], rbx
mov rax, qword [rcx + 0x20]
mov qword [rdx], rax
sub qword [rcx + 0x10], 1
mov qword [rcx + 0x20], rdx
jne 0x1400035f5
call fcn.140003d50
test rdi, rdi
je 0x1400038ca
xor edx, edx
mov qword [rsp + 0x48], rbx
lea rax, [rsp + 0x48]
mov qword [rsp + 0x40], rbx
lea r9, [0x14004eba8]
mov qword [rsp + 0x38], rbx
lea rcx, [0x14004eb98]
mov qword [rsp + 0x20], rax
lea r8d, [rdx + 0x17]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoCreateInstance]
test eax, eax
jne 0x140003813
mov rcx, qword [rsp + 0x48]
lea r9, [rsp + 0x40]
mov edx, 1
mov r8d, edx
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
jne 0x140003813
mov rcx, qword [rsp + 0x40]
lea r8, [rsp + 0x38]
xor edx, edx
mov rax, qword [rcx]
call qword [rax + 0x20]
test eax, eax
jne 0x140003813
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x70]
xor eax, eax
lea rdx, [0x140042468]
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rbp - 0x80], rax
mov rax, qword [rcx]
call qword [rax + 0x28]
cmp word [rsp + 0x70], 0x13
jne 0x140003808
mov rcx, qword [rsp + 0x38]
lea r8, [rsp + 0x50]
xor eax, eax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x68], 0xffffffff
lea rdx, [0x140042450]
mov dword [rsp + 0x6c], 4
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 0x140003791
lea r8, str.SOFTWAREMicrosoftWindowsCurrentVersionMMDevicesAudioCapture
mov edx, 0x200
lea rcx, [rbp - 0x70]
call fcn.140017e40
lea r8, [0x1400436ec]
mov edx, 0x200
lea rcx, [rbp - 0x70]
call fcn.140017ea8
mov r8, qword [rsp + 0x58]
lea rcx, [rbp - 0x70]
mov edx, 0x200
call fcn.140017ea8
lea r8, str.FxProperties
mov edx, 0x200
lea rcx, [rbp - 0x70]
call fcn.140017ea8
lea rax, [rsp + 0x30]
mov r9d, 0x2001b
xor r8d, r8d
mov qword [rsp + 0x20], rax
lea rdx, [rbp - 0x70]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
test eax, eax
jne 0x140003791
mov rcx, qword [rsp + 0x30]
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x28], rax
lea rdx, str.2b24be42_a892_11dc_8314_0800200c9a66_7
lea rax, [rsp + 0x68]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
lea rcx, [rsp + 0x50]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_PropVariantClear]
cmp dword [rsp + 0x78], 1
mov rcx, qword [rsp + 0x30]
jne 0x1400037bb
test rcx, rcx
je 0x140003808
mov eax, dword [rsp + 0x68]
cmp eax, 0xffffffff
je 0x1400037fd
and eax, 0xfffffffe
jmp 0x1400037cc
test rcx, rcx
je 0x140003808
mov eax, dword [rsp + 0x68]
cmp eax, 0xffffffff
je 0x1400037fd
or eax, 1
mov dword [rsp + 0x68], eax
lea rdx, str.2b24be42_a892_11dc_8314_0800200c9a66_7
lea rax, [rsp + 0x68]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x140003808
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
lea rcx, [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_PropVariantClear]
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x140003823
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x140003833
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140003843
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rcx, [rdi + 0x100]
mov r8d, 0x400
lea rdx, [rbp + 0x390]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_StringFromGUID2]
test eax, eax
jg 0x14000387b
mov r8d, 0x400
lea rdx, [rbp + 0x390]
lea rcx, [0x140046a78]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_StringFromGUID2]
test dword [rsi + 0x378], 0x100
je 0x1400038bd
mov eax, dword [rdi + 0x110]
lea r9, [rbp + 0x390]
lea r8, str._s___d_changed_r_n
mov dword [rsp + 0x20], eax
mov edx, 0x400
lea rcx, [rbp + 0x390]
call fcn.140001140
lea rcx, [rbp + 0x390]
call qword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
mov edx, 0x114
mov rcx, rdi
call fcn.14000c634
mov rbx, qword [rsp + 0x8b8]
mov rdi, qword [rsp + 0x8c0]
mov rcx, qword [rbp + 0x790]
xor rcx, rsp
call fcn.14000c610
mov rsi, qword [rsp + 0x8c8]
add rsp, 0x8a0
pop rbp
ret
mov ecx, 0x80004005
call fcn.140003de0
int3