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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x8b8]
sub rsp, 0x990
mov rax, qword [0x140054118]
xor rax, rsp
mov qword [rbp + 0x880], rax
mov r15b, dl
mov r14d, ecx
xor r12d, r12d
mov dword [rbp], r12d
mov qword [rbp - 0x78], r12
mov qword [rsp + 0x78], r12
mov ebx, r12d
call fcn.14000c444
lea edi, [r12 + 0x10]
mov r8d, edi
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
lea r13d, [r12 + 1]
test rax, rax
je 0x14000dfef
mov r8d, edi
lea rdx, str.FontCache3.0.0.0
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov rdi, rax
test rax, rax
je 0x14000dfd8
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x14000dfcd
add ebx, r13d
cmp ebx, 2
jl 0x14000dfb3
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000dfe4
lea rcx, [0x140056030]
call fcn.1400012b0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000dffb
lea rcx, [0x140056030]
call fcn.1400012b0
cmp byte [0x1400540a9], r12b
je 0x14000e072
mov qword [rsp + 0x68], r12
mov qword [rsp + 0x60], r12
mov qword [rsp + 0x70], r12
mov r9d, 0x2001f
lea r8, str.SoftwareIntelDisplayigfxcuiprofiles
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x60]
call fcn.140006b2c
test eax, eax
jne 0x14000e05b
lea rdx, [0x14003d200]
lea rcx, [rsp + 0x60]
call fcn.140007c64
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000e060
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r12
jmp 0x14000e060
mov rcx, qword [rsp + 0x60]
mov byte [0x1400540a9], r12b
test rcx, rcx
je 0x14000e072
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov r8d, 0x864
lea rcx, [rbp + 0x10]
call fcn.1400156c0
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov dword [rsp + 0x68], r12d
mov qword [rsp + 0x70], r12
lea rdx, str.SoftwareIntelDisplayigfxcui
mov ecx, r13d
call fcn.140004fdc
mov rdi, rax
mov qword [rsp + 0x60], rax
mov esi, 4
test rax, rax
je 0x14000e100
mov dword [rbp + 8], esi
lea rax, [rbp + 8]
mov qword [rsp + 0x28], rax
lea rax, [rbp]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
xor r8d, r8d
lea rdx, str.Inst
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, r12
mov qword [rsp + 0x60], r12
mov dword [rsp + 0x68], r12d
mov ecx, dword [rbp]
call fcn.14000cc90
cmp r15b, r13b
jne 0x14000e150
cmp dword [rbp], 3
jne 0x14000e1b2
call fcn.14000e3f4
call fcn.14000c2a8
call fcn.14000e750
lea rcx, str.igfxOSP.dll
call fcn.14000ebe4
call fcn.14000ea6c
lea rcx, str.igfxHK.exe
call fcn.14000ebe4
lea rcx, str.igfxTray.exe
call fcn.14000ebe4
lea r8, [0x14005acc0]
jmp 0x14000e1a4
mov ecx, dword [rbp]
cmp ecx, esi
jne 0x14000e182
lea r8, [0x1400583e0]
mov ebx, 0x432
mov edx, ebx
lea rcx, [rbp + 0x10]
call fcn.14001b284
lea r8, str.igfxEMN.exe
mov edx, ebx
lea rcx, [rbp + 0x10]
call fcn.14001b200
jmp 0x14000e1b2
lea eax, [rcx - 1]
cmp eax, r13d
jbe 0x14000e193
test ecx, ecx
jne 0x14000e1b2
jmp 0x14000e3b0
mov ecx, 2
call fcn.14000e4ac
lea r8, [0x14005a450]
mov edx, 0x432
lea rcx, [rbp + 0x10]
call fcn.14001b284
test r14d, r14d
jne 0x14000e1c0
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov r14d, eax
lea rdx, [rbp - 0x78]
mov ecx, r14d
call sub.WTSAPI32.dll_WTSQueryUserToken
test eax, eax
je 0x14000e363
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], rax
xor edx, edx
lea r8d, [rax + 0x64]
lea rcx, [rbp - 0x6c]
call fcn.1400156c0
mov dword [rbp - 0x70], 0x68
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14000e363
lea rax, [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], r13d
mov r9d, r13d
xor r8d, r8d
mov edx, 0x2000000
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000e353
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x14000e33c
lea rax, str.winsta0default
mov qword [rbp - 0x60], rax
mov eax, dword [rbp]
add eax, 0xfffffffd
cmp eax, r13d
jbe 0x14000e2b7
lea rax, [rsp + 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
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 + 0x10]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000e33c
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000e33c
mov qword [rbp - 0x80], r12
xor r8d, r8d
mov rdx, qword [rsp + 0x78]
lea rcx, [rbp - 0x80]
call sub.USERENV.dll_CreateEnvironmentBlock
lea rax, [rsp + 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r12
mov rax, qword [rbp - 0x80]
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 + 0x10]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x14000e32e
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14000e33c
call sub.USERENV.dll_DestroyEnvironmentBlock
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rcx, qword [rsp + 0x78]
cmp rcx, 0xffffffffffffffff
je 0x14000e353
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
cmp rcx, 0xffffffffffffffff
je 0x14000e363
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp], 3
jne 0x14000e3b0
lea rdx, str.SoftwareIntelDisplayigfxcui
mov ecx, r13d
call fcn.140004fdc
mov rbx, rax
test rax, rax
je 0x14000e3b0
mov dword [rbp + 8], esi
mov dword [rsp + 0x28], esi
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
mov r9d, esi
xor r8d, r8d
lea rdx, str.Inst
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rdi, rdi
je 0x14000e3be
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, r13b
mov rcx, qword [rbp + 0x880]
xor rcx, rsp
call fcn.140013ad0
lea r11, [rsp + 0x990]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret