Update and rename kpapi.asm to miscapi.asm