Function at 0x14007c320
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
mov dword [rax + 8], ecx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov qword [rsp + 0x118], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov edi, edx
mov r12d, ecx
xor ebp, ebp
mov qword [rsp + 0x50], rbp
mov qword [rsp + 0x48], rbp
mov qword [rsp + 0x30], rbp
mov qword [rax - 0xd0], rbp
mov dword [rsp + 0x58], ebp
mov qword [rax - 0xd8], rbp
call fcn.14013d07c
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14007c38f
mov ecx, 0x80004005
call fcn.140001c00
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x40], rax
call fcn.14013d07c
mov rdx, rax
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
jne 0x14007c3c0
mov ecx, 0x80004005
call fcn.140001c00
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov word [rsp + 0xa0], 0
xor eax, eax
mov qword [rsp + 0xa2], rax
mov dword [rsp + 0xaa], eax
mov word [rsp + 0xae], ax
mov word [rsp + 0xb0], ax
mov qword [rsp + 0xb2], rax
mov dword [rsp + 0xba], eax
mov word [rsp + 0xbe], ax
mov dword [rsp + 0x74], ebp
lea edx, [rax + 0xa]
lea rcx, [rsp + 0xe0]
call fcn.14014f11c
lea r11, method..13.virtual_0
mov qword [rsp + 0xe0], r11
mov esi, ebp
mov dword [rsp + 0x170], ebp
mov r15d, ebp
mov dword [rsp + 0x60], ebp
xor eax, eax
mov dword [rsp + 0x64], eax
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_GetSystemTime]
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xb0]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test edi, edi
jne 0x14007c687
mov word [rsp + 0xc8], si
xor eax, eax
mov qword [rsp + 0xca], rax
mov dword [rsp + 0xd2], eax
mov word [rsp + 0xd6], ax
mov dword [rsp + 0x98], ebp
mov dword [rsp + 0x9c], eax
mov dword [rsp + 0x70], ebp
mov qword [rsp + 0x78], rbp
test r12d, r12d
jne 0x14007c4d4
xor r9d, r9d
lea r8, str.RenderDefaultFixed
lea rdx, str.General
lea rcx, [0x14022e890]
call fcn.14014ba50
mov edi, eax
jmp 0x14007c4f3
xor r9d, r9d
lea r8, str.CaptureDefaultFixed
lea rdx, str.General
lea rcx, [0x14022e890]
call fcn.14014ba50
mov edi, eax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
lea r8, str.LastFixDefaultTime
lea rdx, str.General
lea rcx, [0x14022e890]
call fcn.14014c020
test eax, eax
je 0x14007c5c8
cmp dword [rsp + 0x70], 0x10
jne 0x14007c5b4
lea rdx, [rsp + 0xc8]
mov rcx, qword [rsp + 0x78]
mov rax, qword [rcx]
mov qword [rdx], rax
mov rax, qword [rcx + 8]
mov qword [rdx + 8], rax
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0xc8]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea rdx, [rsp + 0x98]
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 0xffffffff
jne 0x14007c5b4
xor r9d, r9d
lea r8, str.RenderDefaultFixed
lea rdx, str.General
lea rcx, [0x14022e890]
call fcn.14014baf0
xor r9d, r9d
lea r8, str.CaptureDefaultFixed
lea rdx, str.General
lea rcx, [0x14022e890]
call fcn.14014baf0
mov edi, ebp
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14007c5c8
call fcn.14013d06c
mov qword [rsp + 0x78], rbp
mov dword [rsp + 0x20], 0x10
lea r9, [rsp + 0xb0]
lea r8, str.LastFixDefaultTime
lea rdx, str.General
lea rcx, [0x14022e890]
call fcn.14014bca8
cmp edi, 1
jne 0x14007c687
lea rcx, [rsp + 0xe0]
call fcn.14014f144
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or rbx, 0xffffffffffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14007c62d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
add ebx, 0xffffffff
test ebx, ebx
jg 0x14007c64c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14007c65d
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14007c66e
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14007cef1
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14007cef1
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [0x1401ae630]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x1401ae620]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x14007c73f
lea rcx, [rsp + 0xe0]
call fcn.14014f144
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or rbx, 0xffffffffffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14007c6e5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
add ebx, 0xffffffff
test ebx, ebx
jg 0x14007c704
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14007c715
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14007c726
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14007cef1
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14007cef1
mov rcx, qword [rsp + 0x50]
mov rax, qword [rcx]
lea r9, [rsp + 0x48]
mov r8d, 9
mov edx, r12d
call qword [rax + 0x18]
test eax, eax
jns 0x14007c7ec
lea rcx, [rsp + 0xe0]
call fcn.14014f144
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or rbx, 0xffffffffffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14007c792
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
add ebx, 0xffffffff
test ebx, ebx
jg 0x14007c7b1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14007c7c2
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14007c7d3
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14007cef1
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14007cef1
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea rdx, [rsp + 0x58]
call qword [rax + 0x18]
test eax, eax
jns 0x14007c890
lea rcx, [rsp + 0xe0]
call fcn.14014f144
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
or rbx, 0xffffffffffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, ebx
test eax, eax
jg 0x14007c836
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
add ebx, 0xffffffff
test ebx, ebx
jg 0x14007c855
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14007c866
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14007c877
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14007cef1
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14007cef1
mov r14d, ebp
or rbx, 0xffffffffffffffff
lea r13d, [rbx + 2]
cmp dword [rsp + 0x58], esi
jbe 0x14007ccc2
lea rsi, str.Render_
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14007c8c5
mov qword [rsp + 0x30], rbp
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rsp + 0x48]
mov rax, qword [rcx]
lea r8, [rsp + 0x30]
mov edx, r14d
call qword [rax + 0x20]
test eax, eax
js 0x14007cc40
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rsp + 0x88]
call qword [rax + 0x28]
test eax, eax
js 0x14007cc37
xor eax, eax
mov rcx, rbx
lea rdi, [0x14019cf88]
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, [0x14019cf88]
lea rcx, [rsp + 0x38]
call fcn.140002390
mov rdx, qword [rsp + 0x88]
lea rcx, [rsp + 0x38]
call fcn.1400407c0
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov dword [rsp + 0x178], ebp
mov rcx, qword [rsp + 0x30]
mov rax, qword [rcx]
lea rdx, [rsp + 0x178]
call qword [rax + 0x30]
test eax, eax
js 0x14007cc49
xor eax, eax
mov rcx, rbx
lea rdi, str.SOFTWAREMicrosoftWindowsCurrentVersionMMDevicesAudio_
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rdx, str.SOFTWAREMicrosoftWindowsCurrentVersionMMDevicesAudio_
lea rcx, [rsp + 0x40]
call fcn.140002390
lea rdx, str.Capture_
test r12d, r12d
cmove rdx, rsi
lea rcx, [rsp + 0x40]
call fcn.1400407c0
mov rdi, qword [rsp + 0x38]
cmp dword [rdi - 0x10], 0
jge 0x14007c9b2
mov eax, ebx
jmp 0x14007c9d0
lea rdx, [0x1401ac5f0]
mov rcx, rdi
call fcn.14015c8e0
test rax, rax
jne 0x14007c9ca
mov eax, ebx
jmp 0x14007c9d0
sub rax, rdi
sar rax, 1
lea r8d, [rax + 2]
lea rdx, [rsp + 0xd8]
lea rcx, [rsp + 0x38]
call fcn.14003ff90
nop
mov rdx, rax
lea rcx, [rsp + 0x40]
call fcn.14003fed0
nop
mov rdx, qword [rsp + 0xd8]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14007ca18
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x80]
test rdi, rdi
je 0x14007ca39
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, rbp
mov qword [rsp + 0x80], rbp
mov qword [rsp + 0xc0], rbp
lea rax, [rsp + 0xc0]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x40]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14007cc72
mov eax, ebp
test rdi, rdi
je 0x14007ca81
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0xc0]
mov qword [rsp + 0x80], rcx
test eax, eax
jne 0x14007cc52
xor eax, eax
mov qword [rsp + 0xa0], rax
mov qword [rsp + 0xa8], rax
mov dword [rsp + 0x74], 0x10
lea rax, [rsp + 0x74]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xa0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x90]
xor r8d, r8d
lea rdx, str.Role:0
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14007cc84
cmp dword [rsp + 0x90], 3
jne 0x14007cc7b
lea ecx, [rax + 0x18]
call fcn.14013d028
mov r13, rax
test rax, rax
je 0x14007cc8d
call fcn.14013d07c
mov ecx, ebp
test rax, rax
setne cl
test ecx, ecx
je 0x14007ccb7
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x18]
add rax, 0x18
mov qword [r13], rax
lea rdx, [rsp + 0x38]
mov rcx, r13
call fcn.140002300
lea rdx, [r13 + 8]
lea rcx, [rsp + 0xa0]
call qword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
mov edx, dword [rsp + 0x178]
mov dword [r13 + 0x10], edx
mov rdi, qword [rsp + 0xe8]
test rdi, rdi
je 0x14007cbba
nop
nop
mov rsi, rdi
mov rcx, rdi
test rdi, rdi
je 0x14007ccb1
mov rdi, qword [rdi]
mov rcx, qword [rcx + 0x10]
test rcx, rcx
je 0x14007cb9e
add rcx, 8
lea rdx, [r13 + 8]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
je 0x14007cba5
test rdi, rdi
je 0x14007cbba
jmp 0x14007cb70
mov r8, r13
mov rdx, rsi
lea rcx, [rsp + 0xe0]
call fcn.14014f264
jmp 0x14007cbca
mov rdx, r13
lea rcx, [rsp + 0xe0]
call fcn.14014f220
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 8]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
jne 0x14007cc00
cmp dword [rsp + 0x178], eax
jne 0x14007cc0a
mov r13d, eax
mov esi, eax
mov dword [rsp + 0x170], eax
mov r12d, dword [rsp + 0x160]
jmp 0x14007cc9a
cmp dword [rsp + 0x178], 1
je 0x14007cc5b
lea rdx, [rsp + 0x60]
lea rcx, [r13 + 8]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
mov r13d, 1
cmove r15d, r13d
mov esi, dword [rsp + 0x170]
mov r12d, dword [rsp + 0x160]
jmp 0x14007cc9a
mov esi, dword [rsp + 0x170]
jmp 0x14007cc9a
mov esi, dword [rsp + 0x170]
jmp 0x14007cc9a
mov esi, dword [rsp + 0x170]
jmp 0x14007cc9a
mov esi, dword [rsp + 0x170]
jmp 0x14007cc9a
mov esi, dword [rsp + 0x170]
mov r12d, dword [rsp + 0x160]
mov r13d, 1
jmp 0x14007cc9a
mov esi, dword [rsp + 0x170]
jmp 0x14007cc9a
mov esi, dword [rsp + 0x170]
jmp 0x14007cc9a
mov esi, dword [rsp + 0x170]
jmp 0x14007cc9a
mov esi, dword [rsp + 0x170]
mov r13d, 1
add r14d, 1
cmp r14d, dword [rsp + 0x58]
jae 0x14007ccc2
lea rsi, str.Render_
jmp 0x14007c8b0
call fcn.14013d908
int3
mov ecx, 0x80004005
call fcn.140001c00
int3
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14007ccd7
mov qword [rsp + 0x30], rbp
mov rax, qword [rcx]
call qword [rax + 0x10]
test esi, esi
je 0x14007cdac
mov qword [rsp + 0x68], rbp
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [0x1401a77d0]
mov r8d, r13d
xor edx, edx
lea rcx, [0x1401a77c0]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x14007cd9c
mov rdi, qword [rsp + 0xe8]
test rdi, rdi
je 0x14007cd9c
mov rsi, rdi
test rdi, rdi
je 0x14007cd96
mov rdi, qword [rdi]
mov rsi, qword [rsi + 0x10]
test rsi, rsi
je 0x14007cd8f
cmp dword [rsi + 0x10], 1
jne 0x14007cd8f
lea rcx, [rsi + 8]
lea rdx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CompareFileTime]
cmp eax, 1
jne 0x14007cd84
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
xor r8d, r8d
mov rdx, qword [rsi]
call qword [rax + 0x60]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov r8d, r13d
mov rdx, qword [rsi]
call qword [rax + 0x60]
mov rcx, qword [rsp + 0x68]
mov rax, qword [rcx]
mov r8d, 2
mov rdx, qword [rsi]
call qword [rax + 0x60]
mov ecx, 2
call qword [sym.imp.KERNEL32.dll_Sleep]
test rdi, rdi
jne 0x14007cd20
jmp 0x14007cd9c
call fcn.14013d908
nop
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14007cdac
mov rax, qword [rcx]
call qword [rax + 0x10]
test r12d, r12d
jne 0x14007cdd7
test r15d, r15d
sete bpl
mov r9d, ebp
lea r8, str.RenderDefaultFixed
lea rdx, str.General
lea rcx, [0x14022e890]
call fcn.14014baf0
jmp 0x14007cdfb
test r15d, r15d
sete bpl
mov r9d, ebp
lea r8, str.CaptureDefaultFixed
lea rdx, str.General
lea rcx, [0x14022e890]
call fcn.14014baf0
mov rdi, qword [rsp + 0xe8]
test rdi, rdi
je 0x14007ce4f
mov rsi, rdi
test rdi, rdi
je 0x14007ce49
mov rdi, qword [rdi]
mov rsi, qword [rsi + 0x10]
test rsi, rsi
je 0x14007ce42
mov rdx, qword [rsi]
sub rdx, 0x18
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14007ce3a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, rsi
call fcn.14013d06c
test rdi, rdi
jne 0x14007ce08
jmp 0x14007ce4f
call fcn.14013d908
int3
lea rcx, [rsp + 0xe0]
call fcn.14014efc8
nop
lea rcx, [rsp + 0xe0]
call fcn.14014f144
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14007ce8c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
add ebx, 0xffffffff
test ebx, ebx
jg 0x14007ceab
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x14007cebf
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x14007ced0
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x14007cee1
mov rax, qword [rcx]
call qword [rax + 0x10]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x14007cef1
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rbx, qword [rsp + 0x168]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret