Function at 0x1008a170
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 0x1008a1b4
push str.value
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
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 0x1008a1dd
push str.repo
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
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 0x1008a206
push str.name
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
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 0x1008a234
mov ecx, dword [eax]
lea eax, [ecx - 1]
test eax, eax
je 0x1008a234
push str.git_attr_options
push ecx
push str.invalid_version__d_on__s
push 3
call fcn.10028180
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 0x1008a249
xor eax, eax
jmp 0x1008a24c
mov eax, dword [edi + 0x44]
mov edx, dword [ebp + 0x14]
push ecx
push eax
lea ecx, [esp + 0x60]
call fcn.100a3cb0
add esp, 8
test eax, eax
js 0x1008a1ab
lea eax, [esp + 0x30]
xor edx, edx
push eax
push dword [ebp + 0x14]
mov ecx, edi
push dword [ebp + 0x10]
call fcn.1008b550
mov edi, eax
add esp, 0xc
mov dword [esp + 0xc], edi
test edi, edi
js 0x1008a3a6
movsx edx, byte [esi]
xorps xmm0, xmm0
movlpd qword [esp + 0x20], xmm0
mov ecx, 0x1505
mov dword [esp + 0x28], esi
test edx, edx
je 0x1008a2b6
mov eax, ecx
lea esi, [esi + 1]
shl ecx, 5
add ecx, edx
movsx edx, byte [esi]
add ecx, eax
test edx, edx
jne 0x1008a2a3
mov dword [esp + 0x2c], ecx
xor edx, edx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 8], edx
test ecx, ecx
je 0x1008a3a6
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 0x1008a374
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.100a3bb0
test byte [edi + 0x10], 1
je 0x1008a310
test al, al
sete al
test al, al
je 0x1008a362
mov eax, dword [edi + 0x18]
mov dword [esp + 0x10], eax
test eax, eax
jne 0x1008a33a
push str.key_lookup
push str.unrecoverable_internal_error
push 0x1013afe8
push 0x23
call fcn.10028180
add esp, 0x10
jmp 0x1008a362
lea ecx, [edi + 0x14]
call fcn.100383f0
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.1003efe0
add esp, 0xc
test eax, eax
je 0x1008a383
mov eax, dword [esp + 0x14]
dec esi
cmp esi, 0xffffffff
jb 0x1008a2f0
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 8]
inc edx
mov dword [esp + 8], edx
cmp edx, ecx
jb 0x1008a2d0
jmp 0x1008a3a2
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
cmp ecx, dword [eax + 0x20]
jae 0x1008a398
mov eax, dword [eax + 0x1c]
mov eax, dword [eax + ecx*4]
jmp 0x1008a39a
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.1008b4f0
cmp dword [esp + 0x5c], 0
jbe 0x1008a3d9
mov eax, dword [esp + 0x58]
test eax, eax
je 0x1008a3d9
cmp eax, 0x1015ddcc
je 0x1008a3d9
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x101182f8]
call esi
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret