Hi,
as you said, the whole circuit is a current measurement circuit.
I describe according picture2.
R1 is the shunt. proportional to the current there is a voltage drop. With 1 Ohms there is 1mV per 1mA.
C1, C2, C3 are for high frequency (switching frequency) suppression. you will measure only the motor winding current for rotating frequency (fundamental frequency)
U1 with R1...R7 build a differential amplifier with DC gain = 24.3 (now every mA gives 24.3mV)
R6, R7 additionally is to generate a DC offset in output voltage of VCC/2. (because of loosing precision, i personally don´t like to use VCC as a REF. I´d rather use ADC_REF/2)
(for symmetry C3 and C1 should be the same value. I can´t tell why they are different)
R3, R4 and C2 form a low pass filter with 800kHz (just not to overdrive the OPAMP input stage)
C1 and R5 (R6, R7 and C3) form a low pass with 46kHz to suppress switching frequency. (seems to be very high switching frequency. I guess 300 ... 500kHz)
R8 has no meaning here.
Klaus