Operate the gear to the right to lower the gate, then operate the next gear for the machinery to pull the lantern higher. The current floor will only ascend if you throw enemies to the fire. Make sure you weaken the enemies first so you can easily grapple and throw them around. As the platform rises, avoid stepping on the lines as this opens up once enough enemies has been sacrificed to the fire. Keep an eye when these lines start to wiggle and stay in the square parts of the floor to avoid falling down.
Once you reach the top floor, kill the remaining enemies then collect the treasure in the upper left corner. (Statue Worker's Idol)
Pull the crank all the way to the back then leave your doppelganger to keep it pulled. Operate the gear then you'll have to repeat the last sequence to get to the upper level.
The difference here is that a heavy enemy will join the waves of enemies and there are a couple of raging fires, limiting your battlefield to a small area only. Don't hesitate to use your shadow and magic for crowd control. Quickly execute the large enemies when they're weakened to give you much needed breathing space to decimate and grab the lesser peons.
Kill the remaining enemies once you've reached the upper floor and loot the chests. Enter the beam of light to reach the top part of the statue. Once outside, step on the edge of the walkway then use the amulet to fully restore the statue.