OllyDbg -> Attach to HGWC -> View HGWC -> Search for ... All referenced text strings
Then just look for strings which are important for your purpose..
Example for Filedetection:
You can also take a look at

.. I've included the source..
//Edit: But remember to take a look at the keepalives / threads.