Kingdom Hearts Re:coded cannot be legally emulated on PC. It was originally a Japanese mobile game (i-mode), later remade for Nintendo DS. There is no native PC version.
Support the series by purchasing the HD 2.5 ReMIX collection or a used DS cartridge.