Function at 0x140002aa0
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 0x10], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0xa0]
mov eax, 0x1a0
call fcn.1400100f0
sub rsp, rax
mov rax, qword [0x14001b018]
xor rax, rsp
mov qword [rbp + 0x90], rax
mov r14, r9
mov r15, rcx
mov rsi, qword [rbp + 0xf0]
lea rcx, [rsp + 0x68]
call fcn.140002540
nop
mov rcx, qword [rsp + 0x68]
xor ebx, ebx
test rcx, rcx
jne 0x140002afd
mov edi, ebx
jmp 0x140002d24
mov dword [rsp + 0x60], ebx
call qword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov rcx, rax
lea r8, [rsp + 0x60]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_IsProcessInJob]
test eax, eax
jne 0x140002b1f
mov edi, ebx
jmp 0x140002b8d
cmp dword [rsp + 0x60], ebx
jne 0x140002b29
mov edi, ebx
jmp 0x140002b8d
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
movups xmmword [rbp + 0x40], xmm0
movups xmmword [rbp + 0x50], xmm0
movups xmmword [rbp + 0x60], xmm0
movups xmmword [rbp + 0x70], xmm0
movups xmmword [rbp + 0x80], xmm0
mov qword [rsp + 0x20], rbx
mov r9d, 0x90
lea r8, [rbp]
mov edx, 9
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_QueryInformationJobObject]
test eax, eax
jne 0x140002b77
mov edi, ebx
jmp 0x140002b8d
mov edi, dword [rbp + 0x10]
bt edi, 0xd
jb 0x140002b84
mov edi, ebx
jmp 0x140002b8d
and edi, 0x800
shl edi, 0xd
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x70], xmm0
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
mov qword [rbp - 0x10], rax
mov dword [rbp - 0x70], 0x68
lea rax, str.winsta0Default
mov qword [rbp - 0x60], rax
xor eax, eax
movups xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rax
test r14, r14
jne 0x140002c0d
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rbx
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], ebx
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rsp + 0x68]
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov edi, eax
jmp 0x140002c86
mov qword [rsp + 0x60], rbx
mov r8d, 1
mov rdx, r14
lea rcx, [rsp + 0x60]
call qword [sym.imp.USERENV.dll_CreateEnvironmentBlock]
mov rdx, qword [rsp + 0x60]
test eax, eax
cmove rdx, rbx
mov qword [rsp + 0x60], rdx
lea rax, [rsp + 0x70]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x48], rax
mov qword [rsp + 0x40], rbx
mov qword [rsp + 0x38], rdx
mov dword [rsp + 0x30], edi
mov dword [rsp + 0x28], ebx
mov qword [rsp + 0x20], rbx
xor r9d, r9d
mov r8, qword [rsp + 0x68]
mov rdx, r15
mov rcx, r14
call qword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
mov edi, eax
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140002c86
call qword [sym.imp.USERENV.dll_DestroyEnvironmentBlock]
test edi, edi
je 0x140002cbc
test rsi, rsi
je 0x140002ca4
mov rax, qword [rsp + 0x70]
mov qword [rsi], rax
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140002d1f
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140002d1f
mov qword [rsp + 0x60], rbx
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov r8d, eax
mov qword [rsp + 0x30], rbx
mov dword [rsp + 0x28], ebx
lea rax, [rsp + 0x60]
mov qword [rsp + 0x20], rax
xor edx, edx
mov r9d, 0x400
mov ecx, 0x1300
call qword [sym.imp.KERNEL32.dll_FormatMessageW]
mov rax, qword [rsp + 0x60]
lea rdx, str._null_
test rax, rax
cmovne rdx, rax
lea rcx, str.Error_restarting:__s_n
call fcn.140002270
mov rcx, qword [rsp + 0x60]
test rcx, rcx
je 0x140002d1f
call qword [sym.imp.KERNEL32.dll_LocalFree]
mov rcx, qword [rsp + 0x68]
mov qword [rsp + 0x68], rbx
test rcx, rcx
je 0x140002d33
call fcn.14000ef74
mov eax, edi
mov rcx, qword [rbp + 0x90]
xor rcx, rsp
call fcn.14000e7a0
mov rbx, qword [rsp + 0x1d8]
add rsp, 0x1a0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret