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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x678cb8
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x71906c]
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.004185b0
push eax
mov ecx, esi
call fcn.00408cb0
lea eax, [ebp - 0x28]
push eax
call fcn.004cdfca
add esp, 0x20
mov dword [ebp - 4], 0
cmp dword [eax + 0x14], 0x10
jb 0x424581
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x40]
push str.othpkgstartexename_s
push eax
call fcn.004cd29a
add esp, 0xc
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x14]
cmp edx, 0x10
jb 0x4245cb
mov ecx, dword [ebp - 0x28]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4245c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42474a
push edx
push ecx
call fcn.0042e7b0
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.004186c0
mov ecx, eax
call fcn.004064d0
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x64]
cmp dword [eax + 0x14], 0x10
jb 0x42460a
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4246ff
mov eax, dword [edi + 0x14]
mov eax, dword [eax + 0x64]
cmp dword [eax + 0x14], 0x10
jb 0x424627
mov eax, dword [eax]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionA]
test eax, eax
je 0x4246b0
push str..exe
push eax
call fcn.0051bef8
add esp, 8
test eax, eax
jne 0x4246b0
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.004cdc49
add esp, 0x20
mov byte [ebp - 4], 3
cmp dword [eax + 0x14], 8
jb 0x424675
mov eax, dword [eax]
push eax
call fcn.004d5195
add esp, 0x14
mov edx, dword [ebp - 0x44]
cmp edx, 8
jb 0x4246ff
mov ecx, dword [ebp - 0x58]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4246f5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42474f
jmp 0x4246f5
mov eax, dword [edi + 0x14]
push 5
push 0x6ff274
push 0x6ff274
push 0x3a8
sub esp, 0x18
mov ecx, esp
push dword [eax + 0x64]
call fcn.00406d70
lea eax, [ebp - 0x58]
push eax
call fcn.004cdc49
add esp, 0x20
cmp dword [eax + 0x14], 8
jb 0x4246e5
mov eax, dword [eax]
push eax
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
jmp 0x42467e
push edx
push ecx
call fcn.0042e7b0
add esp, 8
mov edx, dword [ebp - 0x2c]
cmp edx, 0x10
jb 0x42472f
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x424725
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x42474f
push edx
push ecx
call fcn.0042e7b0
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.0042e165
mov esp, ebp
pop ebp
ret
call fcn.0050d55e
call fcn.0050d55e
int3