I've copied and pasted the main routine found in this crackme which is
the protection scheme, the heart of the crackme. In the next section, I'll
go into the explanation of some of the lines.
Private Sub Command1_Click()
On Error GoTo err
If Text1.Text = "Enter the Code..." Then
Text1.Text = "You have to enter something!"
Text1.Enabled = False
Command1.Enabled = False
Label2.Enabled = False
Label3.Enabled = False
Label4.Enabled = False
GoTo err
End If
If Text1.Text <> "use hexeditor to look for hardcoded codes" Then
If ((Text1.Text = "Use bpx __vbastrcomp to break with Softice") Or (Text1.Text = "Use hexeditor to look for hardcoded codes") Or (Text1.Text = "Use SmartCheck to look for the code")) Then
This is the most important line of all because it compares the correct code
"use hexeditor to look for hardcoded codes" with what is in textbox 1.
<> means not equal. So, in "human" terms, it means if the text in textbox 1
is not equal to "use hexeditor to look for hardcoded codes", then do
the following lines.
4) If ((Text1.Text = "Use bpx __vbastrcomp to break with Softice") Or (Text1.Text = "Use hexeditor to look for hardcoded codes") Or (Text1.Text = "Use SmartCheck to look for the code")) Then