Function at 0x140112fb0
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 [0x14020e318]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov r12, rcx
xor r13d, r13d
mov qword [rsp + 0x50], r13
call fcn.14013e120
mov rcx, rax
mov edx, r13d
test rax, rax
setne dl
test edx, edx
jne 0x140113014
mov ecx, 0x80004005
call fcn.140001c70
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 0x14011305d
movzx edi, dx
mov ecx, edi
call fcn.14014c5c0
test rax, rax
je 0x14011307e
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140005140
mov rbx, qword [rsp + 0x58]
jmp 0x14011307e
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.1400038f0
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 0x1401130bf
mov rdi, qword [rsp + 0x90]
mov qword [rsp + 0x50], rdi
jmp 0x14011311e
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 0x1401133b8
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 0x140113374
cmp dword [rsp + 0x6c], 3
je 0x140113374
cmp dword [rsp + 0x68], 0
jne 0x140113374
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 0x140113346
mov eax, dword [rsp + 0x80]
cmp eax, ebp
je 0x140113254
cmp eax, 2
jne 0x140113346
mov ecx, dword [rsp + 0x60]
test ecx, ecx
je 0x14011327b
test bpl, cl
jne 0x140113346
mov rax, rcx
shr rax, 1
cmp word [rsp + rax*2 + 0xae], 0
je 0x140113285
jmp 0x140113346
mov word [rsp + 0xb0], 0
shr ecx, 1
je 0x140113346
call fcn.14013e120
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x1401132ad
mov ecx, 0x80004005
call fcn.140001c70
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 0x1401132f1
mov rcx, qword [0x14022c3b0]
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.140001df0
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 0x14011333a
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 0x140113377
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
jmp 0x140113377
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x140113360
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 0x140113370
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1401133d4
mov ebp, r13d
test rdi, rdi
je 0x14011338a
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 0x1401133a4
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 0x1401133b4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
jmp 0x1401133d4
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x1401133d2
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.14015b6f0
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