def METHOD_NAME(context: Context, url: str, name: str, attributes: dict):
    company = context.make("Company")
    identification = [COUNTRY, name]
    company.add("sourceUrl", url)
    company.add("name", name)
    if "data-inregistrarii" in attributes:
        founded = parse_date(attributes.pop("data-inregistrarii"))
        identification.append(founded)
        company.add("incorporationDate", founded)
    country = attributes.pop("tara", "").split(",")[0]
    company.add("mainCountry", country)
    if "numar-de-identificare" in attributes:
        regno = attributes.pop("numar-de-identificare")
        identification.append(regno)
        company.add("registrationNumber", regno)
    if attributes:
        context.log.info(f"More info to be added to {name}", attributes, url)
    company.id = context.make_id(*identification)
    return company