how to figure out ADC1->DR contains which pin data at moment?
You don't. You DMA to a buffer which is some multiple of the pin count you are scanning, and then the array holds the data in the order you would anticipate.
Specify which STM32 part/family your question relates too, they make like 100's of different parts
Retrieving data ...