Remove offending functions in assembly with hopes of implementing the functionality in C