Author Topic: I BEAT IAGO  (Read 3982 times)

0 Members and 1 Guest are viewing this topic.

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
I BEAT IAGO
« on: March 12, 2005, 11:02:17 pm »
Quote
(18:54:49) [x86] iago: cdkeys are actually 14 characters, though
(18:54:50) [x86] iago: 0..13
(18:55:04) JoeTheOdd (ICQ): their 14 characters?
(18:55:04) [x86] iago: but it's doing a checksum of 0..12
(18:55:06) [x86] iago: yes
(18:55:13) [x86] iago: I think?
(18:55:20) JoeTheOdd (ICQ): grabs sc case
(18:55:28) JoeTheOdd (ICQ): 4, 5, 4
(18:55:32) JoeTheOdd (ICQ): 13 chars
(18:55:35) [x86] iago: ok shush
(18:55:38) JoeTheOdd (ICQ): :P
(18:55:40) [x86] iago: no proving me wrong
(18:55:43) [x86] iago: I was thinking 5-4-5
(18:55:44) JoeTheOdd (ICQ): I BEAT IAGO!
(18:55:47) [x86] iago: You win this roudn!
(18:55:50) [x86] iago: round*

We were discussing the ASM version of the SC key-checking method on install.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: I BEAT IAGO
« Reply #1 on: March 12, 2005, 11:05:40 pm »
SHUT UP

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: I BEAT IAGO
« Reply #2 on: March 12, 2005, 11:08:58 pm »
Yes, Mr. 14.
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline Warrior

  • supreme mac daddy of trolls
  • Hero Member
  • *****
  • Posts: 7503
  • One for a Dime two for a Quarter!
    • View Profile
Re: I BEAT IAGO
« Reply #3 on: March 12, 2005, 11:22:22 pm »
IAGO SUCKLES LITTLE MONKEY MEN ON THE BEACH IN WALES
One must ask oneself: "do I will trolling to become a universal law?" And then when one realizes "yes, I do will it to be such," one feels completely justified.
-- from Groundwork for the Metaphysics of Trolling

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: I BEAT IAGO
« Reply #4 on: March 12, 2005, 11:47:05 pm »
Look what I reverse-engineered today mommy!

Code: [Select]
Public Function VerifySCkey(key As String) As Boolean
    Dim eax As Integer, _
    ebx As Integer, _
    ecx As Integer, _
    edx As Integer, _
    esp As Integer, _
    ebp As Integer, _
    edi As Integer, _
    esi As Integer
    eax = 3             'mov eax, 3
    esi = 1             'mov esi, ecx ;set esi = ecx (pointer to CD-Key)
    ecx = 0             'xor ecx, ecx
Top:                    'Top:
    edx = Mid(key, esi, 1)  'movsx edx, byte ptr [ecx+esi]  ;moves first number of cd-key to edx
    edx = edx = &H30    'sub edx, 30h
    edi = eax * 2       'lea edi, [eax+eax]
    edx = edx Xor edi   'xor edx, edi
    eax = eax + edx     'add eax, edx
    ecx = ecx + 1       'inc ecx
    If ecx < &HC Then GoTo Top  'cmp ecx, 0Ch
                                'jl short Top
    edx = 0             'xor edx, edx
    ecx = &HA           'mov ecx, 0Ah
    edx = eax Mod ecx   'div ecx  ;edx = eax % ecx (eax = checksum, ecx = 10)
    eax = Mid(key, 13, 1)   'movsx eax, byte ptr [esi+0Ch] ;eax = last num of key
    '18    movsx   edx, dl  ;"this line does nothing" -iago
    edx = edx + &H30    'add edx, 30h (see line 6)
   
    If eax <> edx Then eax = 0
    VerifySCkey = CBool(eax)
    '20    cmp     eax, edx                   ;compare eax to eax (eax = last num of key, edx = result of checksum mod 10)
    '21    jnz     bottom                     ;if not equal jump to bottom
    '22    mov     eax, 1                     ;if we didn't jump, set eax to 1
    '23    ret                                ;return eax
End Function
I'd personally do as Joe suggests

You might be right about that, Joe.


Offline drka

  • ffdshow > in_mp3.dll
  • Full Member
  • ***
  • Posts: 330
    • View Profile
Re: I BEAT IAGO
« Reply #5 on: March 13, 2005, 06:15:33 am »
...

wth does the code mean?

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: I BEAT IAGO
« Reply #6 on: March 13, 2005, 01:43:31 pm »
Look at the name of the function, knob ;)

Offline Quik

  • Webmaster Guy
  • x86
  • Hero Member
  • *****
  • Posts: 3262
  • \x51 \x75 \x69 \x6B \x5B \x78 \x38 \x36 \x5D
    • View Profile
Re: I BEAT IAGO
« Reply #7 on: March 13, 2005, 02:21:57 pm »
Or a bunch of the comments he added.
Quote
[20:21:13] xar: i was just thinking about the time iago came over here and we made this huge bomb and light up the sky for 6 min
[20:21:15] xar: that was funny

Offline drka

  • ffdshow > in_mp3.dll
  • Full Member
  • ***
  • Posts: 330
    • View Profile
Re: I BEAT IAGO
« Reply #8 on: March 13, 2005, 05:35:56 pm »
me = confused.  ???me just sees a bunch of ecx edx or w/e that make no sense.

nvm now i get it.

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: I BEAT IAGO
« Reply #9 on: March 13, 2005, 06:01:13 pm »
Those are variables :P

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: I BEAT IAGO
« Reply #10 on: March 13, 2005, 07:15:02 pm »
Those are variables :P
But they are registers in assembly :P

Offline iago

  • Leader
  • Administrator
  • Hero Member
  • *****
  • Posts: 17914
  • Fnord.
    • View Profile
    • SkullSecurity
Re: I BEAT IAGO
« Reply #11 on: March 14, 2005, 12:55:59 am »
Those are variables :P
But they are registers in assembly :P

That's not assembly, though! It's VB :P

Offline rabbit

  • x86
  • Hero Member
  • *****
  • Posts: 8092
  • I speak for the entire clan (except Joe)
    • View Profile
Re: I BEAT IAGO
« Reply #12 on: March 14, 2005, 07:31:52 pm »
I said "in assemly".

Offline Joe

  • B&
  • x86
  • Hero Member
  • *****
  • Posts: 10319
  • In Soviet Russia, text read you!
    • View Profile
    • Github
Re: I BEAT IAGO
« Reply #13 on: March 14, 2005, 10:28:33 pm »
It didn't work, yago. :(. It always says my key is invalid. People go and fix my code kthx.
I'd personally do as Joe suggests

You might be right about that, Joe.