Function at 0x1400ebec0
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x218]
sub rsp, 0x2f0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rbp + 0x1e0], rax
mov r13, rcx
lea rax, [0x14022a4b0]
mov qword [rsp + 0x20], rax
lea r9, str.JackSense
lea r8, str.SOFTWAREWaves_AudioMaxxAudioSettings
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x40]
call fcn.14001fbd0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [r13 + 0x140]
sub rbx, 0x18
cmp rcx, rbx
je 0x1400ebf96
cmp dword [rbx + 0x10], 0
jl 0x1400ebf85
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400ebf85
call fcn.14001dc80
mov rsi, rax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x1400ebf78
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8 + 8]
lea rax, [rsi + 0x18]
mov qword [r13 + 0x140], rax
jmp 0x1400ebf96
mov r8d, dword [rdx - 0x10]
lea rcx, [r13 + 0x140]
call fcn.140016ed0
nop
mov rdx, qword [rsp + 0x40]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ebfb7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
xor eax, eax
mov qword [rbp - 0x50], rax
xor r15d, r15d
mov edi, r15d
mov qword [rbp - 0x68], r15
mov ebx, r15d
mov qword [rbp - 0x60], rbx
mov qword [rbp - 0x58], r15
mov dword [rbp - 0x50], r15d
mov qword [rsp + 0x70], r15
lea rax, [rsp + 0x70]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioDellOptimizer
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400ec0b8
mov qword [rbp - 0x60], rbx
mov r12d, r15d
mov qword [rbp - 0x58], r15
xor esi, esi
lea r14d, [r15 + 1]
mov dword [rbp - 0x48], 0x104
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x48]
lea r8, [rbp - 0x30]
mov edx, r15d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
test eax, eax
jne 0x1400ec092
mov rsi, rbx
cmp rbx, r12
jb 0x1400ec07a
lea rdx, [rbx + 1]
lea rcx, [rbp - 0x68]
call fcn.140021a80
test al, al
je 0x1400ec35e
mov r12, qword [rbp - 0x58]
mov rbx, qword [rbp - 0x60]
mov rdi, qword [rbp - 0x68]
lea rcx, [rdi + rsi*8]
lea rdx, [rbp - 0x30]
call fcn.140016290
inc rbx
mov qword [rbp - 0x60], rbx
xor esi, esi
jmp 0x1400ec09e
mov r14d, esi
cmp eax, 0x103
setne r14b
inc r15d
mov rcx, qword [rsp + 0x70]
test r14d, r14d
jne 0x1400ec021
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
xor r15d, r15d
mov r14d, r15d
test rbx, rbx
je 0x1400ec284
mov rsi, r15
nop word [rax + rax]
mov qword [rbp - 0x70], r15
cmp rsi, rbx
jae 0x1400ec353
mov rcx, qword [rdi + rsi*8]
sub rcx, 0x18
call fcn.14001dc80
lea rbx, [rax + 0x18]
mov qword [rbp - 0x70], rbx
mov dword [rbp - 0x78], r15d
mov qword [rsp + 0x78], r15
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioDellOptimizer
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x1400ec160
mov dword [rbp - 0x44], 4
lea rax, [rbp - 0x44]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x3c]
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov r10, qword [r13 + 0x148]
mov rbx, r10
mov r8, qword [r10 + 8]
mov rax, qword [rbp - 0x70]
cmp byte [r8 + 0x19], 0
jne 0x1400ec1ca
nop dword [rax]
test rax, rax
je 0x1400ec369
mov rcx, qword [r8 + 0x20]
mov r9, rax
sub r9, rcx
movzx edx, word [rcx]
cmp dx, word [rcx + r9]
jne 0x1400ec1ab
add rcx, 2
test dx, dx
jne 0x1400ec193
mov ecx, r15d
jmp 0x1400ec1b0
sbb ecx, ecx
or ecx, 1
shr ecx, 0x1f
test cl, cl
je 0x1400ec1bd
mov r8, qword [r8 + 0x10]
jmp 0x1400ec1c3
mov rbx, r8
mov r8, qword [r8]
cmp byte [r8 + 0x19], 0
je 0x1400ec180
cmp rbx, r10
je 0x1400ec203
mov rdx, qword [rbx + 0x20]
test rdx, rdx
je 0x1400ec348
sub rdx, rax
nop
movzx ecx, word [rax]
cmp cx, word [rax + rdx]
jne 0x1400ec1f7
add rax, 2
test cx, cx
jne 0x1400ec1e0
mov eax, r15d
jmp 0x1400ec1fc
sbb eax, eax
or eax, 1
shr eax, 0x1f
test al, al
je 0x1400ec23f
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
lea r8, [rsp + 0x48]
lea rcx, [r13 + 0x148]
call fcn.1400ed4b0
lea r9, [rax + 0x20]
mov qword [rsp + 0x20], rax
mov r8, rbx
lea rdx, [rsp + 0x50]
lea rcx, [r13 + 0x148]
call fcn.1400ed520
mov rbx, qword [rsp + 0x50]
mov qword [rsp + 0x60], rbx
mov eax, dword [rbp - 0x78]
mov dword [rbx + 0x28], eax
mov rdx, qword [rbp - 0x70]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ec26a
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
inc r14d
inc rsi
movsxd rax, r14d
mov rbx, qword [rbp - 0x60]
mov rdi, qword [rbp - 0x68]
cmp rax, rbx
jb 0x1400ec0d0
mov dword [rbp - 0x74], r15d
mov qword [rbp - 0x80], r15
lea rax, [rbp - 0x80]
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 [rbp - 0x80]
test rcx, rcx
je 0x1400ec2f2
mov dword [rbp - 0x40], 4
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x38]
xor r8d, r8d
lea rdx, str.DoNotShowJackSenseDialog
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
cmp dword [rbp - 0x74], 0
setne al
mov byte [r13 + 0x158], al
test rdi, rdi
je 0x1400ec318
mov rdx, rbx
mov rcx, rdi
call fcn.140021b70
mov rcx, rdi
call fcn.14016e4d0
mov rcx, qword [rbp + 0x1e0]
xor rcx, rsp
call fcn.140146480
lea r11, [rsp + 0x2f0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov ecx, 0x80004005
call fcn.1400151f0
nop
mov ecx, 0x80070057
call fcn.1400151f0
int3
mov ecx, 0x8007000e
call fcn.1400151f0
nop
mov ecx, 0x80004005
call fcn.1400151f0
int3