Function at 0x485550
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x48cfcd
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x4b0b28]
xor eax, esp
mov dword [esp + 0x70], eax
push esi
mov eax, dword [0x4b0b28]
xor eax, esp
push eax
lea eax, [esp + 0x7c]
mov dword fs:[0], eax
lea esi, [esp + 0x5c]
mov dword [esp + 0x84], 0
call fcn.00480c50
push 0x49c4f0
lea ecx, [esp + 0x44]
mov byte [esp + 0x88], 1
call dword [sym.imp.MSVCP80.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 eax, esi
push eax
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x2c]
push edx
mov byte [esp + 0x90], 2
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const__]
push str.HYTipsImage_
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x9c], 3
call dword [sym.imp.MSVCP80.dll_class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t_____cdecl_std::operator_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___class_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t___const___wchar_t_const__]
add esp, 0x18
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x88], 4
call dword [sym.imp.MSVCP80.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, [esp + 8]
mov byte [esp + 0x84], 3
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x24]
mov byte [esp + 0x84], 2
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
mov esi, 8
cmp dword [esp + 0x58], esi
jb 0x4856e6
mov eax, dword [esp + 0x44]
test eax, eax
je 0x485643
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x48563f
test al, 0x10
jne 0x485656
mov eax, dword [esp + 0x44]
cmp dword [esp + 0x58], esi
jae 0x48564d
lea eax, [esp + 0x44]
push eax
call fcn.00480fa0
add esp, 4
cmp dword [esp + 0xa4], esi
mov ecx, dword [esp + 0x90]
jae 0x48566d
lea ecx, [esp + 0x90]
cmp dword [esp + 0x58], esi
mov eax, dword [esp + 0x44]
jae 0x48567b
lea eax, [esp + 0x44]
push ecx
push eax
push str._ws_ws.png
push edi
call fcn.00482140
add esp, 0x10
lea ecx, [esp + 0x40]
mov byte [esp + 0x84], 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x5c]
mov byte [esp + 0x84], 0
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_wchar_t__struct_std::char_traits_wchar_t___class_std::allocator_wchar_t__::destructor_void_]
lea ecx, [esp + 0x8c]
mov dword [esp + 0x84], 0xffffffff
call dword [sym.imp.MSVCP80.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 [esp + 0x7c]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x70]
xor ecx, esp
call fcn.0046b7d6
add esp, 0x80
ret
lea eax, [esp + 0x44]
jmp 0x48562f