Function at 0x14002bbb0
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 [0x1401f2b2f], 0
movzx r15d, r8b
movzx r14d, dl
mov esi, ecx
jne 0x14002bfb2
xorps xmm0, xmm0
xor eax, eax
mov qword [rbp - 0x10], rax
xor ebx, ebx
mov qword [0x1401f2da0], 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 [0x1401f2d90], 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 0x14002bce5
lea r8, [rsp + 0x78]
mov edx, 0xf01ff
mov rcx, rax
call qword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x14002bcdc
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 0x14002bcd6
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 0x14002bcd1
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.14002b0f0
mov edx, esi
lea rcx, [rsp + 0x70]
call fcn.14002c5a0
test eax, eax
je 0x14002bfae
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 0x14002be6a
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [0x1401f2b2f], bl
jne 0x14002bfb2
mov rcx, qword [rsp + 0x70]
lea rax, [0x1401f2d90]
mov qword [rsp + 0x50], rax
lea r8, [0x1401f2db0]
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 0x14002bd99
mov dword [0x140258db0], ebx
mov ebx, 1
call qword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x14002be45
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe9
jne 0x14002be45
cmp dword [0x1401f2b58], 1
jne 0x14002be1d
mov eax, dword [0x140258db0]
inc eax
mov dword [0x140258db0], eax
cmp eax, 3
jle 0x14002be45
lea rcx, [0x1401c77e8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x14002be10
lea rdx, str.WinStationConnectW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x14002be10
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea r9, [0x1401c5558]
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 0x14002be45
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.14002bfe0
mov dword [0x140258db0], ebx
mov ebx, 1
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14002bfa3
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x14002bfb4
call qword [sym.imp.KERNEL32.dll_SetLastError]
cmp byte [0x1401f2b2f], bl
jne 0x14002bfb2
mov rcx, qword [rsp + 0x70]
lea rax, [0x1401f2d90]
mov qword [rsp + 0x50], rax
lea r8, [0x1401f2db0]
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 0x14002beea
mov dword [0x140258db0], 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 0x14002bfb4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xe9
jne 0x14002bfa3
cmp dword [0x1401f2b58], 1
jne 0x14002bf7f
mov eax, dword [0x140258db0]
inc eax
mov dword [0x140258db0], eax
cmp eax, 3
jle 0x14002bfa3
lea rcx, [0x1401c77e8]
call qword [sym.imp.KERNEL32.dll_LoadLibraryA]
test rax, rax
je 0x14002bf65
lea rdx, str.WinStationConnectW
mov rcx, rax
call qword [sym.imp.KERNEL32.dll_GetProcAddress]
mov rdi, rax
test rax, rax
je 0x14002bf65
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
lea r9, [0x1401c5558]
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 0x14002bfb4
mov r8, qword [rsp + 0x70]
mov ecx, esi
mov qword [rsp + 0x48], rbx
mov dword [rsp + 0x40], 8
call fcn.14002bfe0
mov dword [0x140258db0], ebx
mov ebx, 1
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, ebx
jmp 0x14002bfb4
xor eax, eax
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140132620
mov rbx, qword [rsp + 0x158]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret