Skip to content

Instantly share code, notes, and snippets.

@jaxFF
Last active May 3, 2025 00:17
Show Gist options
  • Save jaxFF/7e9e74279a75900d0908536c5b18566b to your computer and use it in GitHub Desktop.
Save jaxFF/7e9e74279a75900d0908536c5b18566b to your computer and use it in GitHub Desktop.
Reverse engineered HWiNFO 12-hour shared memory limit patch
>hwinfo64.exe
000000000022005C:3D->90
000000000022005D:00->90
000000000022005E:2E->90
000000000022005F:93->90
0000000000220060:02->90
0000000000220061:0F->E9
0000000000220062:86->81
0000000000220063:80->00
>hwinfo64.exe
0000000000232818:3D->90
0000000000232819:00->90
000000000023281A:2E->90
000000000023281B:93->90
000000000023281C:02->90
000000000023281D:0F->E9
000000000023281E:86->81
000000000023281F:80->00
@jaxFF
Copy link
Author

jaxFF commented Jun 25, 2023

NOP out the comparison of eax from GetTickCount()
Replaces JNE with a JMP so that the program branches to the condition where the 12-hour time limit has not yet been met

I might write an actual patcher for the executable so that this works for newer versions based on the pattern of instructions, however, I don't feel like it currently and likely won't be updating my HWiNFO64 install.

@j3yps
Copy link

j3yps commented Aug 4, 2023

will wait for your patcher

@the4anoni
Copy link

any update on this?

@Bl4ckfrost
Copy link

There is something wrong with the offsets

@beralbdom
Copy link

Hello, tried to patch the executables but it seems the offsets aren't correct?

@EricPlayZ
Copy link

https://gofile.io/d/HMx0vW

Hey there! I made a quick 5-minute patch that doesn't modify the exe which should work with most HWiNFO versions. Keep in mind this only works for the 64-bit version, and I have only tested this on version 8.16-5600 and 8.24-5700 (current stable version from the website).

To install, just download the HWiNFOSharedMemBypass.­zip archive from the link above and extract the files into the HWiNFO64 folder (where the main exe is located) and then launch the app (or relaunch it if it was already running).

If there is any suspicion about the DLLs, I've included the full source code for the patch in the HWiNFOSharedMemBypass-source.­zip archive in the link above. I think it does more or less the same thing as shown in this post, it nops out the last timer check from the function related to shared memory support.
Sorry if the code is a bit messy, it's something I threw together quickly using code from previous projects of mine.

@algarih
Copy link

algarih commented May 2, 2025

https://gofile.io/d/HMx0vW

Hey there! I made a quick 5-minute patch that doesn't modify the exe which should work with most HWiNFO versions. Keep in mind this only works for the 64-bit version, and I have only tested this on version 8.16-5600 and 8.24-5700 (current stable version from the website).

To install, just download the HWiNFOSharedMemBypass.­zip archive from the link above and extract the files into the HWiNFO64 folder (where the main exe is located) and then launch the app (or relaunch it if it was already running).

If there is any suspicion about the DLLs, I've included the full source code for the patch in the HWiNFOSharedMemBypass-source.­zip archive in the link above. I think it does more or less the same thing as shown in this post, it nops out the last timer check from the function related to shared memory support. Sorry if the code is a bit messy, it's something I threw together quickly using code from previous projects of mine.

i confirm this to be working on version v 8.22-5670

thanks for sharing and for the effort

@WarnDa
Copy link

WarnDa commented May 3, 2025

TY ! I am trying it on the v 8.22-5670 also :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment