Function at 0x14002b5a0
Capabilities:
Create process on windows
Lock the desktop

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1401ef010]
xor rax, rsp
mov qword [rbp + 0x10], rax
cmp byte [0x1401f2b0f], 0
movzx r15d, r8b
movzx r14d, dl
mov esi, ecx
jne 0x14002b9a2
xorps xmm0, xmm0
xor eax, eax
mov qword [rbp - 0x10], rax
xor ebx, ebx
mov qword [0x1401f2d80], rax
mov eax, 5
movups xmmword [rbp - 0x30], xmm0
mov word [rbp - 0x30], ax
lea rax, str.Winsta0Default
movups xmmword [rbp - 0x70], xmm0
mov qword [rsp + 0x70], rbx
movups xmmword [rbp - 0x60], xmm0
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x80], rbx
movups xmmword [rbp - 0x50], xmm0
mov dword [rbp - 0x70], 0x68
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [0x1401f2d70], xmm0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor edx, edx
mov ecx, 0x1fffff
mov r8d, eax
call qword [sym.imp.KERNEL32.dll_OpenProcess]
mov rdi, rax
test rax, rax
je 0x14002b6d5
lea r8, [rsp + 0x78]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14002b6cc
lea r8, [rbp - 0x78]
xor ecx, ecx
lea rdx, str.SeTcbPrivilege
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueA]
mov rcx, qword [rsp + 0x78]
test eax, eax
je 0x14002b6c6
mov rax, qword [rbp - 0x78]
lea r9d, [rbx + 0x10]
mov qword [rsp + 0x28], rbx
lea r8, [rbp]
xor edx, edx
mov qword [rbp + 4], rax
mov dword [rbp], 1
mov dword [rbp + 0xc], 2
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
test eax, eax
je 0x14002b6c1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx edx, r15b
movzx ecx, r14b
call fcn.14002aae0
mov edx, esi
lea rcx, [rsp + 0x70]
call fcn.14002bf90
test eax, eax
je 0x14002b99e
mov rdx, qword [rsp + 0x70]
lea rcx, [rbp - 0x80]
xor r8d, r8d
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
xor ecx, ecx
test eax, eax
je 0x14002b85a
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [0x1401f2b0f], bl
jne 0x14002b9a2
mov rcx, qword [rsp + 0x70]
lea rax, [0x1401f2d70]
mov qword [rsp + 0x50], rax
lea r8, [0x1401f2d90]
lea rax, [rbp - 0x70]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor edx, edx
mov rax, qword [rbp - 0x80]
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rax
mov dword [rsp + 0x30], 0x408
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
je 0x14002b789
mov dword [0x140258d98], ebx
mov ebx, 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14002b835
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe9
jne 0x14002b835
cmp dword [0x1401f2b38], 1
jne 0x14002b80d
mov eax, dword [0x140258d98]
inc eax
mov dword [0x140258d98], eax
cmp eax, 3
jle 0x14002b835
lea rcx, [0x1401c7798]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x14002b800
lea rdx, str.WinStationConnectW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x14002b800
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea r9, [0x1401c5508]
mov dword [rsp + 0x20], ebx
mov r8d, eax
xor edx, edx
xor ecx, ecx
call rdi
call qword [sym.imp.USER32.dll_LockWorkStation]
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x14002b835
mov rax, qword [rbp - 0x80]
mov ecx, esi
mov r8, qword [rsp + 0x70]
mov qword [rsp + 0x48], rax
mov dword [rsp + 0x40], 0x408
call fcn.14002b9d0
mov dword [0x140258d98], ebx
mov ebx, 1
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14002b993
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x14002b9a4
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [0x1401f2b0f], bl
jne 0x14002b9a2
mov rcx, qword [rsp + 0x70]
lea rax, [0x1401f2d70]
mov qword [rsp + 0x50], rax
lea r8, [0x1401f2d90]
lea rax, [rbp - 0x70]
xor r9d, r9d
mov qword [rsp + 0x48], rax
xor edx, edx
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rbx
mov dword [rsp + 0x30], 8
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserA]
test eax, eax
je 0x14002b8da
mov dword [0x140258d98], ebx
mov ebx, 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x14002b9a4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe9
jne 0x14002b993
cmp dword [0x1401f2b38], 1
jne 0x14002b96f
mov eax, dword [0x140258d98]
inc eax
mov dword [0x140258d98], eax
cmp eax, 3
jle 0x14002b993
lea rcx, [0x1401c7798]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x14002b955
lea rdx, str.WinStationConnectW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x14002b955
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea r9, [0x1401c5508]
mov dword [rsp + 0x20], ebx
mov r8d, eax
xor edx, edx
xor ecx, ecx
call rdi
call qword [sym.imp.USER32.dll_LockWorkStation]
mov ecx, 0xbb8
call qword [sym.imp.KERNEL32.dll_Sleep]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x14002b9a4
mov r8, qword [rsp + 0x70]
mov ecx, esi
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x40], 8
call fcn.14002b9d0
mov dword [0x140258d98], ebx
mov ebx, 1
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x14002b9a4
xor eax, eax
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.1401312e0
mov rbx, qword [rsp + 0x158]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret