Function at 0x1400c2a80
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x140
mov qword [rsp + 0x58], 0xfffffffffffffffe
mov rax, qword [0x14047b0a0]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rsi, r8
mov r14, rdx
mov r15, rcx
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], r8
mov rdx, qword [r8]
add rdx, 8
cmp qword [rdx + 0x18], 8
jb 0x1400c2ad2
mov rdx, qword [rdx]
movdqa xmm0, xmmword [0x140415690]
movdqu xmmword [rbp], xmm0
xor r12d, r12d
mov word [rbp - 0x10], r12w
mov rdi, 0xffffffffffffffff
mov r8, rdi
inc r8
cmp word [rdx + r8*2], r12w
jne 0x1400c2af1
lea rcx, [rbp - 0x10]
call fcn.14007ece0
nop
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rcx, qword [rbp - 0x10]
call qword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
lea rdx, str..lnk
mov rcx, rax
call fcn.1402e4f5c
test eax, eax
jne 0x1400c2b5b
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rcx, qword [rbp - 0x10]
call fcn.140136020
lea rcx, [rbp - 0x10]
cmp qword [rbp + 8], 8
cmovae rcx, qword [rbp - 0x10]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x1400c2c8a
lea rdx, [rbp + 0x10]
mov rcx, qword [rsi]
call fcn.140082170
nop
mov rcx, qword [r14]
test rcx, rcx
je 0x1400c2c27
mov rbx, qword [rcx + 0xa30]
test rbx, rbx
je 0x1400c2b8b
lock inc dword [rbx + 8]
mov rbx, qword [rcx + 0xa30]
mov rcx, qword [rcx + 0xa28]
mov qword [rsp + 0x70], rcx
mov qword [rsp + 0x78], rbx
call fcn.140084eb0
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.140091bc0
nop
test rbx, rbx
je 0x1400c2bde
mov eax, edi
lock xadd dword [rbx + 8], eax
sub eax, 1
jne 0x1400c2bde
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
sub eax, 1
jne 0x1400c2bde
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
movzx eax, byte [rsp + 0x50]
test al, al
je 0x1400c2c19
lea rdx, [rsp + 0x30]
cmp qword [rsp + 0x48], 8
cmovae rdx, qword [rsp + 0x30]
mov r8, rdi
nop dword [rax + rax]
inc r8
cmp word [rdx + r8*2], 0
jne 0x1400c2c00
lea rcx, [rbp + 0x10]
call fcn.14007ece0
movzx eax, byte [rsp + 0x50]
test al, al
je 0x1400c2c27
lea rcx, [rsp + 0x30]
call fcn.14007ec70
mov rcx, qword [rsi]
call fcn.140082580
lea rcx, [rbp + 0x10]
cmp qword [rbp + 0x28], 8
cmovae rcx, qword [rbp + 0x10]
mov dword [rbp - 0x80], reloc.WS2_32.dll_WSASetLastError
mov dword [rbp - 0x7c], ILClone
lea rdx, [0x1403ff228]
mov qword [rbp - 0x70], rdx
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x78], r15
mov dword [rbp - 0x50], 1
mov qword [rbp - 0x60], rdx
mov qword [rbp - 0x58], rcx
mov qword [rbp - 0x68], r12
mov qword [rbp - 0x48], r12
lea rcx, [rbp - 0x80]
call qword [sym.imp.SHELL32.dll_ShellExecuteExW]
nop
lea rcx, [rbp + 0x10]
call fcn.14007ec70
nop
lea rcx, [rbp - 0x10]
call fcn.14007ec70
nop
mov rbx, qword [r14 + 8]
test rbx, rbx
je 0x1400c2cc7
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400c2cc7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
mov eax, edi
lock xadd dword [rbx + 0xc], eax
cmp eax, 1
jne 0x1400c2cc7
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rbx, qword [rsi + 8]
test rbx, rbx
je 0x1400c2cf8
mov eax, edi
lock xadd dword [rbx + 8], eax
cmp eax, 1
jne 0x1400c2cf8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax]
lock xadd dword [rbx + 0xc], edi
cmp edi, 1
jne 0x1400c2cf8
mov rax, qword [rbx]
mov rcx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.1401aed20
add rsp, 0x140
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret