Function at 0x411740
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5204d9
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x5640a8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov edi, dword [ebx + 0x10]
mov eax, edi
mov ecx, dword [ebx + 0x14]
or eax, ecx
je 0x411be4
cmp dword [ebx + 8], edi
jne 0x411be4
cmp dword [ebx + 0xc], ecx
jne 0x411be4
mov eax, dword [ebx]
mov ecx, dword [eax + 0xa44]
test ecx, ecx
je 0x4117b0
movss xmm1, dword [0x549068]
push 0x320
call fcn.00461070
mov eax, dword [ebx]
mov ecx, dword [eax + 0xa38]
test ecx, ecx
je 0x4117ca
mov eax, dword [ecx]
push 0
push 0
push 0x53d264
call dword [eax + 0x34]
mov edx, dword [ebx]
lea ecx, [ebp - 0x8c]
add edx, 0xb78
call fcn.004310a0
lea edx, [ebp - 0x8c]
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.0040e8a0
push 4
push 0
push str..zip
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.0040c5d0
test eax, eax
je 0x411ad6
mov edi, dword [ebx]
mov eax, 0x2aaaaaab
mov ecx, dword [edi + 0xbf4]
sub ecx, dword [edi + 0xbf0]
imul ecx
sar edx, 3
mov eax, edx
shr eax, 0x1f
add eax, edx
jne 0x4118f6
mov ecx, dword [edi + 0xa30]
test ecx, ecx
je 0x411848
mov eax, dword [ecx]
push 1
call dword [eax + 0x108]
mov eax, dword [ebx]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
add eax, 0xc60
mov word [ebp - 0x28], cx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.00402670
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov eax, dword [ebp - 0x18]
cmovae ecx, dword [ebp - 0x28]
cmp word [ecx + eax*2 - 2], 0x5c
je 0x4118a4
lea ecx, [ebp - 0x28]
call fcn.00414360
cmp word [eax], 0x2f
je 0x4118a4
push 0x53ca00
lea ecx, [ebp - 0x28]
call fcn.0040cf10
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040ca60
push 0x53cb08
lea ecx, [ebp - 0x40]
call fcn.00403170
push 0x53cb08
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 3
call fcn.00403170
push ecx
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
lea edx, [ebp - 0x74]
lea ecx, [ebp - 0x28]
call fcn.004263a0
add esp, 8
lea ecx, [ebp - 0x74]
call fcn.00402450
jmp 0x411b87
mov esi, dword [edi + 0xbf0]
mov edi, dword [edi + 0xbf4]
mov byte [ebp - 0x115], 1
cmp esi, edi
je 0x411a75
mov eax, dword [ebx]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
add eax, 0xc60
mov word [ebp - 0x28], cx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.00402670
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
mov edx, dword [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
cmovae eax, edx
cmp word [eax + ecx*2 - 2], 0x5c
mov ecx, dword [ebp - 0x14]
je 0x411978
cmp ecx, 8
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x18]
cmovae eax, edx
cmp word [eax + ecx*2 - 2], 0x2f
je 0x411978
push 0x53ca00
lea ecx, [ebp - 0x28]
call fcn.0040cf10
mov edx, esi
lea ecx, [ebp - 0x74]
call fcn.004310a0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 6
call fcn.0040ca60
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x60]
cmp eax, 8
jb 0x4119ac
inc eax
lea ecx, [ebp - 0x74]
push eax
push dword [ebp - 0x74]
call fcn.00402f10
cmp dword [ebp - 0x14], 8
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x411a0e
push str.local
lea ecx, [ebp - 0x74]
mov byte [ebp - 0x115], 0
call fcn.00403170
push 0x53cb08
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], 7
call fcn.00403170
push ecx
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 8
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.004263a0
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.00402450
lea ecx, [ebp - 0x74]
call fcn.00402450
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x411a27
inc eax
lea ecx, [ebp - 0x28]
push eax
push dword [ebp - 0x28]
call fcn.00402f10
add esi, 0x30
cmp esi, edi
jne 0x411911
mov al, byte [ebp - 0x115]
test al, al
jne 0x411a75
mov eax, dword [ebx]
mov ecx, dword [eax + 0xa30]
test ecx, ecx
je 0x411a52
mov eax, dword [ecx]
push 1
call dword [eax + 0x108]
mov eax, dword [ebx]
mov ecx, dword [eax + 0xa38]
test ecx, ecx
je 0x411b97
mov eax, dword [ecx]
push 0
push 0
push 0x53d274
call dword [eax + 0x34]
jmp 0x411b97
mov eax, dword [ebx]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x44], eax
xor eax, eax
push 0xffffffffffffffff
push eax
mov word [ebp - 0x40], ax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
call fcn.00402670
lea eax, [ebp - 0x44]
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x120]
call fcn.004158a0
mov ecx, eax
mov byte [ebp - 4], 0xa
call fcn.004051d0
cmp dword [ebp - 0x11c], 0
je 0x411ac9
call fcn.004fe42e
lea ecx, [ebp - 0x44]
call fcn.00412cd0
jmp 0x411b97
mov eax, dword [ebx]
mov ecx, dword [eax + 0xa30]
test ecx, ecx
je 0x411aec
mov eax, dword [ecx]
push 1
call dword [eax + 0x108]
mov eax, dword [ebx]
xor ecx, ecx
push 0xffffffffffffffff
push ecx
add eax, 0xc60
mov word [ebp - 0x28], cx
push eax
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x14], 7
mov dword [ebp - 0x18], 0
call fcn.00402670
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
mov edx, dword [ebp - 0x28]
mov esi, dword [ebp - 0x18]
cmovae eax, edx
cmp word [eax + esi*2 - 2], 0x5c
je 0x411b4f
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + esi*2 - 2], 0x2f
je 0x411b4f
push 0x53ca00
lea ecx, [ebp - 0x28]
call fcn.0040cf10
push 0xffffffffffffffff
push 0
lea eax, [ebp - 0x5c]
push eax
lea ecx, [ebp - 0x28]
call fcn.0040ca60
push 0x53cb08
lea ecx, [ebp - 0x40]
call fcn.00403170
mov byte [ebp - 4], 0xc
lea edx, [ebp - 0x40]
mov eax, dword [ebx]
push ecx
add eax, 0xc60
lea ecx, [ebp - 0x28]
push eax
call fcn.004263a0
add esp, 8
lea ecx, [ebp - 0x40]
call fcn.00402450
lea ecx, [ebp - 0x28]
call fcn.00402450
mov eax, dword [ebp - 0x48]
cmp eax, 8
jb 0x411bac
inc eax
lea ecx, [ebp - 0x5c]
push eax
push dword [ebp - 0x5c]
call fcn.00402f10
xor eax, eax
mov dword [ebp - 0x48], 7
mov word [ebp - 0x5c], ax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x4c], 0
cmp eax, 8
jb 0x411d30
inc eax
lea ecx, [ebp - 0x8c]
push eax
push dword [ebp - 0x8c]
call fcn.00402f10
jmp 0x411d30
mov eax, dword [ebx]
mov esi, dword [eax + 0xa44]
test esi, esi
je 0x411d30
mov edx, dword [ebx + 0xc]
mov ecx, dword [ebx + 8]
call fcn.004e2e40
mov edx, dword [ebx + 0x14]
mov ecx, edi
cvtsd2ss xmm0, xmm0
mulss xmm0, dword [0x549068]
movss dword [ebp - 0x11c], xmm0
call fcn.004e2e40
movss xmm1, dword [ebp - 0x11c]
cvtsd2ss xmm0, xmm0
divss xmm1, xmm0
ucomiss xmm1, dword [esi + 0xe30]
movss dword [ebp - 0x11c], xmm1
lahf
test ah, 0x44
jnp 0x411cab
movd xmm0, dword [esi + 0xe24]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
ja 0x411cab
movd xmm0, dword [esi + 0xe20]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x411cab
mov ecx, dword [esi + 0xe3c]
test ecx, ecx
je 0x411c94
mov eax, dword [ecx]
cmp eax, vtable.ui::CTimeLineTween.0
jne 0x411c89
mov byte [ecx + 0x3f], 0
mov dword [ecx + 0x38], 0x3f800000
mov dword [ecx + 0x30], 0
jmp 0x411c94
call dword [eax + 0xc]
movss xmm1, dword [ebp - 0x11c]
mov ecx, esi
movss dword [esi + 0xe30], xmm1
call fcn.00449200
movss xmm1, dword [ebp - 0x11c]
lea eax, [ebp - 0x10c]
mov dword [ebp - fcn.00452790], vtable.ui::CDuiString.0
mov dword [ebp - 0x110], eax
xor eax, eax
mov word [ebp - 0x10c], ax
cvtps2pd xmm0, xmm1
sub esp, 8
mov dword [ebp - 4], 0xe
lea eax, [ebp - 0x114]
movsd qword [esp], xmm0
push 0x53d204
push eax
call fcn.00452c60
mov eax, dword [ebx]
add esp, 0x10
mov ecx, dword [eax + 0xa44]
push 0x53d188
push str.normal
push dword [ebp - 0x110]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov eax, dword [ebp - 0x110]
lea ecx, [ebp - 0x10c]
mov dword [ebp - fcn.00452790], vtable.ui::CDuiString.0
cmp eax, ecx
je 0x411d30
push eax
call fcn.004fe1ff
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004e1de4
mov esp, ebp
pop ebp
ret