Function at 0x47d470
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527e20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x94
mov dword [ebp - 0x88], ecx
call fcn.00432d80
mov ecx, eax
call fcn.00432e80
fstp dword [ebp - 0x40]
fld dword [ebp - 0x40]
fcomp qword [0x5414d0]
fnstsw ax
test ah, 0x44
jp 0x47d4ba
xor eax, eax
jmp 0x47d889
lea eax, [ebp - 0x3c]
push eax
call fcn.00432d80
mov ecx, eax
call fcn.0047ce30
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x3c]
call fcn.004084c0
movzx ecx, al
test ecx, ecx
je 0x47d4fe
mov dword [ebp - 0x68], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0040c650
mov eax, dword [ebp - 0x68]
jmp 0x47d889
lea ecx, [ebp - 0x10]
call fcn.0040c630
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.0040bc40
add esp, 0x28
lea ecx, [ebp - 0x10]
call fcn.00423af0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47d590
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.00408510
mov dword [ebp - 0x6c], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040c650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0040c650
mov eax, dword [ebp - 0x6c]
jmp 0x47d889
call fcn.00432d80
mov ecx, eax
call fcn.00433360
mov dword [ebp - 0x38], eax
mov ecx, dword [ebp - 0x38]
call fcn.004513c0
movzx ecx, al
test ecx, ecx
je 0x47d5d8
mov dword [ebp - 0x70], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040c650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0040c650
mov eax, dword [ebp - 0x70]
jmp 0x47d889
lea ecx, [ebp - 0x28]
call fcn.0047d440
mov byte [ebp - 4], 2
lea edx, [ebp - 0x48]
push edx
mov ecx, dword [ebp - 0x38]
call fcn.0040c230
jmp 0x47d5fa
lea ecx, [ebp - 0x48]
call fcn.00487d00
lea eax, [ebp - 0x78]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.0041b1b0
push eax
lea ecx, [ebp - 0x48]
call fcn.00428960
movzx ecx, al
test ecx, ecx
je 0x47d73f
lea ecx, [ebp - 0x48]
call fcn.0045e090
fld qword [eax]
fstp qword [ebp - 0x64]
fld dword [ebp - 0x40]
fcomp qword [ebp - 0x64]
fnstsw ax
test ah, 0x44
jnp 0x47d640
fld1
fcomp qword [ebp - 0x64]
fnstsw ax
test ah, 1
jne 0x47d642
jmp 0x47d5f2
lea ecx, [ebp - 0x58]
call fcn.0040c630
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.0040bc40
add esp, 0x28
lea ecx, [ebp - 0x58]
call fcn.00423af0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x47d6a7
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0040c650
jmp 0x47d5f2
fld dword [ebp - 0x40]
fsubr qword [ebp - 0x64]
fcomp qword [0x5414c0]
fnstsw ax
test ah, 5
jp 0x47d6ca
fld qword [ebp - 0x64]
fchs
fsub dword [ebp - 0x40]
fstp qword [ebp - 0x90]
jmp 0x47d6d6
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 [0x5414c0]
fnstsw ax
test ah, 0x44
jnp 0x47d716
fld dword [ebp - 0x20]
fcomp qword [ebp - 0x54]
fnstsw ax
test ah, 0x41
je 0x47d716
fld dword [ebp - 0x20]
fcomp qword [ebp - 0x54]
fnstsw ax
test ah, 0x44
jp 0x47d72e
fld dword [ebp - 0x28]
fcomp qword [ebp - 0x64]
fnstsw ax
test ah, 5
jp 0x47d72e
fld qword [ebp - 0x64]
fstp dword [ebp - 0x28]
lea edx, [ebp - 0x58]
push edx
lea ecx, [ebp - 0x24]
call fcn.00408510
fld qword [ebp - 0x54]
fstp dword [ebp - 0x20]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x58]
call fcn.0040c650
jmp 0x47d5f2
fld dword [ebp - 0x28]
fcomp qword [0x5414c0]
fnstsw ax
test ah, 0x44
jp 0x47d785
mov dword [ebp - 0x7c], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0045ab20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040c650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0040c650
mov eax, dword [ebp - 0x7c]
jmp 0x47d889
fld dword [ebp - 0x40]
fsub qword [0x5414d0]
fcomp qword [0x5414c0]
fnstsw ax
test ah, 5
jp 0x47d7ae
fld dword [ebp - 0x40]
fchs
fsub qword [0x5414d0]
fstp qword [ebp - 0x98]
jmp 0x47d7bd
fld dword [ebp - 0x40]
fsub qword [0x5414d0]
fstp qword [ebp - 0x98]
fld qword [ebp - 0x98]
fstp qword [ebp - 0x1c]
fld dword [ebp - 0x28]
fsub dword [ebp - 0x40]
fcomp qword [0x5414c0]
fnstsw ax
test ah, 5
jp 0x47d7e9
fld dword [ebp - 0x28]
fchs
fsub dword [ebp - 0x40]
fstp qword [ebp - 0xa0]
jmp 0x47d7f5
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 0x47d83e
mov dword [ebp - 0x80], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x28]
call fcn.0045ab20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040c650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0040c650
mov eax, dword [ebp - 0x80]
jmp 0x47d889
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp + 0x14]
call fcn.00408510
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.0045ab20
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040c650
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0040c650
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 0x14