Collective behavior and disorder-induced resonator of random lasers