Iran is preparing a legal complaint against the US and Israel over Ayatollah Ali Khamenei's assassination, gathering evidence as part of the process, amid ongoing funeral ceremonies in Tehran.