Function at 0x4550d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c5d1e
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.00454d30
mov esi, eax
lea eax, [ebp - 0x28]
cmp eax, esi
je 0x45516c
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x45514f
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 0x455185
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.0051e7b0
mov byte [ebp - 4], 2
add esp, 4
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x4551d4
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 0x4551f8
push ecx
lea ecx, [ebp - 0x28]
call fcn.0051fb70
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.0051e7b0
mov byte [ebp - 4], 2
add esp, 4
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x455257
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 0x455356
push ecx
lea edx, [ebp - 0x28]
lea ecx, [ebp + 8]
call fcn.0051ec40
add esp, 4
test al, al
jne 0x4552cd
mov eax, fcn.00440db0
test eax, eax
je 0x45538e
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.00440db0
add esp, 0x20
jmp 0x45538e
push 0
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x70]
call fcn.0051ced0
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 0x45530c
mov eax, dword [eax]
mov ecx, eax
call fcn.00419b10
mov dword [ebp - 0x58], eax
push 0x602c0c
push str.carouselHtml
lea ecx, [edi + 0x38]
mov byte [ebp - 4], 7
call fcn.0041b790
lea ecx, [ebp - 0x58]
push ecx
mov ecx, eax
call fcn.0041a560
lea ecx, [ebp - 0x58]
call fcn.0041a430
mov eax, dword [ebp - 0x5c]
cmp eax, 0x10
jb 0x45538e
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00408df0
jmp 0x45538e
mov eax, fcn.00440db0
test eax, eax
je 0x45538e
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.00440db0
add esp, 0x1c
mov eax, dword [ebp - 0x2c]
cmp eax, 8
jb 0x4553a3
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 0x4553cc
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 0x4553f5
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.005765b2
mov esp, ebp
pop ebp
ret 0x18