Function at 0x1008a580
Capabilities:
Hash data using djb2

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x78
cmp dword [ebp + 0x14], 0
mov eax, ecx
push esi
xorps xmm0, xmm0
mov dword [esp + 0x24], eax
push edi
mov esi, edx
movaps xmmword [esp + 0x40], xmm0
mov dword [esp + 0x50], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], 0
jne 0x1008a5c1
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x1008a5e7
push str.values
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x1008a5f2
push str.repo
jmp 0x1008a5ca
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x1008a600
push str.pathname
jmp 0x1008a5ca
cmp dword [ebp + 0x18], 0
jne 0x1008a60d
push str.names
jmp 0x1008a5ca
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x1008a63b
mov edx, dword [edi]
lea eax, [edx - 1]
test eax, eax
je 0x1008a63b
push str.git_attr_options
push edx
push str.invalid_version__d_on__s
push 3
call fcn.10028290
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edx, dword [esi + 0x60]
and edx, 1
lea edx, [edx - 1]
je 0x1008a64a
xor eax, eax
jmp 0x1008a64d
mov eax, dword [esi + 0x44]
push edx
mov edx, ecx
lea ecx, [esp + 0x6c]
push eax
call fcn.100a3dd0
add esp, 8
test eax, eax
js 0x1008a5de
mov edx, dword [ebp + 8]
lea eax, [esp + 0x40]
push eax
push dword [ebp + 0x10]
mov ecx, esi
push edi
call fcn.1008b670
add esp, 0xc
mov dword [esp + 0x3c], eax
test eax, eax
js 0x1008a846
mov edi, dword [ebp + 0x14]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
mov ecx, esi
push 0x9e
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_src_attr.c
push 0x14
push edi
call dword [0x1015f3cc]
call esi
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
test esi, esi
je 0x1008a5de
mov ecx, dword [esp + 0x4c]
xor edx, edx
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x1008a825
nop word [eax + eax]
mov eax, dword [esp + 0x48]
mov eax, dword [eax + edx*4]
mov dword [esp + 0x38], eax
mov edx, dword [eax + 0x40]
dec edx
mov dword [esp + 0x20], edx
cmp edx, 0xffffffff
jae 0x1008a811
nop dword [eax]
mov eax, dword [eax + 0x3c]
mov edi, dword [eax + edx*4]
lea edx, [esp + 0x68]
mov ecx, edi
mov dword [esp + 0x10], edi
call fcn.100a3cd0
test byte [edi + 0x10], 1
je 0x1008a710
test al, al
sete al
test al, al
je 0x1008a7f7
cmp dword [ebp + 0x14], 0
mov dword [esp + 0xc], 0
jbe 0x1008a7f7
mov ecx, dword [ebp + 0x18]
add esi, 8
mov eax, dword [esp + 0x28]
mov edx, dword [ebp + 0x14]
sub eax, ecx
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0xc]
mov dword [esp + 0x14], ecx
cmp dword [esi + 8], 0
jne 0x1008a7dc
cmp dword [esi], 0
jne 0x1008a7a2
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, 0x1505
mov edx, dword [ecx]
test edx, edx
jne 0x1008a781
push str.name
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
add esp, 0x10
or eax, 0xffffffff
jmp 0x1008a79f
movsx edi, byte [edx]
test edi, edi
je 0x1008a79b
mov ecx, eax
lea edx, [edx + 1]
shl eax, 5
add eax, edi
movsx edi, byte [edx]
add eax, ecx
test edi, edi
jne 0x1008a788
mov edi, dword [esp + 0x10]
mov dword [esi + 4], eax
mov ecx, dword [edi + 0x18]
lea eax, [esi - 8]
mov dword [esp + 0x2c], ecx
test eax, eax
jne 0x1008a879
push 0x1018c43c
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
mov edi, dword [esp + 0x20]
add esp, 0x10
mov edx, dword [ebp + 0x14]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0xc]
inc eax
add ecx, 4
add esi, 0x14
mov dword [esp + 0xc], eax
mov dword [esp + 0x14], ecx
cmp eax, edx
jb 0x1008a745
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x38]
dec edx
mov dword [esp + 0x20], edx
cmp edx, 0xffffffff
jb 0x1008a6f0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x24]
inc edx
mov dword [esp + 0x24], edx
cmp edx, ecx
jb 0x1008a6d0
mov edi, dword [ebp + 0x14]
xor eax, eax
test edi, edi
je 0x1008a846
mov edx, dword [esp + 0x28]
lea ecx, [esi + 0x10]
cmp dword [ecx], 0
jne 0x1008a83e
mov dword [edx + eax*4], 0
inc eax
add ecx, 0x14
cmp eax, edi
jb 0x1008a832
lea ecx, [esp + 0x40]
call fcn.1008b610
lea ecx, [esp + 0x68]
call fcn.100a3fb0
push dword [esp + 0x18]
mov esi, dword [fcn.10032a50]
mov ecx, esi
call dword [0x1015f3cc]
call esi
mov eax, dword [esp + 0x40]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test ecx, ecx
jne 0x1008a893
push str.key_lookup
push str.unrecoverable_internal_error
push 0x10186758
push 0x23
jmp 0x1008a7c5
lea ecx, [edi + 0x14]
call fcn.100384e0
mov edx, dword [edi + 0x20]
lea eax, [esp + 0x30]
mov ecx, dword [edi + 0x1c]
push eax
push dword [esp + 0x30]
lea eax, [esi - 8]
push eax
call fcn.1003f0e0
mov edi, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x1008a7d1
mov ecx, dword [esp + 0x30]
cmp ecx, dword [edi + 0x20]
jae 0x1008a8d3
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + ecx*4]
jmp 0x1008a8d5
xor eax, eax
mov edx, dword [esp + 0x34]
mov ecx, dword [esp + 0x14]
mov dword [esi + 8], eax
mov eax, dword [eax + 0x10]
mov dword [edx + ecx], eax
mov eax, dword [esp + 0x1c]
mov edx, dword [ebp + 0x14]
inc eax
mov dword [esp + 0x1c], eax
cmp eax, edx
je 0x1008a846
jmp 0x1008a7d8