Function at 0x560290
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5b0141
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push esi
push edi
mov eax, dword [0x616040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov esi, dword [ebp + 0x10]
xor ebx, ebx
mov ecx, esi
call fcn.0058b550
cmp eax, 0x10e2
je 0x56031e
push esi
mov esi, dword [ebp + 0x14]
mov ecx, esi
call fcn.004032d0
mov eax, 0x128e
mov dword [esi + 4], 0xffffffff
mov word [esi + 0x18], ax
xor eax, eax
mov dword [esi + 8], 0xffffffff
mov dword [esi + 0xc], 0xffffffff
mov dword [esi + 0x10], 0xffffffff
mov dword [esi + 0x14], 0xffffffff
mov byte [esi + 0x1a], bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
mov dword [ebp - 4], 0
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x560350
push 0x60bae4
lea eax, [ebp - 0x1c]
mov dword [0x621f14], 0x9ca05
push eax
mov dword [ebp - 0x1c], 0xd50
call fcn.0052d791
mov edi, dword [ebp + 0xc]
push edi
push 3
push ecx
push 0
call fcn.0055e9d0
test al, al
jne 0x560377
push 0x60bae4
lea eax, [ebp - 0x20]
mov dword [ebp - 0x20], 0xd55
push eax
call fcn.0052d791
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], 0
push eax
call dword [sym.imp.SUCMLIB.dll_Ordinal_80]
xor ecx, ecx
cmp edi, 0x9fbf1
jne 0x560397
mov ecx, 1
mov eax, dword [0x621a24]
test eax, eax
je 0x5603ae
push 2
push dword [ebp - 0x18]
push dword [ecx*4 + 0x621ebc]
call eax
mov ecx, dword [ebp - 0x18]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [ebp - 0x18]
push 0x10ed
push eax
mov edx, dword [ecx]
call dword [edx + 0x68]
push dword [ebp - 0x18]
call dword [0x62199c]
test al, al
lea eax, [ebp - 0x18]
push eax
jne 0x5603f0
call dword [sym.imp.SUCMLIB.dll_Ordinal_82]
push 0x60bae4
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0xd63
push eax
call fcn.0052d791
call dword [sym.imp.SUCMLIB.dll_Ordinal_82]
lea eax, [ebp - 0x14]
mov byte [ebp + 0x13], 0xff
push eax
mov dword [ebp - 0x14], 0
call dword [sym.imp.SUCMLIB.dll_Ordinal_73]
mov ecx, dword [ebp - 0x14]
push dword [esi]
mov eax, dword [ecx]
call dword [eax + 0x1c]
lea eax, [ebp + 0x13]
push eax
push 1
push dword [ebp - 0x14]
call dword [0x621974]
test al, al
jne 0x560447
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.SUCMLIB.dll_Ordinal_76]
push 0x60bae4
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0xd72
push eax
call fcn.0052d791
push esi
mov esi, dword [ebp + 0x14]
mov ecx, esi
call fcn.004032d0
mov ecx, dword [ebp - 0x14]
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov edi, eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
imul eax, dword [edi + 8]
mov dword [esi + 4], eax
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov edi, eax
mov edx, dword [ecx]
call dword [edx + 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 0xc]
imul eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [esi + 0xc], eax
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov dword [esi + 0x10], eax
mov eax, dword [ecx]
call dword [eax + 4]
fld qword [eax + 0x10]
call fcn.0052ea60
mov dword [esi + 0x14], eax
mov eax, 0x128e
mov word [esi + 0x18], ax
lea eax, [ebp - 0x14]
push eax
mov byte [esi + 0x1a], 0
call dword [sym.imp.SUCMLIB.dll_Ordinal_76]
jmp 0x5604f5
sub esp, 8
mov dword [ebp - 4], 0xffffffff
push dword [ebp + 8]
call fcn.0055e970
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10