if this is what I think it is, the Checksum is just a CRC32 of the sof file.
There are lots of tools out there to calculate the CRC32 of a file for you.
using this, you can tell if the file you have infront of you is the same as some file you found randomly on your drive somewhere, and so the logic should be identical. But you cannot determin what the logic is.
Ive seen it used in a manufacturing setting where the CRC is documented, so the person loading the .sof file knows it is the correct .sof file.
A tool like hashtab can be used for this:
http://implbits.com/products/hashtab/