Function at 0x429a1d
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4de9e9
call fcn.004d1ec0
sub esp, 0x840
mov eax, dword [0x52f220]
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 0x429a65
lea eax, [ebp - 0x84c]
push eax
lea ecx, [esi + 0x9c]
call fcn.00428738
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.00451a68
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 0x429b09
lea eax, [esi + 0x98]
cmp dword [eax], ecx
je 0x429b09
mov dword [eax], 1
mov eax, dword [esi + 0x98]
cmp eax, 3
jne 0x429b28
push dword [ebp + 8]
mov eax, dword [ebx]
lea ecx, [ebp - 0x810]
push ecx
push 1
mov ecx, ebx
call dword [eax]
jmp 0x429b93
cmp eax, 1
jne 0x429b93
mov dword [esi + 0x98], 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.00451a68
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.004271d2
mov ecx, eax
call fcn.00429661
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.004d1f17
leave
ret 8