Function at 0x1400e2e80
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rax - 0x1d8]
sub rsp, 0x2b0
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1403d88e8]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov r13, rcx
xor edi, edi
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x68], edi
mov qword [rsp + 0x70], rdi
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x1400e3202
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rbx, str.SoftwareRealtekSBCoexist
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.140015a40
or rsi, 0xffffffffffffffff
test al, al
jne 0x1400e2f2b
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400e2f10
mov r8d, eax
mov rdx, rbx
lea rcx, [rsp + 0x50]
call fcn.1400105e0
nop
mov r9d, 0x20019
mov rbx, qword [rsp + 0x50]
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x60]
call fcn.140015610
test eax, eax
je 0x1400e2f9d
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], edi
xor r9d, r9d
mov r8, rbx
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x60]
call fcn.1400153d0
test eax, eax
je 0x1400e2f9d
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400e2f94
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x68], edi
jmp 0x1400e31ac
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x44], edi
mov dword [rsp + 0x48], edi
mov dword [rsp + 0x78], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x78]
xor r8d, r8d
lea rdx, str.ExclusiveEnable
mov r14, qword [rsp + 0x60]
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x7c], 4
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x44]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x74]
xor r8d, r8d
lea rdx, str.Technology
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rbp - 0x80], 4
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x70]
xor r8d, r8d
lea rdx, str.DisablePopUp
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x40], 0
je 0x1400e318f
cmp dword [rsp + 0x44], 3
je 0x1400e318f
cmp dword [rsp + 0x48], 0
jne 0x1400e318f
mov r15d, 1
mov dword [rsp + 0x4c], 0x200
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x7c]
xor r8d, r8d
lea rdx, str.TechnologyName
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400e31ac
mov eax, dword [rbp - 0x7c]
dec eax
cmp eax, r15d
ja 0x1400e31ac
mov ecx, dword [rsp + 0x4c]
test ecx, ecx
je 0x1400e30d7
test r15b, cl
jne 0x1400e31ac
mov eax, ecx
shr rax, 1
cmp word [rbp + rax*2 - 0x62], 0
je 0x1400e30db
jmp 0x1400e31ac
mov word [rbp - 0x60], di
shr ecx, 1
je 0x1400e31ac
call fcn.1400f9930
mov rcx, rax
test rax, rax
je 0x1400e320d
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
cmp qword [r13 + 0x180], 0
jne 0x1400e3127
lea r8, str.AudioObjectUI.cpp
mov edx, 0xcc
lea rcx, str._VCpl__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140055180
jmp 0x1400e3148
mov rcx, qword [0x1403ff420]
mov rax, qword [rcx]
mov dword [rsp + 0x20], edi
mov r9d, 0x13cc
lea r8, [rsp + 0x58]
mov edx, 0x10000102
call qword [rax + 0x18]
lea rcx, [r13 + 0x220]
lea r9, [rbp - 0x60]
lea r8, str.SRS_Premium_Sound
mov rdx, qword [rsp + 0x58]
call fcn.14000dfa0
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400e3183
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov r14, qword [rsp + 0x60]
mov rbx, qword [rsp + 0x50]
jmp 0x1400e3192
mov r15d, edi
test r14, r14
je 0x1400e31a5
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x60], rdi
mov dword [rsp + 0x68], edi
mov edi, r15d
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1400e31c5
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
nop
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400e31d5
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14029d880
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.14000de90
nop
mov ecx, 0x80004005
call fcn.14000de90
int3