Solomon
November 1st, 2001, 21:39
Decompiled it with VB3 decompiler and found the dongle checking code snippet, but how to patch a VB3 prog?
How to find the pseudo opcode of the decompiled Visual BASIC statements?
for example, here is the routine to check the dongle:
Sub Command1_Click (Index%)
Select Case Index
Case 0
Call sub04C7(2, 1) <----------------------check license
Unload Form1
inputForm.Show
Case 1
End
End Select
End Sub
Sub sub04C7 (p0326 As Integer, p0328 As Integer)
.................
If (p0328% = 0) Then Exit Sub <--------------------- no need to check dongle
................. <------------------------ dongle check here
End Sub
so I want to change "Call sub04C7(2, 1) " to "Call sub04C7(2, 0)", or change "If (p0328% = 0) Then Exit Sub" to "If (p0328% = 1) Then Exit Sub". But how to find the corresponding opcode in the exe?
How to find the pseudo opcode of the decompiled Visual BASIC statements?

for example, here is the routine to check the dongle:
Sub Command1_Click (Index%)
Select Case Index
Case 0
Call sub04C7(2, 1) <----------------------check license
Unload Form1
inputForm.Show
Case 1
End
End Select
End Sub
Sub sub04C7 (p0326 As Integer, p0328 As Integer)
.................
If (p0328% = 0) Then Exit Sub <--------------------- no need to check dongle
................. <------------------------ dongle check here
End Sub
so I want to change "Call sub04C7(2, 1) " to "Call sub04C7(2, 0)", or change "If (p0328% = 0) Then Exit Sub" to "If (p0328% = 1) Then Exit Sub". But how to find the corresponding opcode in the exe?