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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x678f18
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.00418720
push eax
mov ecx, esi
call fcn.00408cb0
lea eax, [ebp - 0x28]
push eax
call fcn.004ce12a
add esp, 0x20
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x4246f1
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x40]
push str.othpkgstartexename_s
push eax
call fcn.004cd3fa
add esp, 0xc
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x42473b
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x424731
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4248ba
push edx
push ecx
call fcn.0042e920
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.00418830
mov ecx, eax
call fcn.004064d0
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x64]
cmp dword [eax + 0x14], 0x10
jb 0x42477a
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x42486f
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x64]
cmp dword [eax + 0x14], 0x10
jb 0x424797
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
test eax, eax
je 0x424820
push str..exe
push eax
call fcn.0051c108
add esp, 8
test eax, eax
jne 0x424820
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.004cdda9
add esp, 0x20
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x4247e5
mov eax, dword [eax]
push eax
call fcn.004d52f5
add esp, 0x14
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x42486f
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x424865
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4248bf
jmp 0x424865
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.004cdda9
add esp, 0x20
cmp dword [eax + 0x14], 8
jb 0x424855
mov eax, dword [eax]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x4247ee
push edx
push ecx
call fcn.0042e920
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x42489f
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x424895
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4248bf
push edx
push ecx
call fcn.0042e920
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.0042e2d5
mov esp, ebp
pop ebp
ret
call fcn.0050d76e
call fcn.0050d76e
int3