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

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x1c8]
sub rsp, 0x2b0
mov qword [rsp + 0x60], 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 + 0x1a0], rax
mov r14, rcx
xor r15d, r15d
mov dword [rsp + 0x50], r15d
xor dil, dil
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call fcn.140222790
mov r8d, 0x104
lea rdx, [rbp - 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x140109b74
mov qword [rsp + 0x78], r15
call fcn.140039c50
mov rcx, rax
test rax, rax
je 0x140109bc8
mov rax, qword [rax]
mov rax, qword [rax + 0x18]
call qword [case.0x14004487d.0]
add rax, 0x18
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x50], 1
lea rcx, [rbp - 0x70]
mov rsi, 0xffffffffffffffff
mov rax, rsi
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140109960
mov r8d, eax
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x78]
call fcn.14003beb0
mov edx, 0x5c
mov rbx, qword [rsp + 0x78]
mov rcx, rbx
call fcn.140221398
test rax, rax
je 0x140109a43
sub rax, rbx
sar rax, 1
cmp eax, esi
je 0x140109a43
mov r9d, eax
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.14005c0c0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x140109a19
cmp dword [rbx + 0x10], 0
jl 0x140109a0a
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x140109a0a
call fcn.14003c400
mov rdi, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x1401099ff
mov rcx, qword [rbx]
mov rdx, qword [rcx]
mov rax, qword [rdx + 8]
mov rdx, rbx
call qword [case.0x14004487d.0]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x78], rax
jmp 0x140109a19
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x78]
call fcn.14003beb0
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140109a3e
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
mov rbx, qword [rsp + 0x78]
mov edi, 0x80004005
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioSettings
mov rcx, 0xffffffff80000002
test rbx, rbx
jne 0x140109ab3
mov qword [rsp + 0x70], r15
lea rax, [rbp - 0x80]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r15d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x140109b2c
lea rdx, str.DirPath
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x70]
jmp 0x140109b24
mov qword [rsp + 0x68], r15
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], r15d
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
cmp qword [rsp + 0x68], 0
je 0x140109b2c
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, 1
xor r8d, r8d
lea rdx, str.DirPath
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rsp + 0x68]
mov edi, eax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
sete dil
lea rcx, [r14 + 0xb0]
mov qword [rsp + 0x20], rbx
lea r9, str.WriteInfInstallationDirPath:__s.
movzx r8d, dil
mov edx, 1
call fcn.14011e570
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140109b98
mov rcx, qword [rdx]
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call qword [case.0x14004487d.0]
jmp 0x140109b98
call qword [sym.imp.KERNEL32.dll_GetLastError]
lea rcx, [r14 + 0xb0]
mov dword [rsp + 0x20], eax
lea r9, str.WriteInfInstallationDirPath____GetModuleFileName_...___error_code:__d.
xor r8d, r8d
lea edx, [r8 + 1]
call fcn.14011e570
movzx eax, dil
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140202880
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
mov ecx, 0x80004005
call fcn.140039950
int3