Function at 0x1400120c0
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 [0x140058100]
xor rax, rsp
mov qword [rbp + 0x760], rax
xor edi, edi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x40], rax
lea rdx, str.SOFTWAREClasses.igp
lea rax, [rsp + 0x50]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x38], rax
xor r9d, r9d
mov qword [rsp + 0x30], rdi
xor r8d, r8d
mov dword [rsp + 0x28], 0xf003f
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x20], edi
mov ebx, edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001217c
mov rbx, qword [rsp + 0x50]
lea rax, str.Intel.GraphicsControlPanel.igp.1
mov rcx, rbx
mov dword [rsp + 0x28], 0x42
lea r9d, [rdi + 1]
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x14003bfc4]
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x14001217c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ebx, edi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rax
lea rdx, str.SOFTWAREClassesIntel.GraphicsControlPanel.igp.1
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rdi
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x14001221b
mov eax, edi
test rbx, rbx
je 0x1400121d4
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x50]
test eax, eax
jne 0x14001221b
lea rax, str.Intel_Graphics_Profiles
mov dword [rsp + 0x28], 0x30
mov r9d, 1
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [0x14003bfc4]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rbx, rbx
je 0x14001221b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rdi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rax
lea rdx, str.SOFTWAREClassesIntel.GraphicsControlPanel.igp.1DefaultIcon
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rdi
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
or rsi, 0xffffffffffffffff
test eax, eax
jne 0x14001231a
mov eax, edi
test rbx, rbx
je 0x14001227b
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, qword [rsp + 0x50]
test eax, eax
jne 0x14001231a
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x800
call fcn.14001c090
lea r8, [0x14005cbf0]
mov edx, 0x400
lea rcx, [rsp + 0x60]
call fcn.14001ea10
lea r8, str.GfxUIEx.exe__2
mov edx, 0x400
lea rcx, [rsp + 0x60]
call fcn.14001e990
lea rcx, [rsp + 0x60]
mov rax, rsi
nop
cmp word [rcx + rax*2 + 2], di
lea rax, [rax + 1]
jne 0x1400122d0
lea eax, [rax*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
lea rdx, [0x14003bfc4]
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 0x14001231a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, rdi
lea rax, [rsp + 0x58]
mov qword [rsp + 0x50], rdi
mov qword [rsp + 0x40], rax
lea rdx, str.SOFTWAREClassesIntel.GraphicsControlPanel.igp.1_shellopencommand
lea rax, [rsp + 0x50]
xor r9d, r9d
mov qword [rsp + 0x38], rax
xor r8d, r8d
mov qword [rsp + 0x30], rdi
mov rcx, 0xffffffff80000002
mov dword [rsp + 0x28], 0xf003f
mov dword [rsp + 0x20], edi
call qword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1400123fc
test rbx, rbx
je 0x140012376
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edi, eax
mov rbx, qword [rsp + 0x50]
test edi, edi
jne 0x1400123fc
xor edx, edx
lea rcx, [rsp + 0x60]
mov r8d, 0x800
call fcn.14001c090
lea r8, [0x14005cbf0]
mov edx, 0x400
lea rcx, [rsp + 0x60]
call fcn.14001ea10
lea r8, str.GfxUIEx.exe__1
mov edx, 0x400
lea rcx, [rsp + 0x60]
call fcn.14001e990
lea rax, [rsp + 0x60]
cmp word [rax + rsi*2 + 2], 0
lea rsi, [rsi + 1]
jne 0x1400123c2
lea eax, [rsi*2 + 2]
mov r9d, 1
mov dword [rsp + 0x28], eax
lea rdx, [0x14003bfc4]
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 0x14001240a
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rbp + 0x760]
xor rcx, rsp
call fcn.140018ad0
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