Please help flashing A500W

Hi, i got this set today it’s not working properly. Someone flashed a custom kernel. Need to get it back to stock. Can’t find any stock firmware. Ant help will be preciated. BR