import re


def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\regini.exe"),
                    event.deep_get("OriginalFileName", default="") == "REGINI.EXE",
                ]
            ),
            re.match(r":[^ \\\\]", event.deep_get("CommandLine", default="")),
        ]
    ):
        return True
    return False
