Function at 0x140014fc0
Capabilities:
Create process on windows
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x260]
sub rsp, 0x360
mov rax, qword [0x14008f060]
xor rax, rsp
mov qword [rbp + 0x250], rax
mov ebx, r9d
mov r12, r8
mov r15, rcx
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
xor r13d, r13d
lea rdx, [rsp + 0x60]
mov ecx, eax
mov qword [rsp + 0x70], r13
mov edi, eax
mov qword [rsp + 0x60], r13
lea r14d, [r13 + 0x30]
call qword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
test eax, eax
je 0x1400150cf
mov rdx, qword [rsp + 0x60]
lea r8d, [r13 + 1]
lea rcx, [rsp + 0x68]
mov qword [rsp + 0x68], r13
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
test eax, eax
je 0x14001504c
mov r14d, 0x430
jmp 0x140015051
mov qword [rsp + 0x68], r13
mov esi, 2
cmp ebx, 0x72
jne 0x140015142
xor edx, edx
mov ecx, esi
call qword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov rbx, rax
cmp rax, 0xffffffffffffffff
je 0x1400150cf
lea rdx, [rbp + 0x10]
mov dword [rbp + 0x10], 0x238
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_Process32FirstW]
test eax, eax
je 0x1400150cf
nop word [rax + rax]
lea rdx, str.winlogon.exe
lea rcx, [rbp + 0x3c]
call fcn.14004bc48
test eax, eax
jne 0x1400150be
mov ecx, dword [rbp + 0x18]
lea rdx, [rbp - 0x10]
mov dword [rbp - 0x10], r13d
call qword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x1400150be
cmp dword [rbp - 0x10], edi
je 0x1400150fb
lea rdx, [rbp + 0x10]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x140015090
xor eax, eax
mov rcx, qword [rbp + 0x250]
xor rcx, rsp
call fcn.140036cc0
mov rbx, qword [rsp + 0x3a8]
add rsp, 0x360
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov r8d, dword [rbp + 0x18]
test r8d, r8d
je 0x1400150cf
xor edx, edx
mov ecx, 0x2000000
call qword [sym.imp.KERNEL32.dll_OpenProcess]
lea r8, [rsp + 0x60]
mov edx, esi
mov rcx, rax
mov rdi, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x1400150cf
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r9d, 1
jmp 0x14001514d
mov r9d, dword [rbp - 0x10]
cmp ebx, 0x71
cmove r9d, esi
mov rcx, qword [rsp + 0x60]
lea r8, [rbp - 8]
xor eax, eax
xorps xmm0, xmm0
mov qword [rbp + 8], rax
mov edx, 0x2000000
lea rax, [rsp + 0x70]
mov qword [rsp + 0x28], rax
movups xmmword [rbp - 8], xmm0
mov dword [rsp + 0x20], 1
mov dword [rbp - 8], 0x18
call qword [sym.imp.ADVAPI32.dll_DuplicateTokenEx]
test eax, eax
jne 0x14001519b
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1400150cf
mov rcx, qword [rsp + 0x70]
lea r9, [rbp - 8]
xorps xmm0, xmm0
mov qword [rsp + 0x50], r12
xor eax, eax
xor r8d, r8d
mov qword [rbp - 0x20], rax
mov rdx, r15
lea rax, str.winsta0default
movups xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x70], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x68]
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], rax
lea rax, [rbp - 8]
mov dword [rsp + 0x30], r14d
movups xmmword [rbp - 0x80], xmm0
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], rax
movups xmmword [rbp - 0x60], xmm0
mov dword [rbp - 0x80], 0x68
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1400150cf
mov rcx, qword [rsp + 0x68]
test rcx, rcx
je 0x14001522b
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
jmp 0x1400150d1