Function at 0x1400126a0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x14005d030]
xor rax, rsp
mov qword [rbp + 0x47], rax
xor esi, esi
xor dil, dil
mov rcx, qword [0x140060380]
mov rdx, qword [0x140060388]
cmp rcx, rdx
je 0x140012936
sub rdx, rcx
movabs rax, 0x6666666666666667
imul rdx
sar rdx, 6
mov rax, rdx
shr rax, 0x3f
add rdx, rax
je 0x140012936
cmp dword [rcx + 8], esi
jne 0x140012936
mov ebx, esi
mov qword [rbp - 0x11], rbx
mov dword [rbp - 9], esi
mov qword [rbp - 1], rsi
add rcx, 0x48
mov rdx, qword [rcx + 0x10]
movabs rax, 0x7ffffffffffffffe
sub rax, rdx
cmp rax, 0x41
jb 0x14001296b
cmp qword [rcx + 0x18], 8
jb 0x140012750
mov rcx, qword [rcx]
mov qword [rsp + 0x30], rdx
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], 0x41
lea r9, str.SoftwareMicrosoftWindowsCurrentVersionMMDevicesAudioRender_
lea rcx, [rbp + 0x27]
call fcn.140016190
nop
mov r8d, 0xb
lea rdx, str.Properties
lea rcx, [rbp + 0x27]
call fcn.1400151b0
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x17], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rbp + 7], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rbp + 0x17], xmm1
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], 7
mov word [rax], si
mov rdx, qword [rbp + 0x3f]
cmp rdx, 8
jb 0x1400127f7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x27]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400127f2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012971
call fcn.140024800
lea rdx, [rbp + 7]
cmp qword [rbp + 0x1f], 8
cmovae rdx, qword [rbp + 7]
mov qword [rbp - 0x29], rsi
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
mov r9d, 0x101
xor r8d, r8d
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1400128db
mov rbx, qword [rbp - 0x29]
mov dword [rbp - 0x21], esi
mov dword [rbp - 0x1d], 4
lea rax, [rbp - 0x1d]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x21]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x29]
xor r8d, r8d
mov rdx, qword [0x140060368]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400128ca
cmp dword [rbp - 0x29], 4
jne 0x1400128ca
cmp dword [rbp - 0x21], eax
setne dil
test rbx, rbx
je 0x140012889
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rsi
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x140012917
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012912
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140012965
jmp 0x140012912
test rbx, rbx
je 0x1400128db
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rsi
mov rdx, qword [rbp + 0x1f]
cmp rdx, 8
jb 0x140012917
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140012912
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14001295f
call fcn.140024800
movdqa xmm0, xmmword [0x140053c70]
mov word [rbp + 7], si
movdqu xmmword [rbp + 0x17], xmm0
test rbx, rbx
je 0x140012936
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
movzx eax, dil
mov rcx, qword [rbp + 0x47]
xor rcx, rsp
call fcn.1400247e0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
call fcn.14002bf94
nop
call fcn.14002bf94
int3
call fcn.140002440
int3
call fcn.14002bf94
int3