Function at 0x140002910
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x50]
sub rsp, 0x150
mov r14, r8
mov r15, rdx
mov r12, rcx
call fcn.140001f50
mov rcx, rax
test rax, rax
je 0x140002b86
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x98], rax
mov r9, qword [r15]
mov r8, qword [r12]
lea rdx, str.__s___s
lea rcx, [rbp + 0x98]
call fcn.1400018a0
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x10], xmm0
movups xmmword [rbp], xmm0
movups xmmword [rbp + 0x10], xmm0
movups xmmword [rbp + 0x20], xmm0
movups xmmword [rbp + 0x30], xmm0
mov qword [rbp + 0x40], rax
mov dword [rbp - 0x20], 0x68
mov eax, 1
mov word [rbp + 0x20], ax
xor eax, eax
movups xmmword [rsp + 0x58], xmm0
mov qword [rsp + 0x68], rax
mov rdi, qword [r14]
mov rbx, qword [rbp + 0x98]
cmp dword [rbx - 8], 1
jle 0x1400029dc
mov edx, dword [rbx - 0x10]
lea rcx, [rbp + 0x98]
call fcn.1400017b0
mov rbx, qword [rbp + 0x98]
lea rax, [rsp + 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], rdi
xor edi, edi
mov qword [rsp + 0x30], rdi
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
mov r13d, eax
test rbx, rbx
jne 0x140002a20
mov eax, edi
jmp 0x140002a34
movsxd rdx, dword [rbx - 0xc]
mov rcx, rbx
call fcn.140015fac
test eax, eax
js 0x140002b91
cmp eax, dword [rbx - 0xc]
jg 0x140002b91
mov dword [rbx - 0x10], eax
mov eax, eax
mov word [rbx + rax*2], di
mov esi, 0xffffffff
test r13d, r13d
je 0x140002a6b
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x140002b4b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2e4
je 0x140002a90
lea rdx, [rbp + 0x98]
lea rcx, [rsp + 0x50]
call fcn.140001140
xor edx, edx
jmp 0x140002b3c
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movaps xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
mov dword [rsp + 0x70], 0x70
mov dword [rsp + 0x74], 0x4401
lea rax, str.exefile
mov qword [rbp - 0x48], rax
lea rax, str.runas
mov qword [rbp - 0x80], rax
mov dword [rbp - 0x60], 1
mov rax, qword [r12]
mov qword [rbp - 0x78], rax
mov rcx, qword [r15]
movq rax, xmm0
cmp dword [rcx - 0x10], edi
cmovne rax, rcx
mov qword [rbp - 0x70], rax
mov rcx, qword [r14]
mov rax, qword [rbp - 0x68]
cmp dword [rcx - 0x10], edi
cmovne rax, rcx
mov qword [rbp - 0x68], rax
lea rcx, [rsp + 0x70]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
jne 0x140002b4b
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
je 0x140002b4b
lea rdx, [rbp + 0x98]
lea rcx, [rsp + 0x50]
call fcn.140001140
mov edx, 1
mov r8, rax
mov ecx, 2
call fcn.1400026f0
mov edi, esi
lea rdx, [rbx - 0x18]
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140002b63
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [r8 + 8]
mov eax, edi
lea r11, [rsp + 0x150]
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
mov ecx, 0x80004005
call fcn.1400016c0
nop
mov ecx, 0x80070057
call fcn.1400016c0
int3