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

Disassembly:
mov eax, 0x466683
call fcn.00451324
sub esp, 0x100
push ebx
push esi
push edi
xor edi, edi
test byte [ebp + 0x10], 4
mov dword [ebp - 0x10], esp
mov ebx, ecx
mov dword [ebp - 4], edi
je 0x42c222
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x7c]
push edi
push eax
call fcn.0044eba0
add esp, 0xc
cmp dword [ebx + 0x18], 0x10
mov dword [ebp - 0x7c], esi
mov dword [ebp - 0x78], 0x240
mov dword [ebp - 0x74], edi
lea esi, [ebx + 4]
jb 0x42c15f
mov eax, dword [esi]
mov dword [ebp - 0x6c], eax
jmp 0x42c162
mov dword [ebp - 0x6c], esi
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x10
jb 0x42c170
mov eax, dword [eax + 4]
jmp 0x42c173
add eax, 4
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0x10
jb 0x42c184
mov eax, dword [eax + 4]
jmp 0x42c187
add eax, 4
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0x10]
shr eax, 3
not eax
and eax, 1
mov dword [ebp - 0x60], eax
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x42c1e5
push 0x470e4a
lea ecx, [ebp - 0x2c]
call fcn.0041b5d0
lea eax, [ebp - 0x2c]
push eax
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0041b5f2
mov edi, eax
mov byte [ebp - 4], 2
cmp dword [ebx + 0x18], 0x10
jb 0x42c1d3
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push esi
push str.ShellExecuteEx_failed_on__s:_err_d
jmp 0x42c3b1
cmp dword [ebp - 0x44], edi
je 0x42c213
test byte [ebp + 0x10], 1
je 0x42c20a
push dword [ebp - 0x44]
call fcn.0042c5c3
cmp dword [ebp + 0x14], edi
pop ecx
je 0x42c20a
push dword [ebp + 0x14]
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
push dword [ebp - 0x44]
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret
push 0x44
pop esi
push esi
lea eax, [ebp - 0x84]
push edi
push eax
call fcn.0044eba0
push 0x10
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.0044eba0
mov dword [ebp - 0x84], esi
add esp, 0x18
xor esi, esi
inc esi
push 0x471820
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x58], esi
mov word [ebp - 0x54], 5
call fcn.0041b5d0
push ebx
push eax
lea eax, [ebp - 0x10c]
push eax
mov byte [ebp - 4], 3
call fcn.0041801e
add esp, 0xc
push 0x474fac
push eax
lea eax, [ebp - 0xdc]
push eax
mov byte [ebp - 4], 4
call fcn.00417e9b
add esp, 0xc
push dword [ebp + 8]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.0041801e
add esp, 0xc
push edi
push esi
lea ecx, [ebp - 0xdc]
call fcn.0041a87c
push edi
push esi
lea ecx, [ebp - 0x10c]
call fcn.0041a87c
push edi
push esi
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 7
call fcn.0041a87c
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0xa0]
push ebx
push eax
xor esi, esi
call fcn.0041801e
add esp, 0xc
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x88], 0x10
mov eax, dword [ebp - 0x9c]
jae 0x42c300
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42c32f
cmp dword [ebp - 0x88], 0x10
mov esi, dword [ebp - 0x9c]
jae 0x42c320
lea esi, [ebp - 0x9c]
push esi
push str.__use_appname__s
push edi
call fcn.0043fb8a
add esp, 0xc
cmp dword [ebx + 0x18], 0x10
jb 0x42c33a
mov ebx, dword [ebx + 4]
jmp 0x42c33d
add ebx, 4
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x42c349
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x3c]
push ecx
lea ecx, [ebp - 0x84]
push ecx
push ebx
push edi
push 0x8000000
push edi
push edi
push edi
push eax
push esi
call dword [sym.imp.KERNEL32.DLL_CreateProcessA]
test eax, eax
jne 0x42c3c1
push 0x470e4a
lea ecx, [ebp - 0xc0]
call fcn.0041b5d0
lea eax, [ebp - 0xc0]
push eax
push 1
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xb
call fcn.0041b5f2
mov edi, eax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x14], 0x10
mov esi, dword [ebp - 0x28]
jae 0x42c3a4
lea esi, [ebp - 0x28]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push esi
push str.CreateProcess_failed_for__s__err_d_
push edi
call fcn.0041aecf
add esp, 0x10
mov ecx, eax
jmp fcn.0041b62e
push 0x3e8
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
test byte [ebp + 0x10], 1
je 0x42c3ef
push dword [ebp - 0x3c]
call fcn.0042c5c3
cmp dword [ebp + 0x14], edi
pop ecx
je 0x42c3ef
push dword [ebp + 0x14]
push dword [ebp - 0x3c]
call dword [sym.imp.KERNEL32.DLL_GetExitCodeProcess]
push dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
call esi
push dword [ebp - 0x3c]
call esi
push edi
push 1
lea ecx, [ebp - 0xa0]
call fcn.0041a87c
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041a87c
jmp 0x42c213