Code:
[ENABLE] 00506C04: label(_askillLabel) registersymbol(_askillLabel) alloc(newmem, 4096) label(returnhere) label(exit) _askillLabel: jmp newmem db 90 returnhere: newmem: push ebp mov ecx,esi mov [edi+61],0a1 exit: jmp returnhere [DISABLE] dealloc(newmem) _askillLabel: push ebp mov ecx,esi mov [edi+61],al unregistersymbol(_askillLabel)
Code:
[enable] 004BF3A9: mov ebp,[eax+01] 004BF42C: mov [esp+24],00000006 004BF472: mov ebp,[eax+01] 004BF4F5: mov [esp+24],00000006 004BF541: mov ebp,[eax+01] 004BF5C2: mov [esp+20],00000006 [disable] 004BF42C: mov [esp+24],00000004 //type of attack 004BF4F5: mov [esp+24],00000006 //type of attack 004BF5C2: mov [esp+20],00000005 //type of attack 004BF3A9: mov ebp,[eax+20] 004BF472: mov ebp,[eax+28] 004BF541: mov ebp,[eax+30] //00000007 = special attack like meteors.
Code:
[ENABLE] 005C333B: label(_anewLabel) registersymbol(_anewLabel) alloc(blah2,1220) label(return2) _anewLabel: JMP blah2 db 90 return2: blah2: MOV DWORD PTR DS:[ebx+00000114],3C0CCDCC //0.01 fmul dword ptr [ebx+00000114] JMP return2 [DISABLE] _anewLabel: dealloc(blah2) fmul dword ptr [ebx+00000114]