Function at 0x1400eb950
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 [0x1402f2080]
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.1401659c0
mov r8d, 0x104
lea rdx, [rbp - 0x70]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
je 0x1400ebc00
mov qword [rsp + 0x78], r15
call fcn.140015450
mov rcx, rax
test rax, rax
je 0x1400ebc54
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
mov dword [rsp + 0x50], 1
lea rcx, [rbp - 0x70]
mov rsi, 0xffffffffffffffff
mov rax, rsi
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400eba00
mov r8d, eax
lea rdx, [rbp - 0x70]
lea rcx, [rsp + 0x78]
call fcn.140016ed0
mov edx, 0x5c
mov rbx, qword [rsp + 0x78]
mov rcx, rbx
call fcn.1401645c8
test rax, rax
je 0x1400ebad6
sub rax, rbx
sar rax, 1
cmp eax, esi
je 0x1400ebad6
mov r9d, eax
xor r8d, r8d
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x78]
call fcn.140023e70
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x1400ebab3
cmp dword [rbx + 0x10], 0
jl 0x1400ebaa4
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400ebaa4
call fcn.14001dc80
mov rdi, rax
mov ecx, esi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x1400eba99
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [r8 + 8]
lea rax, [rdi + 0x18]
mov qword [rsp + 0x78], rax
jmp 0x1400ebab3
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x78]
call fcn.140016ed0
nop
mov rdx, qword [rsp + 0x58]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ebad1
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
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 0x1400ebb46
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 0x1400ebbbf
lea rdx, str.DirPath
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
mov rcx, qword [rsp + 0x70]
jmp 0x1400ebbb7
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 0x1400ebbbf
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.1400e4380
nop
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x1400ebc24
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + 8]
jmp 0x1400ebc24
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.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.1400e4380
movzx eax, dil
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.140146480
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.1400151f0
int3