def rule(event):
    if all(
        [
            event.deep_get("ImageLoaded", default="").endswith("\\goopdate.dll"),
            not any(
                [
                    event.deep_get("ImageLoaded", default="").startswith(
                        "C:\\Program Files (x86)\\"
                    ),
                    event.deep_get("ImageLoaded", default="").startswith("C:\\Program Files\\"),
                ]
            ),
            not any(
                [
                    all(
                        [
                            "\\AppData\\Local\\Temp\\GUM" in event.deep_get("Image", default=""),
                            ".tmp\\Dropbox" in event.deep_get("Image", default=""),
                            "\\AppData\\Local\\Temp\\GUM"
                            in event.deep_get("ImageLoaded", default=""),
                            ".tmp\\goopdate.dll" in event.deep_get("ImageLoaded", default=""),
                        ]
                    ),
                    all(
                        [
                            any(
                                [
                                    "\\AppData\\Local\\Temp\\GUM"
                                    in event.deep_get("Image", default=""),
                                    ":\\Windows\\SystemTemp\\GUM"
                                    in event.deep_get("Image", default=""),
                                ]
                            ),
                            event.deep_get("Image", default="").endswith(".tmp\\GoogleUpdate.exe"),
                            any(
                                [
                                    "\\AppData\\Local\\Temp\\GUM"
                                    in event.deep_get("ImageLoaded", default=""),
                                    ":\\Windows\\SystemTemp\\GUM"
                                    in event.deep_get("ImageLoaded", default=""),
                                ]
                            ),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
