Function at 0x496875
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4e4cd0
call fcn.004d1d50
sub esp, 0xc8
mov eax, dword [0x52e400]
push ebx
xor eax, ebp
cmp byte [ebp + 8], 0
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov ebx, ecx
je 0x496a38
push esi
lea ecx, [ebp - 0x2c]
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_]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x64]
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [ebp - 0x2c]
push eax
push edi
mov byte [ebp - 4], 1
call sub.MSVCR71.dll_strlen
pop ecx
push eax
push edi
call fcn.0044fa33
add esp, 0xc
lea eax, [ebp - 0x64]
push eax
push dword [ebp - 0x18]
lea ecx, [ebp - 0x2c]
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.0044fced
push str.normal.png
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xd4]
push eax
call fcn.00407aea
push str.hover.png
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0xb8]
push eax
mov byte [ebp - 4], 2
call fcn.00407aea
add esp, 0x24
push edi
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 3
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_char_const__]
push 0x4ffdf0
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 4
call dword [0x4eb700]
lea ecx, [ebp - 0x80]
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_]
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
lea eax, [ebp - 0x80]
push eax
push dword [ebp - 0x34]
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 6
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
lea eax, [ebp - 0x9c]
push eax
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x80]
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.0044fced
add esp, 0xc
lea ecx, [ebp - 0xd4]
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]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call esi
test eax, eax
je 0x4969b5
lea ecx, [ebp - 0xb8]
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 esi
test eax, eax
jne 0x4969d3
lea ecx, [ebp - 0x64]
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]
lea ecx, [ebp - 0x9c]
push eax
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 sub.minizip.dll_mini_unzip_dll
pop ecx
pop ecx
lea ecx, [ebp - 0x9c]
mov byte [ebp - 4], 5
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x80]
mov byte [ebp - 4], 4
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], 3
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0xb8]
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 - 0xd4]
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 - 0x64]
mov byte [ebp - 4], 0
call dword [sym.imp.MSVCP71.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
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_]
pop esi
push dword [ebp + 0x10]
lea ecx, [ebx + 0x218]
push edi
push dword [ebp + 8]
push ebx
call fcn.0049664f
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x10]
pop edi
xor ecx, ebp
pop ebx
call fcn.004d1da7
leave
ret 0xc