The 24 teams were divided into six groups for the September 14-October 6 global showpiece that will be contested in three cities.
Iran, who impressed on route to lifting the AFC Futsal Asian Cup trophy for a 13th time, will face Venezuela, Guatemala and France in Group F.
World No 4 Iran, making its ninth consecutive appearance, will be aiming to better the third place finish achieved in 2016.
DRAW RESULT
Group A: Uzbekistan, Netherlands, Paraguay, Costa Rica
Group B: Brazil, Cuba, Croatia, Thailand
Group C: Argentina, Ukraine, Afghanistan, Angola
Group D: Spain, Kazakhstan, New Zealand, Libya
Group E: Portugal, Panama, Tajikistan, Morocco
Group F: Iran, Venezuela, Guatemala, France