It probably depends on the local laws, but here in France, such a company would employ you and pay all the taxes that go with your employment contract, like social security, health insurance, unemployment, etc.
Unemployment benefits are paid by the state, through the taxes that are levied on those who are employed.