456A16 (SHA1Clear)456A2B (SHA1Result)456A4D (SHA1Calculate)456A73 (SHA1Input)456AC4 (SHA1ProcessMessageBlock)456C82 (SHA1Reset)456C90 (SHA1Init)The version of SHA1 here is the standard version which you can find everywhere so it shouldent be to hard to update it, there is also a non standard version of it (the location of that IIRC) is in battle.snp that was named by many as BrokenSHA1 or X-SHA1.
Edit: Actually I'll retract that, the math in here looks like it may be the broken SHA-1, either way version here shouldent mater to much if its doing the job, if you want the fleshed out version of that you can find it within the pvpgn code. (and on another note you could unloop all of that to make it run faster).
Further info about broken-sha1: https://blog.skullsecurity.org/2012/battle-net-authentication-misconceptions
You may also take a look at the commented version at https://github.com/sanctuary/djavul/blob/master/d1/sha1/sha1.go
It reimplements the broken-SHA1 correctly, and has been used to extract the contents of the encrypted save files.
@mewmew added SHA1Init