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

Disassembly:
mov eax, 0x459f66
call fcn.004485c4
sub esp, 0xf8
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 0x426857
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x78]
push edi
push eax
call fcn.00445de0
add esp, 0xc
cmp dword [ebx + 0x18], 0x10
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], 0x240
mov dword [ebp - 0x70], edi
lea esi, [ebx + 4]
jb 0x426792
mov eax, dword [esi]
mov dword [ebp - 0x68], eax
jmp 0x426795
mov dword [ebp - 0x68], esi
mov eax, dword [ebp + 8]
cmp dword [eax + 0x18], 0x10
jb 0x4267a3
mov eax, dword [eax + 4]
jmp 0x4267a6
add eax, 4
mov dword [ebp - 0x64], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x18], 0x10
jb 0x4267b7
mov eax, dword [eax + 4]
jmp 0x4267ba
add eax, 4
mov dword [ebp - 0x60], eax
mov eax, dword [ebp + 0x10]
shr eax, 3
not eax
and eax, 1
mov dword [ebp - 0x5c], eax
lea eax, [ebp - 0x78]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
test eax, eax
jne 0x426818
push 0x465cf2
lea ecx, [ebp - 0x3c]
call fcn.00418739
lea eax, [ebp - 0x3c]
push eax
push 1
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call fcn.0041875b
mov edi, eax
mov byte [ebp - 4], 2
cmp dword [ebx + 0x18], 0x10
jb 0x426806
mov esi, dword [esi]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.ShellExecuteEx_failed_on__s:_err_d
jmp 0x4269dd
cmp dword [ebp - 0x40], edi
je 0x426848
test byte [ebp + 0x10], 1
je 0x42683f
push 0xffffffffffffffff
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0x14], edi
je 0x42683f
push dword [ebp + 0x14]
push dword [ebp - 0x40]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x40]
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 - 0x80]
push edi
push eax
call fcn.00445de0
push 0x10
lea eax, [ebp - 0x20]
push edi
push eax
call fcn.00445de0
mov dword [ebp - 0x80], esi
add esp, 0x18
xor esi, esi
inc esi
push 0x466638
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x54], esi
mov word [ebp - 0x50], 5
call fcn.00418739
push ebx
push eax
lea eax, [ebp - 0x104]
push eax
mov byte [ebp - 4], 3
call fcn.00415459
add esp, 0xc
push 0x469544
push eax
lea eax, [ebp - 0xe8]
push eax
mov byte [ebp - 4], 4
call fcn.004152b2
add esp, 0xc
push dword [ebp + 8]
mov byte [ebp - 4], 5
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.00415459
add esp, 0xc
push edi
push esi
lea ecx, [ebp - 0xe8]
call fcn.00417a85
push edi
push esi
lea ecx, [ebp - 0x104]
call fcn.00417a85
push edi
push esi
lea ecx, [ebp - 0xbc]
mov byte [ebp - 4], 7
call fcn.00417a85
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 0x9c]
push ebx
push eax
xor esi, esi
call fcn.00415459
add esp, 0xc
mov byte [ebp - 4], 0xa
cmp dword [ebp - 0x84], 0x10
mov eax, dword [ebp - 0x98]
jae 0x42692f
lea eax, [ebp - 0x98]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42695e
cmp dword [ebp - 0x84], 0x10
mov esi, dword [ebp - 0x98]
jae 0x42694f
lea esi, [ebp - 0x98]
push esi
push str.__use_appname__s
push edi
call fcn.00437bbc
add esp, 0xc
cmp dword [ebx + 0x18], 0x10
jb 0x426969
mov ebx, dword [ebx + 4]
jmp 0x42696c
add ebx, 4
cmp dword [ebp - 0x24], 0x10
mov eax, dword [ebp - 0x38]
jae 0x426978
lea eax, [ebp - 0x38]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x80]
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 0x4269ed
push 0x465cf2
lea ecx, [ebp - 0xbc]
call fcn.00418739
lea eax, [ebp - 0xbc]
push eax
push 1
lea ecx, [ebp - 0xdc]
mov byte [ebp - 4], 0xb
call fcn.0041875b
mov edi, eax
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x24], 0x10
mov esi, dword [ebp - 0x38]
jae 0x4269d0
lea esi, [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push str.CreateProcess_failed_for__s__err_d_
push edi
call fcn.004180c3
add esp, 0x10
mov ecx, eax
jmp fcn.00418793
push 0x3e8
push dword [ebp - 0x20]
call dword [sym.imp.USER32.dll_WaitForInputIdle]
test byte [ebp + 0x10], 1
je 0x426a1d
push 0xffffffffffffffff
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp dword [ebp + 0x14], edi
je 0x426a1d
push dword [ebp + 0x14]
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
push dword [ebp - 0x1c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x20]
call esi
push edi
push 1
lea ecx, [ebp - 0x9c]
call fcn.00417a85
push edi
push 1
lea ecx, [ebp - 0x3c]
call fcn.00417a85
jmp 0x426848