Function at 0x14000e6a8
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 [0x140057108]
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.1400046c8
test eax, eax
jne 0x14000e776
lea rbx, str.Intel.GraphicsControlPanel.igp.1
mov rcx, rbx
call fcn.14001b6b8
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 0x14000e772
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.1400046c8
test eax, eax
jne 0x14000e7fb
lea rbx, str.Intel_Graphics_Profiles
mov rcx, rbx
call fcn.14001b6b8
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 0x14000e7f7
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.1400046c8
mov r13d, 0x400
test eax, eax
jne 0x14000e8c4
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x800
call fcn.140015c00
lea r8, [0x14005b380]
mov edx, r13d
lea rcx, [rsp + 0x60]
call fcn.14001b554
lea r8, str.GfxUIExN.exe__2
mov edx, r13d
lea rcx, [rsp + 0x60]
call fcn.14001b4d0
lea rcx, [rsp + 0x60]
call fcn.14001b6b8
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 0x14000e8c0
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.1400046c8
test eax, eax
jne 0x14000e983
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x800
call fcn.140015c00
lea r8, [0x14005b380]
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.14001b554
lea r8, str.GfxUIExN.exe__1
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.14001b4d0
lea rcx, [rsp + 0x60]
call fcn.14001b6b8
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 0x14000e993
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
jmp 0x14000e988
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000e993
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.140013a90
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