Function at 0x14002b6a0
Capabilities:
Create process on windows
Enumerate process modules
Enumerate processes on remote desktop session host

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x210]
sub rsp, 0x310
xor r15d, r15d
lea rax, [rbp + 0x250]
mov r14, rdx
mov qword [rsp + 0x60], r15
mov esi, ecx
mov qword [rsp + 0x70], r15
lea r9, [rsp + 0x70]
mov dword [rbp + 0x250], r15d
lea edi, [r15 + 1]
mov qword [rsp + 0x20], rax
mov r8d, edi
xor edx, edx
xor ecx, ecx
call sub.WTSAPI32.dll_WTSEnumerateProcessesA
test eax, eax
jne 0x14002b722
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x14002b83e
lea r9, str.WTSEnumerateProcesses_failed.
mov r8d, edi
mov edx, 0x60004002
call fcn.1400324f0
jmp 0x14002b837
mov ebx, r15d
cmp dword [rbp + 0x250], ebx
jbe 0x14002b82d
cmp qword [rsp + 0x60], r15
jne 0x14002b82d
mov eax, ebx
lea rcx, [rax + rax*2]
mov rax, qword [rsp + 0x70]
cmp dword [rax + rcx*8], esi
jne 0x14002b81f
mov r8d, dword [rax + rcx*8 + 4]
xor edx, edx
mov ecx, 0x410
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov qword [rsp + 0x68], rax
test rax, rax
je 0x14002b81f
lea r9, [rbp + 0x258]
mov qword [rsp + 0x78], r15
mov r8d, 8
mov dword [rbp + 0x258], r15d
lea rdx, [rsp + 0x78]
mov rcx, rax
call sub.KERNEL32.dll_K32EnumProcessModules
test eax, eax
je 0x14002b815
xor edx, edx
lea rcx, [rbp + 0x10]
mov r8d, 0x200
call fcn.14003aa80
mov rdx, qword [rsp + 0x78]
lea r8, [rbp + 0x10]
mov rcx, qword [rsp + 0x68]
mov r9d, 0x200
call sub.KERNEL32.dll_K32GetModuleBaseNameA
mov r8d, 0xc
lea rdx, str.winlogon.exe
lea rcx, [rbp + 0x10]
call fcn.140060ef0
test eax, eax
jne 0x14002b815
mov rcx, qword [rsp + 0x68]
lea r8, [rsp + 0x60]
lea edx, [rax + 0xf]
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x14002b815
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x14002b815
lea r9, str.OpenProcessToken_failed.
mov r8d, edi
mov edx, 0x60004002
call fcn.1400324f0
lea rcx, [rsp + 0x68]
call fcn.140032840
inc ebx
cmp ebx, dword [rbp + 0x250]
jb 0x14002b731
mov rcx, qword [rsp + 0x70]
call sub.WTSAPI32.dll_WTSFreeMemory
mov rcx, qword [0x1400b80b8]
mov rbx, qword [rsp + 0x60]
test rbx, rbx
jne 0x14002b86c
test rcx, rcx
je 0x14002b865
lea r9, str.GetSystemToken_failed_to_get_a_token.__Session_id__u
mov dword [rsp + 0x20], esi
xor r8d, r8d
mov edx, 0x60004002
call fcn.1400324f0
xor eax, eax
jmp 0x14002b928
xor eax, eax
lea rcx, [rbp - 0x60]
xor edx, edx
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea r8d, [rax + 0x68]
call fcn.14003aa80
lea rax, str.WinSta0Default
mov dword [rbp - 0x60], 0x68
mov qword [rbp - 0x50], rax
xor r9d, r9d
lea rax, [rbp - 0x80]
mov word [rbp - 0x20], r15w
mov qword [rsp + 0x50], rax
mov r8, r14
lea rax, [rbp - 0x60]
xor edx, edx
mov qword [rsp + 0x48], rax
mov rcx, rbx
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], 0x20
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
jne 0x14002b90a
mov rcx, qword [0x1400b80b8]
test rcx, rcx
je 0x14002b907
lea r9, str.CreateProcessAsUser_failed.__Session_id__u
mov dword [rsp + 0x20], esi
mov r8d, edi
mov edx, 0x60004002
call fcn.1400324f0
mov edi, r15d
lea rcx, [rbp - 0x80]
call fcn.140032840
lea rcx, [rsp + 0x60]
call fcn.140032840
lea rcx, [rbp - 0x78]
call fcn.140032840
mov eax, edi
mov rbx, qword [rsp + 0x340]
add rsp, 0x310
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret