Function at 0x140012d10
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x27]
sub rsp, 0xf0
mov qword [rbp + 7], 0xfffffffffffffffe
mov qword [rsp + 0x140], rbx
mov r12d, r9d
mov r13d, r8d
mov edi, edx
mov rbx, rcx
xor esi, esi
mov r14d, esi
mov r15d, edx
and r15d, 0xffffff00
mov dword [rbp - 0x49], r15d
mov edx, 0x1f31d
mov ecx, r15d
call fcn.1402a7070
mov qword [rbp + 0x67], rax
shr rax, 0x20
imul ecx, eax, 0x41a7
imul eax, dword [rbp + 0x67], 0xb14
sub ecx, eax
jns 0x140012d82
add ecx, 0x7fffffff
xor edx, edx
mov eax, ecx
div dword [rbx + 0x68]
mov r8, qword [rbx + 0x60]
test r8, r8
je 0x140012db6
mov rax, qword [r8 + rdx*8]
test rax, rax
je 0x140012db6
cmp dword [rax + 0x18], ecx
jne 0x140012da5
cmp dword [rax], r15d
je 0x140012dab
mov rax, qword [rax + 0x10]
jmp 0x140012d96
test rax, rax
je 0x140012dbc
mov r14, qword [rax + 8]
jmp 0x140012db9
mov rax, rsi
test rax, rax
cmove r14, rsi
test r14, r14
je 0x140012ddb
mov rax, qword [r14]
mov r9d, r12d
mov r8d, r13d
mov edx, edi
mov rcx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400132cc
cmp edi, 0x23000201
ja 0x14001320c
je 0x1400131fb
add edi, 0xdcffff00
cmp edi, 0xf
ja case.0x140012e0d.587202818
lea rdx, [0x140000000]
mov ecx, dword [rdx + rdi*4 + 0x13620]
add rcx, rdx
jmp rcx
mov rax, qword [rbx + 0x90]
mov eax, dword [rax + 0x1d38]
jmp 0x1400132cc
mov rax, qword [rbx + 0x90]
mov rcx, qword [rax + 0x538]
test rcx, rcx
je 0x140012e43
mov rax, qword [rcx]
call qword [rax + 0x50]
mov esi, eax
mov rax, qword [rbx + 0x90]
mov eax, dword [rax + reloc.COMCTL32.dll_Ordinal_380]
test eax, eax
je 0x14001333d
cmp eax, 0x12
je 0x140012e8d
cmp eax, 0x100
je 0x140012e83
cmp eax, 0x200
je 0x140012e79
cmp eax, 0x300
jne 0x14001333d
mov eax, reloc.OLEAUT32.dll_SafeArrayDestroy
jmp 0x1400132cc
mov eax, SafeArrayDestroy
jmp 0x1400132cc
mov eax, SafeArrayDestroy
jmp 0x1400132cc
mov eax, 0x10
jmp 0x1400132cc
mov rax, qword [rbx + 0x90]
mov eax, dword [rax + 0x15c]
shr eax, 0x17
not eax
and eax, 1
jmp 0x1400132cc
mov rax, qword [rbx + 0x90]
mov eax, dword [rax + 0x168]
jmp 0x1400132cc
mov rax, qword [rbx + 0x90]
mov eax, dword [rax + 0x178]
jmp 0x1400132cc
mov rax, qword [rbx + 0x90]
mov eax, dword [rax + 0x15c]
shr eax, 0xf
and eax, 1
jmp 0x1400132cc
mov rax, qword [rbx + 0x90]
mov eax, dword [rax + 0x12c]
shr eax, 0xa
and eax, 1
jmp 0x1400132cc
mov rcx, qword [rbx + 0x90]
add rcx, 0x1bc8
call fcn.1400a7d40
mov rdi, rax
test rax, rax
je case.0x140012e0d.587202818
test dword [rax + 0x324], 0x800
je 0x140012f4d
mov rax, qword [rbx + 0x90]
test dword [rax + 0x160], 0x4000
setne sil
lea eax, [rsi + 1]
jmp 0x1400132cc
mov rax, qword [rax]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x21130113
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test eax, eax
jne 0x140013341
mov rax, qword [rdi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x21130114
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
test eax, eax
je case.0x140012e0d.587202818
mov eax, 2
jmp 0x1400132cc
mov rcx, qword [rbx + 0x90]
add rcx, 0x1bc8
call fcn.1400a7dd0
test rax, rax
je case.0x140012e0d.587202818
mov r10, qword [rax]
xor r9d, r9d
xor r8d, r8d
mov edx, 0x2102003b
mov rcx, rax
call qword [r10 + reloc.OLEAUT32.dll_VariantClear]
jmp 0x1400132cc
mov rax, qword [rbx + 0x90]
mov eax, dword [rax + 0x114]
shr eax, 0x1c
and eax, 1
jmp 0x1400132cc
mov ecx, 0x93d
mov rdx, qword [rbx + 0x90]
test rdx, rdx
je 0x140013016
test dword [rdx + 0x114], 0x10000000
je 0x140013016
test dword [rdx + 0x188], 0x2000000
mov ecx, esi
setne cl
add ecx, 0x13fb
mov eax, ecx
jmp 0x1400132cc
mov r8d, dword [rdx + 0x168]
sub r8d, 0xf
je 0x140013099
sub r8d, 6
je 0x140013078
cmp r8d, 1
jne 0x14001311c
mov eax, dword [rdx + 0x178]
cmp eax, 0x13d
jne 0x14001304c
mov ecx, 0x1f6b
mov eax, ecx
jmp 0x1400132cc
cmp eax, 0x137
jne 0x14001305f
mov ecx, 0x1f62
mov eax, ecx
jmp 0x1400132cc
mov ecx, 0x1f61
mov edx, 0x1f69
cmp eax, 0x13b
cmove ecx, edx
mov eax, ecx
jmp 0x1400132cc
mov ecx, 0x1439
cmp dword [rdx + 0x178], 0x258
jne 0x14001311c
mov ecx, 0x1f6d
mov eax, ecx
jmp 0x1400132cc
mov ecx, 0x1f4f
mov eax, dword [rdx + 0x548]
bt eax, 0x18
jae 0x1400130b6
mov ecx, 0x1f69
mov eax, ecx
jmp 0x1400132cc
bt eax, 0x13
jae 0x1400130c8
mov ecx, 0x1f68
mov eax, ecx
jmp 0x1400132cc
test eax, 0x40020
jne 0x140013117
bt eax, 9
jae 0x1400130e1
mov ecx, 0x1f55
mov eax, ecx
jmp 0x1400132cc
bt eax, 0xb
jae 0x1400130f3
mov ecx, 0x1f57
mov eax, ecx
jmp 0x1400132cc
bt eax, 0xc
jae 0x140013105
mov ecx, 0x1f56
mov eax, ecx
jmp 0x1400132cc
bt eax, 0xf
jae 0x14001311c
mov ecx, 0x1f58
mov eax, ecx
jmp 0x1400132cc
mov ecx, 0x1f51
mov eax, ecx
jmp 0x1400132cc
mov rax, qword [rbx + 0x90]
test rax, rax
jne 0x14001314e
lea r8, str.AudioCoreSetting.cpp
mov edx, 0x2d0
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
mov eax, esi
jmp 0x1400132cc
test dword [rax + 0x1d0], 0x40000
je 0x1400131ef
mov dword [rbp + 0x67], esi
mov dword [rsp + 0x40], esi
mov rax, qword [0x1403df148]
test eax, eax
jg 0x140013197
lea r8, str.DriverPropertyClient.cpp
mov edx, 0x61
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
mov esi, dword [rbp + 0x67]
not esi
and esi, 1
mov eax, esi
jmp 0x1400132cc
movups xmm0, xmmword [0x1403434b0]
movaps xmmword [rbp + 0x17], xmm0
test rax, rax
jle 0x14001360e
lea rax, [rsp + 0x40]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x67]
mov qword [rsp + 0x20], rax
xor r9d, r9d
lea r8d, [r9 + 0x16]
lea rdx, [rbp + 0x17]
mov rcx, qword [0x1403df140]
mov rcx, qword [rcx]
call fcn.14005f420
mov esi, dword [rbp + 0x67]
not esi
and esi, 1
mov eax, esi
jmp 0x1400132cc
mov esi, 1
mov eax, esi
jmp 0x1400132cc
mov eax, dword [rbx + 0x60c]
shr eax, 5
and eax, 1
jmp 0x1400132cc
cmp edi, 0x23000212
ja 0x1400133c4
je 0x14001337b
sub edi, 0x23000202
je 0x14001336a
sub edi, 1
je 0x140013359
sub edi, 1
je 0x140013348
sub edi, 1
je 0x14001328d
cmp edi, 0xc
jne case.0x140012e0d.587202818
cmp dword [0x1403ff5f4], esi
je 0x140013282
test byte [rbx + 0x60c], 1
lea rax, [0x1403457e4]
lea rdx, [0x1403457f0]
cmovne rdx, rax
lea rcx, [rbp - 0x31]
call fcn.140015b30
xor r8d, r8d
mov rdx, rax
lea ecx, [rdi - 5]
call fcn.14007aa90
mov eax, dword [rbx + 0x60c]
and eax, 1
jmp 0x1400132cc
mov rcx, qword [rbx + 0x90]
test dword [rcx + 0x3c], 0x800
je 0x140013341
add rcx, 0x1bc8
call fcn.1400a7d40
test rax, rax
jne 0x1400132e7
lea r8, str.AudioCoreSetting.cpp
mov edx, 0x127
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
xor eax, eax
mov rbx, qword [rsp + 0x140]
add rsp, 0xf0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
xor ecx, ecx
mov qword [rbp - 0x21], rcx
mov qword [rbp - 0x19], rcx
mov qword [rbp - 0x11], rcx
mov qword [rbp - 9], rcx
mov qword [rbp - 1], rcx
mov rcx, qword [rax + 0x118]
sub rcx, 0x18
call fcn.140015740
add rax, 0x18
mov qword [rbp - 0x51], rax
lea rdx, [rbp - 0x21]
lea rcx, [rbp - 0x51]
call fcn.1400767d0
test eax, eax
jne 0x140013334
lea r8, str.AudioCoreSetting.cpp
mov edx, 0x12a
jmp 0x1400132be
cmp word [rbp - 0x1f], 6
setne sil
mov eax, esi
jmp 0x1400132cc
mov eax, 1
jmp 0x1400132cc
mov eax, dword [rbx + 0x60c]
shr eax, 8
and eax, 1
jmp 0x1400132cc
mov eax, dword [rbx + 0x60c]
shr eax, 7
and eax, 1
jmp 0x1400132cc
mov eax, dword [rbx + 0x60c]
shr eax, 6
and eax, 1
jmp 0x1400132cc
cmp dword [0x1403ff5f4], esi
je 0x1400133b4
test byte [rbx + 0x60c], 2
lea rax, [0x1403457e4]
lea rdx, [0x1403457f0]
cmovne rdx, rax
lea rcx, [rbp - 0x29]
call fcn.140015b30
xor r8d, r8d
mov rdx, rax
lea ecx, [r8 + 8]
call fcn.14007aa90
mov eax, dword [rbx + 0x60c]
shr eax, 1
and eax, 1
jmp 0x1400132cc
cmp edi, 0x23000526
ja 0x140013404
je 0x140013341
sub edi, 0x23000213
je 0x1400133f3
cmp edi, 1
jne case.0x140012e0d.587202818
mov eax, dword [rbx + 0x60c]
shr eax, 3
and eax, edi
jmp 0x1400132cc
mov eax, dword [rbx + 0x60c]
shr eax, 2
and eax, 1
jmp 0x1400132cc
cmp edi, 0x23000601
jb case.0x140012e0d.587202818
cmp edi, 0x23000603
jbe 0x14001342f
cmp edi, 0x23000604
jne case.0x140012e0d.587202818
mov eax, dword [rbx + 0x608]
jmp 0x1400132cc
mov qword [rbp - 0x69], rsi
mov dword [rbp - 0x61], esi
mov qword [rbp - 0x59], rsi
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x140013614
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x71], rax
lea rbx, str.SoftwareRealtekSBCoexist
mov rdx, rbx
lea rcx, [rbp - 0x71]
call fcn.140015a40
or r15, 0xffffffffffffffff
test al, al
jne 0x14001349a
mov rax, r15
nop word [rax + rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x140013480
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp - 0x71]
call fcn.1400105e0
nop
mov r9d, 0x20019
mov rbx, qword [rbp - 0x71]
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x69]
call fcn.140015610
test eax, eax
je 0x140013506
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], esi
xor r9d, r9d
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x69]
call fcn.1400153d0
test eax, eax
je 0x140013506
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x1400134fe
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x69], rsi
mov dword [rbp - 0x61], esi
jmp 0x1400135da
mov dword [rbp + 0x6f], esi
mov r14, qword [rbp - 0x69]
sub edi, 0x23000601
je 0x140013592
sub edi, 1
je 0x14001353d
cmp edi, 1
jne 0x1400135c2
mov dword [rsp + 0x44], 4
lea rax, [rsp + 0x44]
lea r9, [rbp - 0x41]
lea rdx, str.DisablePopUp
jmp 0x1400135a8
mov dword [rsp + 0x48], 4
lea rax, [rsp + 0x48]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x3d]
xor r8d, r8d
lea rdx, str.ExclusiveEnable
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rbp + 0x6f], 0
je 0x14001358d
mov dword [rbp - 0x7d], 4
lea rax, [rbp - 0x7d]
lea r9, [rbp - 0x39]
lea rdx, str.Technology
jmp 0x1400135a8
mov dword [rbp + 0x6f], esi
jmp 0x1400135c2
mov dword [rbp - 0x79], 4
lea rax, [rbp - 0x79]
lea r9, [rbp - 0x35]
lea rdx, str.ExclusiveEnable
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x6f]
mov qword [rsp + 0x20], rax
xor r8d, r8d
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test r14, r14
je 0x1400135d4
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rbp - 0x69], rsi
mov dword [rbp - 0x61], esi
mov esi, dword [rbp + 0x6f]
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], r15d
sub r15d, 1
jg 0x1400135f4
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp - 0x69]
test rcx, rcx
je 0x14001333d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1400132cc
call fcn.1400f91a0
nop
mov ecx, 0x80004005
call fcn.14000de90
int3