Function at 0x1400977c0
Capabilities:
Set registry value

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r14
lea rbp, [rsp - 0x37]
sub rsp, 0xb0
movaps xmmword [rsp + 0xa0], xmm6
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rbp + 0x17], rax
xor sil, sil
movaps xmm6, xmm2
mov r14, rcx
cmp edx, 0xe6
ja 0x1400978d7
je 0x1400978cd
cmp edx, 9
jne case.0x1400978ff.234
cvttsd2si rax, xmm2
xor edi, edi
lea rdx, str.SOFTWAREWaves_AudioDellOptimizer
xor r9d, r9d
mov qword [rbp - 0x21], rdi
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rbp - 9], eax
lea rax, [rbp - 0x11]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x21]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x1400978a7
lea rax, [rbp - 9]
mov dword [rsp + 0x28], 4
lea r9d, [rdi + 4]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.NoiseRider
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x21]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebx, ebx
jne 0x1400978a7
movaps xmm2, xmm6
lea edx, [rdi + 9]
mov rcx, r14
call fcn.1400b2380
movzx esi, al
movzx eax, sil
mov rcx, qword [rbp + 0x17]
xor rcx, rsp
call fcn.140202880
movaps xmm6, xmmword [rsp + 0xa0]
add rsp, 0xb0
pop r14
pop rdi
pop rsi
pop rbx
pop rbp
ret
movaps xmm1, xmm6
call fcn.1400986c0
jmp 0x1400978a4
lea eax, [rdx - 0xe8]
cmp eax, 0x81
ja case.0x1400978ff.234
lea r8, [0x140000000]
movzx eax, byte [r8 + rax + 0x97d38]
mov ecx, dword [r8 + rax*4 + 0x97d10]
add rcx, r8
jmp rcx
movaps xmm1, xmm6
mov rcx, r14
call fcn.140098ad0
jmp 0x1400978a4
lea rax, str.CDellOptimizer::SetGlobalNXPower
xor edi, edi
mov qword [rsp + 0x30], rax
lea r8, [0x1404675c0]
lea rax, [0x14031b830]
mov edx, 0x18b
mov qword [rsp + 0x28], rax
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_shareddelloptimizer.cpp
lea r9d, [rdi + 3]
mov qword [rsp + 0x20], rdi
call fcn.140039f30
lea rax, [rbp - 0x21]
mov qword [rbp - 0x21], rdi
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x140320430]
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegOpenKeyExW]
mov rcx, qword [rbp - 0x21]
test rcx, rcx
je 0x1400979bd
lea rax, [rbp - 9]
mov dword [rbp + 3], edi
mov qword [rsp + 0x28], rax
lea r9, [rbp + 3]
xor r8d, r8d
mov qword [rsp + 0x20], rdi
lea rdx, str.NXEnabled
mov dword [rbp - 9], edi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
mov rcx, qword [rbp - 0x21]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov qword [rbp - 0x21], rdi
cmp ebx, 2
jne 0x140097a40
mov eax, 1
mov qword [rbp - 0x19], rdi
mov dword [rbp + 7], eax
lea rdx, [0x140320430]
lea rax, [rbp + 0xf]
xor r9d, r9d
mov qword [rsp + 0x40], rax
xor r8d, r8d
lea rax, [rbp - 0x19]
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov rcx, qword [rbp - 0x19]
test rcx, rcx
je 0x140097a40
lea rax, [rbp + 7]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.NXEnabled
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x19]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
cvttsd2si rax, xmm6
xor r9d, r9d
mov qword [rbp - 0x29], rdi
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioDellOptimizer
mov rcx, 0xffffffff80000002
mov dword [rbp - 0x11], eax
lea rax, [rbp - 1]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x29]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140097ac3
lea rax, [rbp - 0x11]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.NXPower
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x29]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
movaps xmm1, xmm6
mov rcx, r14
call fcn.1400bd5e0
jmp 0x1400978a4
movaps xmm1, xmm6
mov rcx, r14
call fcn.140099f50
jmp 0x1400978a4
lea rax, str.CDellOptimizer::SetRecordingNotificationPreference
xor edi, edi
mov qword [rsp + 0x30], rax
lea r8, [0x1404675c0]
lea rax, [0x14031b830]
mov edx, 0x228
mov qword [rsp + 0x28], rax
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_shareddelloptimizer.cpp
lea r9d, [rdi + 3]
mov qword [rsp + 0x20], rdi
call fcn.140039f30
xorps xmm0, xmm0
ucomisd xmm6, xmm0
jp 0x140097b2b
mov eax, edi
je 0x140097b30
mov eax, 1
mov dword [rbp - 0x11], eax
lea rdx, str.SOFTWAREWaves_AudioDellOptimizer
lea rax, [rbp - 1]
mov qword [rbp - 0x29], rdi
mov qword [rsp + 0x40], rax
xor r9d, r9d
lea rax, [rbp - 0x29]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rdi
mov ebx, 0x80004005
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140097bb5
lea rax, [rbp - 0x11]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.RecordingNotificationPreference
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x29]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebx, ebx
sete sil
jmp 0x1400978a7
movaps xmm1, xmm6
mov rcx, r14
call fcn.1400999d0
jmp 0x1400978a4
movaps xmm1, xmm6
mov rcx, r14
call fcn.140099af0
movzx esi, al
test al, al
je 0x1400978a7
cmp byte [r14 + 0x13f08b], 0x10
jb 0x1400978a7
mov rcx, r14
call fcn.1400be320
cmp eax, 3
je 0x1400978a7
xorps xmm1, xmm1
ucomisd xmm1, xmm6
jp 0x140097c10
je 0x140097c3d
xor edi, edi
lea r8, str.SoloModePower
xor r9d, r9d
mov dword [rsp + 0x20], edi
lea rdx, str.SOFTWAREWaves_AudioDellOptimizer
mov rcx, 0xffffffff80000002
call fcn.140057230
mov eax, eax
xorps xmm1, xmm1
cvtsi2sd xmm1, rax
mov rcx, r14
call fcn.1400bdd30
jmp 0x1400978a4
movaps xmm1, xmm6
call fcn.140099c20
jmp 0x1400978a4
movaps xmm1, xmm6
mov rcx, r14
call fcn.140099d40
jmp 0x1400978a4
xorps xmm0, xmm0
xor edi, edi
ucomisd xmm6, xmm0
jp 0x140097c76
mov eax, edi
je 0x140097c7b
mov eax, 1
mov dword [rbp - 0x11], eax
lea rdx, str.SOFTWAREWaves_AudioDellOptimizer
lea rax, [rbp - 1]
mov qword [rbp - 0x29], rdi
mov qword [rsp + 0x40], rax
xor r9d, r9d
lea rax, [rbp - 0x29]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov rcx, 0xffffffff80000002
mov qword [rsp + 0x30], rdi
mov ebx, 0x80004005
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov rcx, qword [rbp - 0x29]
test rcx, rcx
je 0x140097bb5
lea rax, [rbp - 0x11]
mov dword [rsp + 0x28], 4
mov r9d, 4
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, str.SoloModeVoiceBlockedNotificationPreference
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x29]
mov ebx, eax
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test ebx, ebx
sete sil
jmp 0x1400978a7