// Detect It Easy: detection rule file format
includeScript("FPC");

init("library", "LCL");

function detect(bShowType, bShowVersion, bShowOptions) {
    if (bFPC) {
        var nSize = PE.isOverlayPresent() ? PE.getOverlayOffset() : PE.getSize();
        var nOffset = PE.findString(0, nSize, "LCLVersion");
        if (nOffset != -1) {
            sVersion = PE.getString(nOffset + 12);
            bDetected = true;
        }
    }

    return result(bShowType, bShowVersion, bShowOptions);
}