Function at 0x4264b9
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4dd3e1
call fcn.004d1d50
sub esp, 0x840
mov eax, dword [0x52e400]
mov edx, dword [ebp + 8]
xor eax, ebp
push ebx
mov ebx, ecx
mov ecx, dword [ebp + 0xc]
test ecx, ecx
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 8]
lea eax, [eax + edx*4]
push esi
mov esi, dword [eax]
mov dword [ebp - 0x84c], ecx
je 0x426501
lea eax, [ebp - 0x84c]
push eax
lea ecx, [esi + 0xb8]
call fcn.004251b8
push edi
lea ecx, [ebp - 0x82c]
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_void_]
mov eax, dword [esi + 0x84]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x82c]
push ecx
push eax
lea ecx, [esi + 0x70]
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call fcn.0044fa33
add esp, 0xc
push str..png
lea ecx, [ebp - 0x82c]
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_wchar_t_const__]
and word [ebp - 0x810], 0
xor eax, eax
mov ecx, 0x1ff
lea edi, [ebp - 0x80e]
rep stosd dword es:[edi], eax
lea ecx, [ebp - 0x82c]
stosw word es:[edi], ax
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea ecx, [ebx + 0x48]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x810]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
push 2
pop ecx
pop edi
jne 0x4265a5
lea eax, [esi + 0xb4]
cmp dword [eax], ecx
je 0x4265a5
mov dword [eax], 1
mov eax, dword [esi + 0xb4]
cmp eax, 3
jne 0x4265c4
push dword [ebp + 8]
mov eax, dword [ebx]
lea ecx, [ebp - 0x810]
push ecx
push 1
mov ecx, ebx
call dword [eax]
jmp 0x42662f
cmp eax, 1
jne 0x42662f
mov dword [esi + 0xb4], ecx
lea ecx, [ebp - 0x848]
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_void_]
mov eax, dword [esi + 0x14]
lea ecx, [ebp - 0x848]
push ecx
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call dword [sym.imp.MSVCP71.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
push eax
call fcn.0044fa33
add esp, 0xc
push dword [ebp + 8]
lea eax, [ebp - 0x810]
push ebx
push eax
lea ecx, [ebp - 0x848]
call dword [sym.imp.MSVCP71.dll_public:_wchar_t_const____thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::c_str_void_const]
push eax
call fcn.00423c52
mov ecx, eax
call fcn.004260fd
lea ecx, [ebp - 0x848]
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_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x82c]
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 dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop esi
xor ecx, ebp
mov al, 1
pop ebx
call fcn.004d1da7
leave
ret 8