Function at 0x412830
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5206b3
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 0x41287c
mov eax, dword [ecx]
push 1
call dword [eax + 0x108]
mov eax, dword [ebx]
mov esi, dword [eax + 0xa44]
test esi, esi
je 0x41298d
movss xmm1, dword [0x549068]
ucomiss xmm1, dword [esi + 0xe30]
lahf
test ah, 0x44
jnp 0x4128fc
movd xmm0, dword [esi + 0xe24]
cvtdq2ps xmm0, xmm0
comiss xmm0, xmm1
ja 0x4128fc
movd xmm0, dword [esi + 0xe20]
cvtdq2ps xmm0, xmm0
comiss xmm1, xmm0
ja 0x4128fc
mov ecx, dword [esi + 0xe3c]
test ecx, ecx
je 0x4128eb
mov eax, dword [ecx]
cmp eax, vtable.ui::CTimeLineTween.0
jne 0x4128e8
mov byte [ecx + 0x3f], 0
mov dword [ecx + 0x38], 0x3f800000
mov dword [ecx + 0x30], 0
jmp 0x4128eb
call dword [eax + 0xc]
mov ecx, esi
mov dword [esi + 0xe30], 0x42c80000
call fcn.00449200
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 [0x549018]
lea eax, [ebp - 0xf8]
movsd qword [esp], xmm0
push str._e_N
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 - 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 0x41298d
push eax
call fcn.004fe1ff
add esp, 4
mov eax, dword [ebx]
mov ecx, dword [eax + 0xa38]
test ecx, ecx
je 0x4129a7
mov eax, dword [ecx]
push 0
push 0
push 0x53d23c
call dword [eax + 0x34]
mov edi, dword [ebx]
mov esi, dword [edi + 0xbf0]
mov edi, dword [edi + 0xbf4]
cmp esi, edi
je 0x412c15
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 0x412a28
cmp ecx, 8
lea eax, [ebp - 0x28]
cmovae eax, edx
cmp word [eax + ebx*2 - 2], 0x2f
je 0x412a28
push 1
push 0x53ca00
lea ecx, [ebp - 0x28]
call fcn.0040c780
mov edx, esi
lea ecx, [ebp - 0x58]
call fcn.004310a0
push 0xffffffffffffffff
push 0
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.0040ca60
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x44]
cmp eax, 8
jb 0x412a9a
mov ecx, dword [ebp - 0x58]
inc eax
cmp eax, 0x7fffffff
ja 0x412c10
add eax, eax
cmp eax, 0x1000
jb 0x412a91
test cl, 0x1f
jne 0x412c10
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x412c10
sub ecx, eax
cmp ecx, 4
jb 0x412c10
cmp ecx, 0x23
ja 0x412c10
mov ecx, eax
push ecx
call fcn.004e1ddf
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 0x412bb8
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 0x53cb08
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.004263a0
mov eax, dword [ebp - 0x2c]
add esp, 8
cmp eax, 8
jb 0x412b29
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 0x412b56
inc eax
lea ecx, [ebp - 0x58]
push eax
push dword [ebp - 0x58]
call fcn.00402f10
cmp dword [esi + 0x28], 0
je 0x412bb8
lea edx, [esi + 0x18]
lea ecx, [ebp - 0x70]
call fcn.004310a0
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 0x412b7e
mov eax, dword [eax]
sub esp, 0x18
mov ecx, eax
push 0
push 1
call fcn.0042f9e0
mov eax, dword [ebp - 0x5c]
add esp, 0x20
cmp eax, 8
jb 0x412ba4
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 0x412bfe
mov ecx, dword [ebp - 0x28]
inc eax
cmp eax, 0x7fffffff
ja 0x412c10
add eax, eax
cmp eax, 0x1000
jb 0x412bf5
test cl, 0x1f
jne 0x412c10
mov eax, dword [ecx - 4]
cmp eax, ecx
jae 0x412c10
sub ecx, eax
cmp ecx, 4
jb 0x412c10
cmp ecx, 0x23
ja 0x412c10
mov ecx, eax
push ecx
call fcn.004e1ddf
add esp, 4
add esi, 0x30
cmp esi, edi
je 0x412c15
mov ebx, dword [ebp - 0xfc]
jmp 0x4129c0
call fcn.004fe3de
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