Function at 0x14000fc20
Capabilities:
Create process on windows
Query or enumerate registry value
Set registry value
Start service

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rax - 0x8c8]
sub rsp, 0x9a0
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1400461e0]
xor rax, rsp
mov qword [rbp + 0x890], rax
movzx r15d, dl
mov r14d, ecx
xor r12d, r12d
mov dword [rbp + 0x10], r12d
mov qword [rbp - 0x70], r12
mov qword [rbp - 0x80], r12
mov ebx, r12d
xor edx, edx
xor ecx, ecx
lea r8d, [r12 + 0x10]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x14000fceb
lea r8d, [r12 + 0x10]
lea rdx, str.FontCache3.0.0.0
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x14000fcd4
nop dword [rax + rax]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x14000fcc9
inc ebx
cmp ebx, 2
jl 0x14000fcb0
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000fce0
lea rcx, [0x140049000]
call fcn.1400060b0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000fcf7
lea rcx, [0x140049000]
call fcn.1400060b0
cmp byte [0x140046158], r12b
je 0x14000fd7f
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x68], r12
mov dword [rsp + 0x70], r12d
mov qword [rsp + 0x78], r12
mov r9d, 0x2001f
lea r8, str.SOFTWAREIntelDisplayigfxcuiprofiles
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x68]
call fcn.1400063b0
test eax, eax
jne 0x14000fd68
lea rdx, [0x140034100]
lea rcx, [rsp + 0x68]
call fcn.140007940
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14000fd6d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r12
jmp 0x14000fd6d
mov rcx, qword [rsp + 0x68]
mov byte [0x140046158], r12b
test rcx, rcx
je 0x14000fd7f
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov word [rbp + 0x20], r12w
xor edx, edx
mov r8d, 0x862
lea rcx, [rbp + 0x22]
call fcn.140016700
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x68], r12
mov dword [rsp + 0x70], r12d
mov qword [rsp + 0x78], r12
mov r9d, 0x2001f
lea r8, str.SOFTWAREIntelDisplayigfxcui_
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x68]
call fcn.1400063b0
mov rbx, qword [rsp + 0x68]
test eax, eax
jne 0x14000fe2f
mov dword [rbp + 0x18], 4
lea rax, [rbp + 0x18]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x78]
xor r8d, r8d
lea rdx, str.Inst
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test rbx, rbx
je 0x14000fe22
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r12
mov qword [rsp + 0x68], rbx
mov dword [rsp + 0x70], r12d
mov ecx, dword [rbp + 0x10]
call fcn.14000da20
cmp r15b, 1
jne 0x14000fe85
cmp dword [rbp + 0x10], 3
jne 0x14000fedf
call fcn.140010a40
call fcn.140010170
call fcn.14000d960
call fcn.140010520
lea rcx, str.igfxOSP.dll
call fcn.140010b00
call fcn.1400108b0
lea rcx, str.igfxHK.exe
call fcn.140010b00
lea rcx, str.igfxTray.exe
call fcn.140010b00
lea r8, [0x14004e5b0]
jmp 0x14000fed1
mov ecx, dword [rbp + 0x10]
cmp ecx, 4
jne 0x14000fe96
lea r8, [0x14004a380]
jmp 0x14000fed1
lea eax, [rcx - 1]
cmp eax, 1
jbe 0x14000fec0
test ecx, ecx
jne 0x14000fedf
call fcn.140010920
call fcn.1400108b0
call fcn.140010dc0
call fcn.14000ee80
call fcn.140010e90
jmp 0x140010130
mov ecx, 2
call fcn.140010230
lea r8, [0x14004dd40]
mov edx, 0x432
lea rcx, [rbp + 0x20]
call fcn.140017540
test r14d, r14d
jne 0x14000feed
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov r14d, eax
lea rdx, [rbp - 0x70]
mov ecx, r14d
call sub.WTSAPI32.dll_WTSQueryUserToken
test eax, eax
je 0x140010093
mov qword [rsp + 0x68], r12
xor eax, eax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
xor edx, edx
lea r8d, [rax + 0x60]
lea rcx, [rbp - 0x58]
call fcn.140016700
mov dword [rbp - 0x60], 0x68
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x140010093
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 1
mov r9d, 1
xor r8d, r8d
mov edx, 0x2000000
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140010083
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x14001006d
lea rax, str.winsta0default
mov qword [rbp - 0x50], rax
mov eax, dword [rbp + 0x10]
add eax, 0xfffffffd
cmp eax, 1
jbe 0x14000ffea
lea rax, [rsp + 0x68]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r12
mov qword [rsp + 0x30], r12
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], r12d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x20]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14001006d
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14001006d
mov qword [rbp - 0x78], r12
xor r8d, r8d
mov rdx, qword [rbp - 0x80]
lea rcx, [rbp - 0x78]
call sub.USERENV.dll_CreateEnvironmentBlock
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000420
mov dword [rsp + 0x28], r12d
mov qword [rsp + 0x20], r12
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x20]
mov rcx, qword [rbp - 0x80]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x14001005f
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14001006d
call sub.USERENV.dll_DestroyEnvironmentBlock
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rcx, qword [rbp - 0x80]
cmp rcx, 0xffffffffffffffff
je 0x140010083
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x70]
cmp rcx, 0xffffffffffffffff
je 0x140010093
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp + 0x10], 3
jne 0x140010130
xor eax, eax
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rax
mov qword [rsp + 0x68], r12
mov dword [rsp + 0x70], r12d
mov qword [rsp + 0x78], r12
mov r9d, 0x2001f
lea r8, str.SOFTWAREIntelDisplayigfxcui_
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x68]
call fcn.1400063b0
test eax, eax
jne 0x14001011f
mov dword [rbp + 0x18], 4
mov dword [rsp + 0x28], 4
lea rax, [rbp + 0x18]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Inst
mov rdi, qword [rsp + 0x68]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rdi, rdi
je 0x140010130
mov rcx, rdi
jmp 0x140010129
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x140010130
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rbx, rbx
je 0x14001013e
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rbp + 0x890]
xor rcx, rsp
call fcn.1400166d0
lea r11, [rsp + 0x9a0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret