By surface analysis, harami (“bandit”) + baş (“head”) + -ı (“possessive”).
haramibaşı (definite accusative haramibaşıyı, plural haramibaşları)