FUN_1000_8798 seems to be the magic. It gets the current drive, then calls FUN_1000_8739.FUN_1000_8739 in turn, calls a low-level BIOS disk drive call. Perfect chance to do some copy protection