Function at 0x1008a460
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 0x1008a4a1
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x1008a4c7
push str.values
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
test esi, esi
jne 0x1008a4d2
push str.repo
jmp 0x1008a4aa
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x1008a4e0
push str.pathname
jmp 0x1008a4aa
cmp dword [ebp + 0x18], 0
jne 0x1008a4ed
push str.names
jmp 0x1008a4aa
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x1008a51b
mov edx, dword [edi]
lea eax, [edx - 1]
test eax, eax
je 0x1008a51b
push str.git_attr_options
push edx
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 edx, dword [esi + 0x60]
and edx, 1
lea edx, [edx - 1]
je 0x1008a52a
xor eax, eax
jmp 0x1008a52d
mov eax, dword [esi + 0x44]
push edx
mov edx, ecx
lea ecx, [esp + 0x6c]
push eax
call fcn.100a3cb0
add esp, 8
test eax, eax
js 0x1008a4be
mov edx, dword [ebp + 8]
lea eax, [esp + 0x40]
push eax
push dword [ebp + 0x10]
mov ecx, esi
push edi
call fcn.1008b550
add esp, 0xc
mov dword [esp + 0x3c], eax
test eax, eax
js 0x1008a726
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 [0x101182f8]
call esi
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
test esi, esi
je 0x1008a4be
mov ecx, dword [esp + 0x4c]
xor edx, edx
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x1008a705
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 0x1008a6f1
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.100a3bb0
test byte [edi + 0x10], 1
je 0x1008a5f0
test al, al
sete al
test al, al
je 0x1008a6d7
cmp dword [ebp + 0x14], 0
mov dword [esp + 0xc], 0
jbe 0x1008a6d7
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 0x1008a6bc
cmp dword [esi], 0
jne 0x1008a682
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, 0x1505
mov edx, dword [ecx]
test edx, edx
jne 0x1008a661
push str.name
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
or eax, 0xffffffff
jmp 0x1008a67f
movsx edi, byte [edx]
test edi, edi
je 0x1008a67b
mov ecx, eax
lea edx, [edx + 1]
shl eax, 5
add eax, edi
movsx edi, byte [edx]
add eax, ecx
test edi, edi
jne 0x1008a668
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 0x1008a759
push 0x10140ccc
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
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 0x1008a625
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 0x1008a5d0
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x24]
inc edx
mov dword [esp + 0x24], edx
cmp edx, ecx
jb 0x1008a5b0
mov edi, dword [ebp + 0x14]
xor eax, eax
test edi, edi
je 0x1008a726
mov edx, dword [esp + 0x28]
lea ecx, [esi + 0x10]
cmp dword [ecx], 0
jne 0x1008a71e
mov dword [edx + eax*4], 0
inc eax
add ecx, 0x14
cmp eax, edi
jb 0x1008a712
lea ecx, [esp + 0x40]
call fcn.1008b4f0
lea ecx, [esp + 0x68]
call fcn.100a3e90
push dword [esp + 0x18]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x101182f8]
call esi
mov eax, dword [esp + 0x40]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test ecx, ecx
jne 0x1008a773
push str.key_lookup
push str.unrecoverable_internal_error
push 0x1013afe8
push 0x23
jmp 0x1008a6a5
lea ecx, [edi + 0x14]
call fcn.100383f0
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.1003efe0
mov edi, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x1008a6b1
mov ecx, dword [esp + 0x30]
cmp ecx, dword [edi + 0x20]
jae 0x1008a7b3
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + ecx*4]
jmp 0x1008a7b5
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 0x1008a726
jmp 0x1008a6b8