Function at 0x140109be0
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x478]
sub rsp, 0x550
mov qword [rsp + 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rbp + 0x440], rax
mov r13, rcx
mov qword [rsp + 0x60], rcx
lea rax, [0x14031b7bc]
mov qword [rsp + 0x20], rax
lea r9, str.JackSense
lea r8, str.SOFTWAREWaves_AudioMaxxAudioSettings
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x50]
call fcn.140056fc0
nop
lea rdi, [r13 + 0x158]
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rdi]
sub rbx, 0x18
cmp rcx, rbx
je 0x140109cbc
cmp dword [rbx + 0x10], 0
jl 0x140109caf
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140109caf
call fcn.14003c400
mov rsi, rax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x140109ca6
mov rcx, qword [rbx]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
mov rdx, rbx
call qword [case.0x14004487d.0]
lea rax, [rsi + 0x18]
mov qword [rdi], rax
jmp 0x140109cbc
mov r8d, dword [rdx - 0x10]
mov rcx, rdi
call fcn.14003beb0
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140109ce4
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
lea r12, [r13 + 0xb0]
mov qword [rsp + 0x58], r12
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
lea r9, str.BackupDORegistry_m_strDOJackSense__s
mov r15d, 1
mov r8d, r15d
mov edx, r15d
mov rcx, r12
call fcn.14011e570
mov rbx, qword [rdi]
xor esi, esi
cmp dword [rbx - 0x10], esi
je 0x140109e30
mov esi, 0x80004005
xor r14d, r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_Audio_Backup
mov rcx, 0xffffffff80000002
test rbx, rbx
jne 0x140109d90
mov qword [rbp - 0x78], r14
lea rax, [rbp]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r14d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x140109e05
lea rdx, str.JackSense
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
mov rcx, qword [rbp - 0x78]
jmp 0x140109dfd
mov qword [rsp + 0x70], r14
lea rax, [rbp + 4]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r14d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
cmp qword [rsp + 0x70], r14
je 0x140109e05
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rbx
mov r9d, r15d
xor r8d, r8d
lea rdx, str.JackSense
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x70]
mov esi, eax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, r14d
test esi, esi
sete al
mov dword [rsp + 0x28], eax
mov rax, qword [rdi]
mov qword [rsp + 0x20], rax
lea r9, str.BackupDORegistry_SetRegistryText_m_strDOJackSense__s_dwRet__d
mov r8d, r15d
mov edx, r15d
mov rcx, r12
call fcn.14011e570
xor esi, esi
xor eax, eax
mov qword [rbp - 0x40], rax
mov rbx, rsi
mov qword [rbp - 0x58], rbx
mov rdi, rsi
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rsi
mov dword [rbp - 0x40], esi
mov qword [rsp + 0x78], rsi
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 0x140109f3e
mov qword [rbp - 0x50], rsi
mov r13, rsi
mov qword [rbp - 0x48], rsi
mov r14d, r15d
mov r12d, esi
nop word [rax + rax]
mov dword [rbp - 0x20], 0x104
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x20]
lea r8, [rbp + 0x20]
mov edx, r12d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
test eax, eax
jne 0x140109f11
mov rsi, rdi
cmp rdi, r13
jb 0x140109ef9
lea rdx, [rdi + 1]
lea rcx, [rbp - 0x58]
call fcn.140058ea0
test al, al
je 0x14010a37d
mov r13, qword [rbp - 0x48]
mov rdi, qword [rbp - 0x50]
mov rbx, qword [rbp - 0x58]
lea rcx, [rbx + rsi*8]
lea rdx, [rbp + 0x20]
call fcn.14003be10
inc rdi
mov qword [rbp - 0x50], rdi
xor esi, esi
jmp 0x140109f1d
mov r14d, esi
cmp eax, 0x103
setne r14b
inc r12d
mov rcx, qword [rsp + 0x78]
test r14d, r14d
jne 0x140109ea0
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov r12, qword [rsp + 0x58]
mov r13, qword [rsp + 0x60]
mov r14d, esi
test rdi, rdi
je 0x14010a07e
nop word [rax + rax]
mov qword [rbp - 0x28], 0
cmp rsi, rdi
jae 0x14010a388
mov rcx, qword [rbx + rsi*8]
sub rcx, 0x18
call fcn.14003c400
lea rbx, [rax + 0x18]
mov qword [rbp - 0x28], rbx
xor edi, edi
mov dword [rbp - 0x38], edi
mov qword [rbp - 0x70], rdi
lea rax, [rbp - 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 [rbp - 0x70]
test rcx, rcx
je 0x140109fe1
mov dword [rbp - 0x1c], 4
lea rax, [rbp - 0x1c]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 8]
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x70]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
lea rcx, [r13 + 0x160]
lea rdx, [rbp - 0x28]
call fcn.140110c90
mov ebx, dword [rbp - 0x38]
mov dword [rax], ebx
mov dword [rsp + 0x20], edi
mov r9d, ebx
mov r8, qword [rbp - 0x28]
lea rdx, str.SOFTWAREWaves_Audio_Backup
mov rcx, 0xffffffff80000002
call fcn.140057160
mov dword [rsp + 0x30], eax
mov dword [rsp + 0x28], ebx
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x20], rax
lea r9, str.BackupDORegistry_SetRegistryDword_entry_:__s_with_value_:__d__dwRet__d
mov r8d, r15d
mov edx, r15d
mov rcx, r12
call fcn.14011e570
nop
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14010a062
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
inc r14d
inc rsi
movsxd rax, r14d
mov rdi, qword [rbp - 0x50]
mov rbx, qword [rbp - 0x58]
cmp rax, rdi
jb 0x140109f50
xor esi, esi
test rbx, rbx
je 0x14010a09d
mov rdx, rdi
mov rcx, rbx
call fcn.140059000
mov rcx, rbx
call fcn.1402384fc
mov rbx, rsi
mov qword [rbp - 0x58], rbx
mov rdi, rsi
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x48], rsi
mov qword [rbp - 0x80], rsi
lea rax, [rbp - 0x80]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioDellOptimizerBackUp
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
cmp qword [rbp - 0x80], 0
je 0x14010a1ad
test rbx, rbx
je 0x14010a0fb
xor edx, edx
mov rcx, rbx
call fcn.140059000
mov rcx, rbx
call fcn.1402384fc
mov rbx, rsi
mov qword [rbp - 0x58], rbx
mov qword [rbp - 0x50], rsi
mov r12, rsi
mov qword [rbp - 0x48], rsi
mov r14d, esi
nop dword [rax]
mov dword [rbp - 0x18], 0x104
mov qword [rsp + 0x38], rsi
mov qword [rsp + 0x30], rsi
mov qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rsi
lea r9, [rbp - 0x18]
lea r8, [rbp + 0x230]
mov edx, r14d
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
test eax, eax
jne 0x14010a18b
mov rsi, rdi
cmp rdi, r12
jb 0x14010a170
lea rdx, [rdi + 1]
lea rcx, [rbp - 0x58]
call fcn.140058ea0
test al, al
je 0x14010a367
mov r12, qword [rbp - 0x48]
mov rdi, qword [rbp - 0x50]
mov rbx, qword [rbp - 0x58]
lea rcx, [rbx + rsi*8]
lea rdx, [rbp + 0x230]
call fcn.14003be10
inc rdi
mov qword [rbp - 0x50], rdi
xor esi, esi
jmp 0x14010a197
mov r15d, esi
cmp eax, 0x103
setne r15b
inc r14d
test r15d, r15d
jne 0x14010a110
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov r14d, esi
test rdi, rdi
je 0x14010a2a4
xor r15d, r15d
nop dword [rax]
mov qword [rbp - 8], r15
cmp rsi, rdi
jae 0x14010a372
mov rcx, qword [rbx + rsi*8]
sub rcx, 0x18
call fcn.14003c400
lea rbx, [rax + 0x18]
mov qword [rbp - 8], rbx
mov dword [rbp - 0x34], r15d
mov qword [rbp - 0x68], r15
lea rax, [rbp - 0x68]
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 [rbp - 0x68]
test rcx, rcx
je 0x14010a24c
mov dword [rbp - 0x14], 4
lea rax, [rbp - 0x14]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x34]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xc]
xor r8d, r8d
mov rdx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
lea rcx, [r13 + 0x170]
lea rdx, [rbp - 8]
call fcn.140110c90
mov ecx, dword [rbp - 0x34]
mov dword [rax], ecx
mov rdx, qword [rbp - 8]
add rdx, 0xffffffffffffffe8
mov eax, 0xffffffff
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x14010a288
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
inc r14d
inc rsi
movsxd rax, r14d
mov rdi, qword [rbp - 0x50]
mov rbx, qword [rbp - 0x58]
cmp rax, rdi
jb 0x14010a1c0
xor esi, esi
mov dword [rbp - 0x30], esi
mov qword [rbp - 0x60], rsi
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, [0x140320430]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x14010a311
mov dword [rbp - 0x10], 4
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x10]
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 - 0x60]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
cmp dword [rbp - 0x30], 0
setne al
mov byte [r13 + 0x180], al
test rbx, rbx
je 0x14010a337
mov rdx, rdi
mov rcx, rbx
call fcn.140059000
mov rcx, rbx
call fcn.1402384fc
mov rcx, qword [rbp + 0x440]
xor rcx, rsp
call fcn.140202880
lea r11, [rsp + 0x550]
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, 0x8007000e
call fcn.140039950
int3
mov ecx, 0x80070057
call fcn.140039950
int3
mov ecx, 0x8007000e
call fcn.140039950
int3
mov ecx, 0x80070057
call fcn.140039950
int3