Function at 0x140113510
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
sub rsp, 0x2c0
mov qword [rsp + 0xa8], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x140210348]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov r12, rcx
xor r13d, r13d
mov qword [rsp + 0x50], r13
call fcn.14013d07c
mov rcx, rax
mov edx, r13d
test rax, rax
setne dl
test edx, edx
jne 0x140113574
mov ecx, 0x80004005
call fcn.140001c00
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x58], rbx
lea rdx, str.SoftwareRealtekSBCoexist
or rsi, 0xffffffffffffffff
test rdx, 0xffffffffffff0000
jne 0x1401135bd
movzx edi, dx
mov ecx, edi
call fcn.14013d654
test rax, rax
je 0x1401135de
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.1400020e0
mov rbx, qword [rsp + 0x58]
jmp 0x1401135de
xor eax, eax
mov rcx, rsi
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8d, [rcx - 1]
lea rcx, [rsp + 0x58]
call fcn.140002390
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x90], r13
lea rax, [rsp + 0x90]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14011361f
mov rdi, qword [rsp + 0x90]
mov qword [rsp + 0x50], rdi
jmp 0x14011367e
mov qword [rsp + 0x88], r13
lea rax, [rsp + 0xa4]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x88]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r13
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140113918
mov rdi, qword [rsp + 0x88]
mov qword [rsp + 0x50], rdi
mov dword [rsp + 0x64], r13d
mov dword [rsp + 0x6c], r13d
mov dword [rsp + 0x68], r13d
mov dword [rsp + 0x84], 4
lea rax, [rsp + 0x84]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x64]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x98]
xor r8d, r8d
lea rdx, str.ExclusiveEnable
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x7c], 4
lea rax, [rsp + 0x7c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x6c]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x9c]
xor r8d, r8d
lea rdx, str.Technology
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [rsp + 0x78], 4
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0xa0]
xor r8d, r8d
lea rdx, str.DisablePopUp
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [rsp + 0x64], 0
je 0x1401138d4
cmp dword [rsp + 0x6c], 3
je 0x1401138d4
cmp dword [rsp + 0x68], 0
jne 0x1401138d4
mov ebp, 1
mov dword [rsp + 0x60], 0x200
lea rax, [rsp + 0x60]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0xb0]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x80]
xor r8d, r8d
lea rdx, str.TechnologyName
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1401138a6
mov eax, dword [rsp + 0x80]
cmp eax, ebp
je 0x1401137b4
cmp eax, 2
jne 0x1401138a6
mov ecx, dword [rsp + 0x60]
test ecx, ecx
je 0x1401137db
test bpl, cl
jne 0x1401138a6
mov rax, rcx
shr rax, 1
cmp word [rsp + rax*2 + 0xae], 0
je 0x1401137e5
jmp 0x1401138a6
mov word [rsp + 0xb0], 0
shr ecx, 1
je 0x1401138a6
call fcn.14013d07c
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x14011380d
mov ecx, 0x80004005
call fcn.140001c00
int3
mov rax, qword [rax]
mov rcx, rdx
call qword [rax + 0x18]
lea rdx, [rax + 0x18]
mov qword [rsp + 0x70], rdx
cmp qword [r12 + 0x180], 0
je 0x140113851
mov rcx, qword [0x14022e6d0]
mov rax, qword [rcx]
mov dword [rsp + 0x20], r13d
mov r9d, 0x13cc
lea r8, [rsp + 0x70]
mov edx, 0x10000102
call qword [rax + 0x18]
mov rdx, qword [rsp + 0x70]
lea rcx, [r12 + 0x220]
lea r9, [rsp + 0xb0]
lea r8, str.SRS_Premium_Sound
call fcn.140001f50
nop
mov rdx, qword [rsp + 0x70]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x14011389a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
jmp 0x1401138d7
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
jmp 0x1401138d7
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x1401138c0
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1401138d0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x140113934
mov ebp, r13d
test rdi, rdi
je 0x1401138ea
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x50], r13
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x140113904
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140113914
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
jmp 0x140113934
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x140113932
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
xor eax, eax
mov rcx, qword [rsp + 0x2b0]
xor rcx, rsp
call fcn.14015d000
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x28]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r13
pop r12
pop rdi
ret