Function at 0x140130250
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_.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 0x1401302be
mov ecx, eax
call fcn.140130190
mov rsi, rax
test rax, rax
jne 0x1401304a8
test r14d, r14d
jle 0x1401302c6
dec r14d
lea eax, [r14 + 1]
cmp eax, 1
ja 0x140130493
mov qword [rsp + 0x70], rbx
lea rax, vtable.Core::Collections::Generic::LinkedList_unsigned_int_.1.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.1401e9030
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.14029b4d8
mov edx, 0xb
lea rcx, [rsp + 0x60]
call fcn.1401ea290
nop
lea rdx, [rsp + 0x70]
lea rcx, [rsp + 0x60]
call fcn.1401a3910
movzx ebx, al
cmp dword [rsp + 0x68], 0
jle 0x140130357
mov rcx, qword [rsp + 0x60]
call fcn.140298600
test bl, bl
je 0x140130449
cmp dword [rbp - 0x70], 0
jne 0x14013036e
or r14d, 0xffffffff
jmp 0x140130449
cmp r14d, 0xffffffff
jne 0x14013037f
mov r14d, 5
jmp 0x140130449
mov ecx, 0x18
call fcn.14029806c
mov rbx, rax
test rax, rax
je 0x1401303aa
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 0x1401303ad
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 0x1401303e9
mov ecx, 4
call fcn.14029806c
mov rdi, rax
test rax, rax
je 0x1401303dc
mov dword [rax], r13d
mov qword [rbp - 0x40], rax
jmp 0x1401303e3
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 0x14013041e
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + 0x10]
mov ecx, dword [rax]
call fcn.1401300e0
mov rsi, rax
test rax, rax
jne 0x14013041b
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
test al, al
jne 0x1401303f5
jmp 0x14013041e
mov r15b, 1
test rdi, rdi
je 0x140130442
mov eax, dword [rdi]
test eax, eax
jle 0x14013042d
dec eax
mov dword [rdi], eax
cmp dword [rdi], 0
jne 0x140130442
mov rcx, rbx
call fcn.1402012c0
mov rcx, rdi
call fcn.1402012c0
lea rdi, vtable.Core::SharedPtr_class_Core::Collections::Generic::IEnumerator_unsigned_int__.0
lea rbx, vtable.Core::Collections::Generic::LinkedList_unsigned_int_.0
mov qword [rsp + 0x70], rbx
lea rax, vtable.Core::Collections::Generic::LinkedList_unsigned_int_.1.0
mov qword [rsp + 0x78], rax
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x140130487
nop word [rax + rax]
mov rbx, qword [rcx]
call fcn.1402012c0
mov rcx, rbx
test rbx, rbx
jne 0x140130470
lea rbx, vtable.Core::Collections::Generic::LinkedList_unsigned_int_.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 0x1401304ab
jmp 0x1401302a0
xor r15b, r15b
xor edx, edx
lea r8d, [rdx + 0x60]
lea rcx, [rbp - 0x28]
call fcn.1402a04b0
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, [0x14032f478]
test r15b, r15b
cmovne rax, rcx
mov qword [rbp - 0x20], rax
cmp word [0x1403fe1b0], 0
jne 0x140130507
mov r8d, 0x104
lea rdx, [0x1403fe1b0]
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, [0x14032f4d0]
lea rdx, [0x1403fe1b0]
mov rcx, rsi
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
je 0x140130567
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