def rule(event):
    if all(
        [
            event.deep_get("Image", default="").startswith(":\\Program Files"),
            "\\Microsoft Visual Studio\\" in event.deep_get("Image", default=""),
            event.deep_get("Image", default="").endswith("\\dump64.exe"),
            any(
                [
                    event.deep_get("OriginalFileName", default="") == "procdump",
                    any(
                        [
                            " -ma " in event.deep_get("CommandLine", default=""),
                            " -mp " in event.deep_get("CommandLine", default=""),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
