Function at 0x1401062ec
Capabilities:
Create process on windows

Disassembly:
mov qword [rsp + 8], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x2fa0]
mov eax, 0x30a0
call fcn.140119910
sub rsp, rax
mov rax, qword [0x140182c48]
xor rax, rsp
mov qword [rbp + 0x2f90], rax
cmp word [rdx], 0x22
mov r12, r9
mov r14, qword [rbp + 0x3008]
mov r15, r8
mov rbx, qword [rbp + 0x3010]
mov rdi, rdx
jne 0x14010635b
mov r8d, 0x800
lea rcx, [rbp - 0x70]
call fcn.1400ac228
lea rcx, [rbp - 0x70]
call fcn.1400c64c4
lea rdi, [rbp - 0x70]
mov esi, 0x70
lea rcx, [rsp + 0x20]
mov r8d, esi
xor edx, edx
call fcn.14011c600
cmp byte [rbp + 0x3000], 0
mov eax, 0x500
mov dword [rsp + 0x20], esi
mov qword [rsp + 0x38], rdi
mov qword [rsp + 0x30], rbx
lea ecx, [rax + 0x40]
cmove eax, ecx
mov rcx, rdi
mov dword [rsp + 0x24], eax
call fcn.14009694c
cmp rax, rdi
mov rcx, rdi
mov rbx, rax
sete r13b
call fcn.140095b20
mov rsi, rax
cmp rbx, rdi
je 0x1401063e3
lea rdx, [0x1401577f0]
mov rcx, rdi
call fcn.140094d44
test al, al
jne 0x1401063e3
or dword [rsp + 0x24], 1
lea rcx, [0x140140fd8]
test rsi, rsi
mov rax, rsi
cmove rax, rcx
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x48], r15
xor r15d, r15d
mov qword [rsp + 0x40], r12
test r13b, r13b
je 0x14010642f
lea rdx, [0x140140148]
mov rcx, rdi
call fcn.140094d44
test al, al
jne 0x14010642f
mov r9, rdi
lea r8, str.._s
mov edx, 0x1000
lea rcx, [rbp + 0xf90]
call fcn.140004dcc
lea rax, [rbp + 0xf90]
mov qword [rsp + 0x38], rax
lea rcx, [rsp + 0x20]
mov dword [rsp + 0x50], 1
mov byte [0x14018a805], 1
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
test rsi, rsi
je 0x14010646e
cmp word [rsi], 0x2e
jne 0x14010645d
cmp word [rsi + 2], r15w
je 0x14010646e
mov rcx, rsi
call fcn.140096928
mov dil, r15b
cmp word [rax], 0x20
jne 0x140106471
mov dil, 1
mov esi, 0x483
test ebx, ebx
jne 0x1401064d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
jne 0x14010649f
test dil, dil
jne 0x14010649f
and dword [rsp + 0x24], 0xfffffffe
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
test eax, eax
jne 0x1401064d4
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x4c7
jne 0x1401064bb
test r14, r14
je 0x1401064b4
mov qword [r14], r15
mov al, 1
jmp 0x14010659a
cmp qword [rsp + 0x30], r15
je 0x1401064d4
lea rcx, [rsp + 0x20]
mov qword [rsp + 0x30], r15
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
mov ebx, eax
mov byte [0x14018a805], r15b
test ebx, ebx
je 0x140106598
call qword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, esi
je 0x140106598
cmp byte [rbp + 0x3000], r15b
jne 0x1401064b4
mov r8, qword [rbp - 0x78]
lea rdi, [0x140000000]
test r8, r8
je 0x14010653f
movsxd rdx, dword [0x1401fbf90]
mov rax, qword [rsp + 0x58]
mov qword [rdi + rdx*8 + 0x1fbe90], r8
mov qword [rdi + rdx*8 + 0x1fbf10], rax
inc edx
and edx, 0x8000000f
jge 0x140106537
dec edx
or edx, 0xfffffff0
inc edx
mov dword [0x1401fbf90], edx
jmp 0x140106587
mov rbx, r15
mov rax, qword [rsp + 0x58]
cmp qword [rbx + rdi + 0x1fbf10], rax
jne 0x14010657a
mov rcx, qword [rbx + rdi + 0x1fbe90]
xor edx, edx
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x140106576
mov r8, qword [rbx + rdi + 0x1fbe90]
mov qword [rbp - 0x78], r8
jmp 0x14010657a
mov r8, qword [rbp - 0x78]
add rbx, 8
cmp rbx, 0x80
jl 0x140106542
test r14, r14
je 0x1401064b4
mov qword [r14], r8
jmp 0x1401064b4
xor al, al
mov rcx, qword [rbp + 0x2f90]
xor rcx, rsp
call fcn.140119970
mov rbx, qword [rsp + 0x30e0]
add rsp, 0x30a0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret