Function at 0x140011d20
Capabilities:
Delete registry value
Query or enumerate registry value

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1d8]
sub rsp, 0x2c0
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x140046350]
xor rax, rsp
mov qword [rbp + 0x1b0], rax
mov rsi, rdx
mov rdi, rcx
cmp qword [rcx + 0x68], 0
sete al
test al, al
jne 0x140011f84
xor r14d, r14d
mov ebx, r14d
mov dword [rsp + 0x68], r14d
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x58], r14
lea rax, [rsp + 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareIntelDisplayigfxcuiHotKeys
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140011f76
mov rbx, qword [rsp + 0x58]
mov qword [rsp + 0x60], rbx
mov dword [rsp + 0x68], r14d
mov word [rbp - 0x60], r14w
xor edx, edx
mov r8d, 0x206
lea rcx, [rbp - 0x5e]
call fcn.140018400
mov dword [rsp + 0x58], 0x208
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
lea rdx, str.ProfileCMDLineArgs
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x140011f59
mov eax, dword [rsp + 0x50]
dec eax
cmp eax, 1
jbe 0x140011e3f
mov eax, 0xd
jmp 0x140011f59
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x140011e5c
test al, 1
jne 0x140011e35
shr rax, 1
cmp word [rbp + rax*2 - 0x62], 0
jne 0x140011e35
movzx ecx, word [rbp - 0x60]
jmp 0x140011e63
mov ecx, r14d
mov word [rbp - 0x60], cx
mov eax, r14d
cmp cx, word [0x140032688]
je 0x140011f59
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x140011e87
mov ecx, 0x80004003
call fcn.140015570
int3
mov rax, qword [rcx]
mov r8d, 1
lea rdx, [rbp - 0x60]
call qword [rax + 0x3b8]
mov ebx, eax
mov qword [rsp + 0x50], r14
lea rcx, [rsp + 0x58]
call fcn.140017a94
lea r8, [rsp + 0x58]
mov edx, 0x1a
lea rcx, [rbp - 0x80]
call fcn.1400194f4
lea r8, [0x140033698]
lea rdx, str.C:IntelLogsIntelProfileLog.txt
lea rcx, [rsp + 0x50]
call fcn.14001947c
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140011f22
lea r8, [rbp - 0x80]
lea rdx, [0x1400336c4]
call fcn.1400194d0
lea rdx, str._s__n
mov rcx, qword [rsp + 0x50]
test ebx, ebx
lea r8, str.Profile_Apply_operation_is_SUCCEESS
je 0x140011f0e
lea r8, str.Profile_Apply_operation_is_FAILED
call fcn.140019298
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x140011f22
call fcn.1400169fc
mov r9d, 0xf003f
lea r8, str.SoftwareIntelDisplayigfxcuiHotKeys
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x60]
call fcn.140007050
mov rbx, qword [rsp + 0x60]
test eax, eax
jne 0x140011f59
lea rdx, str.ProfileCMDLineArgs
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test rsi, rsi
je 0x140011f65
test eax, eax
sete al
mov byte [rsi], al
test rbx, rbx
je 0x140011f76
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r14
test rbx, rbx
je 0x140011f84
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.1400183d0
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret