Skip to content

Instantly share code, notes, and snippets.

@adeii
Last active February 13, 2025 22:38
Show Gist options
  • Save adeii/4aa76a4ed47aca4a2c2a6ff17202eb99 to your computer and use it in GitHub Desktop.
Save adeii/4aa76a4ed47aca4a2c2a6ff17202eb99 to your computer and use it in GitHub Desktop.
FyreFux 135 appendix
Firefox 135.0.0 x64
-------------------
browser\omni.ja has problem - can not open search, settings or webpage. Older FF134 omni.ja has no problem.
legacyBackend = true and WindowsJumpLists are not enough any more.
xul.exe
-------
B8: 06
C0: 06
C6 C6 07 49 8D 84 24 00 00 C0 7F 48 89 44 24 28 ->
4C 89 64 24 20 4C 89 E1 4C 89 FA 41 B8 01 00 00
00 41 B9 01 00 00 00 FF 15 A3 CE C6 07 89 C5 48
C6 C6 07 49 8D 84 24 00 00 C0 7F 90 90 90 90 90
90 90 90 90 90 90 90 90 90 90 90 90 90 90 90 90
90 90 90 31 C0 90 90 90 90 90 90 90 90 89 C5 48
54 15 A4 06 EB 8E CC CC CC CC CC CC CC CC CC CC 41 57 41 56 41 55 41 54 56 57 55 53 48 83 EC 68 ->
54 15 A4 06 EB 8E CC CC CC CC CC CC CC CC CC CC B8 01 00 00 00 C3 41 54 56 57 55 53 48 83 EC 68
RoGetAgileReference -> OleInitialize
RtlAddGrowableFunctionTable -> ZwClose
USER32.dll -> USER64.dll
KERNEL32.dll -> KERNEL64.dll
bcryptprimitives.dll -> xcryptprimitives.dll
mozglue.exe
-----------
B8: 06
C0: 06
31 E8 89 44 24 0C 89 E0 6A 08 50 E8 58 31 08 00
84 C0 74 1D 8B 34 24 8B 7C 24 04 8B 4C 24 0C 31 ->
90 90 90 90 8B 34 24 8B 7C 24 04 8B 4C 24 0C 31
api-ms-win-core-version-l1-1-1.dll -> version.dll
api-ms-win-core-psapi-l1-1-0.dll -> kernel32.dll
api-ms-win-core-version-l1-1-0.dll -> version.dll
api-ms-win-core-libraryloader-l1-2-0.dll -> kernel64.dll
api-ms-win-core-libraryloader-l1-2-1.dll -> kernel32.dll
api-ms-win-core-heap-l2-1-0.dll -> kernel32.dll
api-ms-win-core-errorhandling-l1-1-1.dll -> kernel32.dll
api-ms-win-core-handle-l1-1-0.dll -> kernel32.dll
api-ms-win-core-memory-l1-1-0.dll -> kernel32.dll
api-ms-win-core-file-l1-1-0.dll -> kernel32.dll
api-ms-win-core-processthreads-l1-1-0.dll -> kernel32.dll
api-ms-win-core-realtime-l1-1-0.dll -> kernel32.dll
api-ms-win-core-realtime-l1-1-1.dll -> kernel64.dll
api-ms-win-core-registry-l1-1-0.dll -> advapi32.dll
api-ms-win-core-rtlsupport-l1-2-0.dll -> ntdll.dll
api-ms-win-core-sysinfo-l1-2-0.dll -> kernel32.dll
firefox.exe
maintenanceservice.exe
gkcodecs.dll
nssckbi.dll
nss3.exe
lgpllibs.dll
default-browser-agent.exe
-------------------------
B8: 06
C0: 06
nmhproxy.exe
------------
B8: 06
C0: 06
bcryptprimitives.dll -> xcryptprimitives.dll
crashreporter.exe
-----------------
KERNEL32.dll -> KERNEL64.dll
USER32.dll -> USER64.dll
bcryptprimitives.dll -> xcryptprimitives.dll
@Shahzadrahim-dev
Copy link

Shahzadrahim-dev commented Feb 13, 2025

Could you please add a short explanation?

@adeii
Copy link
Author

adeii commented Feb 13, 2025

Sure. These are bithack changes for unpacked installation for browsers. Purpose is to make it run on Windows 7, 8, 8.1.

Changing requested DLLs (imports) or changing minimal Windows version (from 10 to Vista (6.0)) could be done with software CFF Explorer.
Changing the same or similar bytes in browser critical files could be done with some Hex editor. I prefer HxD.
Additional DLLs are mostly from Blaukovitch's projects - genius which bithacks newer Chrome, Chromium-based browser and Firefox, too.
Other DLLs are downloaded from dll-files.com site, since it exists in Win 10/11 but not in Win 7/8.

@adeii
Copy link
Author

adeii commented Feb 13, 2025

@Shahzadrahim-dev
This gist is result of comparing of original:
https://download-installer.cdn.mozilla.net/pub/firefox/releases/135.0/win64/en-GB/Firefox%20Setup%20135.0.exe
and bithacked version from:
https://github.com/Blaukovitch/Mozilla_Firefox_Windows_7/releases/download/Tor4/135.0.0._x64_Firefox7.7z

It helps me to do similar changes to another browser of the same major version to make it works on Win 7.
Example: LibreWolf and Zen browsers can work on my Win 7, too.

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