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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x679228
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x71a06c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0x3a8
sub esp, 0x18
mov esi, esp
mov dword [ebp - 0x5c], esi
call fcn.00418d00
push eax
mov ecx, esi
call fcn.00409070
lea eax, [ebp - 0x28]
push eax
call fcn.004ce37a
add esp, 0x20
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x424cd1
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x40]
push str.othpkgstartexename_s
push eax
call fcn.004cd64a
add esp, 0xc
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x424d1b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x424d11
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424e9a
push edx
push ecx
call fcn.0042eb40
add esp, 8
cmp dword [ebp - 0x2c], 0x10
lea eax, [ebp - 0x40]
mov dword [ebp - 0x18], 0
cmovae eax, dword [ebp - 0x40]
push eax
push str.hget
push 0
mov dword [ebp - 0x14], 0xf
mov byte [ebp - 0x28], 0
call fcn.00418e10
mov ecx, eax
call fcn.004064d0
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x64]
cmp dword [eax + 0x14], 0x10
jb 0x424d5a
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x424e4f
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x64]
cmp dword [eax + 0x14], 0x10
jb 0x424d77
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
test eax, eax
je 0x424e00
push str..exe
push eax
call fcn.0051c368
add esp, 8
test eax, eax
jne 0x424e00
push eax
push eax
push eax
push eax
mov eax, dword [edi + 0x14]
push 0x3a8
sub esp, 0x18
mov ecx, esp
push dword [eax + 0x64]
call fcn.00406d70
lea eax, [ebp - 0x58]
push eax
call fcn.004cdff9
add esp, 0x20
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x424dc5
mov eax, dword [eax]
push eax
call fcn.004d5545
add esp, 0x14
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x424e4f
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424e45
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424e9f
jmp 0x424e45
mov eax, dword [edi + 0x14]
push 5
push 0x700264
push 0x700264
push 0x3a8
sub esp, 0x18
mov ecx, esp
push dword [eax + 0x64]
call fcn.00406d70
lea eax, [ebp - 0x58]
push eax
call fcn.004cdff9
add esp, 0x20
cmp dword [eax + 0x14], 8
jb 0x424e35
mov eax, dword [eax]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x424dce
push edx
push ecx
call fcn.0042eb40
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x424e7f
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x424e75
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x424e9f
push edx
push ecx
call fcn.0042eb40
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0042e4f5
mov esp, ebp
pop ebp
ret
call fcn.0050d9ce
call fcn.0050d9ce
int3