As demonstrated here, this configuration of transistors behaves as an OP-Amp. More specifically, it’s a differential voltage controlled constant current source (it creates a constant current with the amount of current determined by the voltage difference between its two inputs).