def rule(event):
    if all(
        [
            "regsvr32" in event.deep_get("CommandLine", default=""),
            "/s" in event.deep_get("CommandLine", default=""),
            "/i" in event.deep_get("CommandLine", default=""),
            "\\AppData\\Roaming\\" in event.deep_get("CommandLine", default=""),
            ".ocx" in event.deep_get("CommandLine", default=""),
        ]
    ):
        return True
    return False
