Complicity in genocide is illegal under international law both for individuals, as part of international criminal law, and state parties to the Genocide Convention. From Wikipedia
Sudan files a case at the International Court of Justice, alleging the UAE provides financial and military support to the Rapid Support Forces in Darfur.