import re


def rule(event):
    if re.match(
        r"\\\\AppData\\\\Local\\\\Temp\\\\dat[0-9A-Z]{4}\\.tmp",
        event.deep_get("ImageLoaded", default=""),
    ):
        return True
    return False
