I don't exactly know how it works.
And now i'm not sure this is really the decrypted file, as the function always return 0.
Maybe this don't work because these files are not designed for my memcard...
I think that if it does not match the sig, it does not attempt to decrypt nothing.

