Function at 0x140007400
Capabilities:
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x10]
sub rsp, 0x110
mov rax, qword [0x1400710e0]
xor rax, rsp
mov qword [rbp], rax
xor r9d, r9d
lea rax, str.CWavesSysSvcService::OnStart.
mov r12, rcx
mov qword [rsp + 0x28], rax
lea rax, [0x14005bd4c]
lea edx, [r9 + 0x60]
lea r8d, [r9 + 2]
lea rcx, str.WavesSysSvcService.cpp
mov qword [rsp + 0x20], rax
call fcn.1400043b0
cmp qword [r12 + 0x48], 0
jne 0x1400074b0
lea rax, [rsp + 0x78]
lea rdx, [0x14005d008]
lea rcx, [rsp + 0x70]
mov r8d, 3
mov qword [rsp + 0x70], rax
call fcn.140008010
mov rcx, qword [rsp + 0x70]
call fcn.140008430
mov rcx, qword [rsp + 0x70]
mov qword [r12 + 0x48], rax
lea rax, [rsp + 0x78]
cmp rcx, rax
je 0x1400074b0
call fcn.140024614
lea rsi, [0x140073188]
mov r15d, 0xe
lea rdi, [0x14005d028]
lea r13, [0x14005d030]
lea r14, str.Is_Echo_Cancellation_Active_:___s_.
nop word [rax + rax]
mov rcx, qword [rsi - 8]
lea rdx, str.GlobalWaves_MVBuf
call fcn.1400248f0
test eax, eax
jne 0x14000752d
call fcn.140007090
mov rcx, r13
test eax, eax
mov ebx, eax
cmovne rcx, rdi
xor r9d, r9d
mov qword [rsp + 0x28], rcx
lea edx, [r9 + 0x6e]
lea r8d, [r9 + 2]
lea rcx, str.WavesSysSvcService.cpp
mov qword [rsp + 0x20], r14
call fcn.1400043b0
test ebx, ebx
je 0x140007754
mov rax, qword [rsi - 8]
xor r9d, r9d
lea rdx, [r12 + 0xb8]
mov qword [rsp + 0x28], rax
mov eax, dword [rsi]
lea r8d, [r9 + 4]
or rcx, 0xffffffffffffffff
mov dword [rsp + 0x20], eax
call qword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov r14, rax
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor ebx, ebx
cmp eax, 0xb7
mov rax, rdi
sete bl
test ebx, ebx
cmovne rax, r13
mov qword [rsp + 0x58], rax
test r14, r14
je 0x140007710
mov eax, dword [rsi]
xor r9d, r9d
xor r8d, r8d
mov edx, 0xf001f
mov rcx, r14
mov qword [rsp + 0x20], rax
call qword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov r13, rax
mov qword [rsp + 0x68], rax
test ebx, ebx
jne 0x140007642
test rax, rax
je 0x140007642
mov r8d, dword [rsi]
xor edx, edx
mov rcx, rax
call fcn.140026b30
mov rcx, qword [r12 + 0x78]
lea rax, [rsp + 0x68]
cmp rax, rcx
jae 0x14000761b
mov rax, qword [r12 + 0x70]
lea rdx, [rsp + 0x68]
cmp rax, rdx
ja 0x14000761b
lea rdi, [rsp + 0x68]
sub rdi, rax
sar rdi, 3
cmp rcx, qword [r12 + 0x80]
jne 0x140007603
lea rcx, [r12 + 0x70]
call fcn.140007f80
mov rdx, qword [r12 + 0x78]
test rdx, rdx
je 0x14000763c
mov rax, qword [r12 + 0x70]
mov rcx, qword [rax + rdi*8]
mov qword [rdx], rcx
jmp 0x14000763c
cmp rcx, qword [r12 + 0x80]
jne 0x14000762f
lea rcx, [r12 + 0x70]
call fcn.140007f80
mov rax, qword [r12 + 0x78]
test rax, rax
je 0x14000763c
mov qword [rax], r13
add qword [r12 + 0x78], 8
mov rax, qword [r12 + 0x58]
lea rcx, [rsp + 0x50]
cmp rcx, rax
jae 0x140007695
mov rcx, qword [r12 + 0x50]
lea rdx, [rsp + 0x50]
cmp rcx, rdx
ja 0x140007695
lea rdi, [rsp + 0x50]
sub rdi, rcx
sar rdi, 3
cmp rax, qword [r12 + 0x60]
jne 0x14000767d
lea rcx, [r12 + 0x50]
call fcn.140007f80
mov rdx, qword [r12 + 0x58]
test rdx, rdx
je 0x1400076b3
mov rax, qword [r12 + 0x50]
mov rcx, qword [rax + rdi*8]
mov qword [rdx], rcx
jmp 0x1400076b3
cmp rax, qword [r12 + 0x60]
jne 0x1400076a6
lea rcx, [r12 + 0x50]
call fcn.140007f80
mov rax, qword [r12 + 0x58]
test rax, rax
je 0x1400076b3
mov qword [rax], r14
mov rax, qword [rsp + 0x58]
add qword [r12 + 0x58], 8
xor r9d, r9d
mov qword [rsp + 0x48], rax
mov eax, dword [rsi]
mov qword [rsp + 0x40], r14
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], eax
mov rax, qword [rsi - 8]
mov qword [rsp + 0x28], rax
lea rax, str._s__size___u__location__0x_08X__shared_memory_has_been_created_at_m_hFileMapping__0x_08X._New_Allocation___s.
lea r8d, [r9 + 2]
lea rcx, str.WavesSysSvcService.cpp
mov edx, 0x96
mov qword [rsp + 0x20], rax
call fcn.1400043b0
lea rdi, [0x14005d028]
lea r13, [0x14005d030]
jmp 0x14000774d
call qword [sym.imp.KERNEL32.dll_GetLastError]
xor r9d, r9d
lea rcx, str.WavesSysSvcService.cpp
mov dword [rsp + 0x38], eax
mov eax, dword [rsi]
lea r8d, [r9 + 1]
mov dword [rsp + 0x30], eax
mov rax, qword [rsi - 8]
mov edx, 0x9a
mov qword [rsp + 0x28], rax
lea rax, str.CreateFileMapping_failed_for___s___size___d_._Error_code___d.
mov qword [rsp + 0x20], rax
call fcn.1400043b0
lea r14, str.Is_Echo_Cancellation_Active_:___s_.
add rsi, 0x10
dec r15
jne 0x1400074e0
lea rax, [rsp + 0x58]
lea rdx, [0x14005cbe0]
mov r9d, 0x20019
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x60], r15d
mov qword [rsp + 0x20], rax
mov qword [rsp + 0x58], r15
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov rcx, qword [rsp + 0x58]
test rcx, rcx
je 0x1400077d8
lea rax, [rsp + 0x50]
lea r9, [rsp + 0x68]
lea rdx, [0x14005d200]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
xor r8d, r8d
mov qword [rsp + 0x20], rax
mov dword [rsp + 0x50], 4
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, dword [rsp + 0x60]
mov eax, ebx
and eax, 0x80
test al, al
je 0x14000783d
cmp qword [r12 + 0x368], 0
jne 0x140007800
call qword [sym.imp.KERNEL32.dll_CreateTimerQueue]
mov qword [r12 + 0x368], rax
mov rdx, qword [r12 + 0x368]
test rdx, rdx
je 0x14000783d
mov dword [rsp + 0x30], 0
lea rcx, [r12 + 0x360]
lea r8, [0x140007070]
mov r9, r12
mov dword [rsp + 0x28], 0x1f4
mov dword [rsp + 0x20], 0x1f4
call qword [sym.imp.KERNEL32.dll_CreateTimerQueueTimer]
bt ebx, 0xb
jae 0x1400078e7
cmp byte [r12 + 0x3c8], 0
jne 0x1400078bb
mov rax, qword [r12 + 0x40]
lea rcx, [r12 + 0x390]
test rax, rax
mov qword [rcx + 0x10], rax
setne al
mov byte [rcx], al
test al, al
je 0x1400078bb
lea rdx, [0x14005f560]
call fcn.1400035f0
cmp byte [r12 + 0x388], 0
mov byte [r12 + 0x3c8], al
jne 0x1400078c6
mov qword [r12 + 0x380], 0x100
mov dword [r12 + 0x378], 7
mov dword [r12 + 0x37c], 1
mov byte [r12 + 0x388], 1
cmp byte [r12 + 0x388], 0
je 0x1400078e7
mov rbx, qword [r12 + 0x370]
lea rcx, [r12 + 0x370]
call qword [rbx + VariantCopy]
lea rcx, [r12 + 0x370]
movzx edx, al
call qword [rbx + 0x10]
mov rcx, qword [rbp]
xor rcx, rsp
call fcn.140023ca0
lea r11, [rsp + 0x110]
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