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

Disassembly:
push 0x2c
mov eax, 0x71a32d
call fcn.00648b1c
mov esi, ecx
mov dword [ebp - 0x20], esi
lea eax, [ebp - 0x24]
xor ebx, ebx
push eax
call fcn.006acf36
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x1c]
push dword [ebp - 0x24]
call fcn.00515719
xor eax, eax
lea ecx, [ebp - 0x18]
inc eax
mov byte [ebp - 4], al
push dword [ebp - 0x24]
call fcn.00515719
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call fcn.00526949
call fcn.00515e26
push eax
lea ecx, [ebp - 0x28]
call fcn.00515c3a
add esi, 8
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
mov eax, dword [esi]
call dword [eax + 0xc]
mov byte [ebp - 4], 4
push dword [eax]
lea eax, [ebp - 0x28]
push 0x75337c
push eax
call fcn.0051647b
mov byte [ebp - 4], 3
add esp, 0xc
mov ecx, dword [ebp - 0x2c]
lea ecx, [ecx - 0x10]
call fcn.00515ed6
mov edi, dword [ebp - 0x28]
lea ecx, [ebp - 0x18]
mov eax, 0x741504
push eax
push edi
call fcn.00515037
push dword [ebp - 0x1c]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x6ad583
push dword [ebp - 0x18]
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryW]
test eax, eax
je 0x6ad583
push dword [ebp - 0x1c]
call fcn.006acf08
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x6ad4ac
push 0x1c
call fcn.006484ac
pop ecx
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 5
mov ecx, eax
push dword [ebp - 0x2c]
call fcn.005577a9
push eax
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 3
call fcn.005574c5
mov byte [ebp - 4], 6
lea edx, [ebp - 0x38]
mov ecx, dword [ebp - 0x20]
add ecx, 4
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 7
mov ecx, dword [ebp - 0x34]
test ecx, ecx
je 0x6ad583
call fcn.0051578b
jmp 0x6ad583
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 0x3c]
test al, al
jne 0x6ad4c7
mov ecx, dword [ebp - 0x20]
mov eax, dword [ecx]
call dword [eax + 0x20]
mov byte [ebp - 0x11], bl
cmp eax, 2
jne 0x6ad4cb
mov byte [ebp - 0x11], 1
call fcn.00515e26
push eax
lea ecx, [ebp - 0x20]
call fcn.00515c3a
mov byte [ebp - 4], 8
lea ecx, [ebp - 0x30]
mov eax, dword [esi]
push ecx
mov ecx, esi
call dword [eax + 4]
cmp byte [ebp - 0x11], 0
mov ecx, 0x741504
mov byte [ebp - 4], 9
push dword [eax]
mov eax, 0x753384
push dword [ebp - 0x18]
cmove eax, ecx
push eax
lea eax, [ebp - 0x20]
push str._s_INSTDIR_s__L_s
push eax
call fcn.0051647b
mov byte [ebp - 4], 8
add esp, 0x14
mov ecx, dword [ebp - 0x30]
lea ecx, [ecx - 0x10]
call fcn.00515ed6
mov eax, dword [esi]
lea ecx, [ebp - 0x2c]
push ecx
mov ecx, esi
call dword [eax + 0x4c]
mov byte [ebp - 4], 0xa
mov eax, dword [ebp - 0x2c]
cmp dword [eax - 0xc], ebx
je 0x6ad54c
push eax
lea eax, [ebp - 0x20]
push str.__COMMANDLINE_s
push eax
call fcn.00515849
add esp, 0xc
mov esi, dword [ebp - 0x20]
push 5
push dword [ebp - 0x18]
push esi
push dword [ebp - 0x1c]
push str.open
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ecx, dword [ebp - 0x2c]
cmp eax, 0x20
push 1
pop eax
movzx ebx, bl
lea ecx, [ecx - 0x10]
cmovg ebx, eax
call fcn.00515ed6
lea ecx, [esi - 0x10]
call fcn.00515ed6
lea ecx, [edi - 0x10]
call fcn.00515ed6
mov ecx, dword [ebp - 0x18]
lea ecx, [ecx - 0x10]
call fcn.00515ed6
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.00515ed6
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.00515ed6
mov al, bl
call fcn.00648ae5
ret