Function at 0x14000ec1c
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.1400047e8
test eax, eax
jne 0x14000ecea
lea rbx, str.Intel.GraphicsControlPanel.igp.1
mov rcx, rbx
call fcn.14001ba78
lea r9d, [rdi + 1]
xor r8d, r8d
lea rdx, [0x14003b1d4]
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 0x14000ece6
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.1400047e8
test eax, eax
jne 0x14000ed6f
lea rbx, str.Intel_Graphics_Profiles
mov rcx, rbx
call fcn.14001ba78
mov r9d, 1
lea rdx, [0x14003b1d4]
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 0x14000ed6b
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.1400047e8
mov r13d, 0x400
test eax, eax
jne 0x14000ee38
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x800
call fcn.140015b30
lea r8, [0x1400593d0]
mov edx, r13d
lea rcx, [rsp + 0x60]
call fcn.14001b914
lea r8, str.GfxUIExN.exe__2
mov edx, r13d
lea rcx, [rsp + 0x60]
call fcn.14001b89c
lea rcx, [rsp + 0x60]
call fcn.14001ba78
mov rbx, qword [rsp + 0x40]
lea rdx, [0x14003b1d4]
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 0x14000ee34
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.1400047e8
test eax, eax
jne 0x14000eef7
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x800
call fcn.140015b30
lea r8, [0x1400593d0]
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.14001b914
lea r8, str.GfxUIExN.exe__1
mov rdx, r13
lea rcx, [rsp + 0x60]
call fcn.14001b89c
lea rcx, [rsp + 0x60]
call fcn.14001ba78
mov rbx, qword [rsp + 0x40]
lea rdx, [0x14003b1d4]
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 0x14000ef07
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, rdi
jmp 0x14000eefc
mov rcx, qword [rsp + 0x40]
test rcx, rcx
je 0x14000ef07
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.140013f90
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