Function at 0x1400110d0
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 rdi
push r12
push r14
push r15
lea rbp, [rax - 0x8d8]
sub rsp, 0x9b0
mov qword [rbp - 0x48], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14004c120]
xor rax, rsp
mov qword [rbp + 0x8a0], rax
movzx r15d, dl
mov r14d, ecx
xor r12d, r12d
mov dword [rsp + 0x60], r12d
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x78], 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 0x14001119b
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 0x140011184
nop dword [rax + rax]
xor r8d, r8d
xor edx, edx
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_StartServiceW]
test eax, eax
jne 0x140011179
inc ebx
cmp ebx, 2
jl 0x140011160
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x140011190
lea rcx, [0x14004f170]
call fcn.140005c70
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
jmp 0x1400111a7
lea rcx, [0x14004f170]
call fcn.140005c70
cmp byte [0x14004c0c1], r12b
je 0x14001121d
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], r12d
mov qword [rbp - 0x80], r12
mov r9d, 0x2001f
lea r8, str.SOFTWAREIntelDisplayigfxcuiprofiles
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x70]
call fcn.140005ff0
test eax, eax
jne 0x140011206
lea rdx, [0x1400380a0]
lea rcx, [rsp + 0x70]
call fcn.1400074f0
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x14001120b
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rcx, r12
jmp 0x14001120b
mov rcx, qword [rsp + 0x70]
mov byte [0x14004c0c1], r12b
test rcx, rcx
je 0x14001121d
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov edx, 0x400
lea rcx, [0x140051e90]
call qword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov word [rbp + 0x30], r12w
xor edx, edx
mov r8d, 0x862
lea rcx, [rbp + 0x32]
call fcn.140018f80
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], r12d
mov qword [rbp - 0x80], r12
mov r9d, 0x2001f
lea r8, str.SOFTWAREIntelDisplayigfxcui_
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x70]
call fcn.140005ff0
mov rbx, qword [rsp + 0x70]
test eax, eax
jne 0x1400112d1
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, [rbp - 0x70]
xor r8d, r8d
lea rdx, str.Inst
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test rbx, rbx
je 0x1400112c3
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rbx, r12
mov qword [rsp + 0x70], rbx
mov dword [rsp + 0x78], r12d
mov ecx, dword [rsp + 0x60]
call fcn.140010300
cmp r15b, 1
jne 0x1400112fb
cmp dword [rsp + 0x60], 3
jne 0x140011355
call fcn.140011c90
call fcn.1400115e0
call fcn.140010250
call fcn.1400118a0
lea r8, [0x140053770]
jmp 0x140011347
mov ecx, dword [rsp + 0x60]
cmp ecx, 4
jne 0x14001130d
lea r8, [0x140050540]
jmp 0x140011347
lea eax, [rcx - 1]
cmp eax, 1
jbe 0x140011336
test ecx, ecx
jne 0x140011355
call fcn.140011b80
call fcn.140011b20
call fcn.140011d30
call fcn.140010cd0
lea r8, [0x140052690]
jmp 0x140011347
mov ecx, 2
call fcn.140011680
lea r8, [0x140052f00]
mov edx, 0x432
lea rcx, [rbp + 0x30]
call fcn.140019dc0
test r14d, r14d
jne 0x140011363
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
mov r14d, eax
lea rdx, [rbp - 0x68]
mov ecx, r14d
call sub.WTSAPI32.dll_WTSQueryUserToken
test eax, eax
je 0x140011515
mov qword [rbp - 0x60], r12
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.140018f80
mov dword [rbp - 0x40], 0x68
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x140011515
lea rax, [rbp - 0x78]
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 - 0x78]
test rcx, rcx
je 0x140011505
call qword [sym.imp.ADVAPI32.dll_ImpersonateLoggedOnUser]
test eax, eax
je 0x1400114f5
lea rax, str.winsta0default
mov qword [rbp - 0x30], rax
mov eax, dword [rsp + 0x60]
add eax, 0xfffffffd
cmp eax, 1
jbe 0x14001145b
lea rax, [rbp - 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x40]
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 + 0x30]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x1400114f5
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 0x1400114f5
mov edx, r14d
lea rcx, [0x14004f170]
call fcn.140009210
mov ecx, 0x64
call qword [sym.imp.KERNEL32.dll_Sleep]
mov qword [rbp - 0x70], r12
xor r8d, r8d
mov rdx, qword [rbp - 0x78]
lea rcx, [rbp - 0x70]
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], r12
mov rax, qword [rbp - 0x70]
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 + 0x30]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1400114e7
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 [rbp - 0x70]
test rcx, rcx
je 0x1400114f5
call sub.USERENV.dll_DestroyEnvironmentBlock
call qword [sym.imp.ADVAPI32.dll_RevertToSelf]
mov rcx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x68]
cmp rcx, 0xffffffffffffffff
je 0x140011515
call qword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [rsp + 0x60], 3
jne 0x1400115a3
mov qword [rsp + 0x70], r12
mov dword [rsp + 0x78], r12d
mov qword [rbp - 0x80], r12
mov r9d, 0x2001f
lea r8, str.SOFTWAREIntelDisplayigfxcui_
mov rdx, 0xffffffff80000002
lea rcx, [rsp + 0x70]
call fcn.140005ff0
test eax, eax
jne 0x140011592
mov dword [rsp + 0x68], 4
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 rdi, qword [rsp + 0x70]
mov rcx, rdi
call qword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test rdi, rdi
je 0x1400115a3
mov rcx, rdi
jmp 0x14001159c
mov rcx, qword [rsp + 0x70]
test rcx, rcx
je 0x1400115a3
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
nop
test rbx, rbx
je 0x1400115b1
mov rcx, rbx
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
mov rcx, qword [rbp + 0x8a0]
xor rcx, rsp
call fcn.140018f50
lea r11, [rsp + 0x9b0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret