Function at 0x140037c30
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov rax, qword [0x1402f2080]
xor rax, rsp
mov qword [rbp + 0x70], rax
xor eax, eax
mov qword [rbp + 0x50], rax
mov qword [rbp + 0x58], rax
mov qword [rbp + 0x60], rax
mov qword [rbp + 0x68], rax
lea rcx, [rbp + 0x50]
call fcn.140029e10
nop
xor dil, dil
xor esi, esi
mov dword [rbp - 8], esi
mov qword [rbp + 0x30], rsi
mov qword [rbp + 0x28], rsi
mov qword [rbp + 0x38], rsi
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], esi
lea r8, str.SOFTWAREWaves_AudioMaxxAudioGeneral
lea rcx, [rbp + 0x28]
call fcn.14001f840
test eax, eax
jne 0x140037cf1
mov dword [rbp + 8], 4
lea rax, [rbp + 8]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0xc]
xor r8d, r8d
lea rdx, str.MaxxAudioGUIType
mov rbx, qword [rbp + 0x28]
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x140037cf1
cmp dword [rbp + 0xc], 4
je 0x140037d45
mov dword [rsp + 0x28], 0x20019
mov dword [rsp + 0x20], esi
lea r8, str.SoftwareConexant
lea rcx, [rbp + 0x28]
call fcn.14001f840
mov rbx, qword [rbp + 0x28]
test eax, eax
jne 0x140037d45
mov dword [rbp + 0x10], 4
lea rax, [rbp + 0x10]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x14]
xor r8d, r8d
lea rdx, str.MaxxAudioGUIType
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test rbx, rbx
je 0x140037d53
mov rcx, rbx
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rax, qword [rbp + 0x60]
shr rax, 0x27
test al, 1
je 0x140037f64
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rax
mov r8d, 3
lea rdx, [0x140237f70]
lea rcx, [rsp + 0x50]
call fcn.140016ab0
xor r8d, r8d
xor edx, edx
mov rcx, qword [rsp + 0x50]
call fcn.14003c8f0
mov rbx, rax
lea rax, [rsp + 0x58]
mov rcx, qword [rsp + 0x50]
cmp rcx, rax
je 0x140037daa
call fcn.14016e4d0
test rbx, rbx
je 0x140037f64
mov dword [rbp - 4], esi
mov qword [rbp - 0x20], rsi
lea rax, [rbp - 0x20]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioDellOptimizer
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x140037e20
mov dword [rbp + 0x18], 4
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 4]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x40]
xor r8d, r8d
lea rdx, str.VoiceProfile
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x20]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, dword [rbp - 4]
xorps xmm2, xmm2
cvtsi2sd xmm2, rax
mov edx, 0xe8
mov rcx, rbx
call fcn.14003db80
mov dword [rbp], 1
mov qword [rbp - 0x18], rsi
lea rax, [rbp - 0x18]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioDellOptimizer
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rbp - 0x18]
test rcx, rcx
je 0x140037ea9
mov dword [rbp + 0x1c], 4
lea rax, [rbp + 0x1c]
mov qword [rsp + 0x28], rax
lea rax, [rbp]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x44]
xor r8d, r8d
lea rdx, str.NXPower
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x18]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, dword [rbp]
xorps xmm2, xmm2
cvtsi2sd xmm2, rax
mov edx, 0xe9
mov rcx, rbx
call fcn.14003db80
mov dword [rbp + 4], esi
mov qword [rbp - 0x10], rsi
lea rax, [rbp - 0x10]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioDellOptimizer
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rbp - 0x10]
test rcx, rcx
je 0x140037f2e
mov dword [rbp + 0x20], 4
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 4]
mov qword [rsp + 0x20], rax
lea r9, [rbp + 0x48]
xor r8d, r8d
lea rdx, str.GlobalBypass
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x10]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, dword [rbp + 4]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
xorps xmm2, xmm2
ucomisd xmm2, xmm0
jp 0x140037f4c
jne 0x140037f4c
movsd xmm2, qword [0x140289c70]
mov edx, 0xe6
mov rcx, rbx
call fcn.14003db80
mov rcx, rbx
call fcn.14003da40
mov dil, 1
lea rax, vtable.CMaxxAudioOptions.0
mov qword [rbp + 0x50], rax
mov rdx, qword [rbp + 0x68]
add rdx, 0xffffffffffffffe8
mov ecx, 0xffffffff
lock xadd dword [rdx + 0x10], ecx
sub ecx, 1
jg 0x140037f90
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
movzx eax, dil
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.140146480
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret