Function at 0x14000e8a8
Capabilities:
Persist via default file association registry key
Set registry value

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rdi
mov qword [rax + 0x18], r13
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x778]
sub rsp, 0x870
mov rax, qword [0x140055118]
xor rax, rsp
mov qword [rbp + 0x760], rax
xor edi, edi
lea r8, str.SOFTWAREClasses.igp
mov qword [rsp + 0x38], rdi
lea rcx, [rsp + 0x40]
mov qword [rsp + 0x30], rdi
mov r14, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf003f
xor r9d, r9d
mov rdx, r14
mov dword [rsp + 0x20], edi
mov qword [rsp + 0x48], rdi
mov qword [rsp + 0x40], rdi
mov qword [rsp + 0x50], rdi
call fcn.14000495c
test eax, eax
jne 0x14000e976
lea rbx, str.Intel.GraphicsControlPanel.igp.1
mov rcx, rbx
call fcn.14001b928
lea r9d, [rdi + 1]
xor r8d, r8d
lea rdx, [0x14003b164]
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x14000e972
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x38], rdi
lea r8, str.SOFTWAREClassesIntel.GraphicsControlPanel.igp.1
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], 0xf003f
xor r9d, r9d
mov rdx, r14
mov dword [rsp + 0x20], edi
call fcn.14000495c
test eax, eax
jne 0x14000e9fb
lea rbx, str.Intel_Graphics_Profiles
mov rcx, rbx
call fcn.14001b928
mov r9d, 1
lea rdx, [0x14003b164]
xor r8d, r8d
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
mov qword [rsp + 0x20], rbx
mov rbx, qword [rsp + 0x40]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x14000e9f7
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x38], rdi
lea r8, str.SOFTWAREClassesIntel.GraphicsControlPanel.igp.1DefaultIcon
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], 0xf003f
xor r9d, r9d
mov rdx, r14
mov dword [rsp + 0x20], edi
call fcn.14000495c
mov r13d, 0x400
test eax, eax
jne 0x14000eac4
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x800
call fcn.140015c00
lea r8, [0x1400593e0]
mov edx, r13d
lea rcx, [rsp + 0x60]
call fcn.14001b7c4
lea r8, str.GfxUIEx.exe__2
mov edx, r13d
lea rcx, [rsp + 0x60]
call fcn.14001b740
lea rcx, [rsp + 0x60]
call fcn.14001b928
mov rbx, qword [rsp + 0x40]
lea rdx, [0x14003b164]
mov r9d, 1
xor r8d, r8d
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x60]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x14000eac0
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov qword [rsp + 0x40], rdi
mov dword [rsp + 0x48], edi
mov qword [rsp + 0x38], rdi
lea r8, str.SOFTWAREClassesIntel.GraphicsControlPanel.igp.1_shellopencommand
mov qword [rsp + 0x30], rdi
lea rcx, [rsp + 0x40]
mov dword [rsp + 0x28], 0xf003f
xor r9d, r9d
mov rdx, r14
mov dword [rsp + 0x20], edi
call fcn.14000495c
test eax, eax
jne 0x14000eb83
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x800
call fcn.140015c00
lea r8, [0x1400593e0]
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.14001b7c4
lea r8, str.GfxUIEx.exe__1
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.14001b740
lea rcx, [rsp + 0x60]
call fcn.14001b928
mov rbx, qword [rsp + 0x40]
lea rdx, [0x14003b164]
mov r9d, 1
xor r8d, r8d
lea ecx, [rax*2 + 2]
mov dword [rsp + 0x28], ecx
lea rax, [rsp + 0x60]
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x14000eb93
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
jmp 0x14000eb88
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000eb93
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.140014010
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov r13, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret