Function at 0x14000de7c
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.14000c274
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 0x14000df47
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 0x14000df30
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x14000df25
add ebx, r13d
cmp ebx, 2
jl 0x14000df0b
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000df3c
lea rcx, [0x140058fb0]
call fcn.1400012b0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000df53
lea rcx, [0x140058fb0]
call fcn.1400012b0
cmp byte [0x1400570a9], r12b
je 0x14000dfca
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.1400068d8
test eax, eax
jne 0x14000dfb3
lea rdx, [0x14003e1e0]
lea rcx, [rsp + 0x60]
call fcn.1400079f4
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x14000dfb8
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r12
jmp 0x14000dfb8
mov rcx, qword [rsp + 0x60]
mov byte [0x1400570a9], r12b
test rcx, rcx
je 0x14000dfca
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor edx, edx
mov r8d, 0x864
lea rcx, [rbp + 0x10]
call fcn.140015c00
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.140004e14
mov rdi, rax
mov qword [rsp + 0x60], rax
mov esi, 4
test rax, rax
je 0x14000e058
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.14000cac0
cmp r15b, r13b
jne 0x14000e0a8
cmp dword [rbp], 3
jne 0x14000e10a
call fcn.14000e34c
call fcn.14000c0d8
call fcn.14000e6a8
lea rcx, str.igfxOSP.dll
call fcn.14000eb3c
call fcn.14000e9c4
lea rcx, str.igfxHK.exe
call fcn.14000eb3c
lea rcx, str.igfxTray.exe
call fcn.14000eb3c
lea r8, [0x14005dc60]
jmp 0x14000e0fc
mov ecx, dword [rbp]
cmp ecx, esi
jne 0x14000e0da
lea r8, [0x14005b380]
mov ebx, 0x432
mov edx, ebx
lea rcx, [rbp + 0x10]
call fcn.14001b554
lea r8, str.igfxEMN.exe
mov edx, ebx
lea rcx, [rbp + 0x10]
call fcn.14001b4d0
jmp 0x14000e10a
lea eax, [rcx - 1]
cmp eax, r13d
jbe 0x14000e0eb
test ecx, ecx
jne 0x14000e10a
jmp 0x14000e308
mov ecx, 2
call fcn.14000e404
lea r8, [0x14005d3f0]
mov edx, 0x432
lea rcx, [rbp + 0x10]
call fcn.14001b554
test r14d, r14d
jne 0x14000e118
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 0x14000e2bb
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.140015c00
mov dword [rbp - 0x70], 0x68
mov rcx, qword [rbp - 0x78]
test rcx, rcx
je 0x14000e2bb
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 0x14000e2ab
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x14000e294
lea rax, str.winsta0default
mov qword [rbp - 0x60], rax
mov eax, dword [rbp]
add eax, 0xfffffffd
cmp eax, r13d
jbe 0x14000e20f
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 0x14000e294
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 0x14000e294
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 0x14000e286
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 0x14000e294
call sub.USERENV.dll_DestroyEnvironmentBlock
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rcx, qword [rsp + 0x78]
cmp rcx, 0xffffffffffffffff
je 0x14000e2ab
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x78]
cmp rcx, 0xffffffffffffffff
je 0x14000e2bb
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rbp], 3
jne 0x14000e308
lea rdx, str.SoftwareIntelDisplayigfxcui
mov ecx, r13d
call fcn.140004e14
mov rbx, rax
test rax, rax
je 0x14000e308
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 0x14000e316
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, r13b
mov rcx, qword [rbp + 0x880]
xor rcx, rsp
call fcn.140013a90
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