Function at 0x47c150
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x529e80
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov dword [ebp - 0x88], ecx
call fcn.004109a0
mov ecx, eax
call fcn.00410aa0
fstp dword [ebp - 0x40]
fld dword [ebp - 0x40]
fcomp qword [0x546998]
fnstsw ax
test ah, 0x44
jp 0x47c19a
xor eax, eax
jmp 0x47c569
lea eax, [ebp - 0x3c]
push eax
call fcn.004109a0
mov ecx, eax
call fcn.0047bb10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.0040b3b0
movzx ecx, al
test ecx, ecx
je 0x47c1de
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004070b0
mov eax, dword [ebp - 0x68]
jmp 0x47c569
lea ecx, [ebp - 0x10]
call fcn.004070d0
mov byte [ebp - 4], 1
mov edx, dword [ebp + 0x10]
push edx
fld dword [ebp - 0x40]
sub esp, 8
fstp qword [esp]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
fld dword [ebp - 0x40]
sub esp, 8
fstp qword [esp]
mov eax, dword [ebp - 0x3c]
push eax
push str._s_.1f_s_d__.1f._s
lea ecx, [ebp - 0x10]
push ecx
call fcn.00407e40
add esp, 0x28
lea ecx, [ebp - 0x10]
call fcn.00477060
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47c270
fld dword [ebp - 0x40]
mov edx, dword [ebp + 0x18]
fstp qword [edx]
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00404380
mov dword [ebp - 0x6c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004070b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004070b0
mov eax, dword [ebp - 0x6c]
jmp 0x47c569
call fcn.004109a0
mov ecx, eax
call fcn.00410f80
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
call fcn.0044c480
movzx ecx, al
test ecx, ecx
je 0x47c2b8
mov dword [ebp - 0x70], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004070b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004070b0
mov eax, dword [ebp - 0x70]
jmp 0x47c569
lea ecx, [ebp - 0x28]
call fcn.0047c120
mov byte [ebp - 4], 2
lea edx, [ebp - 0x48]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.00408380
jmp 0x47c2da
lea ecx, [ebp - 0x48]
call fcn.00488ff0
lea eax, [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.004083b0
push eax
lea ecx, [ebp - 0x48]
call fcn.00455b50
movzx ecx, al
test ecx, ecx
je 0x47c41f
lea ecx, [ebp - 0x48]
call fcn.0048c350
fld qword [eax]
fstp qword [ebp - 0x64]
fld dword [ebp - 0x40]
fcomp qword [ebp - 0x64]
fnstsw ax
test ah, 0x44
jnp 0x47c320
fld1
fcomp qword [ebp - 0x64]
fnstsw ax
test ah, 1
jne 0x47c322
jmp 0x47c2d2
lea ecx, [ebp - 0x58]
call fcn.004070d0
mov byte [ebp - 4], 3
mov edx, dword [ebp + 0x10]
push edx
sub esp, 8
fld qword [ebp - 0x64]
fstp qword [esp]
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
push edx
sub esp, 8
fld qword [ebp - 0x64]
fstp qword [esp]
mov eax, dword [ebp - 0x3c]
push eax
push str._s_.1f_s_d__.1f._s
lea ecx, [ebp - 0x58]
push ecx
call fcn.00407e40
add esp, 0x28
lea ecx, [ebp - 0x58]
call fcn.00477060
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47c387
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.004070b0
jmp 0x47c2d2
fld dword [ebp - 0x40]
fsubr qword [ebp - 0x64]
fcomp qword [0x546988]
fnstsw ax
test ah, 5
jp 0x47c3aa
fld qword [ebp - 0x64]
fchs
fsub dword [ebp - 0x40]
fstp qword [ebp - 0x90]
jmp 0x47c3b6
fld dword [ebp - 0x40]
fsubr qword [ebp - 0x64]
fstp qword [ebp - 0x90]
fld qword [ebp - 0x90]
fstp qword [ebp - 0x54]
fld dword [ebp - 0x28]
fcomp qword [0x546988]
fnstsw ax
test ah, 0x44
jnp 0x47c3f6
fld dword [ebp - 0x20]
fcomp qword [ebp - 0x54]
fnstsw ax
test ah, 0x41
je 0x47c3f6
fld dword [ebp - 0x20]
fcomp qword [ebp - 0x54]
fnstsw ax
test ah, 0x44
jp 0x47c40e
fld dword [ebp - 0x28]
fcomp qword [ebp - 0x64]
fnstsw ax
test ah, 5
jp 0x47c40e
fld qword [ebp - 0x64]
fstp dword [ebp - 0x28]
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x24]
call fcn.00404380
fld qword [ebp - 0x54]
fstp dword [ebp - 0x20]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.004070b0
jmp 0x47c2d2
fld dword [ebp - 0x28]
fcomp qword [0x546988]
fnstsw ax
test ah, 0x44
jp 0x47c465
mov dword [ebp - 0x7c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00458690
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004070b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004070b0
mov eax, dword [ebp - 0x7c]
jmp 0x47c569
fld dword [ebp - 0x40]
fsub qword [0x546998]
fcomp qword [0x546988]
fnstsw ax
test ah, 5
jp 0x47c48e
fld dword [ebp - 0x40]
fchs
fsub qword [0x546998]
fstp qword [ebp - 0x98]
jmp 0x47c49d
fld dword [ebp - 0x40]
fsub qword [0x546998]
fstp qword [ebp - 0x98]
fld qword [ebp - 0x98]
fstp qword [ebp - 0x1c]
fld dword [ebp - 0x28]
fsub dword [ebp - 0x40]
fcomp qword [0x546988]
fnstsw ax
test ah, 5
jp 0x47c4c9
fld dword [ebp - 0x28]
fchs
fsub dword [ebp - 0x40]
fstp qword [ebp - 0xa0]
jmp 0x47c4d5
fld dword [ebp - 0x28]
fsub dword [ebp - 0x40]
fstp qword [ebp - 0xa0]
fld qword [ebp - 0xa0]
fstp qword [ebp - 0x34]
fld qword [ebp - 0x34]
fcomp qword [ebp - 0x1c]
fnstsw ax
test ah, 0x41
jne 0x47c51e
mov dword [ebp - 0x80], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00458690
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004070b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004070b0
mov eax, dword [ebp - 0x80]
jmp 0x47c569
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00404380
fld dword [ebp - 0x28]
mov ecx, dword [ebp + 0x18]
fstp qword [ecx]
mov dword [ebp - 0x84], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.00458690
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.004070b0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.004070b0
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14