I just remembered how to do math with hex in python…convert it to an integer like this:

x = ‘HiUikekeJilleivlUyelkbWNoeLpBxcweQqlzAer08cl2vlkjfl38ivlbh3l4lbklboijldfjcobn=’

y = x.decode(“hex”)

z = int(y, 16)

this converts the variable to a integer from base16hex

now “z” is an integer so you can do math with it…

so take the message and convert it the same way and then subtract the unsigned message from the signed one

then convert the new integer back to hex like this:

hex(‘new integer’)

or

import binascii

binascii.hexlify(‘newinteger’)

this should be the hex version of your private key…

from there you can convert it to WIF using pycoin or any other software that will calculate wallet import format