Electron distribution function formation in regions of diffuse aurora