I'm writing a bot for a blackjack program. I need to detect when the game has completed animation and buttons are present on the screen. (don't want to click before buttons present).

The animation is not done in the main thread. I've found the animation thread by suspending each thread in turn and monitoring the results. How do I view the code for this particular thread ? In the threads tab, right clicking the thread and selecting 'Open in DSM' just sends me to NTDLL.DLL