Function at 0x1008ae30
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x68
mov edx, dword [ebp + 8]
xorps xmm0, xmm0
movaps xmmword [esp + 0x28], xmm0
mov dword [esp + 0x38], 0
push esi
push edi
test edx, edx
jne 0x1008ae74
push str.value
push str.invalid_argument
push 0x10256f18
push 3
call fcn.10028e40
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x1008ae9d
push str.repo
push str.invalid_argument
push 0x10256f18
push 3
call fcn.10028e40
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov esi, dword [ebp + 0x18]
test esi, esi
jne 0x1008aec6
push str.name
push str.invalid_argument
push 0x10256f18
push 3
call fcn.10028e40
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x1008aef4
mov ecx, dword [eax]
lea eax, [ecx - 1]
test eax, eax
je 0x1008aef4
push str.git_attr_options
push ecx
push str.invalid_version__d_on__s
push 3
call fcn.10028e40
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [edx], 0
mov ecx, dword [edi + 0x60]
and ecx, 1
lea ecx, [ecx - 1]
je 0x1008af09
xor eax, eax
jmp 0x1008af0c
mov eax, dword [edi + 0x44]
mov edx, dword [ebp + 0x14]
push ecx
push eax
lea ecx, [esp + 0x60]
call fcn.100a4940
add esp, 8
test eax, eax
js 0x1008ae6b
lea eax, [esp + 0x30]
xor edx, edx
push eax
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x10]
call fcn.1008c210
mov edi, eax
add esp, 0xc
mov dword [esp + 0xc], edi
test edi, edi
js 0x1008b066
movsx edx, byte [esi]
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov ecx, 0x1505
mov dword [esp + 0x28], esi
test edx, edx
je 0x1008af76
mov eax, ecx
lea esi, [esi + 1]
shl ecx, 5
add ecx, edx
movsx edx, byte [esi]
add ecx, eax
test edx, edx
jne 0x1008af63
mov dword [esp + 0x2c], ecx
xor edx, edx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], edx
test ecx, ecx
je 0x1008b066
nop dword [eax]
mov eax, dword [esp + 0x38]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x14], eax
mov esi, dword [eax + 0x40]
dec esi
cmp esi, 0xffffffff
jae 0x1008b034
nop dword [eax + eax]
mov eax, dword [eax + 0x3c]
lea edx, [esp + 0x58]
mov edi, dword [eax + esi*4]
mov ecx, edi
mov dword [esp + 0x1c], edi
call fcn.100a4840
test byte [edi + 0x10], 1
je 0x1008afd0
test al, al
sete al
test al, al
je 0x1008b022
mov eax, dword [edi + 0x18]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1008affa
push str.key_lookup
push str.unrecoverable_internal_error
push 0x10256f18
push 0x23
call fcn.10028e40
add esp, 0x10
jmp 0x1008b022
lea ecx, [edi + 0x14]
call fcn.100390a0
mov edx, dword [edi + 0x20]
lea eax, [esp + 0x18]
mov ecx, dword [edi + 0x1c]
push eax
push dword [esp + 0x14]
lea eax, [esp + 0x28]
push eax
call fcn.1003fc90
add esp, 0xc
test eax, eax
je 0x1008b043
mov eax, dword [esp + 0x14]
dec esi
cmp esi, 0xffffffff
jb 0x1008afb0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 8]
inc edx
mov dword [esp + 8], edx
cmp edx, ecx
jb 0x1008af90
jmp 0x1008b062
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x20]
jae 0x1008b058
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ecx*4]
jmp 0x1008b05a
xor eax, eax
mov ecx, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov dword [ecx], eax
mov edi, dword [esp + 0xc]
lea ecx, [esp + 0x30]
call fcn.1008c1b0
cmp dword [esp + 0x5c], 0
jbe 0x1008b099
mov eax, dword [esp + 0x58]
test eax, eax
je 0x1008b099
cmp eax, 0x1029182c
je 0x1008b099
mov esi, dword [fcn.10033600]
mov ecx, esi
push eax
call dword [0x1021f564]
call esi
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret