def rule(event):
    if all(
        [
            event.deep_get("ImageLoaded", default="").endswith("\\mfdetours.dll"),
            not all(
                [
                    ":\\Program Files (x86)\\Windows Kits\\10\\bin\\"
                    in event.deep_get("ImageLoaded", default=""),
                    event.deep_get("SignatureStatus", default="") == "Valid",
                ]
            ),
        ]
    ):
        return True
    return False
