Function at 0x14013e150
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
mov qword [rbp - 0x38], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
xor r12b, r12b
xor r15b, r15b
xor r13d, r13d
mov esi, r13d
or r14d, 0xffffffff
lea rbx, vtable.Core::Collections::Generic::LinkedList_unsigned_int_.1.0
lea rdi, vtable.Core::SharedPtr_class_Core::Collections::Generic::IEnumerator_unsigned_int__.0
nop dword [rax]
call qword [sym.imp.KERNEL32.dll_WTSGetActiveConsoleSessionId]
cmp eax, 0xffffffff
je 0x14013e1be
mov ecx, eax
call fcn.14013e090
mov rsi, rax
test rax, rax
jne 0x14013e3a8
test r14d, r14d
jle 0x14013e1c6
dec r14d
lea eax, [r14 + 1]
cmp eax, 1
ja 0x14013e393
mov qword [rsp + 0x70], rbx
lea rax, vtable.Core::Collections::Generic::LinkedList_unsigned_int_.0
mov qword [rsp + 0x78], rax
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x70], r13d
mov qword [rsp + 0x68], r13
mov edx, 0xb
lea rcx, [rsp + 0x60]
call fcn.1401ff260
mov eax, dword [rsp + 0x68]
inc eax
movsxd rdx, eax
mov r9d, 0xb
lea r8, str.LogonUI.exe
mov rcx, qword [rsp + 0x60]
call fcn.1402bd21c
mov edx, 0xb
lea rcx, [rsp + 0x60]
call fcn.140200570
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call fcn.1401b4d70
movzx ebx, al
cmp dword [rsp + 0x68], 0
jle 0x14013e257
mov rcx, qword [rsp + 0x60]
call fcn.1402b9c20
test bl, bl
je 0x14013e349
cmp dword [rbp - 0x70], 0
jne 0x14013e26e
or r14d, 0xffffffff
jmp 0x14013e349
cmp r14d, 0xffffffff
jne 0x14013e27f
mov r14d, 5
jmp 0x14013e349
mov ecx, 0x18
call fcn.1402b968c
mov rbx, rax
test rax, rax
je 0x14013e2aa
lea rax, vtable.Core::Collections::Generic::LinkedList_unsigned_int_::Enumerator_unsigned_int_.0
mov qword [rbx], rax
lea rax, [rsp + 0x70]
mov qword [rbx + 8], rax
mov qword [rbx + 0x10], r13
jmp 0x14013e2ad
mov rbx, r13
mov qword [rbp - 0x50], rdi
mov qword [rbp - 0x48], rbx
mov rdi, r13
mov qword [rbp - 0x40], r13
test rbx, rbx
je 0x14013e2e9
mov ecx, 4
call fcn.1402b968c
mov rdi, rax
test rax, rax
je 0x14013e2dc
mov dword [rax], r13d
mov qword [rbp - 0x40], rax
jmp 0x14013e2e3
mov rdi, r13
mov qword [rbp - 0x40], r13
mov dword [rdi], 1
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
test al, al
je 0x14013e31e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov ecx, dword [rax]
call fcn.14013dfe0
mov rsi, rax
test rax, rax
jne 0x14013e31b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
test al, al
jne 0x14013e2f5
jmp 0x14013e31e
mov r15b, 1
test rdi, rdi
je 0x14013e342
mov eax, dword [rdi]
test eax, eax
jle 0x14013e32d
dec eax
mov dword [rdi], eax
cmp dword [rdi], 0
jne 0x14013e342
mov rcx, rbx
call fcn.1402177e0
mov rcx, rdi
call fcn.1402177e0
lea rdi, vtable.Core::SharedPtr_class_Core::Collections::Generic::IEnumerator_unsigned_int__.0
lea rbx, vtable.Core::Collections::Generic::LinkedList_unsigned_int_.1.0
mov qword [rsp + 0x70], rbx
lea rax, vtable.Core::Collections::Generic::LinkedList_unsigned_int_.0
mov qword [rsp + 0x78], rax
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14013e387
nop word [rax + rax]
mov rbx, qword [rcx]
call fcn.1402177e0
mov rcx, rbx
test rbx, rbx
jne 0x14013e370
lea rbx, vtable.Core::Collections::Generic::LinkedList_unsigned_int_.1.0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x80], xmm0
mov dword [rbp - 0x70], r13d
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
test rsi, rsi
jne 0x14013e3ab
jmp 0x14013e1a0
xor r15b, r15b
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp - 0x28]
call fcn.1402c22a0
mov qword [rbp - 0x68], r13
xor eax, eax
mov qword [rbp - 0x60], rax
mov qword [rbp - 0x58], rax
mov dword [rbp - 0x30], 0x68
lea rcx, str.WinSta0Winlogon
lea rax, str.WinSta0Default
test r15b, r15b
cmovne rax, rcx
mov qword [rbp - 0x20], rax
cmp word [0x14042c5a0], 0
jne 0x14013e407
mov r8d, 0x104
lea rdx, [0x14042c5a0]
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea rax, [rbp - 0x68]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], r13
mov qword [rsp + 0x38], r13
mov dword [rsp + 0x30], r13d
mov dword [rsp + 0x28], r13d
mov qword [rsp + 0x20], r13
xor r9d, r9d
lea r8, str.__kickstart
lea rdx, [0x14042c5a0]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x14013e467
mov rcx, qword [rbp - 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x68]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov r12b, 1
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
movzx eax, r12b
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret