Thank you,
I do believe that it is an x86 application, that must be the issue.
EDIT: I've also made a firefox installer (Version 79.0B9)
I opened up the firefox.exe file in CFF Explorer and set the entry point in ntdll.dll from RtlQueryPerformanceCounter to NtQueryInformationProcess
and it worked perfectly fine. It runs perfectly! I also credited Win32 in the installer.
I hope you find my installer useful
Here's the link: https://mega.nz/file/7jRymQYT#FCZXhFv9C8nWLF9hV7AJqGZQ8deh6oh31vBhP3wJSFY
Best regards,
Looking forward to hearing from you all soon.