So I'm learning Reverse Engineering / Software cracking. I have a program that I am practicing on that requires a dongle in order for the program to start.
From looking through the disassembly of the program I figured out that at some point of the execution the program is calling winscard.dll When the dongle is inserted, in Windows it comes up as a smart card reader.
When there is no dongle inserted, the software gives you a MessageBox stating The dongle not found. I've found this execution point in user32.dll, but I can't figure out at which point does the main software call this.
I'd like to be able to figure out at what point does the software call winscard.dll and what it's looking for as a return. I've tried to figure this out with Ollydbg and also IDA Pro.
Any help for someone trying to learn would be great.