Simple write-up here and some source code for poc
 The binary is a visual c++ application from PE identifier and not packed with any packer.

when open up the file we will see this windows

error message is like this

the algo/logic in assembly with my messed up comment on each line

the algo in psuedocode is
//a is input character
//value 2108268 in decimal


WARNING! This is POC only, possible not working is expected.