simple circuit reverse engineering

from top to bottom:

left side:

yellow
white/red
green
red

on the right side:
black