Function at 0x1008a9c0
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 0x1008aa01
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x1008aa27
push str.values
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test esi, esi
jne 0x1008aa32
push str.repo
jmp 0x1008aa0a
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x1008aa40
push str.pathname
jmp 0x1008aa0a
cmp dword [ebp + 0x18], 0
jne 0x1008aa4d
push str.names
jmp 0x1008aa0a
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x1008aa7b
mov edx, dword [edi]
lea eax, [edx - 1]
test eax, eax
je 0x1008aa7b
push str.git_attr_options
push edx
push str.invalid_version__d_on__s
push 3
call fcn.10028740
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 0x1008aa8a
xor eax, eax
jmp 0x1008aa8d
mov eax, dword [esi + 0x44]
push edx
mov edx, ecx
lea ecx, [esp + 0x6c]
push eax
call fcn.100a41d0
add esp, 8
test eax, eax
js 0x1008aa1e
mov edx, dword [ebp + 8]
lea eax, [esp + 0x40]
push eax
push dword [ebp + 0x10]
mov ecx, esi
push edi
call fcn.1008bab0
add esp, 0xc
mov dword [esp + 0x3c], eax
test eax, eax
js 0x1008ac86
mov edi, dword [ebp + 0x14]
mov esi, dword [fcn.1005ed10]
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 [0x101a54ac]
call esi
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
test esi, esi
je 0x1008aa1e
mov ecx, dword [esp + 0x4c]
xor edx, edx
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x1008ac65
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 0x1008ac51
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.100a40d0
test byte [edi + 0x10], 1
je 0x1008ab50
test al, al
sete al
test al, al
je 0x1008ac37
cmp dword [ebp + 0x14], 0
mov dword [esp + 0xc], 0
jbe 0x1008ac37
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 0x1008ac1c
cmp dword [esi], 0
jne 0x1008abe2
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, 0x1505
mov edx, dword [ecx]
test edx, edx
jne 0x1008abc1
push str.name
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
or eax, 0xffffffff
jmp 0x1008abdf
movsx edi, byte [edx]
test edi, edi
je 0x1008abdb
mov ecx, eax
lea edx, [edx + 1]
shl eax, 5
add eax, edi
movsx edi, byte [edx]
add eax, ecx
test edi, edi
jne 0x1008abc8
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 0x1008acb9
push 0x101dd3dc
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
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 0x1008ab85
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 0x1008ab30
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x24]
inc edx
mov dword [esp + 0x24], edx
cmp edx, ecx
jb 0x1008ab10
mov edi, dword [ebp + 0x14]
xor eax, eax
test edi, edi
je 0x1008ac86
mov edx, dword [esp + 0x28]
lea ecx, [esi + 0x10]
cmp dword [ecx], 0
jne 0x1008ac7e
mov dword [edx + eax*4], 0
inc eax
add ecx, 0x14
cmp eax, edi
jb 0x1008ac72
lea ecx, [esp + 0x40]
call fcn.1008ba50
lea ecx, [esp + 0x68]
call fcn.100a43b0
push dword [esp + 0x18]
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
call esi
mov eax, dword [esp + 0x40]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test ecx, ecx
jne 0x1008acd3
push str.key_lookup
push str.unrecoverable_internal_error
push 0x101d76f8
push 0x23
jmp 0x1008ac05
lea ecx, [edi + 0x14]
call fcn.10038990
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.1003f580
mov edi, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x1008ac11
mov ecx, dword [esp + 0x30]
cmp ecx, dword [edi + 0x20]
jae 0x1008ad13
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + ecx*4]
jmp 0x1008ad15
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 0x1008ac86
jmp 0x1008ac18