[Source] Process Speed Hack ASM DLL menu

Shout-Out

User Tag List

Results 1 to 3 of 3
  1. #1
    Zeroi9's Avatar Banned
    Reputation
    286
    Join Date
    Aug 2008
    Posts
    911
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Source] Process Speed Hack ASM DLL

    Hey guys, Figured id share this Speed hack ASM dll i made while I was bored :P
    Its just the basics of speed hacking, It must be injected into the process to work, only way to modify the speed value is through an address, Ive done this with my private dll, But havent reversed this one injected yet. But dont worry its not hard to find if you have reversing experience. Enjoy.

    Code:
    format PE GUI 4.0 DLL
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;;;  Process Speeding DLL (The Basics);;
    ;;;       by: ZeR0                             ;;
    ;;;  Once injected Speed will start      ;;
    ;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    include 'win32ax.inc'
    
    ; .Data section for variables
    .data
    
    kernel   db "kernel32.dll",0
    ToBeHooked db "QueryPerformanceCounter",0
    rval dd ?
    
    SpeedValue dd 5.0 ;value to multiply by :) 1 = normal
    
    ;.code section , where the magic happens :)
    .code
    
    proc DllMain hInstance, reason, lpReserved
    
       mov eax,[reason]
       cmp eax, DLL_PROCESS_ATTACH
       JNE .next
    
       call StartHook          ; call InsertHook Function defined below
    
       jmp .quit
    
    .next:
       cmp eax, DLL_PROCESS_DETACH
       JNE .quit
       call unhook
    
    
    .quit:
        mov  eax,TRUE
        ret
    endp
    
    
    proc StartHook
    
       push kernel
       call [GetModuleHandle]
    
       push ToBeHooked
       push eax
       call [GetProcAddress]
    
        push  .Hookwow
        push  eax
        push  5d
        call  [SetDetour]       ;SetDetour (Detours.dll must be in wow folder)
        mov   [rval], eax
        ret
    
    endp
    
    
    proc .Hookwow val
    
    locals
       .temp1 dq ?
    endl
    
            lea eax,[.temp1]
            push eax
            call [rval]            ; Un-Hook .Hookwow
            fild QWORD [.temp1]    ; load value
            fmul [SpeedValue]      ; multiply
            mov ecx, [val]
            fistp QWORD [ecx]      ; Store
    
    ret
    endp
    
    
    proc unhook
    
        push kernel
        call [GetModuleHandle]
    
        push ToBeHooked
        push eax
        call [GetProcAddress]
    
        push  [rval]
        push  eax
        push  5d
        call  [RemoveDetour]
        ret
    
    
    endp
    
    
    .end DllMain
    
    section '.reloc' fixups data discardable
    Very simple to use, ethier write a small app. to inject this dll into wow, and speed starts right away, to edit the value you must find the address that holds SpeedValue and edit it. Also you MUST have Detour.dll in wow folder (next to wow.exe) Download link for detours.dll below but it can be found on alot of dev sites.

    Have fun injecting!

    Detours.dll DL link:
    RapidShare: Easy Filehosting

    *If link goes down post if you need detour.dll or just google it, its easy to find.

    edit*/ for the noobs to compile this you need FASMW- Flat assembler
    Last edited by Zeroi9; 03-29-2009 at 08:46 AM.

    [Source] Process Speed Hack ASM DLL
  2. #2
    shingetterrobo's Avatar Banned
    Reputation
    15
    Join Date
    Mar 2009
    Posts
    29
    Thanks G/R
    0/0
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    this is not so good an idea, it allows you to speedup but not down.

    Code:
    proc .Hookwow val
    
    locals
       .temp1 dq ?
    endl
    
            lea eax,[.temp1]
            push eax
            call [rval]            ; Un-Hook .Hookwow
            fild QWORD [.temp1]    ; load value
            fmul [SpeedValue]      ; multiply
            mov ecx, [val]
            fistp QWORD [ecx]      ; Store
    
    ret
    endp
    try something like this

    Code:
    proc .Hookwow val
    
            fild QWORD [lastspeed]         ; load last speed 
    
            push lastspeed
            call [rval]                           ; call original QPC
    
            fisubr QWORD [lastspeed]     ; get the difference 
            fmul [SpeedValue]               ; multiply it by speed multiplier
            fiadd QWORD [cspeed]         ; add it to current speed
            fist QWORD [cspeed]           ; save current speed
            mov ecx, [val]
            fistp QWORD [ecx]              ; Store it
    
    ret
    endp

    you might wish to also consider any of a number of ways to communicate between processes to set the speed multiplier

    an improvement on the current speedhack might be to also check the stack for the return address and only apply the multiplier if its from the movement handler.

  3. #3
    Zeroi9's Avatar Banned
    Reputation
    286
    Join Date
    Aug 2008
    Posts
    911
    Thanks G/R
    0/1
    Trade Feedback
    0 (0%)
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Like i said it svery basic, Im using a real speed hack , to hook an address in Movement.cpp so i dont have to process speed at all, and I always communicate with the inejcted dll through memory by editing the address holding my value. This is just for newer peoples, or someone learning ASM. You do need some experience...

    anyone is free to edit this.

Similar Threads

  1. [C#] NWOHack - An open-source in-process memory hack for NeverWinter
    By Jadd in forum Neverwinter Bots and Programs
    Replies: 23
    Last Post: 06-28-2013, 10:01 AM
  2. A speed hack(kinda)
    By XxKajxX in forum World of Warcraft Bots and Programs
    Replies: 30
    Last Post: 11-27-2006, 10:50 PM
  3. Pako's Speed Hack
    By Briggs in forum World of Warcraft Bots and Programs
    Replies: 5
    Last Post: 08-17-2006, 10:00 AM
  4. Need Cheat Engine Speed Hack
    By Avianar47 in forum World of Warcraft General
    Replies: 0
    Last Post: 07-25-2006, 01:21 AM
  5. Speed Hack-Syndrome
    By eom[dark_lord] in forum World of Warcraft General
    Replies: 6
    Last Post: 07-09-2006, 10:00 PM
All times are GMT -5. The time now is 09:07 AM. Powered by vBulletin® Version 4.2.3
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved. User Alert System provided by Advanced User Tagging (Pro) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Google Authenticator verification provided by Two-Factor Authentication (Free) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
Digital Point modules: Sphinx-based search