Function at 0x140007730
Capabilities:
Set registry value

Disassembly:
mov r11, rsp
push r12
push r14
push r15
sub rsp, 0x310
mov qword [rsp + 0x78], 0xfffffffffffffffe
mov qword [r11 + 0x10], rbx
mov qword [r11 + 0x18], rsi
mov qword [r11 + 0x20], rdi
mov rax, qword [0x1400382d0]
xor rax, rsp
mov qword [rsp + 0x300], rax
mov r12, rcx
mov qword [rsp + 0x70], rcx
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x50], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x60], xmm1
xor edi, edi
mov esi, edi
mov qword [r11 - 0x288], rdi
mov word [rsp + 0xf0], di
xor edx, edx
mov r8d, 0x206
lea rcx, [r11 - 0x236]
call fcn.140013860
mov qword [rsp + 0x80], rdi
mov r8, r12
mov edx, 0x104
lea rcx, [rsp + 0xf0]
call fcn.140012718
lea r8, [rsp + 0xa0]
lea rdx, [0x14002950c]
lea rcx, [rsp + 0xf0]
call fcn.140012a4c
test rax, rax
je 0x140007813
mov ebx, edi
cmp rbx, 4
jge 0x140007813
mov qword [rsp + rbx*8 + 0x50], rax
inc esi
inc rbx
lea r8, [rsp + 0xa0]
lea rdx, [0x14002950c]
xor ecx, ecx
call fcn.140012a4c
test rax, rax
jne 0x1400077e8
mov qword [rsp + 0x98], rdi
mov qword [rsp + 0xb8], rdi
mov qword [rsp + 0xb0], rdi
mov qword [rsp + 0xa8], rdi
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitialize]
mov qword [rsp + 0xc0], rdi
test eax, eax
js 0x1400078be
lea rax, [rsp + 0x88]
mov qword [rsp + 0x20], rax
lea r9, [0x140027b00]
xor edx, edx
lea r8d, [rdx + 0x17]
lea rcx, [0x140027b70]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x1400078b6
mov rcx, qword [rsp + 0x88]
call qword [sym.imp.ole32.dll_OleRun]
mov ebx, eax
test eax, eax
js 0x1400078a4
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
lea r8, [rsp + 0xc0]
lea rdx, [0x140027d90]
call qword [rax]
mov ebx, eax
mov rcx, qword [rsp + 0x88]
mov rax, qword [rcx]
call qword [rax + SafeArrayGetElemsize]
test ebx, ebx
jns 0x1400078be
mov qword [rsp + 0xc0], rdi
mov r15d, edi
mov ebx, edi
mov byte [rsp + 0xd0], bl
xor eax, eax
mov qword [rsp + 0xd1], rax
mov qword [rsp + 0xd9], rax
mov qword [rsp + 0xe1], rax
mov byte [rsp + 0xe9], al
lea rcx, [rsp + 0xc8]
call fcn.140012e2c
lea r8, [rsp + 0xc8]
mov edx, 0x1a
lea rcx, [rsp + 0xd0]
call fcn.140012d88
lea r8, [0x140029514]
lea rdx, str.C:IntelLogsIntelProfileLog.txt
lea rcx, [rsp + 0x80]
call fcn.140012d10
movsxd r14, esi
mov qword [rsp + 0x88], r14
lea rdx, str._import
mov rcx, r12
call fcn.140012850
test rax, rax
je 0x140007b15
mov r8, rdi
test esi, esi
jle 0x140007999
lea r9, str.import
nop
mov rcx, rdi
mov rdx, qword [rsp + r8*8 + 0x50]
nop dword [rax + rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r9 + rcx*2 - 2]
jne 0x140007987
cmp rcx, 7
je 0x140007993
jmp 0x140007970
inc ebx
inc r8
cmp r8, r14
jge 0x140007999
jmp 0x140007960
mov r15d, 1
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
sete al
test al, al
jne 0x140007b15
cmp r15d, 1
jne 0x140007b15
cmp ebx, 2
jg 0x140007b15
test rcx, rcx
jne 0x1400079d1
mov ecx, 0x80004003
call fcn.140011ab0
mov rax, qword [rcx]
movsxd rdx, ebx
mov dword [rsp + 0x38], 4
lea r8, [rsp + 0x90]
mov qword [rsp + 0x30], r8
lea r8, [rsp + 0xa8]
mov qword [rsp + 0x28], r8
lea r8, [rsp + 0xb0]
mov qword [rsp + 0x20], r8
lea r9, [rsp + 0xb8]
lea r8, [rsp + 0x98]
mov rdx, qword [rsp + rdx*8 + 0x58]
call qword [rax + 0x398]
nop
jmp 0x140007a33
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140007b15
lea r8, [rsp + 0xd0]
lea rdx, [0x140029550]
call fcn.140012d64
mov ecx, dword [rsp + 0x90]
test ecx, ecx
je 0x140007afa
dec ecx
je 0x140007ae2
dec ecx
je 0x140007aca
dec ecx
jne 0x140007afa
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetElemsize]
mov dword [rsp + 0x88], edi
lea r8, [rsp + 0x88]
mov edx, eax
mov rcx, qword [rsp + 0x98]
call qword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
mov eax, dword [rsp + 0x88]
inc eax
lea rdx, str._s__n
mov rcx, qword [rsp + 0x80]
cmp eax, 1
jl 0x140007b09
lea r8, str.Import_operation_is_SUCCEESS
jmp 0x140007b10
lea r8, str.Import_operation_is_failed_with_FAIL_INVALID_FILE_FORMAT
lea rdx, str._s__n
mov rcx, qword [rsp + 0x80]
jmp 0x140007b10
lea r8, str.Import_operation_is_failed_with_FAIL_MAXIMUM_PROFILE_LIMIT_EXCEEDDED
lea rdx, str._s__n
mov rcx, qword [rsp + 0x80]
jmp 0x140007b10
lea rdx, str._s__n
mov rcx, qword [rsp + 0x80]
lea r8, str.Import_operation_is_failed_with_UNKONWN_RESULT
call fcn.140012b0c
lea rdx, str._profile
mov rcx, r12
call fcn.140012850
test rax, rax
je 0x140007d33
mov r9d, edi
mov esi, edi
mov r8, rdi
test r14, r14
jle 0x140007b79
lea r10, str.profile
mov rcx, rdi
mov rdx, qword [rsp + r8*8 + 0x50]
nop dword [rax]
movzx eax, word [rdx + rcx*2]
inc rcx
cmp ax, word [r10 + rcx*2 - 2]
jne 0x140007b67
cmp rcx, 8
je 0x140007b73
jmp 0x140007b50
inc esi
inc r8
cmp r8, r14
jge 0x140007b79
jmp 0x140007b41
mov r9d, 1
cmp qword [rsp + 0xc0], 0
sete al
test al, al
jne 0x140007d33
cmp r9d, 1
jne 0x140007d33
mov ebx, edi
xor ecx, ecx
call fcn.140008270
test al, al
jne 0x140007bc6
mov ecx, 0x1f4
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call fcn.140008270
cmp al, 1
je 0x140007bc6
inc ebx
cmp ebx, 0xa
jl 0x140007ba4
jmp 0x140007c5a
cmp esi, 3
jge 0x140007c5a
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
jne 0x140007be7
mov ecx, 0x80004003
call fcn.140011ab0
int3
mov rax, qword [rcx]
movsxd rdx, esi
mov r8d, 1
mov rdx, qword [rsp + rdx*8 + 0x58]
call qword [rax + 0x3b8]
mov ebx, eax
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140007d45
lea r8, [rsp + 0xd0]
lea rdx, [0x140029550]
call fcn.140012d64
lea rdx, str._s__n
mov rcx, qword [rsp + 0x80]
test ebx, ebx
jne 0x140007c49
lea r8, str.Profile_Apply_operation_is_SUCCEESS
call fcn.140012b0c
jmp 0x140007d33
lea r8, str.Profile_Apply_operation_is_FAILED
call fcn.140012b0c
jmp 0x140007d33
mov qword [rsp + 0x90], rdi
lea rax, [rsp + 0x88]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x90]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], 0x2001f
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
lea rdx, str.SoftwareIntelDisplayigfxcuiHotKeys
mov rcx, 0xffffffff80000001
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140007d33
cmp esi, 3
jge 0x140007d20
movsxd rax, esi
mov rcx, qword [rsp + rax*8 + 0x58]
mov eax, edi
test rcx, rcx
setne al
test eax, eax
je 0x140007d0e
or rax, 0xffffffffffffffff
nop dword [rax]
lea rax, [rax + 1]
cmp word [rcx + rax*2], 0
jne 0x140007cd0
lea eax, [rax*2 + 2]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rcx
mov r9d, 1
xor r8d, r8d
lea rdx, str.ProfileCMDLineArgs
mov rbx, qword [rsp + 0x90]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x140007d16
mov rbx, qword [rsp + 0x90]
test rbx, rbx
je 0x140007d33
mov rcx, rbx
jmp 0x140007d2d
mov rcx, qword [rsp + 0x90]
test rcx, rcx
je 0x140007d33
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, qword [rsp + 0x80]
test rcx, rcx
je 0x140007d45
call fcn.140012bd0
cmp qword [rsp + 0xc0], 0
jne 0x140007d5b
mov ecx, 0x80004003
call fcn.140011ab0
int3
mov rcx, qword [rsp + 0xc0]
mov rax, qword [rcx]
call qword [rax + SafeArrayGetElemsize]
mov qword [rsp + 0xc0], rdi
call qword [sym.imp.ole32.dll_CoUninitialize]
nop
mov rcx, qword [rsp + 0xc0]
test rcx, rcx
je 0x140007d8b
mov rax, qword [rcx]
call qword [rax + SafeArrayGetElemsize]
mov rcx, qword [rsp + 0x300]
xor rcx, rsp
call fcn.140013750
lea r11, [rsp + 0x310]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop r12
ret