def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\chcp.com"),
            any(
                [
                    event.deep_get("CommandLine", default="").endswith(" 936"),
                    event.deep_get("CommandLine", default="").endswith(" 1258"),
                ]
            ),
        ]
    ):
        return True
    return False
