Flux line lattice in type II superconductors undergoes a transition into a “disordered” phase such as vortex liquid or vortex glass, due to thermal fluctuations and random quenched disorder. We quantitatively describe the competition between the thermal fluctuations and the disorder using the Ginzburg-Landau approach. The following [Formula presented] phase diagram of YBCO emerges. There are just two distinct thermodynamical phases, the homogeneous and the crystalline one, separated by a single first order transition line. The line, however, makes a wiggle near the experimentally claimed critical point at 12 T. The “critical point” is reinterpreted as a (noncritical) Kauzmann point in which the latent heat vanishes and the line is parallel to the [Formula presented] axis. The magnetization, the entropy, and the specific heat discontinuities at melting compare well with experiments.