Function at 0x14001bc39
Capabilities:
Query or enumerate registry value

Disassembly:
test rdx, rdx
je 0x14001beb6
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov qword [rsp + 0x38], 0xfffffffffffffffe
mov qword [rsp + 0x170], rbx
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rsi, r8
mov r15, rdx
test r8, r8
je 0x14001be94
cmp dword [r8 + 0x80], 2
jne 0x14001be94
cmp r9d, 1
jne 0x14001be94
add rdx, 0xb8
lea rcx, [rsp + 0x58]
call fcn.14001d8a0
nop
lea rdx, [rsp + 0x58]
cmp qword [rsp + 0x70], 8
cmovae rdx, qword [rsp + 0x58]
lea rcx, [rsp + 0x30]
call fcn.140016290
nop
lea rcx, [rsp + 0x58]
call fcn.1400166e0
lea rcx, [rsp + 0x30]
call fcn.14001d830
mov rdx, qword [rax]
lea r8, [rdx - 0x18]
mov rcx, qword [rsp + 0x30]
lea rbx, [rcx - 0x18]
mov edi, 0xffffffff
cmp r8, rbx
je 0x14001bd3e
cmp dword [rbx + 0x10], 0
jl 0x14001bd2b
mov rax, qword [rbx]
cmp qword [r8], rax
jne 0x14001bd2b
mov rcx, r8
call fcn.14001dc80
mov r14, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x14001bd20
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8 + 8]
lea rcx, [r14 + 0x18]
mov qword [rsp + 0x30], rcx
jmp 0x14001bd3e
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x30]
call fcn.140016ed0
mov rcx, qword [rsp + 0x30]
xor r14d, r14d
cmp dword [rcx - 0x10], r14d
jl 0x14001bd68
lea rdx, str.BTHENUM
call fcn.14016467c
test rax, rax
je 0x14001bd68
sub rax, qword [rsp + 0x30]
sar rax, 1
cmp eax, edi
jne 0x14001bdea
mov dword [rsp + 0x48], r14d
mov qword [rsp + 0x40], r14
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14001bddf
mov dword [rsp + 0x4c], 4
lea rax, [rsp + 0x4c]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.AppInstalled
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x40]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
cmp dword [rsp + 0x48], r14d
jne 0x14001be78
lea rdx, [rsp + 0x78]
mov rcx, rsi
call fcn.14002b820
nop
cmp qword [rax + 0x18], 8
jb 0x14001be02
mov rax, qword [rax]
lea rcx, [rbp - 0x58]
mov qword [rbp - 0x60], rcx
mov r8d, 3
mov rdx, rax
lea rcx, [rbp - 0x60]
call fcn.140016ab0
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x60]
call fcn.14003c8f0
mov rbx, rax
lea rax, [rbp - 0x58]
mov rcx, qword [rbp - 0x60]
cmp rcx, rax
je 0x14001be40
call fcn.14016e4d0
nop
lea rcx, [rsp + 0x78]
call fcn.1400166e0
test rbx, rbx
je 0x14001be78
mov dword [rsp + 0x20], r14d
mov r9d, 0x40000
mov r8d, 0xfffffffd
mov edx, dword [r15 + 0xf4]
mov rcx, rbx
call fcn.14003f6e0
mov rcx, rbx
call fcn.14003da40
nop
mov rdx, qword [rsp + 0x30]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14001be94
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140146480
mov rbx, qword [rsp + 0x170]
add rsp, 0x140
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret