Function at 0x1400124b0
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 [0x140048370]
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 0x140012714
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 0x140012706
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.140019d30
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 0x1400126e9
mov eax, dword [rsp + 0x50]
dec eax
cmp eax, 1
jbe 0x1400125cf
mov eax, 0xd
jmp 0x1400126e9
mov eax, dword [rsp + 0x58]
test eax, eax
je 0x1400125ec
test al, 1
jne 0x1400125c5
shr rax, 1
cmp word [rbp + rax*2 - 0x62], 0
jne 0x1400125c5
movzx ecx, word [rbp - 0x60]
jmp 0x1400125f3
mov ecx, r14d
mov word [rbp - 0x60], cx
mov eax, r14d
cmp cx, word [0x1400336d8]
je 0x1400126e9
mov rcx, qword [rdi + 0x68]
test rcx, rcx
jne 0x140012617
mov ecx, 0x80004003
call fcn.140016e80
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.1400193c4
lea r8, [rsp + 0x58]
mov edx, 0x1a
lea rcx, [rbp - 0x80]
call fcn.14001ae04
lea r8, [0x1400346c8]
lea rdx, str.C:IntelLogsIntelProfileLog.txt
lea rcx, [rsp + 0x50]
call fcn.14001ad8c
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400126b2
lea r8, [rbp - 0x80]
lea rdx, [0x1400346f4]
call fcn.14001ade0
lea rdx, str._s__n
mov rcx, qword [rsp + 0x50]
test ebx, ebx
lea r8, str.Profile_Apply_operation_is_SUCCEESS
je 0x14001269e
lea r8, str.Profile_Apply_operation_is_FAILED
call fcn.14001aba8
mov rcx, qword [rsp + 0x50]
test rcx, rcx
je 0x1400126b2
call fcn.140018330
mov r9d, 0xf003f
lea r8, str.SoftwareIntelDisplayigfxcuiHotKeys
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x60]
call fcn.140007800
mov rbx, qword [rsp + 0x60]
test eax, eax
jne 0x1400126e9
lea rdx, str.ProfileCMDLineArgs
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test rsi, rsi
je 0x1400126f5
test eax, eax
sete al
mov byte [rsi], al
test rbx, rbx
je 0x140012706
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r14
test rbx, rbx
je 0x140012714
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x1b0]
xor rcx, rsp
call fcn.140019d00
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret