There is no way to extract the code, the programs you speak of modify the variables and signals, which are received, but you cannot know the code in any way, in fact, if it could be known, the proprietary code would not exist, and there would not even be movements like Free Software, which is about not hiding the code. That's all I have to say.