import re


def rule(event):
    if all(
        [
            event.deep_get("Image", default="").endswith("\\rundll32.exe"),
            any(
                [
                    ":\\ProgramData" in event.deep_get("ImageLoaded", default=""),
                    "\\AppData\\Local\\" in event.deep_get("ImageLoaded", default=""),
                ]
            ),
            re.match(r"[a-zA-Z]{5,6}\\.wll", event.deep_get("ImageLoaded", default="")),
        ]
    ):
        return True
    return False
