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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ab3eb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xf0
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
push edi
lea eax, [ebp - 0x14]
mov ecx, dword [esi + 0x26c]
mov dword [ebp - 0x10], esp
xor edi, edi
push eax
add ecx, 0x490
push ebx
mov dword [ebp - 4], edi
call fcn.004ed290
cmp eax, edi
jne 0x4e7e78
cmp ebx, edi
jl 0x4e7e78
mov ecx, dword [esi + 0x26c]
cmp ebx, dword [ecx + 0xb0]
jge 0x4e7e78
mov eax, dword [0x65ec1c]
lea ecx, [ebp - 0x70]
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x74], eax
call fcn.00440200
lea ecx, [ebp - 0x64]
call fcn.00440200
mov eax, dword [0x65ec1c]
mov dword [ebp - 0xcc], 0x5bd0e4
mov dword [ebp - 0x58], eax
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x28], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
mov ecx, dword [esi + 0x26c]
lea edx, [ebp - 0xcc]
push edi
push edx
push ebx
add ecx, 8
mov byte [ebp - 4], 1
call fcn.0055dfa0
test al, al
jne 0x4e7e8b
lea ecx, [ebp - 0xcc]
mov byte [ebp - 4], 0
call fcn.00451870
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 8
cmp dword [0x663668], edi
je 0x4e7eb4
mov eax, dword [ebp - 0x70]
cmp eax, edi
jne 0x4e7e9d
lea eax, [ebp - 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x4e7eb4
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4e7e69
mov eax, dword [ebp - 0x70]
cmp eax, edi
jne 0x4e7ebe
lea eax, [ebp - 0x6c]
push edi
push eax
call fcn.00465670
add esp, 8
cmp eax, edi
jne 0x4e7edf
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x4e7e69
cmp dword [0x663668], edi
jne 0x4e7e69
push edi
call dword [sym.imp.ole32.dll_CoInitialize]
mov eax, dword [ebp - 0x70]
cmp eax, edi
jne 0x4e7ef0
lea eax, [ebp - 0x6c]
mov ecx, dword [0x66377c]
lea edx, [esi + 0x2a4]
neg ecx
sbb ecx, ecx
and ecx, 8
add ecx, 0x18
push ecx
push edx
push eax
mov eax, dword [esi + 0x520]
push eax
lea ecx, [esi + 0x5c]
call fcn.004ead60
mov ebx, eax
cmp ebx, edi
je 0x4e7ffc
push ebx
call fcn.0058b7fb
cmp eax, edi
jne 0x4e7f30
xor eax, eax
jmp 0x4e7f33
mov eax, dword [eax + 4]
mov ecx, dword [esi + 0x2a0]
push edi
push eax
push ecx
call dword [sym.imp.COMCTL32.dll_ImageList_AddMasked]
mov ecx, dword [esi + 0x26c]
mov edx, dword [ebp + 8]
add ecx, 0x490
push edx
mov edi, eax
call fcn.004e86e0
push ebx
mov dword [eax], edi
call dword [sym.imp.GDI32.dll_DeleteObject]
cmp dword [esi + 0x5f4], 4
jne 0x4e7ffc
mov ecx, dword [ebp + 0xc]
test ecx, ecx
jl 0x4e7ffc
mov eax, dword [esi + 0x2b8]
test eax, eax
jl 0x4e7f9e
xor eax, eax
cmp eax, dword [esi + 0x2c8]
jge 0x4e7f9e
mov edx, dword [esi + 0x2c4]
mov edi, dword [ebp + 8]
cmp dword [edx + eax*4], edi
jne 0x4e8007
mov ecx, eax
lea eax, [ebp - 0xfc]
push 1
push eax
push ecx
lea ecx, [esi + 0x504]
call fcn.00582729
mov edx, dword [esi + 0x520]
lea ecx, [ebp - 0xdc]
push ecx
push edx
call dword [sym.imp.USER32.dll_GetClientRect]
lea eax, [ebp - 0xfc]
lea ecx, [ebp - 0xdc]
push eax
lea edx, [ebp - 0xec]
push ecx
push edx
call dword [sym.imp.USER32.dll_IntersectRect]
test eax, eax
je 0x4e7ffc
mov ecx, dword [esi + 0x520]
lea eax, [ebp - 0xec]
push 1
push eax
push ecx
call dword [sym.imp.USER32.dll_InvalidateRect]
call dword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x4e7e69
inc eax
jmp 0x4e7f86