def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("Image", default="").endswith("\\regsvr32.exe"),
                    event.deep_get("OriginalFileName", default="") == "REGSVR32.EXE",
                ]
            ),
            any(
                [
                    " /i:http://1" in event.deep_get("CommandLine", default=""),
                    " /i:http://2" in event.deep_get("CommandLine", default=""),
                    " /i:http://3" in event.deep_get("CommandLine", default=""),
                    " /i:http://4" in event.deep_get("CommandLine", default=""),
                    " /i:http://5" in event.deep_get("CommandLine", default=""),
                    " /i:http://6" in event.deep_get("CommandLine", default=""),
                    " /i:http://7" in event.deep_get("CommandLine", default=""),
                    " /i:http://8" in event.deep_get("CommandLine", default=""),
                    " /i:http://9" in event.deep_get("CommandLine", default=""),
                    " /i:https://1" in event.deep_get("CommandLine", default=""),
                    " /i:https://2" in event.deep_get("CommandLine", default=""),
                    " /i:https://3" in event.deep_get("CommandLine", default=""),
                    " /i:https://4" in event.deep_get("CommandLine", default=""),
                    " /i:https://5" in event.deep_get("CommandLine", default=""),
                    " /i:https://6" in event.deep_get("CommandLine", default=""),
                    " /i:https://7" in event.deep_get("CommandLine", default=""),
                    " /i:https://8" in event.deep_get("CommandLine", default=""),
                    " /i:https://9" in event.deep_get("CommandLine", default=""),
                    " -i:http://1" in event.deep_get("CommandLine", default=""),
                    " -i:http://2" in event.deep_get("CommandLine", default=""),
                    " -i:http://3" in event.deep_get("CommandLine", default=""),
                    " -i:http://4" in event.deep_get("CommandLine", default=""),
                    " -i:http://5" in event.deep_get("CommandLine", default=""),
                    " -i:http://6" in event.deep_get("CommandLine", default=""),
                    " -i:http://7" in event.deep_get("CommandLine", default=""),
                    " -i:http://8" in event.deep_get("CommandLine", default=""),
                    " -i:http://9" in event.deep_get("CommandLine", default=""),
                    " -i:https://1" in event.deep_get("CommandLine", default=""),
                    " -i:https://2" in event.deep_get("CommandLine", default=""),
                    " -i:https://3" in event.deep_get("CommandLine", default=""),
                    " -i:https://4" in event.deep_get("CommandLine", default=""),
                    " -i:https://5" in event.deep_get("CommandLine", default=""),
                    " -i:https://6" in event.deep_get("CommandLine", default=""),
                    " -i:https://7" in event.deep_get("CommandLine", default=""),
                    " -i:https://8" in event.deep_get("CommandLine", default=""),
                    " -i:https://9" in event.deep_get("CommandLine", default=""),
                ]
            ),
        ]
    ):
        return True
    return False
