def rule(event):
    if all(
        [
            event.deep_get("ParentImage", default="").endswith("\\fodhelper.exe"),
            any(
                [
                    event.deep_get("Image", default="").endswith("\\rundll32.exe"),
                    event.deep_get("Image", default="").endswith("\\regsvr32.exe"),
                ]
            ),
            "odbcconf.exe" in event.deep_get("CommandLine", default=""),
            "regsvr" in event.deep_get("CommandLine", default=""),
            "shellexec_rundll" in event.deep_get("CommandLine", default=""),
            any(
                [
                    "installdriver" in event.deep_get("CommandLine", default=""),
                    "setfiledsndir" in event.deep_get("CommandLine", default=""),
                    "vkipdse" in event.deep_get("CommandLine", default=""),
                ]
            ),
            any(
                [
                    any(
                        [
                            event.deep_get("CommandLine", default="").endswith("-a"),
                            event.deep_get("CommandLine", default="").endswith("/a"),
                            event.deep_get("CommandLine", default="").endswith("–a"),
                            event.deep_get("CommandLine", default="").endswith("—a"),
                            event.deep_get("CommandLine", default="").endswith("―a"),
                        ]
                    ),
                    any(
                        [
                            event.deep_get("CommandLine", default="").endswith("-f"),
                            event.deep_get("CommandLine", default="").endswith("/f"),
                            event.deep_get("CommandLine", default="").endswith("–f"),
                            event.deep_get("CommandLine", default="").endswith("—f"),
                            event.deep_get("CommandLine", default="").endswith("―f"),
                        ]
                    ),
                    any(
                        [
                            event.deep_get("CommandLine", default="").endswith("-s"),
                            event.deep_get("CommandLine", default="").endswith("/s"),
                            event.deep_get("CommandLine", default="").endswith("–s"),
                            event.deep_get("CommandLine", default="").endswith("—s"),
                            event.deep_get("CommandLine", default="").endswith("―s"),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
