Function at 0x454e50
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c573e
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x64a070]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 4], 0
xor eax, eax
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], eax
mov word [ebp - 0x40], ax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 2
call fcn.00454ab0
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x454eec
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x454ecf
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409510
xor eax, eax
mov dword [ebp - 0x14], 7
push esi
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
mov word [ebp - 0x28], ax
call fcn.0040c680
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x454f05
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00409510
push 8
xor eax, eax
mov dword [ebp - 0x44], 7
push str.carousel
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00408a10
push ecx
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x28]
call fcn.0051de40
mov byte [ebp - 4], 2
add esp, 4
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x454f54
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00409510
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
cmovae eax, dword [ebp - 0x28]
push eax
call esi
test eax, eax
jne 0x454f78
push ecx
lea ecx, [ebp - 0x28]
call fcn.0051f200
add esp, 4
push 0xffffffffffffffff
push 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x40]
call fcn.00408f10
push 0xa
xor eax, eax
mov dword [ebp - 0x44], 7
push str.index.html
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00408a10
push ecx
lea edx, [ebp - 0x58]
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x40]
call fcn.0051de40
mov byte [ebp - 4], 2
add esp, 4
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x454fd7
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00409510
cmp dword [ebp - 0x2c], 8
lea eax, [ebp - 0x40]
cmovae eax, dword [ebp - 0x40]
push eax
call esi
test eax, eax
je 0x4550d6
push ecx
lea edx, [ebp - 0x28]
lea ecx, [ebp + 8]
call fcn.0051e2d0
add esp, 4
test al, al
jne 0x45504d
mov eax, fcn.00440ae0
test eax, eax
je 0x45510e
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x28]
lea eax, [ebp + 8]
cmovae ecx, dword [ebp - 0x28]
cmp dword [ebp + 0x1c], 8
push ecx
cmovae eax, dword [ebp + 8]
push eax
push str.Failed_to_copy__s_to__s
push 0x5f8398
push 0x5f8398
push str.ViewMediatorBase
push 0x5f8398
push 0x1e
call fcn.00440ae0
add esp, 0x20
jmp 0x45510e
push 0
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x70]
call fcn.0051c8f0
add esp, 4
mov byte [ebp - 4], 6
mov edx, dword [eax + 0x10]
mov byte [ebp - 0x50], 4
or dword [ebp - 0x50], 0x100
cmp dword [eax + 0x14], 0x10
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0
jb 0x45508c
mov eax, dword [eax]
mov ecx, eax
call fcn.00419970
mov dword [ebp - 0x58], eax
push 0x602bcc
push str.carouselHtml
lea ecx, [edi + 0x38]
mov byte [ebp - 4], 7
call fcn.0041b5f0
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.0041a3c0
lea ecx, [ebp - 0x58]
call fcn.0041a290
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x45510e
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00408df0
jmp 0x45510e
mov eax, fcn.00440ae0
test eax, eax
je 0x45510e
cmp dword [ebp + 0x1c], 8
lea eax, [ebp + 8]
cmovae eax, dword [ebp + 8]
push eax
push str.Carousel_path__s_doesnt_exist
push 0x5f8398
push 0x5f8398
push str.ViewMediatorBase
push 0x5f8398
push 0x1e
call fcn.00440ae0
add esp, 0x1c
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x455123
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00409510
xor eax, eax
mov dword [ebp - 0x2c], 7
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x45514c
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00409510
xor eax, eax
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x18], 0
cmp eax, 8
jb 0x455175
inc eax
lea ecx, [ebp + 8]
push eax
push dword [ebp + 8]
call fcn.00409510
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0057608a
mov esp, ebp
pop ebp
ret 0x18