Function at 0x14002cf90
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x1a8]
sub rsp, 0x280
mov qword [rbp - 0x68], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x1400aa008]
xor rax, rsp
mov qword [rbp + 0x170], rax
mov rdi, rcx
lea rax, str.CWavesSysSvcService::OnStart.
mov qword [rsp + 0x30], rax
lea rax, [0x14008a330]
mov qword [rsp + 0x28], rax
xor r13d, r13d
mov qword [rsp + 0x20], r13
lea r9d, [r13 + 2]
lea r8, [0x1400abd38]
mov edx, 0x90
lea rcx, str.WavesSysSvcService.cpp
call fcn.140005e30
mov rcx, rdi
call fcn.14002dc90
movzx ebx, al
cmp qword [rdi + 0x50], r13
jne 0x14002d060
lea rax, [rbp - 0x38]
mov qword [rbp - 0x40], rax
lea r8d, [r13 + 3]
lea rdx, str.APORenderA
lea rcx, [rbp - 0x40]
call fcn.140003b70
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.MaxxAudioAPOShell64.dll_WavesFX_Initialize]
mov qword [rdi + 0x50], rax
lea rax, [rbp - 0x38]
mov rcx, qword [rbp - 0x40]
cmp rcx, rax
je 0x14002d060
call fcn.14005392c
cmp qword [rdi + 0x58], r13
jne 0x14002d0a9
lea rax, [rbp + 0x58]
mov qword [rbp + 0x50], rax
mov r8d, 3
lea rdx, str.APORenderB
lea rcx, [rbp + 0x50]
call fcn.140003b70
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0x50]
call qword [sym.imp.MaxxAudioAPOShell64.dll_WavesFX_Initialize]
mov qword [rdi + 0x58], rax
lea rax, [rbp + 0x58]
mov rcx, qword [rbp + 0x50]
cmp rcx, rax
je 0x14002d0a9
call fcn.14005392c
cmp qword [rdi + 0x48], r13
jne 0x14002d104
lea rax, [rbp + 0xe8]
mov qword [rbp + 0xe0], rax
mov r8d, 3
lea rdx, str.APOMVCapturePSS
lea rcx, [rbp + 0xe0]
call fcn.140003b70
xor r8d, r8d
xor edx, edx
mov rcx, qword [rbp + 0xe0]
call qword [sym.imp.MaxxAudioAPOShell64.dll_WavesFX_Initialize]
mov qword [rdi + 0x48], rax
lea rax, [rbp + 0xe8]
mov rcx, qword [rbp + 0xe0]
cmp rcx, rax
je 0x14002d104
call fcn.14005392c
test bl, bl
je 0x14002d10d
call fcn.140008ae0
lea rsi, [0x1400abb28]
mov r12d, 0x11
lea r14, [0x1400948a8]
or r15, 0xffffffffffffffff
nop word [rax + rax]
lea rdx, str.GlobalWaves_MVBuf
mov rcx, qword [rsi - 8]
call fcn.140053674
test eax, eax
jne 0x14002d194
call fcn.14002cb30
mov ebx, eax
lea rcx, [0x140094828]
test eax, eax
cmovne rcx, r14
mov qword [rsp + 0x30], rcx
lea rax, str.Is_Echo_Cancellation_Active_:___s_.
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov r9d, 2
lea r8, [0x1400abd38]
mov edx, 0xb0
lea rcx, str.WavesSysSvcService.cpp
call fcn.140005e30
test ebx, ebx
je 0x14002d2f2
lea rdx, [rdi + 0xb8]
mov rax, qword [rsi - 8]
mov qword [rsp + 0x28], rax
mov eax, dword [rsi]
mov dword [rsp + 0x20], eax
xor r9d, r9d
lea r8d, [r9 + 4]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov rbx, rax
mov qword [rsp + 0x78], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r14d, r13d
cmp eax, 0xb7
sete r14b
lea r13, [0x1400948a8]
test r14d, r14d
lea rax, [0x140094828]
cmovne r13, rax
test rbx, rbx
je 0x14002d2a2
mov eax, dword [rsi]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov rbx, rax
mov qword [rsp + 0x70], rax
test r14d, r14d
jne 0x14002d23f
test rax, rax
je 0x14002d23f
mov r8d, dword [rsi]
xor edx, edx
mov rcx, rax
call fcn.140052580
lea rcx, [rdi + 0x78]
lea rdx, [rsp + 0x70]
call fcn.140018e30
mov rbx, qword [rsp + 0x70]
lea rcx, [rdi + 0x60]
lea rdx, [rsp + 0x78]
call fcn.140018e30
mov qword [rsp + 0x50], r13
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbx
mov eax, dword [rsi]
mov dword [rsp + 0x38], eax
mov rax, qword [rsi - 8]
mov qword [rsp + 0x30], rax
lea rax, str._s__size___u__location__0x_08X__shared_memory_has_been_created_at_m_hFileMapping__0x_08X._New_Allocation___s.
mov qword [rsp + 0x28], rax
xor r13d, r13d
mov qword [rsp + 0x20], r13
lea r9d, [r13 + 2]
lea r8, [0x1400abd38]
mov edx, 0xd8
lea rcx, str.WavesSysSvcService.cpp
call fcn.140005e30
jmp 0x14002d2eb
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rsp + 0x40], eax
mov eax, dword [rsi]
mov dword [rsp + 0x38], eax
mov rax, qword [rsi - 8]
mov qword [rsp + 0x30], rax
lea rax, str.CreateFileMapping_failed_for___s___size___d_._Error_code___d.
mov qword [rsp + 0x28], rax
xor r13d, r13d
mov qword [rsp + 0x20], r13
lea r9d, [r13 + 1]
lea r8, [0x1400abd38]
mov edx, 0xdc
lea rcx, str.WavesSysSvcService.cpp
call fcn.140005e30
lea r14, [0x1400948a8]
add rsi, 0x10
sub r12, 1
jne 0x14002d130
mov dword [rsp + 0x60], r13d
mov qword [rsp + 0x68], r13
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioMaxxAudioGeneral
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14002d376
mov dword [rsp + 0x64], 4
lea rax, [rsp + 0x64]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, str.MaxxAudioOptions
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov r14d, dword [rsp + 0x60]
mov eax, r14d
and eax, 0x80
test al, al
je 0x14002d3d6
cmp qword [rdi + 0x360], 0
jne 0x14002d39e
call qword [sym.imp.KERNEL32.dll_CreateTimerQueue]
mov qword [rdi + 0x360], rax
mov rdx, qword [rdi + 0x360]
test rdx, rdx
je 0x14002d3d6
lea rcx, [rdi + 0x358]
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], 0x1f4
mov dword [rsp + 0x20], 0x1f4
mov r9, rdi
lea r8, [0x14002ca60]
call qword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
bt r14d, 0xb
jae 0x14002d44a
lea rsi, [rdi + 0x368]
cmp byte [rsi + 0x50], 0
jne 0x14002d432
mov rax, qword [rsi + 0x20]
mov rdx, qword [rdi + 0x40]
lea rcx, [rsi + 0x20]
call qword [rax + 0x10]
test al, al
je 0x14002d432
mov rax, qword [rsi + 0x20]
lea rdx, [0x14008ff68]
lea rcx, [rsi + 0x20]
call qword [rax + 0x20]
mov byte [rsi + 0x50], al
cmp byte [rsi + 0x18], 0
jne 0x14002d438
mov qword [rsi + 0x10], 0x100
mov dword [rsi + 8], 7
mov dword [rsi + 0xc], 1
mov byte [rsi + 0x18], 1
cmp byte [rsi + 0x18], 0
je 0x14002d44a
mov rbx, qword [rsi]
mov rcx, rsi
call qword [rbx + 8]
movzx edx, al
mov rcx, rsi
call qword [rbx + 0x10]
bt r14d, 0x16
jae 0x14002d550
lea rcx, [rbp - 0x58]
call fcn.14002e550
mov rdx, qword [rax]
mov qword [rbp - 0x78], rdx
mov rcx, qword [rax + 8]
mov qword [rax], r13
mov qword [rax + 8], r13
mov qword [rbp - 0x60], rcx
mov r8, qword [rdi + 0x3c8]
mov qword [rbp - 0x70], r8
mov qword [rdi + 0x3c8], rcx
mov qword [rdi + 0x3c0], rdx
test r8, r8
je 0x14002d4c8
mov eax, r15d
lock xadd dword [r8 + 8], eax
cmp eax, 1
jne 0x14002d4c3
mov rbx, qword [rbp - 0x70]
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, r15d
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x14002d4c3
mov rcx, qword [rbp - 0x70]
mov rax, qword [rcx]
call qword [rax + 8]
mov r14d, dword [rsp + 0x60]
mov rbx, qword [rbp - 0x50]
test rbx, rbx
je 0x14002d500
mov eax, r15d
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x14002d4fb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], r15d
cmp r15d, 1
jne 0x14002d4fb
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
mov r14d, dword [rsp + 0x60]
mov rbx, qword [rdi + 0x3c0]
test rbx, rbx
je 0x14002d550
lea rax, str.CMFCameraCaptureHostWndThread::Initialize.
mov qword [rsp + 0x30], rax
lea rax, [0x14008a330]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
mov r9d, 2
lea r8, [0x1400abd38]
mov edx, 0x94
lea rcx, str...SharedMFCameraCaptureHostWnd.cpp
call fcn.140005e30
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 8]
bt r14d, 0x1b
jae 0x14002d567
lea rcx, [rdi + 0x3d0]
mov rdx, qword [rdi + 0x40]
call fcn.1400077f0
bt r14d, 0x1c
jae 0x14002d57b
lea rcx, [rdi + 0x650]
mov rax, qword [rcx]
call qword [rax + 8]
mov rcx, qword [rbp + 0x170]
xor rcx, rsp
call fcn.140030090
lea r11, [rsp + 0x280]
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