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

Disassembly:
mov eax, 0x467ab4
call fcn.00452544
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 0x42cc8b
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x7c]
push edi
push eax
call fcn.0044fdc0
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 0x42cbc8
mov eax, dword [esi]
mov dword [ebp - 0x6c], eax
jmp 0x42cbcb
mov dword [ebp - 0x6c], esi
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x10
jb 0x42cbd9
mov eax, dword [eax + 4]
jmp 0x42cbdc
add eax, 4
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0x10
jb 0x42cbed
mov eax, dword [eax + 4]
jmp 0x42cbf0
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 0x42cc4e
push 0x471e5a
lea ecx, [ebp - 0x2c]
call fcn.0041be0b
lea eax, [ebp - 0x2c]
push eax
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0041be2d
mov edi, eax
mov byte [ebp - 4], 2
cmp dword [ebx + 0x18], 0x10
jb 0x42cc3c
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push esi
push str.ShellExecuteEx_failed_on__s:_err_d
jmp 0x42ce1a
cmp dword [ebp - 0x44], edi
je 0x42cc7c
test byte [ebp + 0x10], 1
je 0x42cc73
push dword [ebp - 0x44]
call fcn.0042d02c
cmp dword [ebp + 0x14], edi
pop ecx
je 0x42cc73
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.0044fdc0
push 0x10
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.0044fdc0
mov dword [ebp - 0x84], esi
add esp, 0x18
xor esi, esi
inc esi
push 0x472840
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x58], esi
mov word [ebp - 0x54], 5
call fcn.0041be0b
push ebx
push eax
lea eax, [ebp - 0x10c]
push eax
mov byte [ebp - 4], 3
call fcn.004187fe
add esp, 0xc
push 0x47607c
push eax
lea eax, [ebp - 0xdc]
push eax
mov byte [ebp - 4], 4
call fcn.0041867b
add esp, 0xc
push dword [ebp + 8]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.004187fe
add esp, 0xc
push edi
push esi
lea ecx, [ebp - 0xdc]
call fcn.0041b05c
push edi
push esi
lea ecx, [ebp - 0x10c]
call fcn.0041b05c
push edi
push esi
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 7
call fcn.0041b05c
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0xa0]
push ebx
push eax
xor esi, esi
call fcn.004187fe
add esp, 0xc
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x88], 0x10
mov eax, dword [ebp - 0x9c]
jae 0x42cd69
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42cd98
cmp dword [ebp - 0x88], 0x10
mov esi, dword [ebp - 0x9c]
jae 0x42cd89
lea esi, [ebp - 0x9c]
push esi
push str.__use_appname__s
push edi
call fcn.00441366
add esp, 0xc
cmp dword [ebx + 0x18], 0x10
jb 0x42cda3
mov ebx, dword [ebx + 4]
jmp 0x42cda6
add ebx, 4
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x42cdb2
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 0x42ce2a
push 0x471e5a
lea ecx, [ebp - 0xc0]
call fcn.0041be0b
lea eax, [ebp - 0xc0]
push eax
push 1
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xb
call fcn.0041be2d
mov edi, eax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x14], 0x10
mov esi, dword [ebp - 0x28]
jae 0x42ce0d
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.0041b692
add esp, 0x10
mov ecx, eax
jmp fcn.0041be69
push 0x3e8
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
test byte [ebp + 0x10], 1
je 0x42ce58
push dword [ebp - 0x3c]
call fcn.0042d02c
cmp dword [ebp + 0x14], edi
pop ecx
je 0x42ce58
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.0041b05c
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041b05c
jmp 0x42cc7c