I think that
(((96717311574016^16777216^4)^8^4)^7)^2==96717311574016^(16777216^4*8^4*7*2)
You must check that and convince yourself whether that is correct or not. As you have seen, Mathematica cannot simply directly calculate both those values and compare them for equality.
If that is correct then
Mod[PowerMod[96717311574016,16777216^4*8^4*7*2,10^(10^4)]*7^11,10^(10^4)]
returns the last 10 thousand digits of the result in a few seconds.
Study all the details of the documentation for PowerMod carefully
and then find at least three completely different ways that you can try to
check whether I have made any mistake or if the result might be incorrect.