Function at 0x140031e10
Capabilities:
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
lea rbp, [rax - 0x57]
sub rsp, 0xd0
mov qword [rbp - 0x19], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x14009f008]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rsi, rcx
xor ebx, ebx
lea r9, [rcx + 0x90]
lea r8, [0x1400a2cb0]
call fcn.14002af00
mov word [rsp + 0x38], ax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], 0xcf0000
lea r9, str.CPowerState
lea r8, [0x1400a2c98]
lea rcx, [rsi + 0x50]
call fcn.14002ade0
lea rax, [rsi + 0x48]
test rsi, rsi
cmove rax, rbx
mov qword [rsi + 0xd8], rax
mov qword [rbp + 7], 0xf
mov qword [rbp - 1], rbx
mov byte [rbp - 0x11], bl
lea r8d, [rbx + 0xc]
lea rdx, str.APORenderGFX
lea rcx, [rbp - 0x11]
call fcn.140002500
nop
lea rdx, [rbp + 0xf]
call fcn.14000ebc0
nop
cmp qword [rbp + 0x1f], rbx
je 0x140031ef8
lea r8d, [rbx + 1]
lea rdx, [0x140083c0c]
lea rcx, [rbp - 0x11]
call fcn.14000c0f0
or r9, 0xffffffffffffffff
xor r8d, r8d
lea rdx, [rbp + 0xf]
lea rcx, [rbp - 0x11]
call fcn.14000c240
lea rcx, [rbp - 0x11]
cmp qword [rbp + 7], 0x10
cmovae rcx, qword [rbp - 0x11]
xor r8d, r8d
lea edx, [r8 + 0x10]
call qword [sym.imp.MaxxAudioAPOShell64.dll_WavesFX_Initialize]
mov qword [rsi + 0xf0], rax
mov dword [rbp - 0x29], ebx
mov qword [rbp - 0x31], rbx
lea rax, [rbp - 0x31]
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_RegOpenKeyExA]
mov rcx, qword [rbp - 0x31]
test rcx, rcx
je 0x140031f87
mov dword [rbp - 0x25], 4
lea rax, [rbp - 0x25]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x21]
xor r8d, r8d
lea rdx, str.Mute
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov rcx, qword [rbp - 0x31]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [rbp - 0x29], 0
je 0x140032094
lea rax, str.Mute_flag_is_set_to_1._Un_muting_the_audio.
mov qword [rsp + 0x30], rax
lea rax, [0x1400838d0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9d, 3
lea r8, [0x1400a3128]
lea edx, [r9 + 0x34]
lea rcx, str.AutoMuteOnHibernate.cpp
call fcn.140002ed0
mov rcx, qword [rsi + 0xf0]
test rcx, rcx
je 0x140032094
xorps xmm6, xmm6
movsd qword [rbp - 0x31], xmm6
lea r8, [rbp - 0x31]
mov edx, 2
call qword [sym.imp.MaxxAudioAPOShell64.dll_WavesFX_GetParameter]
mov dword [rsp + 0x20], 0xfffffffd
or r9d, 0xffffffff
movaps xmm2, xmm6
lea edx, [r9 + 3]
mov rcx, qword [rsi + 0xf0]
call qword [sym.imp.MaxxAudioAPOShell64.dll_WavesFX_Preset_SetParameter]
mov dword [rsp + 0x30], ebx
lea rax, str.Setting_Mute_flag_to__d.
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9d, 3
lea r8, [0x1400a3128]
lea edx, [r9 + 0x4a]
lea rcx, str.AutoMuteOnHibernate.cpp
call fcn.140002ed0
xor r9d, r9d
lea r8, str.Mute
mov rcx, 0xffffffff80000002
call fcn.14002d120
movsd xmm0, qword [rbp - 0x31]
movsd qword [rsp + 0x30], xmm0
lea rax, str.Mute_State_was_:__g
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rbx
mov r9d, 3
lea r8, [0x1400a3128]
lea edx, [r9 + 0x4d]
lea rcx, str.AutoMuteOnHibernate.cpp
call fcn.140002ed0
nop
mov rax, qword [rbp + 0x27]
cmp rax, 0x10
jb 0x1400320ea
inc rax
mov rcx, qword [rbp + 0xf]
cmp rax, 0x1000
jb 0x1400320e5
test cl, 0x1f
je 0x1400320b8
call fcn.14005d52c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x1400320c7
call fcn.14005d52c
int3
sub rcx, rax
cmp rcx, 8
jae 0x1400320d6
call fcn.14005d52c
int3
cmp rcx, 0x27
jbe 0x1400320e2
call fcn.14005d52c
int3
mov rcx, rax
call fcn.14003a87c
mov qword [rbp + 0x27], 0xf
mov qword [rbp + 0x1f], rbx
mov byte [rbp + 0xf], 0
mov rax, qword [rbp + 7]
cmp rax, 0x10
jb 0x140032150
inc rax
mov rcx, qword [rbp - 0x11]
cmp rax, 0x1000
jb 0x14003214b
test cl, 0x1f
je 0x14003211e
call fcn.14005d52c
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x14003212d
call fcn.14005d52c
int3
sub rcx, rax
cmp rcx, 8
jae 0x14003213c
call fcn.14005d52c
int3
cmp rcx, 0x27
jbe 0x140032148
call fcn.14005d52c
int3
mov rcx, rax
call fcn.14003a87c
mov eax, 1
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.14003a8a0
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rdi, qword [r11 + 0x28]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret