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

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
lea rbp, [rax - 0x1c8]
sub rsp, 0x2b0
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400cfdf0]
xor rax, rsp
mov qword [rbp + 0x1a0], rax
mov rsi, rdx
mov rdi, rcx
cmp qword [rcx + 0x78], 0
je 0x140043831
xor eax, eax
mov qword [rsp + 0x48], rax
xor r14d, r14d
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x48], r14d
mov qword [rsp + 0x50], r14
mov dword [rsp + 0x68], r14d
lea rax, [rsp + 0x68]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], r14d
xor r9d, r9d
lea r8, str.SoftwareIntelDisplayigfxcuiHotKeys
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x40]
call fcn.140044440
test eax, eax
jne 0x14004381e
xor edx, edx
mov r8d, 0x208
lea rcx, [rbp - 0x70]
call fcn.140054000
mov dword [rsp + 0x68], 0x208
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x60]
xor r8d, r8d
lea rdx, str.ProfileCMDLineArgs
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1400437ff
mov eax, dword [rsp + 0x60]
dec eax
cmp eax, 1
jbe 0x1400436db
mov eax, ILFindLastID
jmp 0x1400437ff
mov eax, dword [rsp + 0x68]
test eax, eax
je 0x1400436f8
test al, 1
jne 0x1400436d1
shr rax, 1
cmp word [rbp + rax*2 - 0x72], 0
jne 0x1400436d1
movzx ecx, word [rbp - 0x70]
jmp 0x1400436ff
mov ecx, r14d
mov word [rbp - 0x70], cx
mov eax, r14d
cmp cx, word [0x140097a34]
je 0x1400437ff
mov rdi, qword [rdi + 0x78]
test rdi, rdi
je 0x140043858
mov rax, qword [rdi]
mov rbx, qword [rax + 0x398]
mov rcx, rbx
call qword [fcn.14000dba0]
mov r8d, 1
lea rdx, [rbp - 0x70]
mov rcx, rdi
call rbx
mov ebx, eax
mov qword [rsp + 0x60], r14
lea rcx, [rsp + 0x68]
call fcn.14006d2fc
lea r8, [rsp + 0x68]
mov edx, 0x1a
lea rcx, [rsp + 0x70]
call fcn.14006df00
lea r8, [0x14009e8c8]
lea rdx, str.C:IntelLogsIntelProfileLog.txt
lea rcx, [rsp + 0x60]
call fcn.140068b74
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400437c8
lea r8, [rsp + 0x70]
lea rdx, [0x14009e8f4]
call fcn.14004bf80
lea rdx, str._s__n
mov rcx, qword [rsp + 0x60]
test ebx, ebx
lea r8, str.Profile_Apply_operation_is_SUCCEESS
je 0x1400437b4
lea r8, str.Profile_Apply_operation_is_FAILED
call fcn.14002cfe0
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x1400437c8
call fcn.140068f88
mov r9d, 0xf003f
lea r8, str.SoftwareIntelDisplayigfxcuiHotKeys
mov rdx, 0xffffffff80000001
lea rcx, [rsp + 0x40]
call fcn.140017550
mov rbx, qword [rsp + 0x40]
test eax, eax
jne 0x1400437ff
lea rdx, str.ProfileCMDLineArgs
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
test rsi, rsi
je 0x14004380b
test eax, eax
sete al
mov byte [rsi], al
test rbx, rbx
je 0x140043823
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r14
jmp 0x140043823
mov rbx, qword [rsp + 0x40]
test rbx, rbx
je 0x140043831
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rbp + 0x1a0]
xor rcx, rsp
call fcn.14004e4a0
lea r11, [rsp + 0x2b0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
mov ecx, 0x80004003
call fcn.14004ebc0
int3