Function at 0x14000d350
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x28]
sub rsp, 0x110
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
mov rax, qword [0x140030010]
xor rax, rsp
mov qword [rbp], rax
xor r14b, r14b
lea rcx, [0x1400312c8]
call qword [sym.imp.MSVCP140.dll__Mtx_lock]
test eax, eax
je 0x14000d3a7
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
int3
mov rbx, qword [0x140031350]
mov rsi, qword [0x140031358]
cmp rbx, rsi
je 0x14000d6a7
xor r15d, r15d
movabs r12, 0x7ffffffffffffffe
nop dword [rax + rax]
mov rcx, qword [rbx]
mov qword [rbp - 0x50], rcx
test rcx, rcx
je 0x14000d3e3
mov rax, qword [rcx]
call qword [rax + 8]
nop
lea rdx, [rbx + 8]
lea rcx, [rbp - 0x48]
call fcn.14000f130
mov rcx, qword [rbx + 0x28]
mov qword [rbp - 0x28], rcx
test rcx, rcx
je 0x14000d404
mov rax, qword [rcx]
call qword [rax + 8]
nop
mov qword [rsp + 0x50], r15
mov dword [rsp + 0x58], r15d
mov qword [rsp + 0x60], r15
lea rdx, [rbp - 0x48]
cmp qword [rbp - 0x30], 8
cmovae rdx, qword [rbp - 0x48]
lea rcx, [rbp - 0x70]
call fcn.14001aa90
nop
mov rax, r12
mov rcx, qword [rbp - 0x60]
sub rax, rcx
cmp rax, 0x41
jb 0x14000d85a
lea rax, [rbp - 0x70]
cmp qword [rbp - 0x58], 8
cmovae rax, qword [rbp - 0x70]
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], 0x41
lea r9, str.SoftwareMicrosoftWindowsCurrentVersionMMDevicesAudioRender_
lea rcx, [rbp - 0x20]
call fcn.140010650
nop
mov r8d, 0xb
lea rdx, str.Properties
lea rcx, [rbp - 0x20]
call fcn.14000f6a0
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r15
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x70], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp - 0x80], xmm1
mov qword [rax + 0x10], r15
mov qword [rax + 0x18], 7
mov word [rax], r15w
mov rdx, qword [rbp - 8]
cmp rdx, 8
jb 0x14000d4ef
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d4ea
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d6c5
call fcn.14001d9e0
lea r8, [rsp + 0x70]
cmp qword [rbp - 0x78], 8
cmovae r8, qword [rsp + 0x70]
mov rdx, 0xffffffff80000002
mov r9d, 0x101
lea rcx, [rsp + 0x50]
call fcn.140001e50
mov rdi, qword [rsp + 0x50]
test eax, eax
jne 0x14000d567
mov dword [rsp + 0x44], r15d
mov dword [rsp + 0x40], 4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x48]
xor r8d, r8d
mov rdx, qword [0x140031348]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14000d567
cmp dword [rsp + 0x48], 4
je 0x14000d6cc
test rdi, rdi
je 0x14000d578
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r15
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14000d5b9
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d5b4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d814
call fcn.14001d9e0
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r15w
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14000d60b
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d606
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d81b
call fcn.14001d9e0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r15w
test rdi, rdi
je 0x14000d62b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14000d63a
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x14000d67a
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d675
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000d822
call fcn.14001d9e0
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r15w
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14000d69a
mov rax, qword [rcx]
call qword [rax + 0x10]
add rbx, 0x30
cmp rbx, rsi
jne 0x14000d3d0
lea rcx, [0x1400312c8]
call qword [sym.imp.MSVCP140.dll__Mtx_unlock]
test eax, eax
je 0x14000d829
mov ecx, eax
call qword [sym.imp.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov r14b, 1
test rdi, rdi
je 0x14000d6e0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r15
mov rdx, qword [rbp - 0x78]
cmp rdx, 8
jb 0x14000d724
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d71f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d71f
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001d9e0
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], 7
mov word [rsp + 0x70], r15w
mov rdx, qword [rbp - 0x58]
cmp rdx, 8
jb 0x14000d779
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d774
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d774
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001d9e0
mov qword [rbp - 0x60], r15
mov qword [rbp - 0x58], 7
mov word [rbp - 0x70], r15w
test rdi, rdi
je 0x14000d799
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14000d7a8
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rdx, qword [rbp - 0x30]
cmp rdx, 8
jb 0x14000d7eb
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000d7e6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000d7e6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14001d9e0
mov qword [rbp - 0x38], r15
mov qword [rbp - 0x30], 7
mov word [rbp - 0x48], r15w
mov rcx, qword [rbp - 0x50]
test rcx, rcx
je 0x14000d6a7
mov rax, qword [rcx]
call qword [rax + 0x10]
jmp 0x14000d6a7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
nop
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
movzx eax, r14b
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.14001d660
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
call fcn.140002130
nop