Move GFXHack.asi out of your game folder (or scripts folder) and try launching the game.
sfc /scannow
Range Check Error ERangeError - RTL and Delphi Object Pascal Exception Erangeerror In Module Gfxhack.asi At 00007e9c