Function at 0x140108330
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x4e8]
sub rsp, 0x5d0
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rbp + 0x4c0], rax
mov rsi, rcx
xor r14d, r14d
mov qword [rbp + 0x88], r14
lea rbx, [0x14031b7bc]
mov qword [rsp + 0x20], rbx
lea r9, str.DirPath
lea r8, str.SOFTWAREWaves_AudioMaxxAudioSettings
mov rdx, 0xffffffff80000002
lea rcx, [rbp + 0x88]
call fcn.140056fc0
nop
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0x2b0]
call fcn.140222790
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp + 0xa0]
call fcn.140222790
mov r8d, 0x104
lea rdx, [rbp + 0xa0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea edx, [r14 + 0x5c]
lea rcx, [rbp + 0xa0]
call fcn.140221398
test rax, rax
je 0x1401083fb
mov word [rax + 2], r14w
jmp 0x140108403
mov word [rbp + 0xa0], r14w
mov r8, rbx
mov edx, 0x104
lea rcx, [rbp + 0xa0]
call fcn.140242df8
xor edx, edx
mov r8d, 0x110
lea rcx, [rsp + 0x70]
call fcn.140222790
lea rdx, [rbp + 0xa0]
lea rcx, [rsp + 0x70]
call fcn.14012e990
mov r9d, 0x103
lea r8, [rbp + 0xa0]
lea edx, [r9 + 1]
lea rcx, [rbp + 0x2b0]
call fcn.140247d24
lea rcx, [rsp + 0x70]
call fcn.14005a820
mov qword [rbp + 0x80], r14
lea r8, [rbp + 0x2b0]
lea rdx, [rbp + 0x80]
call fcn.140109250
nop
mov rdx, qword [rbp + 0x80]
test rdx, rdx
je 0x14010863e
mov rcx, qword [rbp + 0x88]
call fcn.1402389bc
test eax, eax
je 0x1401085c5
mov rdi, qword [rbp + 0x80]
mov ebx, 0x80004005
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioSettings
mov rcx, 0xffffffff80000002
test rdi, rdi
jne 0x14010851a
mov qword [rsp + 0x60], r14
lea rax, [rbp + 0x90]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x60]
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 [rsp + 0x60]
test rcx, rcx
je 0x140108596
lea rdx, str.DirPath
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x60]
jmp 0x14010858e
mov qword [rsp + 0x58], r14
lea rax, [rbp + 0x94]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
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 + 0x58], 0
je 0x140108596
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_lstrlenW]
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rdi
mov r9d, 1
xor r8d, r8d
lea rdx, str.DirPath
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x58]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebx, ebx
sete r8b
lea rcx, [rsi + 0xb0]
mov rax, qword [rbp + 0x80]
mov qword [rsp + 0x20], rax
lea r9, str.CheckINFDirPathUpdate_Update_dir_path_to__s.
movzx r8d, r8b
mov edx, 1
call fcn.14011e570
nop
mov rdx, qword [rbp + 0x80]
add rdx, 0xffffffffffffffe8
mov ebx, 0xffffffff
mov eax, ebx
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1401085f2
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
nop
mov rdx, qword [rbp + 0x88]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], ebx
sub ebx, 1
jg 0x140108617
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
mov rcx, qword [rbp + 0x4c0]
xor rcx, rsp
call fcn.140202880
lea r11, [rsp + 0x5d0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140039950
int3