Function at 0x1400014c0
Capabilities:
Query or enumerate registry value

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x110
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x160], rbx
mov rax, qword [0x14002a0c0]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x50], rdx
mov r13, rcx
mov qword [rsp + 0x70], rcx
xor r12d, r12d
mov dword [rsp + 0x44], r12d
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
lea r14, str.SYSTEMCurrentControlSetControlMediaCategories_
lea r15d, [r12 + 1]
or rbp, 0xffffffffffffffff
test r14, 0xffffffffffff0000
jne 0x14000156e
movzx edi, r14w
xor edx, edx
mov ecx, edi
call fcn.140001030
test rax, rax
je 0x140001666
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.1400021c0
mov rbx, qword [rsp + 0x30]
jmp 0x140001666
xor eax, eax
mov rcx, rbp
mov rdi, r14
repne scasw ax, word [rdi]
not rcx
sub rcx, r15
mov rdi, rcx
test ecx, ecx
jne 0x1400015e5
lea rdx, [rbx - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140001666
cmp dword [rdx + 0x10], eax
jge 0x1400015b7
cmp dword [rbx - 0xc], eax
jge 0x1400015ab
mov ecx, 0x80070057
call fcn.140001010
int3
mov dword [rbx - 0x10], r12d
mov word [rbx], ax
jmp 0x140001666
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x1400015ce
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rbx, [rax + 0x18]
mov qword [rsp + 0x30], rbx
jmp 0x140001666
mov esi, dword [rbx - 0x10]
mov r12, r14
sub r12, rbx
sar r12, 1
mov ecx, r15d
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x140001611
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.1400024b0
mov rbx, qword [rsp + 0x30]
cmp r12, rsi
ja 0x140001631
movsxd rax, edi
lea rsi, [rax + rax]
lea r8, [rbx + r12*2]
mov r9, rsi
mov rdx, rsi
mov rcx, rbx
call fcn.14000dc20
jmp 0x140001649
movsxd rax, edi
lea rsi, [rax + rax]
mov r9, rsi
mov r8, r14
mov rdx, rsi
mov rcx, rbx
call fcn.14000dab0
test edi, edi
js 0x140001ccd
cmp edi, dword [rbx - 0xc]
jg 0x140001ccd
mov dword [rbx - 0x10], edi
mov word [rsi + rbx], 0
xor r12d, r12d
mov qword [rsp + 0x60], r12
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rsi, [rax + 0x18]
mov qword [rsp + 0x38], rsi
lea rdx, [0x140023544]
test rdx, 0xffffffffffff0000
jne 0x1400016bf
movzx edi, dx
xor edx, edx
mov ecx, edi
call fcn.140001030
test rax, rax
je 0x1400017c3
mov r8d, edi
mov rdx, rax
lea rcx, [rsp + 0x38]
call fcn.1400021c0
jmp 0x1400017c3
xor eax, eax
mov rcx, rbp
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rdi, rcx
test ecx, ecx
jne 0x14000173c
lea rdx, [rsi - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], eax
je 0x1400017c3
cmp dword [rdx + 0x10], eax
jge 0x140001709
cmp dword [rsi - 0xc], eax
jge 0x1400016fd
mov ecx, 0x80070057
call fcn.140001010
int3
mov dword [rsi - 0x10], r12d
mov word [rsi], ax
jmp 0x1400017c3
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140001720
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rsp + 0x38], rax
mov rbx, qword [rsp + 0x30]
jmp 0x1400017c3
mov r12d, dword [rsi - 0x10]
mov r14, rdx
sub r14, rsi
sar r14, 1
mov ecx, r15d
sub ecx, dword [rsi - 8]
mov eax, dword [rsi - 0xc]
sub eax, edi
or eax, ecx
jge 0x140001770
mov edx, edi
lea rcx, [rsp + 0x38]
call fcn.1400024b0
mov rsi, qword [rsp + 0x38]
lea rdx, [0x140023544]
cmp r14, r12
ja 0x140001790
movsxd rax, edi
lea r12, [rax + rax]
lea r8, [rsi + r14*2]
mov r9, r12
mov rdx, r12
mov rcx, rsi
call fcn.14000dc20
jmp 0x1400017a8
movsxd rax, edi
lea r12, [rax + rax]
mov r9, r12
mov r8, rdx
mov rdx, r12
mov rcx, rsi
call fcn.14000dab0
test edi, edi
js 0x140001cc2
cmp edi, dword [rsi - 0xc]
jg 0x140001cc2
mov dword [rsi - 0x10], edi
mov word [r12 + rsi], 0
mov rdx, qword [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.140001340
nop
mov r12, qword [rax]
movsxd r15, dword [r12 - 0x10]
mov rsi, r12
sub rsi, rbx
sar rsi, 1
mov r14d, dword [rbx - 0x10]
lea edi, [r14 + r15]
mov ecx, 1
sub ecx, dword [rbx - 8]
mov eax, dword [rbx - 0xc]
sub eax, edi
or eax, ecx
jge 0x14000180e
mov edx, edi
lea rcx, [rsp + 0x30]
call fcn.1400024b0
mov rbx, qword [rsp + 0x30]
cmp rsi, r14
ja 0x140001817
lea r12, [rbx + rsi*2]
mov rdx, r15
add rdx, rdx
lea rcx, [rbx + r14*2]
mov r9, rdx
mov r8, r12
call fcn.14000dab0
test edi, edi
js 0x140001cb7
cmp edi, dword [rbx - 0xc]
jg 0x140001cb7
mov dword [rbx - 0x10], edi
movsxd rax, edi
mov word [rbx + rax*2], 0
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140001869
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor esi, esi
mov qword [rsp + 0x48], rsi
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
mov rdx, qword [rsp + 0x30]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x140001be0
mov rcx, qword [rsp + 0x48]
mov qword [rsp + 0x60], rcx
mov dword [rsp + 0x40], 0x80
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x44]
xor r8d, r8d
lea rdx, str.Name
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140001af5
mov eax, dword [rsp + 0x44]
cmp eax, 1
je 0x1400018f5
cmp eax, 2
jne 0x140001af5
mov eax, dword [rsp + 0x40]
test eax, eax
je 0x140001914
test al, 1
jne 0x140001af5
shr rax, 1
cmp word [rsp + rax*2 + 0x7e], si
je 0x14000191c
jmp 0x140001af5
mov word [rsp + 0x80], si
xor eax, eax
mov rcx, rbp
lea rdi, [rsp + 0x80]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
mov rbx, rcx
test ecx, ecx
jne 0x14000199d
mov rdi, qword [rsp + 0x38]
lea rdx, [rdi - 0x18]
mov rbx, qword [rdx]
cmp dword [rdx + 8], eax
je 0x140001a2c
cmp dword [rdx + 0x10], eax
jge 0x14000196f
cmp dword [rdi - 0xc], eax
jge 0x140001964
mov ecx, 0x80070057
call fcn.140001010
int3
mov dword [rdi - 0x10], esi
mov word [rdi], ax
jmp 0x140001a2c
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140001986
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x38], rdi
jmp 0x140001a2c
mov rdi, qword [rsp + 0x38]
mov esi, dword [rdi - 0x10]
lea r12, [rsp + 0x80]
sub r12, rdi
sar r12, 1
mov ecx, 1
sub ecx, dword [rdi - 8]
mov eax, dword [rdi - 0xc]
sub eax, ebx
or eax, ecx
jge 0x1400019d5
mov edx, ebx
lea rcx, [rsp + 0x38]
call fcn.1400024b0
mov rdi, qword [rsp + 0x38]
cmp r12, rsi
ja 0x1400019f5
movsxd rax, ebx
lea rsi, [rax + rax]
lea r8, [rdi + r12*2]
mov r9, rsi
mov rdx, rsi
mov rcx, rdi
call fcn.14000dc20
jmp 0x140001a12
movsxd rax, ebx
lea rsi, [rax + rax]
mov r9, rsi
lea r8, [rsp + 0x80]
mov rdx, rsi
mov rcx, rdi
call fcn.14000dab0
test ebx, ebx
js 0x140001aea
cmp ebx, dword [rdi - 0xc]
jg 0x140001aea
mov dword [rdi - 0x10], ebx
mov word [rsi + rdi], 0
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
cmp dword [rdi - 8], 0
jl 0x140001a50
cmp rax, qword [rdi - 0x18]
jne 0x140001a50
lea rbx, [rdi - 0x18]
lock add dword [rdi - 8], 1
jmp 0x140001a8e
mov rax, qword [rax]
mov r8d, 2
mov edx, dword [rdi - 0x10]
call qword [rax]
mov rbx, rax
test rax, rax
jne 0x140001a6c
call fcn.1400021b0
int3
mov eax, dword [rdi - 0x10]
mov dword [rbx + 8], eax
mov eax, dword [rdi - 0x10]
add eax, 1
movsxd rdx, eax
lea r9, [rdx + rdx]
mov r8, rdi
add rdx, rdx
lea rcx, [rbx + 0x18]
call fcn.14000dab0
lea rax, [rbx + 0x18]
mov qword [r13], rax
mov eax, ebp
lock xadd dword [rdi - 8], eax
add eax, 0xffffffff
test eax, eax
jg 0x140001ab3
mov rcx, qword [rdi - 0x18]
mov rax, qword [rcx]
lea rdx, [rdi - 0x18]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140001ac4
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x140001ae2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, r13
jmp 0x140001cd8
mov ecx, 0x80070057
call fcn.140001010
int3
lea r9, str..Common.cpp
mov r8d, 0x131
lea rdx, str.RtkAudioService
lea rcx, str.__s__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140001000
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [r13], rax
lea rdx, [rax - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140001b88
cmp dword [rdx + 0x10], 0
jge 0x140001b60
cmp dword [rax - 0xc], 0
jge 0x140001b52
mov ecx, 0x80070057
call fcn.140001010
int3
mov dword [rax - 0x10], esi
mov rax, qword [r13]
mov word [rax], 0
jmp 0x140001b88
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140001b77
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [r13], rax
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140001ba9
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rsp + 0x48]
test rcx, rcx
je 0x140001bba
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x140001bd8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, r13
jmp 0x140001cd8
lea r9, str..Common.cpp
mov r8d, 0x12e
lea rdx, str.RtkAudioService
lea rcx, str.__s__RETURN_FALSE_ON_FALSE:_Line___d__File___s_n
call fcn.140001000
lea rcx, section..data
mov rax, qword [section..data]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [r13], rax
lea rdx, [rax - 0x18]
mov rdi, qword [rdx]
cmp dword [rdx + 8], 0
je 0x140001c73
cmp dword [rdx + 0x10], 0
jge 0x140001c4b
cmp dword [rax - 0xc], 0
jge 0x140001c3d
mov ecx, 0x80070057
call fcn.140001010
int3
mov dword [rax - 0x10], esi
mov rax, qword [r13]
mov word [rax], 0
jmp 0x140001c73
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140001c62
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, qword [rdi]
mov rcx, rdi
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [r13], rax
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
mov eax, ebp
lock xadd dword [rdx + 0x10], eax
add eax, 0xffffffff
test eax, eax
jg 0x140001c94
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebp
add ebp, 0xffffffff
test ebp, ebp
jg 0x140001cb2
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rax, r13
jmp 0x140001cd8
mov ecx, 0x80070057
call fcn.140001010
nop
mov ecx, 0x80070057
call fcn.140001010
nop
mov ecx, 0x80070057
call fcn.140001010
nop
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.14000d970
mov rbx, qword [rsp + 0x160]
add rsp, 0x110
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret