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

Disassembly:
mov eax, 0x468024
call fcn.00452ab4
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 0x42d1f7
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x7c]
push edi
push eax
call fcn.00450330
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 0x42d134
mov eax, dword [esi]
mov dword [ebp - 0x6c], eax
jmp 0x42d137
mov dword [ebp - 0x6c], esi
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x10
jb 0x42d145
mov eax, dword [eax + 4]
jmp 0x42d148
add eax, 4
mov dword [ebp - 0x68], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0x10
jb 0x42d159
mov eax, dword [eax + 4]
jmp 0x42d15c
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 0x42d1ba
push 0x472e5a
lea ecx, [ebp - 0x2c]
call fcn.0041c1c2
lea eax, [ebp - 0x2c]
push eax
push 1
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 1
call fcn.0041c1e4
mov edi, eax
mov byte [ebp - 4], 2
cmp dword [ebx + 0x18], 0x10
jb 0x42d1a8
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push esi
push str.ShellExecuteEx_failed_on__s:_err_d
jmp 0x42d386
cmp dword [ebp - 0x44], edi
je 0x42d1e8
test byte [ebp + 0x10], 1
je 0x42d1df
push dword [ebp - 0x44]
call fcn.0042d598
cmp dword [ebp + 0x14], edi
pop ecx
je 0x42d1df
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.00450330
push 0x10
lea eax, [ebp - 0x3c]
push edi
push eax
call fcn.00450330
mov dword [ebp - 0x84], esi
add esp, 0x18
xor esi, esi
inc esi
push 0x473840
lea ecx, [ebp - 0xc0]
mov dword [ebp - 0x58], esi
mov word [ebp - 0x54], 5
call fcn.0041c1c2
push ebx
push eax
lea eax, [ebp - 0x10c]
push eax
mov byte [ebp - 4], 3
call fcn.00418bb5
add esp, 0xc
push 0x4770f8
push eax
lea eax, [ebp - 0xdc]
push eax
mov byte [ebp - 4], 4
call fcn.00418a32
add esp, 0xc
push dword [ebp + 8]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00418bb5
add esp, 0xc
push edi
push esi
lea ecx, [ebp - 0xdc]
call fcn.0041b413
push edi
push esi
lea ecx, [ebp - 0x10c]
call fcn.0041b413
push edi
push esi
lea ecx, [ebp - 0xc0]
mov byte [ebp - 4], 7
call fcn.0041b413
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0xa0]
push ebx
push eax
xor esi, esi
call fcn.00418bb5
add esp, 0xc
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x88], 0x10
mov eax, dword [ebp - 0x9c]
jae 0x42d2d5
lea eax, [ebp - 0x9c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42d304
cmp dword [ebp - 0x88], 0x10
mov esi, dword [ebp - 0x9c]
jae 0x42d2f5
lea esi, [ebp - 0x9c]
push esi
push str.__use_appname__s
push edi
call fcn.004418d2
add esp, 0xc
cmp dword [ebx + 0x18], 0x10
jb 0x42d30f
mov ebx, dword [ebx + 4]
jmp 0x42d312
add ebx, 4
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x42d31e
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 0x42d396
push 0x472e5a
lea ecx, [ebp - 0xc0]
call fcn.0041c1c2
lea eax, [ebp - 0xc0]
push eax
push 1
lea ecx, [ebp - 0xd4]
mov byte [ebp - 4], 0xb
call fcn.0041c1e4
mov edi, eax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x14], 0x10
mov esi, dword [ebp - 0x28]
jae 0x42d379
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.0041ba49
add esp, 0x10
mov ecx, eax
jmp fcn.0041c220
push 0x3e8
push dword [ebp - 0x3c]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
test byte [ebp + 0x10], 1
je 0x42d3c4
push dword [ebp - 0x3c]
call fcn.0042d598
cmp dword [ebp + 0x14], edi
pop ecx
je 0x42d3c4
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.0041b413
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.0041b413
jmp 0x42d1e8