好友
阅读权限10
听众
最后登录1970-1-1
|
下面是源码,计算注册码,由于能力有限,研究不出来这个加密方法。有没有大哥大姐帮忙看下。仅供学习,
Private Sub Command1_Click() '405DD8
'Data Table: 402464
Dim var_E8 As String
Dim var_138 As Variant
Dim var_C6 As Integer
Dim var_148 As String
loc_405A90: On Error Goto loc_405DAB
loc_405AD6: If ((Me.Text1.Text = vbNullString) Or (Me.Text2.Text = vbNullString)) Then
loc_405AF2: MsgBox("请输入注册号!", 0, var_118, var_138, var_158)
loc_405B02: Exit Sub
loc_405B03: End If
loc_405B1E: var_118 = Trim(CVar(Me.Text2.Text))
loc_405B35: var_138 = CVar(Proc_2_1_405394(0)) 'String
loc_405B3B: var_158 = Trim(var_138)
loc_405B53: If CBool(2 <> var_158) Then
loc_405B6F: MsgBox("KEY输入有误!", 0, var_118, var_138, var_158)
loc_405B7F: Exit Sub
loc_405B80: End If
loc_405B83: var_C0 = "keysu"
loc_405B91: var_B8(0) = "49NPT4ZST"
loc_405B9D: var_B8(1) = "49HPT1MUT"
loc_405BA9: var_B8(2) = "59MIC1L9T"
loc_405BB5: var_B8(3) = "49IJT4BHT"
loc_405BC1: var_B8(4) = "59MIC1F1T"
loc_405BCD: var_B8(5) = "WD-WX20A59M3043"
loc_405BD9: var_B8(6) = "797CCAJ2T"
loc_405BE5: var_B8(7) = "7964C5QTT"
loc_405BF1: var_B8(8) = "797BCIGST"
loc_405BFD: var_B8(9) = "6PT40M4V"
loc_405C09: var_B8(&HA) = "NW9VT69258JH"
loc_405C15: var_B8(&HB) = "S10UJDRZ104448"
loc_405C21: var_B8(&HC) = "S27VJ9GZ300017"
loc_405C2D: var_B8(&HD) = "S10UJ90Z442282"
loc_405C39: var_B8(&HE) = "S10UJ90Z300258"
loc_405C45: var_B8(&HF) = "49NPT4ZGT"
loc_405C51: var_B8(&H10) = "080129BB2200WBCNKUVC"
loc_405C5D: var_B8(&H11) = "S24NJDRZ314302"
loc_405C69: var_B8(&H12) = "6VEQGKWW"
loc_405C75: var_B8(&H13) = "5SW2R7DS"
loc_405C81: var_B8(&H14) = "5SW2BTLF"
loc_405C82: ' Referenced from: 405CC7
loc_405C88: If (var_C6 <> &H15) Then
loc_405CB0: If (Me.Text2.Text = var_B8(CLng(var_C6))) Then
loc_405CBB: var_C4 = var_B8(CLng(var_C6))
loc_405CBE: End If
loc_405CC4: var_C6 = (var_C6 + 1)
loc_405CC7: GoTo loc_405C82
loc_405CCA: End If
loc_405CEA: If (Me.Text2.Text <> var_C4) Then
loc_405D06: MsgBox("此KEY无效!", 0, var_118, var_138, var_158)
loc_405D16: Exit Sub
loc_405D17: End If
loc_405D1F: var_C0 = Proc_2_9_40428C(var_C0)
loc_405D2A: var_C4 = Proc_2_9_40428C(var_C4)
loc_405D42: Set var_16C = CreateObject("wscript.shell", 0)
loc_405D49: var_E8 = "HKEY_CURRENT_USER\Software\Microsoft\DiskVolume\DiskVolume"
loc_405D56: var_148 = "REG_SZ"
loc_405D5F: Call var_16C.regwrite
loc_405D65: var_E8 = "HKEY_CURRENT_USER\Software\Microsoft\DiskVolume\HardDiskInfo"
loc_405D72: var_148 = "REG_SZ"
loc_405D7B: Call var_16C.regwrite
loc_405D9A: MsgBox("注册成功!", 0, var_118, var_138, var_158)
loc_405DAA: Exit Sub
loc_405DAB: ' Referenced from: 405A90
loc_405DC4: MsgBox("注册失败!", 0, var_118, var_138, var_158)
loc_405DD4: Exit Sub
End Sub |
-
免费评分
-
查看全部评分
|
发帖前要善用【论坛搜索】功能,那里可能会有你要找的答案或者已经有人发布过相同内容了,请勿重复发帖。 |
|
|
|
|