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

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x770]
sub rsp, 0x870
mov rax, qword [0x1400461e0]
xor rax, rsp
mov qword [rbp + 0x760], rax
xor esi, esi
lea rax, [rsp + 0x58]
lea rdx, str.SOFTWAREClasses.igp
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
xor r8d, r8d
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf003f
mov ebx, esi
mov dword [rsp + 0x20], esi
mov qword [rsp + 0x50], rsi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001067c
mov rbx, qword [rsp + 0x50]
lea rax, str.Intel.GraphicsControlPanel.igp.1
lea r9d, [rsi + 1]
lea rdx, [0x140032864]
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], 0x42
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x14001067c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, esi
lea rax, [rsp + 0x58]
lea rdx, str.SOFTWAREClassesIntel.GraphicsControlPanel.igp.1
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf003f
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001071b
mov eax, esi
test rbx, rbx
je 0x1400106d4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x50]
test eax, eax
jne 0x14001071b
lea rax, str.Intel_Graphics_Profiles
lea rdx, [0x140032864]
mov r9d, 1
xor r8d, r8d
mov rcx, rbx
mov dword [rsp + 0x28], 0x30
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x14001071b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rsi
lea rax, [rsp + 0x58]
lea rdx, str.SOFTWAREClassesIntel.GraphicsControlPanel.igp.1DefaultIcon
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf003f
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
or rdi, 0xffffffffffffffff
test eax, eax
jne 0x14001081d
mov eax, esi
test rbx, rbx
je 0x14001077b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x50]
test eax, eax
jne 0x14001081d
lea rcx, [rsp + 0x62]
xor edx, edx
mov r8d, 0x7fe
mov word [rsp + 0x60], si
call fcn.1400167c0
lea r8, [0x14004bcd0]
lea rcx, [rsp + 0x60]
mov edx, 0x400
call fcn.140017600
lea r8, str.GfxUIEx.exe__2
lea rcx, [rsp + 0x60]
mov edx, 0x400
call fcn.140017578
lea rcx, [rsp + 0x60]
mov rax, rdi
cmp word [rcx + rax*2 + 2], si
lea rax, [rax + 1]
jne 0x1400107d3
lea eax, [rax*2 + 2]
lea rdx, [0x140032864]
mov r9d, 1
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x60]
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x14001081d
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rsi
lea rax, [rsp + 0x58]
lea rdx, str.SOFTWAREClassesIntel.GraphicsControlPanel.igp.1_shellopencommand
xor r9d, r9d
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x50]
xor r8d, r8d
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rsi
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf003f
mov qword [rsp + 0x50], rsi
mov dword [rsp + 0x20], esi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x140010909
mov eax, esi
test rbx, rbx
je 0x140010879
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x50]
test eax, eax
jne 0x140010909
lea rcx, [rsp + 0x62]
xor edx, edx
mov r8d, 0x7fe
mov word [rsp + 0x60], si
call fcn.1400167c0
lea r8, [0x14004bcd0]
lea rcx, [rsp + 0x60]
mov edx, 0x400
call fcn.140017600
lea r8, str.GfxUIEx.exe__1
lea rcx, [rsp + 0x60]
mov edx, 0x400
call fcn.140017578
lea rax, [rsp + 0x60]
nop
cmp word [rax + rdi*2 + 2], si
lea rdi, [rdi + 1]
jne 0x1400108d0
lea eax, [rdi*2 + 2]
lea rdx, [0x140032864]
mov r9d, 1
mov dword [rsp + 0x28], eax
lea rax, [rsp + 0x60]
xor r8d, r8d
mov rcx, rbx
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x140010917
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.140016790
lea r11, [rsp + 0x870]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret