Function at 0x425975
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4ea51a
call fcn.004e6580
sub esp, 0x74
and dword [ebp - 0x10], 0
push esi
push edi
mov esi, 0x4feb50
push esi
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push esi
lea ecx, [ebp - 0x80]
mov dword [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
push esi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_wchar_t_const__]
mov edi, dword [ebp + 0xc]
mov eax, dword [edi + 0x14]
lea esi, [eax - 1]
test esi, esi
mov byte [ebp - 4], 3
jle 0x425b24
mov edx, dword [edi + 0x18]
cmp edx, 8
jb 0x4259d8
mov ecx, dword [edi + 4]
jmp 0x4259db
lea ecx, [edi + 4]
cmp word [ecx + esi*2], 0x2e
je 0x4259e7
dec esi
test esi, esi
jg 0x4259ce
test esi, esi
jle 0x425b24
sub eax, esi
push ebx
dec eax
push eax
lea eax, [esi + 1]
push eax
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 4
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov edx, dword [edi + 0x18]
mov ebx, esi
dec esi
cmp edx, 8
lea eax, [edi + 4]
jb 0x425a31
mov ecx, dword [eax]
jmp 0x425a33
mov ecx, eax
cmp word [ecx + esi*2], 0x29
jne 0x425a7b
jmp 0x425a72
cmp edx, 8
jb 0x425a45
mov ecx, dword [eax]
jmp 0x425a47
mov ecx, eax
cmp word [ecx + esi*2], 0x28
je 0x425a79
cmp edx, 8
jb 0x425a57
mov ecx, dword [eax]
jmp 0x425a59
mov ecx, eax
cmp word [ecx + esi*2], 0x30
jb 0x425a7b
cmp edx, 8
jb 0x425a69
mov ecx, dword [eax]
jmp 0x425a6b
mov ecx, eax
cmp word [ecx + esi*2], 0x39
ja 0x425a7b
dec esi
test esi, esi
jg 0x425a3c
jmp 0x425a7b
mov ebx, esi
push ebx
push 0
lea eax, [ebp - 0x2c]
push eax
mov ecx, edi
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::substr_unsigned_int__unsigned_int_]
push eax
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
xor esi, esi
inc esi
pop ebx
lea eax, [ebp - 0x80]
push eax
lea ecx, [ebp - 0x48]
call dword [sym.imp.MSVCP71.dll_public:_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t______thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::operator_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push 0x503cdc
lea ecx, [ebp - 0x48]
call dword [0x4fcb0c]
push 0xa
lea eax, [ebp - 0x24]
push eax
push esi
call dword [sym.imp.MSVCR71.dll__itow]
add esp, 0xc
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x48]
call dword [0x4fcb0c]
push 0x502924
lea ecx, [ebp - 0x48]
call dword [0x4fcb0c]
push 0x503cd8
lea ecx, [ebp - 0x48]
call dword [0x4fcb0c]
lea eax, [ebp - 0x64]
push eax
lea ecx, [ebp - 0x48]
call dword [0x4fcb00]
cmp dword [ebp - 0x30], 8
mov eax, dword [ebp - 0x44]
jae 0x425b16
lea eax, [ebp - 0x44]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x425b24
inc esi
jmp 0x425aa9
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x48]
push eax
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::constructor_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x10], 1
mov byte [ebp - 4], 2
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
leave
ret 8