Function at 0x54353f
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
call fcn.004106c3
mov ecx, eax
call fcn.004102b9
fstp dword [ebp - 4]
fld1
fcomp dword [ebp - 4]
fnstsw ax
test ah, 0x44
jp 0x543566
xor eax, eax
leave
ret 0x14
push ebx
push esi
push edi
call fcn.004106c3
lea ecx, [ebp - 0x10]
push ecx
mov ecx, eax
call fcn.0054315e
mov edi, dword [ebp - 0x10]
xor esi, esi
cmp dword [edi - 0xc], esi
jne 0x543595
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
call fcn.00401405
pop edi
mov eax, esi
pop esi
pop ebx
jmp 0x543562
mov ebx, 0x5e7310
push ebx
lea ecx, [ebp - 8]
call fcn.00401c3d
fld dword [ebp - 4]
push dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push ecx
push ecx
fstp qword [esp]
push dword [ebp + 0xc]
fld dword [ebp - 4]
push dword [eax]
lea eax, [ebp - 8]
push ecx
push ecx
fstp qword [esp]
push edi
mov edi, str._s_.1f_s_d__.1f._s
push edi
push eax
call fcn.004020ff
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
add esp, 0x28
push dword [ebp - 8]
call esi
test eax, eax
je 0x543607
mov eax, dword [ebp + 0x18]
fld dword [ebp - 4]
mov ecx, dword [ebp + 0x14]
fstp qword [eax]
lea eax, [ebp - 8]
push eax
call fcn.00403cc2
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00401405
xor esi, esi
inc esi
jmp 0x543583
call fcn.004106c3
mov ecx, eax
call fcn.0040f801
mov ecx, eax
mov dword [ebp - 0x14], ecx
call fcn.0040c1d4
test eax, eax
jne 0x543633
mov ecx, dword [ebp - 8]
add ecx, 0xfffffff0
call fcn.00401405
xor esi, esi
jmp 0x543583
lea ecx, [ebp - 0x38]
call fcn.00542b5b
mov eax, dword [ebp - 0x14]
push eax
push dword [eax + 4]
lea ecx, [ebp - 0x24]
call fcn.0040cf54
jmp 0x54373d
lea ecx, [ebp - 0x24]
call fcn.0040bfe1
fld qword [eax]
fstp qword [ebp - 0x1c]
fld dword [ebp - 4]
fcomp qword [ebp - 0x1c]
fnstsw ax
test ah, 0x44
jnp 0x543735
fld1
fcomp qword [ebp - 0x1c]
fnstsw ax
test ah, 1
je 0x543735
push ebx
lea ecx, [ebp - 0xc]
call fcn.00401c3d
fld qword [ebp - 0x1c]
push dword [ebp + 0x10]
mov eax, dword [ebp + 8]
push ecx
push ecx
fstp qword [esp]
push dword [ebp + 0xc]
fld qword [ebp - 0x1c]
push dword [eax]
lea eax, [ebp - 0xc]
push ecx
push ecx
fstp qword [esp]
push dword [ebp - 0x10]
push edi
push eax
call fcn.004020ff
add esp, 0x28
push dword [ebp - 0xc]
call esi
test eax, eax
je 0x54372a
fld dword [ebp - 4]
fld qword [ebp - 0x1c]
fld st(0)
fsubrp st(2)
fldz
fcomp st(2)
fnstsw ax
test ah, 0x41
jne 0x5436da
fstp st(1)
fld st(0)
fchs
fsub dword [ebp - 4]
jmp 0x5436dc
fxch st(1)
fstp qword [ebp - 0x1c]
fldz
fcomp dword [ebp - 0x38]
fnstsw ax
test ah, 0x44
jnp 0x543711
fld dword [ebp - 0x30]
fcomp qword [ebp - 0x1c]
fnstsw ax
test ah, 0x41
je 0x543711
fld dword [ebp - 0x30]
fcomp qword [ebp - 0x1c]
fnstsw ax
test ah, 0x44
jp 0x543728
fld dword [ebp - 0x38]
fcomp st(1)
fnstsw ax
test ah, 5
jp 0x543728
lea eax, [ebp - 0xc]
fstp dword [ebp - 0x38]
push eax
lea ecx, [ebp - 0x34]
call fcn.00403cc2
fld qword [ebp - 0x1c]
fstp dword [ebp - 0x30]
jmp 0x54372a
fstp st(0)
mov ecx, dword [ebp - 0xc]
add ecx, 0xfffffff0
call fcn.00401405
lea ecx, [ebp - 0x24]
call fcn.00541b2a
mov eax, dword [ebp - 0x14]
push eax
push dword [eax + 8]
lea ecx, [ebp - 0x2c]
call fcn.0040cf54
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x24]
call fcn.0040c210
test al, al
je 0x54364f
fldz
fcomp dword [ebp - 0x38]
fnstsw ax
test ah, 0x44
jp 0x54377c
mov ecx, dword [ebp - 0x34]
add ecx, 0xfffffff0
call fcn.00401405
jmp 0x543621
fld dword [ebp - 4]
fld st(0)
fld1
fsub st(1), st(0)
fldz
fcom st(2)
fnstsw ax
test ah, 0x41
jne 0x54379a
fstp st(2)
fld st(2)
fchs
fsubrp st(1)
jmp 0x54379e
fstp st(1)
fxch st(1)
fld dword [ebp - 0x38]
fld st(3)
fsubp st(1)
fcom st(2)
fnstsw ax
fstp st(2)
test ah, 5
jp 0x5437bb
fstp st(1)
fld dword [ebp - 0x38]
fchs
fsubrp st(2)
jmp 0x5437bf
fstp st(2)
fxch st(1)
fcompp
fnstsw ax
test ah, 5
jnp 0x54376c
mov ecx, dword [ebp + 0x14]
lea eax, [ebp - 0x34]
push eax
call fcn.00403cc2
fld dword [ebp - 0x38]
mov eax, dword [ebp + 0x18]
mov ecx, dword [ebp - 0x34]
fstp qword [eax]
add ecx, 0xfffffff0
call fcn.00401405
jmp 0x5435f4