def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\gup.exe"),
            event.deep_get("ImageLoaded", default="").endswith("\\libcurl.dll"),
            not event.deep_get("Image", default="").endswith("\\Notepad++\\updater\\GUP.exe"),
        ]
    ):
        return True
    return False
