Hiho.
Recently I found that exist reference to function that is just retn.


I managed to insert there my function from dll and parse the arguments.



To find this function you should search for "Verbindungszustand".
To obtain console i modified "Subsystem" from 2 to 3 in header of PE.

Question is how to handle all references? Because there are different quantity of args and represents different things in other calls.
Source: http://qbazzz.c0.pl/debugconsole/tib...sole-source.7z