Function at 0x1400fd900
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 [0x1401ea158]
xor rax, rsp
mov qword [rsp + 0x2b0], rax
mov r12, rcx
xor r13d, r13d
mov qword [rsp + 0x50], r13
call fcn.140129a50
mov rcx, rax
mov edx, r13d
test rax, rax
setne dl
test edx, edx
jne 0x1400fd964
mov ecx, 0x80004005
call fcn.140002d80
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 0x1400fd9ad
movzx edi, dx
mov ecx, edi
call fcn.140138984
test rax, rax
je 0x1400fd9ce
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x58]
call fcn.140004d70
mov rbx, qword [rsp + 0x58]
jmp 0x1400fd9ce
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.1400032e0
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 0x1400fda0f
mov rdi, qword [rsp + 0x90]
mov qword [rsp + 0x50], rdi
jmp 0x1400fda6e
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 0x1400fdd08
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 0x1400fdcc4
cmp dword [rsp + 0x6c], 3
je 0x1400fdcc4
cmp dword [rsp + 0x68], 0
jne 0x1400fdcc4
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 0x1400fdc96
mov eax, dword [rsp + 0x80]
cmp eax, ebp
je 0x1400fdba4
cmp eax, 2
jne 0x1400fdc96
mov ecx, dword [rsp + 0x60]
test ecx, ecx
je 0x1400fdbcb
test bpl, cl
jne 0x1400fdc96
mov rax, rcx
shr rax, 1
cmp word [rsp + rax*2 + 0xae], 0
je 0x1400fdbd5
jmp 0x1400fdc96
mov word [rsp + 0xb0], 0
shr ecx, 1
je 0x1400fdc96
call fcn.140129a50
mov rdx, rax
mov ecx, r13d
test rax, rax
setne cl
test ecx, ecx
jne 0x1400fdbfd
mov ecx, 0x80004005
call fcn.140002d80
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 0x1400fdc41
mov rcx, qword [0x140206cc0]
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.140004be0
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 0x1400fdc8a
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 0x1400fdcc7
mov rdi, qword [rsp + 0x50]
mov rbx, qword [rsp + 0x58]
jmp 0x1400fdcc7
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x1400fdcb0
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 0x1400fdcc0
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x1400fdd24
mov ebp, r13d
test rdi, rdi
je 0x1400fdcda
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 0x1400fdcf4
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 0x1400fdd04
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebp
jmp 0x1400fdd24
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
add esi, 0xffffffff
test esi, esi
jg 0x1400fdd22
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.1401447b0
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