Function at 0x1400ba320
Capabilities:
Create process on windows

Disassembly:
mov rax, rsp
push rbp
push rdi
push r14
mov rbp, rsp
sub rsp, 0x70
mov qword [rbp - 0x10], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov r14, rdx
call fcn.14004b618
mov rcx, rax
test rax, rax
jne 0x1400ba359
mov ecx, 0x80004005
call fcn.14004a980
int3
mov rax, qword [rax]
call qword [rax + 0x18]
lea rbx, [rax + 0x18]
mov qword [rbp + 0x38], rbx
call fcn.14004b618
mov rcx, rax
test rax, rax
jne 0x1400ba37f
mov ecx, 0x80004005
call fcn.14004a980
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x40], rax
call fcn.14004b618
mov rcx, rax
test rax, rax
jne 0x1400ba3a5
mov ecx, 0x80004005
call fcn.14004a980
int3
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp + 0x30], rax
lea rdx, [rbp - 0x38]
lea rcx, [0x14021cdd0]
call fcn.1400cc580
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
or rdi, 0xffffffffffffffff
cmp rcx, rbx
je 0x1400ba41f
cmp dword [rbx + 0x10], 0
jl 0x1400ba411
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400ba411
call fcn.14004ecac
mov rsi, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x1400ba407
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [rbp + 0x38], rax
jmp 0x1400ba41f
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x38]
call fcn.14004edac
nop
mov rdx, qword [rbp - 0x38]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ba43c
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov edx, 0x5c
mov rbx, qword [rbp + 0x38]
mov rcx, rbx
call fcn.1400e2704
test rax, rax
je 0x1400ba726
sub rax, rbx
sar rax, 1
test eax, eax
jle 0x1400ba726
lea r8d, [rax + 1]
lea rdx, [rbp - 0x30]
lea rcx, [rbp + 0x38]
call fcn.140099bd0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x1400ba4cd
cmp dword [rbx + 0x10], 0
jl 0x1400ba4bf
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400ba4bf
call fcn.14004ecac
mov rsi, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x1400ba4b5
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [rbp + 0x38], rax
jmp 0x1400ba4cd
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x38]
call fcn.14004edac
nop
mov rdx, qword [rbp - 0x30]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ba4ea
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, str.flash_
mov rax, rdi
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400ba4f4
mov r8d, eax
lea rcx, [rbp + 0x38]
call fcn.14004e8f8
lea r8, [0x140190af8]
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x28]
call fcn.140075e90
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rbp - 0x40]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x1400ba57a
cmp dword [rbx + 0x10], 0
jl 0x1400ba56c
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400ba56c
call fcn.14004ecac
mov rsi, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x1400ba562
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [rbp - 0x40], rax
jmp 0x1400ba57a
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp - 0x40]
call fcn.14004edac
nop
mov rdx, qword [rbp - 0x28]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ba597
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rcx, qword [r14]
mov ebx, dword [rcx - 0x10]
mov edx, 0x5c
call fcn.1400e2704
test rax, rax
jne 0x1400ba5b0
mov eax, edi
jmp 0x1400ba5b6
sub rax, qword [r14]
sar rax, 1
sub ebx, eax
lea r8d, [rbx - 1]
lea rdx, [rbp - 0x20]
mov rcx, r14
call fcn.1400751b0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rbp + 0x30]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x1400ba624
cmp dword [rbx + 0x10], 0
jl 0x1400ba616
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400ba616
call fcn.14004ecac
mov rsi, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x1400ba60c
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [rbp + 0x30], rax
jmp 0x1400ba624
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x30]
call fcn.14004edac
nop
mov rdx, qword [rbp - 0x20]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ba641
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r8, [rbp + 0x30]
lea rdx, [rbp + 0x38]
lea rcx, [rbp - 0x18]
call fcn.14007a3d0
nop
mov rdx, qword [rax]
lea rcx, [rdx - 0x18]
mov rbx, qword [rbp + 0x30]
add rbx, 0xffffffffffffffe8
cmp rcx, rbx
je 0x1400ba6ae
cmp dword [rbx + 0x10], 0
jl 0x1400ba6a0
mov rax, qword [rbx]
cmp qword [rcx], rax
jne 0x1400ba6a0
call fcn.14004ecac
mov rsi, rax
mov ecx, edi
lock xadd dword [rbx + 0x10], ecx
sub ecx, 1
jg 0x1400ba696
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov rdx, rbx
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [rsi + 0x18]
mov qword [rbp + 0x30], rax
jmp 0x1400ba6ae
mov r8d, dword [rdx - 0x10]
lea rcx, [rbp + 0x30]
call fcn.14004edac
nop
mov rdx, qword [rbp - 0x18]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ba6cb
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov rbx, qword [rbp + 0x30]
cmp dword [rbx - 8], 1
jle 0x1400ba6e5
mov edx, dword [rbx - 0x10]
lea rcx, [rbp + 0x30]
call fcn.14004e7f0
mov rbx, qword [rbp + 0x30]
mov r8, qword [rbp - 0x40]
cmp dword [r8 - 8], 1
jle 0x1400ba701
mov edx, dword [r8 - 0x10]
lea rcx, [rbp - 0x40]
call fcn.14004e7f0
mov r8, qword [rbp - 0x40]
mov dword [rsp + 0x28], 1
mov qword [rsp + 0x20], 0
mov r9, rbx
lea rdx, str.Open
xor ecx, ecx
call qword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x1400ba72a
mov rbx, qword [rbp + 0x30]
lea rdx, [rbx - 0x18]
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ba744
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp - 0x40]
add rdx, 0xffffffffffffffe8
mov eax, edi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x1400ba762
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rbp + 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], edi
sub edi, 1
jg 0x1400ba77d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret