First, inspect some irreparable stuff. Regulators are made with plastic pulleys, holders, etc... So they are really vulnerable to damages. As you can see, the regulator is jammed in the pulley section.
Step 1: Analysis
Step 2: Dissasembly
Drill those sections and pull the cover out. Set the cover, pulley, and the rubber thing aside.
Step 3: Rerouting Cable
NOTE: Rerouting the cables will require a lot of patience since they're pulling each other, the tension will make it hard to align the pulley in the center and it may also come apart. You may also want to consider the correct placement of the cable housings on the upper and lower white half pulleys. A silver pellet-shaped metal in the middle of the cable is the one responsible for the coordination of the window to the regulator. Be sure that its white plastic socket isn't broken.
If you're able to join them successfully, the pulley will be aligned in the center while the motor is holding it. Then, temporarily secure the motor and the base with 3 screws.
Step 4: Cap Installment
The epoxy will have to cure for 24 hours without any movement. But epoxy alone can still be weak. It is recommended to use three 3/16" or 1/4" diameter rivets to replace the drilled fasteners earlier. To do this, you have to remove the motor first and attach the rivets from the underside. Reattach the motor.
The power window assembly is now ready to be installed :)