Function at 0x422c10
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x60f4db
mov eax, dword fs:[0]
push eax
mov eax, 0x144c
call fcn.00537800
mov eax, dword [0x68e4d8]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x142c], ecx
call fcn.0042a530
mov ecx, eax
call fcn.0042b730
mov dword [ebp - 0x1428], eax
mov dword [ebp - 0x1424], 1
mov dword [ebp - 0x1448], 0x104
push 0x208
push 0
lea eax, [ebp - 0x218]
push eax
call fcn.0058abd0
add esp, 0xc
push 0x104
lea ecx, [ebp - 0x218]
push ecx
mov edx, dword [ebp - 0x1428]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1428]
mov edx, dword [eax + 0x18]
call edx
lea eax, [ebp - 0x218]
push eax
mov ecx, dword [ebp - 0x142c]
add ecx, 8
call fcn.0040aac0
mov dword [ebp - 0x1430], 0
push 0x208
push 0
lea ecx, [ebp - 0x420]
push ecx
call fcn.0058abd0
add esp, 0xc
mov dword [ebp - 0x143c], 0
mov dword [ebp - 0x1438], 0
mov dword [ebp - 0x1434], 0
lea edx, [ebp - 0x1434]
push edx
lea eax, [ebp - 0x1438]
push eax
lea ecx, [ebp - 0x143c]
push ecx
push 0x104
lea edx, [ebp - 0x420]
push edx
mov eax, dword [ebp - 0x1428]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1428]
mov eax, dword [edx + 8]
call eax
test eax, eax
je 0x422e4c
cmp dword [ebp - 0x1434], 0
jne 0x422d3a
jmp 0x422cf3
push 1
lea ecx, [ebp - 0x1420]
call fcn.00416310
push 1
lea ecx, [ebp - 0xc20]
call fcn.00416310
lea ecx, [ebp - 0x420]
push ecx
lea edx, [ebp - 0x218]
push edx
lea ecx, [ebp - 0xc20]
call fcn.004162d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea eax, [ebp - 0x420]
push eax
mov ecx, dword [ebp - 0x142c]
add ecx, 4
call fcn.0040f070
push eax
lea ecx, [ebp - 0x1420]
call fcn.004162d0
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0xc20]
call fcn.004162f0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x422dc1
mov dword [ebp - 0x1424], 0
jmp 0x422cf3
lea ecx, [ebp - 0xc20]
call fcn.004162f0
push eax
call fcn.005198c0
add esp, 4
lea ecx, [ebp - 0x1420]
call fcn.004162f0
push eax
lea ecx, [ebp - 0xc20]
call fcn.004162f0
push eax
mov ecx, dword [ebp - 0x142c]
call fcn.00422f00
and eax, dword [ebp - 0x1424]
mov dword [ebp - 0x1424], eax
mov ecx, dword [ebp - 0x1430]
add ecx, 1
mov dword [ebp - 0x1430], ecx
cvtsi2ss xmm0, dword [ebp - 0x1430]
cvtsi2ss xmm1, dword [ebp - 0x1438]
divss xmm0, xmm1
mulss xmm0, dword [0x663ce4]
addss xmm0, dword [0x663ce0]
cvttss2si edx, xmm0
push edx
mov ecx, dword [ebp - 0x142c]
call fcn.00423c90
jmp 0x422cf3
mov ecx, dword [ebp - 0x142c]
call fcn.00423e50
mov eax, dword [ebp - 0x1428]
mov edx, dword [eax]
mov ecx, dword [ebp - 0x1428]
mov eax, dword [edx + 0x14]
call eax
and eax, dword [ebp - 0x1424]
mov dword [ebp - 0x1424], eax
mov ecx, dword [ebp - 0x1424]
push ecx
mov edx, dword [ebp - 0x142c]
push edx
push 0x423b80
lea eax, [ebp - 0x1458]
push eax
call fcn.004267a0
add esp, 0x10
mov dword [ebp - 0x1440], eax
mov ecx, dword [ebp - 0x1440]
mov dword [ebp - 0x1444], ecx
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x1444]
push edx
call fcn.00529710
add esp, 4
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1458]
call fcn.00424650
mov eax, dword [ebp - 0x1424]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005367cc
mov esp, ebp
pop ebp
ret