Function at 0x1400986c0
Capabilities:
Set registry value

Disassembly:
mov rax, rsp
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xe0
mov qword [rbp - 0x69], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
movaps xmmword [rax - 0x48], xmm6
movaps xmmword [rax - 0x58], xmm7
mov rax, qword [0x14044b080]
xor rax, rsp
mov qword [rbp - 1], rax
movaps xmm7, xmm1
mov r15, rcx
lea rax, str.CDellOptimizer::SetGlobalPower
mov qword [rsp + 0x30], rax
lea rax, [0x14031b830]
mov qword [rsp + 0x28], rax
xor ebx, ebx
mov qword [rsp + 0x20], rbx
lea r9d, [rbx + 3]
lea r8, [0x1404675c0]
mov edx, 0x143
lea rcx, str.d:jenkinsworkspacemainrel4_dellconsumermainrel4_dellconsumerplatform_vista_shareddelloptimizer.cpp
call fcn.140039f30
xorps xmm6, xmm6
ucomisd xmm6, xmm7
jp 0x14009874e
mov dword [rbp - 0x31], 1
je 0x140098751
mov dword [rbp - 0x31], ebx
mov qword [rbp - 0x61], rbx
lea rax, [rbp - 0x11]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x61]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SOFTWAREWaves_AudioDellOptimizer
mov rcx, 0xffffffff80000002
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCreateKeyExW]
mov rcx, qword [rbp - 0x61]
test rcx, rcx
je 0x1400987cc
mov dword [rsp + 0x28], 4
lea rax, [rbp - 0x31]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.GlobalBypass
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov rsi, rbx
mov qword [rbp - 0x29], rbx
mov r12, rbx
mov qword [rbp - 0x19], rbx
mov r14, rbx
mov qword [rbp - 0x21], rbx
mov rdi, qword [r15 + 0x5d0]
mov rbx, qword [rdi]
cmp rbx, rdi
je 0x1400988ac
nop dword [rax]
nop dword [rax + rax]
lea rdx, [rbx + 0x20]
lea rcx, [rbp - 0x59]
call fcn.14003ead0
mov rax, qword [rbx + 0x40]
mov qword [rbp - 0x39], rax
test rax, rax
je 0x140098844
cmp r12, r14
je 0x14009882c
mov qword [r14], rax
add r14, 8
mov qword [rbp - 0x21], r14
jmp 0x140098844
lea r8, [rbp - 0x39]
mov rdx, r14
lea rcx, [rbp - 0x29]
call fcn.140076aa0
mov r12, qword [rbp - 0x19]
mov r14, qword [rbp - 0x21]
lea rcx, [rbp - 0x59]
call fcn.14003b0f0
mov rax, qword [rbx + 0x10]
cmp byte [rax + 0x19], 0
je 0x140098879
mov rax, qword [rbx + 8]
cmp byte [rax + 0x19], 0
jne 0x140098874
cmp rbx, qword [rax + 0x10]
jne 0x140098874
mov rbx, rax
mov rax, qword [rax + 8]
cmp byte [rax + 0x19], 0
je 0x140098861
mov rbx, rax
jmp 0x14009889f
mov rbx, rax
mov rcx, qword [rax]
cmp byte [rcx + 0x19], 0
jne 0x14009889f
nop word [rax + rax]
mov rbx, rcx
mov rax, qword [rcx]
mov rcx, rax
cmp byte [rax + 0x19], 0
je 0x140098890
cmp rbx, rdi
jne 0x140098800
mov rsi, qword [rbp - 0x29]
movsd qword [rbp - 9], xmm6
ucomisd xmm6, xmm7
jp 0x1400988b9
je 0x1400988d2
mov rax, qword [r15]
lea r8, [rbp - 9]
mov edx, 0xe9
mov rcx, r15
mov rax, qword [rax + 0x20]
call qword [case.0x14004487d.0]
xor ecx, ecx
mov r12d, ecx
mov r13, r14
sub r13, rsi
add r13, 7
shr r13, 3
cmp rsi, r14
cmova r13, rcx
test r13, r13
je 0x140098a93
nop word [rax + rax]
mov rbx, qword [rsi]
mov r14, rcx
mov qword [rbp - 0x61], rcx
mov qword [rbp - 0x11], rcx
xor edx, edx
mov rcx, rbx
call fcn.14007c630
test rax, rax
je 0x14009892b
mov rdx, rax
mov rcx, r15
call fcn.1400bb620
mov r14, rax
mov edx, 2
mov rcx, rbx
call fcn.14007c630
mov rdi, rax
test rax, rax
je 0x14009894f
mov rdx, rax
mov rcx, r15
call fcn.1400bb620
mov qword [rbp - 0x61], rax
mov edx, 4
mov rcx, rbx
call fcn.14007c630
test rdi, rdi
je 0x140098971
mov rdx, rax
mov rcx, r15
call fcn.1400bb620
mov rdi, rax
jmp 0x140098975
mov rdi, qword [rbp - 0x11]
mov rdx, r14
cmp dword [rbx + 0x48], 0
jne 0x140098a6d
mov ecx, dword [rbx + 0x18]
mov ebx, 0xffffffff
test ecx, ecx
cmovns ebx, ecx
mov dword [rsp + 0x20], 0
mov r9b, 1
mov r8d, ebx
mov rcx, r15
call fcn.1400b7150
xor r9d, r9d
movaps xmm2, xmm7
mov rdx, r14
call fcn.1400bcd50
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, ebx
mov rdx, r14
mov rcx, r15
call fcn.1400b7150
mov dword [rsp + 0x20], 0
mov r9b, 1
mov r8d, ebx
mov rdx, rdi
mov rcx, r15
call fcn.1400b7150
xor r9d, r9d
movaps xmm2, xmm7
mov rdx, rdi
call fcn.1400bcd50
mov dword [rsp + 0x20], 0
xor r9d, r9d
mov r8d, ebx
mov rdx, rdi
mov rcx, r15
call fcn.1400b7150
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, r14
call fcn.140092ee0
xor r9d, r9d
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call fcn.140092ee0
movsd xmm6, qword [rbp - 9]
xor r8d, r8d
xor edx, edx
mov rbx, qword [rbp - 0x61]
mov rcx, rbx
call fcn.140094600
movsd qword [rsp + 0x20], xmm6
mov r9d, 0xfffffffd
mov r8, rbx
mov rdx, r14
mov rcx, r15
call fcn.1400bd010
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rbx
call fcn.140094600
jmp 0x140098a7e
movaps xmm3, xmm7
mov r8d, 0xfffffffd
mov rcx, r15
call fcn.1400bcde0
add rsi, 8
inc r12
cmp r12, r13
mov ecx, 0
jne 0x140098900
lea rcx, [rbp - 0x29]
call fcn.14003d760
mov al, 1
mov rcx, qword [rbp - 1]
xor rcx, rsp
call fcn.140202880
lea r11, [rsp + 0xe0]
mov rbx, qword [r11 + 0x50]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret