Function at 0x412750
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x520453
mov eax, dword fs:[0]
push eax
sub esp, 0xf0
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 dword [ebp - 0xfc], ebx
mov eax, dword [ebx]
mov ecx, dword [eax + 0xa30]
test ecx, ecx
je 0x41279c
mov eax, dword [ecx]
push 1
call dword [eax + 0x108]
mov eax, dword [ebx]
mov esi, dword [eax + 0xa44]
test esi, esi
je 0x4128ad
movss xmm1, dword [0x549038]
ucomiss xmm1, dword [esi + 0xe30]
lahf
test ah, 0x44
jnp 0x41281c
movd xmm0, dword [esi + 0xe24]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
ja 0x41281c
movd xmm0, dword [esi + 0xe20]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x41281c
mov ecx, dword [esi + 0xe3c]
test ecx, ecx
je 0x41280b
mov eax, dword [ecx]
cmp eax, vtable.ui::CTimeLineTween.0
jne 0x412808
mov byte [ecx + 0x3f], 0
mov dword [ecx + 0x38], 0x3f800000
mov dword [ecx + 0x30], 0
jmp 0x41280b
call dword [eax + 0xc]
mov ecx, esi
mov dword [esi + 0xe30], 0x42c80000
call fcn.00448f20
lea eax, [ebp - 0xf0]
mov dword [ebp - 0xf8], vtable.ui::CDuiString.0
mov dword [ebp - 0xf4], eax
xor eax, eax
mov word [ebp - 0xf0], ax
sub esp, 8
mov dword [ebp - 4], 1
movsd xmm0, qword [0x548fe8]
lea eax, [ebp - 0xf8]
movsd qword [esp], xmm0
push str._e_N
push eax
call fcn.00452970
mov eax, dword [ebx]
add esp, 0x10
mov ecx, dword [eax + 0xa44]
push 0x53d170
push str.normal
push dword [ebp - 0xf4]
mov eax, dword [ecx]
call dword [eax + 0x34]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xf0]
mov eax, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], vtable.ui::CDuiString.0
cmp eax, ecx
je 0x4128ad
push eax
call fcn.004fdfef
add esp, 4
mov eax, dword [ebx]
mov ecx, dword [eax + 0xa38]
test ecx, ecx
je 0x4128c7
mov eax, dword [ecx]
push 0
push 0
push 0x53d224
call dword [eax + 0x34]
mov edi, dword [ebx]
mov esi, dword [edi + 0xbf0]
mov edi, dword [edi + 0xbf4]
cmp esi, edi
je 0x412b35
nop dword [eax]
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 dword [ebp - 4], 2
lea eax, [ebp - 0x28]
mov ecx, dword [ebp - 0x14]
cmp ecx, 8
mov edx, dword [ebp - 0x28]
mov ebx, dword [ebp - 0x18]
cmovae eax, edx
cmp word [eax + ebx*2 - 2], 0x5c
je 0x412948
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + ebx*2 - 2], 0x2f
je 0x412948
push 1
push 0x53ca10
lea ecx, [ebp - 0x28]
call fcn.0040c6e0
mov edx, esi
lea ecx, [ebp - 0x58]
call fcn.00430df0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0040c9c0
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x4129ba
mov ecx, dword [ebp - 0x58]
inc eax
cmp eax, 0x7fffffff
ja 0x412b30
add eax, eax
cmp eax, 0x1000
jb 0x4129b1
test cl, 0x1f
jne 0x412b30
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x412b30
sub ecx, eax
cmp ecx, 4
jb 0x412b30
cmp ecx, 0x23
ja 0x412b30
mov ecx, eax
push ecx
call fcn.004e1bac
add esp, 4
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 0x412ad8
push 5
xor eax, eax
mov dword [ebp - 0x44], 7
push str.local
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], 0
mov word [ebp - 0x58], ax
call fcn.00402570
xor eax, eax
mov byte [ebp - 4], 4
push eax
push 0x53cb10
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
mov word [ebp - 0x40], ax
call fcn.00402570
push ecx
lea eax, [ebp - 0x58]
mov byte [ebp - 4], 5
push eax
lea edx, [ebp - 0x40]
lea ecx, [ebp - 0x28]
call fcn.00426100
mov eax, dword [ebp - 0x2c]
add esp, 8
cmp eax, 8
jb 0x412a49
inc eax
lea ecx, [ebp - 0x40]
push eax
push dword [ebp - 0x40]
call fcn.00402f10
xor eax, eax
mov byte [ebp - 4], 2
mov word [ebp - 0x40], ax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x2c], 7
mov dword [ebp - 0x30], 0
cmp eax, 8
jb 0x412a76
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00402f10
cmp dword [esi + 0x28], 0
je 0x412ad8
lea edx, [esi + 0x18]
lea ecx, [ebp - 0x70]
call fcn.00430df0
mov byte [ebp - 4], 6
lea edx, [ebp - 0x28]
cmp dword [ebp - 0x14], 8
cmovae edx, dword [ebp - 0x28]
cmp dword [eax + 0x14], 8
jb 0x412a9e
mov eax, dword [eax]
sub esp, 0x18
mov ecx, eax
push 0
push 1
call fcn.0042f730
mov eax, dword [ebp - 0x5c]
add esp, 0x20
cmp eax, 8
jb 0x412ac4
inc eax
lea ecx, [ebp - 0x70]
push eax
push dword [ebp - 0x70]
call fcn.00402f10
xor eax, eax
mov dword [ebp - 0x5c], 7
mov dword [ebp - 0x60], 0
mov word [ebp - 0x70], ax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x14]
cmp eax, 8
jb 0x412b1e
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x7fffffff
ja 0x412b30
add eax, eax
cmp eax, 0x1000
jb 0x412b15
test cl, 0x1f
jne 0x412b30
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x412b30
sub ecx, eax
cmp ecx, 4
jb 0x412b30
cmp ecx, 0x23
ja 0x412b30
mov ecx, eax
push ecx
call fcn.004e1bac
add esp, 4
add esi, 0x30
cmp esi, edi
je 0x412b35
mov ebx, dword [ebp - 0xfc]
jmp 0x4128e0
call fcn.004fe1ce
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.004e1bb1
mov esp, ebp
pop ebp
ret