Function at 0x5684c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x7b86a7
mov eax, dword fs:[0]
push eax
sub esp, 0x34
mov eax, dword [0x89b044]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], ecx
lea eax, [ebp - 0x18]
push eax
call fcn.00615af0
add esp, 4
mov dword [ebp - 4], 0
push 0x7f75c4
push 0x7f75c8
push 0x7f75e8
push reloc.OLEAUT32.dll_SysReAllocString
lea ecx, [ebp - 0x20]
push ecx
call fcn.00618c30
add esp, 0x14
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00403b90
movzx edx, al
test edx, edx
jne 0x5685b9
push 0
push str.retry_fix_f3d_after_days
call fcn.00422de0
mov ecx, eax
call fcn.0041b960
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x5685b9
mov eax, dword [ebp - 0x24]
imul eax, eax, 0x18
imul eax, eax, 0x3c
imul eax, eax, 0x3c
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x20]
call fcn.00405e80
push eax
lea ecx, [ebp - 0x18]
call fcn.00405e80
push eax
call fcn.00615ee0
add esp, 8
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x30], edx
mov eax, dword [ebp - 0x28]
cdq
mov dword [ebp - 0x40], eax
mov dword [ebp - 0x3c], edx
mov ecx, dword [ebp - 0x30]
cmp ecx, dword [ebp - 0x3c]
jg 0x5685b9
jl 0x568599
mov edx, dword [ebp - 0x34]
cmp edx, dword [ebp - 0x40]
jae 0x5685b9
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00405ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00405ef0
jmp 0x568774
lea ecx, [ebp - 0x18]
call fcn.00405e80
push eax
push str.InstallFancy3D
push 0x7f765c
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.0060f8a0
add esp, 0x10
lea eax, [ebp - 0x1c]
push eax
call fcn.00568c50
add esp, 4
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
push ecx
call fcn.00568af0
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x14]
call fcn.00405e80
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x568644
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00405ef0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00405ef0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00405ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00405ef0
jmp 0x568774
lea edx, [ebp - 0x14]
push edx
lea eax, [ebp - 0x10]
push eax
call fcn.00618340
add esp, 8
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x10]
call fcn.00403b90
movzx ecx, al
test ecx, ecx
je 0x5686ab
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00405ef0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00405ef0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00405ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00405ef0
jmp 0x568774
lea ecx, [ebp - 0x1c]
call fcn.00405e80
push eax
lea ecx, [ebp - 0x10]
call fcn.00405e80
push eax
call fcn.00618570
add esp, 8
test eax, eax
jg 0x56870a
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00405ef0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00405ef0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00405ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00405ef0
jmp 0x568774
lea ecx, [ebp - 0x10]
call fcn.00406470
push eax
lea ecx, [ebp - 0x1c]
call fcn.00406470
push eax
push str.CGameDoctorCtrl::_TryInstallFancy3D_from_s__to_s
call fcn.00609080
add esp, 0xc
lea edx, [ebp - 0x14]
push edx
call fcn.00567bd0
add esp, 4
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x10]
call fcn.00405ef0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.00405ef0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
call fcn.00405ef0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.00405ef0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.00405ef0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret