def rule(event):
    if all(
        [
            event.deep_get("ImageLoaded", default="").endswith("\\EACore.dll"),
            not all(
                [
                    "C:\\Program Files\\Electronic Arts\\EA Desktop\\"
                    in event.deep_get("Image", default=""),
                    "\\EACoreServer.exe" in event.deep_get("Image", default=""),
                    event.deep_get("ImageLoaded", default="").startswith(
                        "C:\\Program Files\\Electronic Arts\\EA Desktop\\"
                    ),
                ]
            ),
        ]
    ):
        return True
    return False
