Function at 0x14000dc6c
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 [0x140057108]
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.14000c0e4
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 0x14000dd37
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 0x14000dd20
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x14000dd15
add ebx, r13d
cmp ebx, 2
jl 0x14000dcfb
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000dd2c
lea rcx, [0x140059010]
call fcn.1400012b0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000dd43
lea rcx, [0x140059010]
call fcn.1400012b0
cmp byte [0x1400570a9], r12b
je 0x14000ddba
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.1400069b8
test eax, eax
jne 0x14000dda3
lea rdx, [0x14003e0e0]
lea rcx, [rsp + 0x60]
call fcn.140007aa4
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000dda8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r12
jmp 0x14000dda8
mov rcx, qword [rsp + 0x60]
mov byte [0x1400570a9], r12b
test rcx, rcx
je 0x14000ddba
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov r8d, 0x864
lea rcx, [rbp + 0x10]
call fcn.140015ea0
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.140004f48
mov rdi, rax
mov qword [rsp + 0x60], rax
mov esi, 4
test rax, rax
je 0x14000de48
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.14000c8b0
cmp r15b, r13b
jne 0x14000de98
cmp dword [rbp], 3
jne 0x14000defa
call fcn.14000e13c
call fcn.14000bf48
call fcn.14000e498
lea rcx, str.igfxOSP.dll
call fcn.14000e92c
call fcn.14000e7b4
lea rcx, str.igfxHK.exe
call fcn.14000e92c
lea rcx, str.igfxTray.exe
call fcn.14000e92c
lea r8, [0x14005dc90]
jmp 0x14000deec
mov ecx, dword [rbp]
cmp ecx, esi
jne 0x14000deca
lea r8, [0x14005b3b0]
mov ebx, 0x432
mov edx, ebx
lea rcx, [rbp + 0x10]
call fcn.14001b7f8
lea r8, str.igfxEM.exe
mov edx, ebx
lea rcx, [rbp + 0x10]
call fcn.14001b778
jmp 0x14000defa
lea eax, [rcx - 1]
cmp eax, r13d
jbe 0x14000dedb
test ecx, ecx
jne 0x14000defa
jmp 0x14000e0f8
mov ecx, 2
call fcn.14000e1f4
lea r8, [0x14005d420]
mov edx, 0x432
lea rcx, [rbp + 0x10]
call fcn.14001b7f8
test r14d, r14d
jne 0x14000df08
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 0x14000e0ab
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.140015ea0
mov dword [rbp - 0x70], 0x68
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14000e0ab
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 0x14000e09b
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x14000e084
lea rax, str.winsta0default
mov qword [rbp - 0x60], rax
mov eax, dword [rbp]
add eax, 0xfffffffd
cmp eax, r13d
jbe 0x14000dfff
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 0x14000e084
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 0x14000e084
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 0x14000e076
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 0x14000e084
call sub.USERENV.dll_DestroyEnvironmentBlock
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rcx, qword [rsp + 0x78]
cmp rcx, 0xffffffffffffffff
je 0x14000e09b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
cmp rcx, 0xffffffffffffffff
je 0x14000e0ab
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp], 3
jne 0x14000e0f8
lea rdx, str.SoftwareIntelDisplayigfxcui
mov ecx, r13d
call fcn.140004f48
mov rbx, rax
test rax, rax
je 0x14000e0f8
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 0x14000e106
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, r13b
mov rcx, qword [rbp + 0x880]
xor rcx, rsp
call fcn.140013c60
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