It was written by a friar (probably jewish) who was sentenced to death and therefore decided to write all the bullshit he had on his mind, justifying the details and the lies about Satan by saying that he had sold his soul to the devil.
But this book is ultimately just an insult to Satan written by a jew / christian like many others.