def rule(event):
    if any(
        [
            all(
                [
                    event.deep_get("ImageLoaded", default="").endswith("\\log.dll"),
                    not any(
                        [
                            any(
                                [
                                    event.deep_get("ImageLoaded", default="").startswith(
                                        "C:\\Program Files\\Bitdefender Antivirus Free\\"
                                    ),
                                    event.deep_get("ImageLoaded", default="").startswith(
                                        "C:\\Program Files (x86)\\Bitdefender Antivirus Free\\"
                                    ),
                                ]
                            ),
                            all(
                                [
                                    event.deep_get("Image", default="")
                                    == "C:\\Program Files\\Dell\\SARemediation\\audit\\TelemetryUtility.exe",
                                    event.deep_get("ImageLoaded", default="")
                                    in [
                                        "C:\\Program Files\\Dell\\SARemediation\\plugin\\log.dll",
                                        "C:\\Program Files\\Dell\\SARemediation\\audit\\log.dll",
                                    ],
                                ]
                            ),
                            event.deep_get("ImageLoaded", default="").startswith(
                                "C:\\Program Files\\Canon\\MyPrinter\\"
                            ),
                            event.deep_get("ImageLoaded", default="")
                            in [
                                "C:\\Program Files\\AVAST Software\\Avast\\log.dll",
                                "C:\\Program Files (x86)\\AVAST Software\\Avast\\log.dll",
                            ],
                            event.deep_get("ImageLoaded", default="")
                            in [
                                "C:\\Program Files\\AVG\\Antivirus\\log.dll",
                                "C:\\Program Files (x86)\\AVG\\Antivirus\\log.dll",
                            ],
                        ]
                    ),
                ]
            ),
            all(
                [
                    event.deep_get("ImageLoaded", default="").endswith("\\qrt.dll"),
                    not any(
                        [
                            event.deep_get("ImageLoaded", default="").startswith(
                                "C:\\Program Files\\F-Secure\\Anti-Virus\\"
                            ),
                            event.deep_get("ImageLoaded", default="").startswith(
                                "C:\\Program Files (x86)\\F-Secure\\Anti-Virus\\"
                            ),
                        ]
                    ),
                ]
            ),
            all(
                [
                    any(
                        [
                            event.deep_get("ImageLoaded", default="").endswith("\\ashldres.dll"),
                            event.deep_get("ImageLoaded", default="").endswith("\\lockdown.dll"),
                            event.deep_get("ImageLoaded", default="").endswith("\\vsodscpl.dll"),
                        ]
                    ),
                    not any(
                        [
                            event.deep_get("ImageLoaded", default="").startswith(
                                "C:\\Program Files\\McAfee\\"
                            ),
                            event.deep_get("ImageLoaded", default="").startswith(
                                "C:\\Program Files (x86)\\McAfee\\"
                            ),
                        ]
                    ),
                ]
            ),
            all(
                [
                    event.deep_get("ImageLoaded", default="").endswith("\\vftrace.dll"),
                    not any(
                        [
                            event.deep_get("ImageLoaded", default="").startswith(
                                "C:\\Program Files\\CyberArk\\Endpoint Privilege Manager\\Agent\\x32\\"
                            ),
                            event.deep_get("ImageLoaded", default="").startswith(
                                "C:\\Program Files (x86)\\CyberArk\\Endpoint Privilege Manager\\Agent\\x32\\"
                            ),
                        ]
                    ),
                ]
            ),
            all(
                [
                    event.deep_get("ImageLoaded", default="").endswith("\\wsc.dll"),
                    not any(
                        [
                            any(
                                [
                                    event.deep_get("ImageLoaded", default="").startswith(
                                        "C:\\program Files\\AVAST Software\\Avast\\"
                                    ),
                                    event.deep_get("ImageLoaded", default="").startswith(
                                        "C:\\program Files (x86)\\AVAST Software\\Avast\\"
                                    ),
                                ]
                            ),
                            any(
                                [
                                    event.deep_get("ImageLoaded", default="").startswith(
                                        "C:\\Program Files\\AVG\\Antivirus\\"
                                    ),
                                    event.deep_get("ImageLoaded", default="").startswith(
                                        "C:\\Program Files (x86)\\AVG\\Antivirus\\"
                                    ),
                                ]
                            ),
                        ]
                    ),
                ]
            ),
            all(
                [
                    event.deep_get("ImageLoaded", default="").endswith("\\tmdbglog.dll"),
                    not any(
                        [
                            event.deep_get("ImageLoaded", default="").startswith(
                                "C:\\program Files\\Trend Micro\\Titanium\\"
                            ),
                            event.deep_get("ImageLoaded", default="").startswith(
                                "C:\\program Files (x86)\\Trend Micro\\Titanium\\"
                            ),
                        ]
                    ),
                ]
            ),
            all(
                [
                    event.deep_get("ImageLoaded", default="").endswith("\\DLPPREM32.dll"),
                    not any(
                        [
                            event.deep_get("ImageLoaded", default="").startswith(
                                "C:\\program Files\\ESET"
                            ),
                            event.deep_get("ImageLoaded", default="").startswith(
                                "C:\\program Files (x86)\\ESET"
                            ),
                        ]
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
