Function at 0x428960
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x42c176
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x9a8
mov eax, dword [0x43ba24]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
push 0x43050f
push 0x43faa0
call fcn.0040f740
add esp, 8
test eax, eax
je 0x4289b7
push 0x43faa0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x4289be
xor eax, eax
jmp 0x428c62
mov byte [ebp - 0x920], 0
push 0x103
push 0
lea eax, [ebp - 0x91f]
push eax
call fcn.0040e9c0
add esp, 0xc
push 0x43faa0
lea ecx, [ebp - 0x920]
push ecx
call fcn.0040f7d0
add esp, 8
push 0x4350bc
lea edx, [ebp - 0x948]
push edx
call fcn.00401380
add esp, 8
mov dword [ebp - 0x960], eax
mov eax, dword [ebp - 0x960]
mov ecx, dword [eax]
mov dword [ebp - 0x964], ecx
mov edx, dword [ebp - 0x964]
push edx
lea eax, [ebp - 0x920]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea ecx, [ebp - 0x948]
call fcn.004019a0
mov byte [ebp - 0x818], 0
push 0x7ff
push 0
lea ecx, [ebp - 0x817]
push ecx
call fcn.0040e9c0
add esp, 0xc
push 0x4350e0
lea edx, [ebp - 0x94c]
push edx
call fcn.00401380
add esp, 8
mov dword [ebp - 0x9b0], eax
mov eax, dword [ebp - 0x9b0]
mov dword [ebp - 0x9b4], eax
mov dword [ebp - 4], 0
push 0x4350f0
lea ecx, [ebp - 0x950]
push ecx
call fcn.00401380
add esp, 8
mov dword [ebp - 0x96c], eax
mov edx, dword [ebp - 0x96c]
mov eax, dword [edx]
mov dword [ebp - 0x970], eax
push 0x222fb
mov ecx, dword [ebp - 0x9b4]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp - 0x970]
push eax
push str._s_s_d
lea ecx, [ebp - 0x818]
push ecx
call fcn.0040fa55
add esp, 0x14
lea ecx, [ebp - 0x950]
call fcn.004019a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x94c]
call fcn.004019a0
lea edx, [ebp - 0x920]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x428c3f
mov byte [ebp - 0x944], 0
xor eax, eax
mov dword [ebp - 0x943], eax
mov dword [ebp - 0x93f], eax
mov dword [ebp - 0x93b], eax
mov dword [ebp - 0x937], eax
mov dword [ebp - 0x933], eax
mov dword [ebp - 0x92f], eax
mov dword [ebp - 0x92b], eax
mov dword [ebp - 0x927], eax
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x920]
push ecx
lea ecx, [ebp - 0x954]
call fcn.00401a90
mov dword [ebp - 0x9b8], eax
mov byte [ebp - 4], 2
lea edx, [ebp - 0x954]
push edx
lea eax, [ebp - 0x958]
push eax
call fcn.00428770
add esp, 8
mov dword [ebp - 0x994], eax
mov ecx, dword [ebp - 0x994]
mov edx, dword [ecx]
mov dword [ebp - 0x998], edx
mov eax, dword [ebp - 0x998]
push eax
lea ecx, [ebp - 0x944]
push ecx
call fcn.0040f7d0
add esp, 8
lea ecx, [ebp - 0x958]
call fcn.004019a0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x954]
call fcn.004019a0
push 0x433b2e
lea edx, [ebp - 0x944]
push edx
call fcn.0040f740
add esp, 8
test eax, eax
je 0x428c30
push 0x43514c
lea eax, [ebp - 0x95c]
push eax
call fcn.00401380
add esp, 8
mov dword [ebp - 0x9a4], eax
mov ecx, dword [ebp - 0x9a4]
mov edx, dword [ecx]
mov dword [ebp - 0x9a8], edx
mov eax, dword [ebp - 0x9a8]
push eax
lea ecx, [ebp - 0x818]
push ecx
call fcn.0040f7e0
add esp, 8
lea ecx, [ebp - 0x95c]
call fcn.004019a0
lea edx, [ebp - 0x944]
push edx
lea eax, [ebp - 0x818]
push eax
call fcn.0040f7e0
add esp, 8
jmp 0x428c38
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x920]
push ecx
lea edx, [ebp - 0x818]
push edx
call fcn.00426150
add esp, 8
test eax, eax
jne 0x428c5d
xor eax, eax
jmp 0x428c62
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040e83e
mov esp, ebp
pop ebp
ret