Function at 0x45a2c3
Capabilities:
Check if file exists

Disassembly:
mov eax, 0x4adb12
call fcn.004a9438
sub esp, 0x38
push ebx
push esi
push edi
call fcn.0042fa2b
mov ecx, eax
call fcn.0042fa6d
fstp dword [ebp - 0x14]
fld1
fcomp dword [ebp - 0x14]
fnstsw ax
test ah, 0x44
jp 0x45a301
xor eax, eax
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret 0x10
call fcn.0042fa2b
lea eax, [ebp - 0x1c]
call fcn.00459ee3
xor esi, esi
mov dword [ebp - 4], esi
mov eax, dword [ebp - 0x1c]
cmp dword [eax - 0xc], esi
jne 0x45a32a
mov eax, dword [ebp - 0x1c]
add eax, 0xfffffff0
call fcn.00405bc5
mov eax, esi
jmp 0x45a2f0
mov eax, dword [0x4dc00c]
mov ebx, 0x4dc00c
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x18], eax
fld dword [ebp - 0x14]
mov eax, dword [ebp + 8]
push 0x4bfcf4
push ecx
push ecx
mov byte [ebp - 4], 1
fstp qword [esp]
push dword [ebp + 0xc]
fld dword [ebp - 0x14]
push dword [eax]
lea eax, [ebp - 0x18]
push ecx
push ecx
fstp qword [esp]
push dword [ebp - 0x1c]
push str._s_.1f_s_d__.1f._s
call fcn.004069c6
mov esi, dword [ebp - 0x18]
add esp, 0x24
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45a3a4
mov eax, dword [ebp + 0x14]
fld dword [ebp - 0x14]
mov edi, dword [ebp + 0x10]
fstp qword [eax]
lea eax, [ebp - 0x18]
call fcn.00405107
lea eax, [esi - 0x10]
call fcn.00405bc5
xor esi, esi
inc esi
jmp 0x45a31b
call fcn.0042fa2b
mov ecx, eax
call fcn.0042fe3d
mov edi, eax
mov eax, dword [edi + 4]
test eax, eax
mov dword [ebp - 0x24], edi
je 0x45a3c6
mov ecx, dword [edi + 8]
sub ecx, eax
sar ecx, 3
jne 0x45a3d5
lea eax, [esi - 0x10]
call fcn.00405bc5
xor esi, esi
jmp 0x45a31b
mov ecx, ebx
lea esi, [ebp - 0x3c]
call fcn.00405e78
fldz
fst dword [ebp - 0x40]
fstp dword [ebp - 0x38]
mov byte [ebp - 4], 2
mov esi, dword [edi + 4]
cmp esi, dword [edi + 8]
jbe 0x45a3f8
call fcn.0048c25e
mov dword [ebp - 0x30], esi
mov esi, dword [edi + 8]
cmp dword [edi + 4], esi
jbe 0x45a408
call fcn.0048c25e
mov eax, dword [ebp - 0x30]
cmp eax, esi
je 0x45a52c
cmp eax, dword [edi + 8]
jb 0x45a41d
call fcn.0048c25e
mov eax, dword [ebp - 0x30]
fld qword [eax]
fstp qword [ebp - 0x2c]
fld dword [ebp - 0x14]
fcomp qword [ebp - 0x2c]
fnstsw ax
test ah, 0x44
jnp 0x45a516
fld1
fcomp qword [ebp - 0x2c]
fnstsw ax
test ah, 1
je 0x45a516
mov eax, dword [0x4dc00c]
mov ecx, ebx
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
fld qword [ebp - 0x2c]
mov eax, dword [ebp + 8]
push 0x4bfcf4
push ecx
push ecx
mov byte [ebp - 4], 3
fstp qword [esp]
push dword [ebp + 0xc]
fld qword [ebp - 0x2c]
push dword [eax]
lea eax, [ebp - 0x20]
push ecx
push ecx
fstp qword [esp]
push dword [ebp - 0x1c]
push str._s_.1f_s_d__.1f._s
call fcn.004069c6
mov esi, dword [ebp - 0x20]
add esp, 0x24
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x45a50a
fld dword [ebp - 0x14]
fld qword [ebp - 0x2c]
fld st(0)
fsubrp st(2)
fldz
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x45a4b8
fstp st(1)
fld st(0)
fchs
fsub dword [ebp - 0x14]
jmp 0x45a4ba
fxch st(1)
fstp qword [ebp - 0x2c]
fldz
fcomp dword [ebp - 0x40]
fnstsw ax
test ah, 0x44
jnp 0x45a4ef
fld dword [ebp - 0x38]
fcomp qword [ebp - 0x2c]
fnstsw ax
test ah, 0x41
je 0x45a4ef
fld dword [ebp - 0x38]
fcomp qword [ebp - 0x2c]
fnstsw ax
test ah, 0x44
jp 0x45a508
fld dword [ebp - 0x40]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x45a508
lea eax, [ebp - 0x20]
fstp dword [ebp - 0x40]
lea edi, [ebp - 0x3c]
call fcn.00405107
fld qword [ebp - 0x2c]
mov edi, dword [ebp - 0x24]
fstp dword [ebp - 0x38]
jmp 0x45a50a
fstp st(0)
lea eax, [esi - 0x10]
mov byte [ebp - 4], 2
call fcn.00405bc5
mov eax, dword [ebp - 0x30]
cmp eax, dword [edi + 8]
jb 0x45a523
call fcn.0048c25e
add dword [ebp - 0x30], 8
jmp 0x45a3fb
fldz
fcomp dword [ebp - 0x40]
fnstsw ax
test ah, 0x44
jp 0x45a54e
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
call fcn.00405bc5
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
jmp 0x45a3c9
fld dword [ebp - 0x14]
fld st(0)
fld1
fsub st(1), st(0)
fldz
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x45a56c
fstp st(2)
fld st(2)
fchs
fsubrp st(1)
jmp 0x45a570
fstp st(1)
fxch st(1)
fld dword [ebp - 0x40]
fld st(3)
fsubp st(1)
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 5
jp 0x45a58d
fstp st(1)
fld dword [ebp - 0x40]
fchs
fsubrp st(2)
jmp 0x45a591
fstp st(2)
fxch st(1)
fcompp
fnstsw ax
test ah, 5
jnp 0x45a538
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x3c]
call fcn.00405107
fld dword [ebp - 0x40]
mov eax, dword [ebp + 0x14]
fstp qword [eax]
mov eax, dword [ebp - 0x3c]
add eax, 0xfffffff0
call fcn.00405bc5
mov eax, dword [ebp - 0x18]
add eax, 0xfffffff0
jmp 0x45a397