Praise be to Allah.
If an employee develops a program for a company, then ownership of the program belongs to the company, but he can stipulate that his efforts be acknowledged, by mentioning his name and the work he did on the program.
If the company did not give you your rights, then you worked on development of the program for an additional payment, which has not been given to you, then all of that is a debt that is owed by the company, and you may try to obtain it by legitimate means, which includes referring the matter to the courts.
With regard to ownership of the programs, it remains with the company and does not pass from the company to you as a result of their delay in giving you your dues.
But if you cannot get what you are entitled to, after going through legitimate means, it is permissible for you to sell the programs as much as will allow you to recover what you are owed, without going beyond that. This is what is known to the scholars as mas’alat az-zafar (the opportunity to salvage what one is owed), on condition that you do not expose yourself to accusations of theft.
Ibn al-Mulaqqin (may Allah have mercy on him) said: If someone is owed something by someone else, and he is unable to obtain it, it is permissible for him to take from him as much as he is entitled to, without his permission and without asking him. This is the view of ash-Shaafa‘i and his companions; it is called mas’alat az-zafar (the opportunity to salvage what one is owed).
Abu Haneefah and Maalik did not allow that, as was narrated by an-Nawawi in his commentary on Muslim.
Al-Qurtubi said: This view is well known in the madhhab of Maalik.
It was narrated from Abu Haneefah that he may take wealth of the same type as what he is entitled to, but he should not take anything else, unless he is taking dirhams (silver coins) instead of dinars (gold coins), or vice versa.
It was narrated from Ahmad that he should not take wealth of the same type or otherwise.
It was narrated from Maalik that if the debtor does not have any other debt [i.e., to someone other than the person to whom this is owed], then he may take it, but if he does owe other debts, he should not take anything except an amount proportionate to what he is owed.
Al-Maaziri narrated three views from Maalik, the third of which is that it is permissible for the one who has the opportunity to take something of the same nature as what he is owed to do so, otherwise it is not.
End quote from al-I‘laam bi Fawaa’id ‘Umdat al-Ahkaam (10/17),
This issue and the conditions pertaining to it have been discussed previously in the answer to question no. 171676.
And Allah knows best.