def rule(event):
    if any(
        [
            all(
                [
                    any(
                        [
                            event.deep_get("Image", default="").endswith("\\rundll32.exe"),
                            event.deep_get("OriginalFileName", default="") == "RUNDLL32.EXE",
                            "rundll32" in event.deep_get("CommandLine", default=""),
                        ]
                    ),
                    "comsvcs" in event.deep_get("CommandLine", default=""),
                    "full" in event.deep_get("CommandLine", default=""),
                    any(
                        [
                            "#-" in event.deep_get("CommandLine", default=""),
                            "#+" in event.deep_get("CommandLine", default=""),
                            "#24" in event.deep_get("CommandLine", default=""),
                            "24 " in event.deep_get("CommandLine", default=""),
                            "MiniDump" in event.deep_get("CommandLine", default=""),
                            "#65560" in event.deep_get("CommandLine", default=""),
                        ]
                    ),
                ]
            ),
            all(
                [
                    "24" in event.deep_get("CommandLine", default=""),
                    "comsvcs" in event.deep_get("CommandLine", default=""),
                    "full" in event.deep_get("CommandLine", default=""),
                    any(
                        [
                            " #" in event.deep_get("CommandLine", default=""),
                            ",#" in event.deep_get("CommandLine", default=""),
                            ", #" in event.deep_get("CommandLine", default=""),
                            '"#' in event.deep_get("CommandLine", default=""),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
