You should be able to find all of your wires using a standard DMM. If you don't have one, go and buy one, better yet take your car to a professional...
tech sheet for the 06:
12 Volts black/yel (40A), black (30A) + ignition harness
Second 12 Volts
Starter black/blue + ignition harness
Second Starter N/A
Ignition blue + ignition harness
Second Ignition N/A
Third Ignition N/A
Accessory black/red + ignition harness
Second Accessory black/white + ignition harness
Third Accessory
Keysense white/blue + ign harn or BCM, 16 pin plug, pin 4P
Using the status output from the remote start to trigger this wire will disarm the factory alarm without unlocking the doors. The BCM (Body Control Module) is in the driver kick panel.
Data Bus
Can Bus High
Can Bus Low
Can Bus Sw
Power Lock lt. green - BCM, 24 pin plug, pin 7M
Lock is negative trigger thru a 1000 ohm resistor. Unlock is a straight negative trigger. MUST use relays. The BCM (Body Control Module) is in the driver kick panel.
Power Unlock same as power lock wire
Lock Motor red/blue 5wi BCM, 8 pin plug, pin 6B
The BCM (Body Control Module) is in the driver kick panel.
Driver Unlock Motor red/green 5wi BCM, 8 pin plug, pin 6G
The BCM (Body Control Module) is in the driver kick panel.
Passenger Unlock Motor red/black 5wi BCM, 8 pin plug, pin 6A
The BCM (Body Control Module) is in the driver kick panel.
Parking Lights (-) red/white - headlight switch
Parking Lights (+) lt. green/black + BCM, 12 pin plug, pin 9K
The BCM (Body Control Module) is in the driver kick panel.
Hazards blue/orange - switch or BCM, 16 pin plug, pin 4G
The BCM (Body Control Module) is in the driver kick panel.
Turn Signal (Left) green/orange + BCM, 16 pin plug, pin 2K
The BCM (Body Control Module) is in the driver kick panel.
Turn Signal (Right) green/white + BCM, 16 pin plug, pin 2I
The BCM (Body Control Module) is in the driver kick panel.
Headlight blue/green - headlight switch
AutoLights
Reverse Light red/yellow + BCM, 16 pin plug, pin 8P
The BCM (Body Control Module) is in the driver kick panel.
Left Front Door Trigger green/orange - BCM, 16 pin plug, pin 1F
The BCM (Body Control Module) is in the driver kick panel.
Right Front Door Trigger
Left Rear Door Trigger
Right Rear Door Trigger
Dome Supervision yellow/black - BCM, 16 pin plug, pin 1I
The BCM (Body Control Module) is in the driver kick panel.
Trunk/Hatch Pin brown - BCM, 16 pin plug, pin 2F
The BCM (Body Control Module) is in the driver kick panel.
Rear Glass Pin
Hood Pin gray/red - pin sw or BCM, 16 pin plug, pin 8M
The BCM (Body Control Module) is in the driver kick panel.
Trunk/Hatch Release yellow - switch or BCM, 6 pin plug, pin 5F
The BCM (Body Control Module) is in the driver kick panel. The trunk release motor wire is blue (+) in the driver kick, harness to rear.
Trunk Release Motor
Fuel Door Release
Power Sliding Door (Left) N/A
Power Sliding Door (Right)
Factory Alarm Arm blue or blue/white - BCM, 24 pin plug, pin 7J
Meter this wire while turning the key in the driver door key cylinder. Arm is negative trigger thru a 1000 ohm resistor. Disarm is a straight negative trigger. MUST use relays. The BCM (Body Control Module) is in the driver kick panel.
Factory Alarm Disarm same as factory alarm arm wire
Disarm No Unlock use key sense wire
Trunk Alarm Shunt
Tachometer NOT green/stripe ac any fuel injector
Wait to Start N/A
Neutral Safety
Clutch Pedal
Fuel Pump
Rear Defroster
Mirror Defroster
Left Front Heated Seat
Right Front Heated Seat
Speed Sense green/red ac radio or BCM, 16 pin plug, pin 4H
The BCM (Body Control Module) is in the driver kick panel.
Brake Wire green/yellow + switch or BCM, 8 pin plug, pin 6J
The BCM (Body Control Module) is in the driver kick panel.
Parking Brake brown - parking brake switch
Horn Trigger purple/white - switch or BCM, 16 pin plug, pin 4F
The BCM (Body Control Module) is in the driver kick panel.
Wipers gray (L), yellow/red (H) + windshield wiper switch
Left Front Window (Up/Down) red - green A driver window switch in door
Right Front Window (Up/Down) red - green A passenger window switch in door
Left Rear Window (Up/Down) red/yellow - yellow A driver kick, door harness
On the MAZDASPEED6 models, the LR window up/dn wires are red - green at the left rear window switch in the door.
Right Rear Window (Up/Down) red/white - brown A