def rule(event):
    if any(
        [
            all(
                [
                    "copy SolidPDFCreator.dll" in event.deep_get("CommandLine", default=""),
                    "C:\\Users\\Public\\Libraries\\PhotoTvRHD\\SolidPDFCreator.dll"
                    in event.deep_get("CommandLine", default=""),
                ]
            ),
            all(
                [
                    "reg " in event.deep_get("CommandLine", default=""),
                    "\\Windows\\CurrentVersion\\Run" in event.deep_get("CommandLine", default=""),
                    "SolidPDF" in event.deep_get("CommandLine", default=""),
                    "C:\\Users\\Public\\Libraries\\PhotoTvRHD\\"
                    in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
