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

Disassembly:
mov eax, 0x45f8c7
call fcn.0044b154
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 0x429000
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x7c]
push edi
push eax
call fcn.00448970
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 0x428f3d
mov eax, dword [esi]
mov dword [ebp - 0x6c], eax
jmp 0x428f40
mov dword [ebp - 0x6c], esi
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x10
jb 0x428f4e
mov eax, dword [eax + 4]
jmp 0x428f51
add eax, 4
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0x10
jb 0x428f62
mov eax, dword [eax + 4]
jmp 0x428f65
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 0x428fc3
push 0x468d4a
lea ecx, [ebp - 0x2c]
call fcn.00419fe3
lea eax, [ebp - 0x2c]
push eax
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0041a005
mov edi, eax
mov byte [ebp - 4], 2
cmp dword [ebx + 0x18], 0x10
jb 0x428fb1
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push esi
push str.ShellExecuteEx_failed_on__s:_err_d
jmp 0x42918f
cmp dword [ebp - 0x44], edi
je 0x428ff1
test byte [ebp + 0x10], 1
je 0x428fe8
push dword [ebp - 0x44]
call fcn.004293a1
cmp dword [ebp + 0x14], edi
pop ecx
je 0x428fe8
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.00448970
push 0x10
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.00448970
mov dword [ebp - 0x84], esi
add esp, 0x18
xor esi, esi
inc esi
push 0x4696d8
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x58], esi
mov word [ebp - 0x54], 5
call fcn.00419fe3
push ebx
push eax
lea eax, [ebp - 0x10c]
push eax
mov byte [ebp - 4], 3
call fcn.00416a8f
add esp, 0xc
push 0x46c91c
push eax
lea eax, [ebp - 0xdc]
push eax
mov byte [ebp - 4], 4
call fcn.0041691c
add esp, 0xc
push dword [ebp + 8]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00416a8f
add esp, 0xc
push edi
push esi
lea ecx, [ebp - 0xdc]
call fcn.004192fd
push edi
push esi
lea ecx, [ebp - 0x10c]
call fcn.004192fd
push edi
push esi
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 7
call fcn.004192fd
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0xa0]
push ebx
push eax
xor esi, esi
call fcn.00416a8f
add esp, 0xc
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x88], 0x10
mov eax, dword [ebp - 0x9c]
jae 0x4290de
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42910d
cmp dword [ebp - 0x88], 0x10
mov esi, dword [ebp - 0x9c]
jae 0x4290fe
lea esi, [ebp - 0x9c]
push esi
push str.__use_appname__s
push edi
call fcn.0043a6e3
add esp, 0xc
cmp dword [ebx + 0x18], 0x10
jb 0x429118
mov ebx, dword [ebx + 4]
jmp 0x42911b
add ebx, 4
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x429127
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 0x42919f
push 0x468d4a
lea ecx, [ebp - 0xc0]
call fcn.00419fe3
lea eax, [ebp - 0xc0]
push eax
push 1
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xb
call fcn.0041a005
mov edi, eax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x14], 0x10
mov esi, dword [ebp - 0x28]
jae 0x429182
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.00419950
add esp, 0x10
mov ecx, eax
jmp fcn.0041a041
push 0x3e8
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
test byte [ebp + 0x10], 1
je 0x4291cd
push dword [ebp - 0x3c]
call fcn.004293a1
cmp dword [ebp + 0x14], edi
pop ecx
je 0x4291cd
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.004192fd
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.004192fd
jmp 0x428ff1