you might be interested on this
http://pastie.org/857018/wrap
this is AFAIK the source code for ebook_msc.exe part of the russification thing... so far I couldn't find the included libgen.h ...
I also think should be a way to start a session via USB probably it's just a matter of completely understand what MSCEncComm.dll & USBDLL.dll are able to do...