Function at 0x140013350
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rdx
mov qword [rax + 8], rcx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0x100
mov qword [rbp - 0x49], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov r14, rdx
mov rsi, rcx
call fcn.14004aa80
mov rcx, rax
test rax, rax
je 0x140013611
mov rax, qword [rax]
call qword [rax + reloc.OLEAUT32.dll_SafeArrayGetElement]
add rax, 0x18
mov qword [rbp + 0x7f], rax
lea rbx, [0x140280a28]
mov rdx, rbx
lea rcx, [rbp + 0x7f]
call fcn.1400050a0
mov rdi, 0xffffffffffffffff
test al, al
jne 0x1400133da
mov rax, rdi
nop
inc rax
cmp word [rbx + rax*2], 0
jne 0x1400133c0
mov r8d, eax
mov rdx, rbx
lea rcx, [rbp + 0x7f]
call fcn.1400054e0
nop
mov rax, qword [rsi]
movzx eax, word [rax]
cmp ax, word [0x140280a28]
jne 0x140013445
mov rdx, qword [rbp + 0x7f]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140013407
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140013424
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x14001343e
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor eax, eax
jmp 0x1400135fa
lea rax, [rbp - 0x79]
mov qword [rbp - 0x41], rax
mov rcx, qword [r14]
sub rcx, 0x18
call fcn.140004c20
add rax, 0x18
mov qword [rbp - 0x79], rax
mov rcx, qword [rsi]
sub rcx, 0x18
call fcn.140004c20
add rax, 0x18
mov qword [rbp - 0x71], rax
lea r8, [rbp - 0x79]
lea rdx, [rbp - 0x71]
lea rcx, [rbp - 0x69]
call fcn.140013010
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rbp + 0x7f]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x1400134e2
cmp dword [rbx + 0x10], 0
jl 0x1400134d4
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400134d4
call fcn.140004c20
mov r15, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x1400134ca
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [r15 + 0x18]
mov qword [rbp + 0x7f], rax
jmp 0x1400134e2
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x7f]
call fcn.1400054e0
nop
mov rdx, qword [rbp - 0x69]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400134ff
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
xor edx, edx
lea r8d, [rdx + 0x64]
lea rcx, [rbp - 0x35]
call fcn.1401e67e0
mov dword [rbp - 0x39], 0x68
xor eax, eax
mov qword [rbp - 0x61], rax
mov qword [rbp - 0x59], rax
mov qword [rbp - 0x51], rax
lea rax, [rbp - 0x61]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x39]
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], eax
xor r9d, r9d
xor r8d, r8d
mov rbx, qword [rbp + 0x7f]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x140013580
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateCommandProcess_failed_err___d_n
call fcn.1400056e0
nop
lea rdx, [rbx - 0x18]
jmp 0x1400133f1
mov edx, dword [rbp - 0x51]
lea rcx, str.CreateCommandProcess_succeeded_process_Id___d_n
call fcn.1400056e0
mov rcx, qword [rbp - 0x61]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x59]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400135be
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsi]
sub rdx, 0x18
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400135db
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [r14]
sub rdx, 0x18
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400135f5
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov eax, 1
mov rbx, qword [rsp + 0x140]
add rsp, 0x100
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140005680
int3