Function at 0x1008b120
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 0x1008b161
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test eax, eax
jne 0x1008b187
push str.values
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
test esi, esi
jne 0x1008b192
push str.repo
jmp 0x1008b16a
mov ecx, dword [ebp + 0x10]
test ecx, ecx
jne 0x1008b1a0
push str.pathname
jmp 0x1008b16a
cmp dword [ebp + 0x18], 0
jne 0x1008b1ad
push str.names
jmp 0x1008b16a
mov edi, dword [ebp + 0xc]
test edi, edi
je 0x1008b1db
mov edx, dword [edi]
lea eax, [edx - 1]
test eax, eax
je 0x1008b1db
push str.git_attr_options
push edx
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 edx, dword [esi + 0x60]
and edx, 1
lea edx, [edx - 1]
je 0x1008b1ea
xor eax, eax
jmp 0x1008b1ed
mov eax, dword [esi + 0x44]
push edx
mov edx, ecx
lea ecx, [esp + 0x6c]
push eax
call fcn.100a4940
add esp, 8
test eax, eax
js 0x1008b17e
mov edx, dword [ebp + 8]
lea eax, [esp + 0x40]
push eax
push dword [ebp + 0x10]
mov ecx, esi
push edi
call fcn.1008c210
add esp, 0xc
mov dword [esp + 0x3c], eax
test eax, eax
js 0x1008b3e6
mov edi, dword [ebp + 0x14]
mov esi, dword [fcn.1005f470]
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 [0x1021f564]
call esi
mov esi, eax
add esp, 0x10
mov dword [esp + 0x18], esi
test esi, esi
je 0x1008b17e
mov ecx, dword [esp + 0x4c]
xor edx, edx
mov dword [esp + 0x24], edx
test ecx, ecx
je 0x1008b3c5
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 0x1008b3b1
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.100a4840
test byte [edi + 0x10], 1
je 0x1008b2b0
test al, al
sete al
test al, al
je 0x1008b397
cmp dword [ebp + 0x14], 0
mov dword [esp + 0xc], 0
jbe 0x1008b397
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 0x1008b37c
cmp dword [esi], 0
jne 0x1008b342
mov eax, dword [ecx]
mov dword [esi], eax
mov eax, 0x1505
mov edx, dword [ecx]
test edx, edx
jne 0x1008b321
push str.name
push str.invalid_argument
push 0x10256f18
push 3
call fcn.10028e40
add esp, 0x10
or eax, 0xffffffff
jmp 0x1008b33f
movsx edi, byte [edx]
test edi, edi
je 0x1008b33b
mov ecx, eax
lea edx, [edx + 1]
shl eax, 5
add eax, edi
movsx edi, byte [edx]
add eax, ecx
test edi, edi
jne 0x1008b328
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 0x1008b419
push 0x1025cc04
push str.invalid_argument
push 0x10256f18
push 3
call fcn.10028e40
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 0x1008b2e5
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 0x1008b290
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x24]
inc edx
mov dword [esp + 0x24], edx
cmp edx, ecx
jb 0x1008b270
mov edi, dword [ebp + 0x14]
xor eax, eax
test edi, edi
je 0x1008b3e6
mov edx, dword [esp + 0x28]
lea ecx, [esi + 0x10]
cmp dword [ecx], 0
jne 0x1008b3de
mov dword [edx + eax*4], 0
inc eax
add ecx, 0x14
cmp eax, edi
jb 0x1008b3d2
lea ecx, [esp + 0x40]
call fcn.1008c1b0
lea ecx, [esp + 0x68]
call fcn.100a4b20
push dword [esp + 0x18]
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x1021f564]
call esi
mov eax, dword [esp + 0x40]
add esp, 4
pop edi
pop esi
mov esp, ebp
pop ebp
ret
test ecx, ecx
jne 0x1008b433
push str.key_lookup
push str.unrecoverable_internal_error
push 0x10256f18
push 0x23
jmp 0x1008b365
lea ecx, [edi + 0x14]
call fcn.100390a0
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.1003fc90
mov edi, dword [esp + 0x1c]
add esp, 0xc
test eax, eax
jne 0x1008b371
mov ecx, dword [esp + 0x30]
cmp ecx, dword [edi + 0x20]
jae 0x1008b473
mov eax, dword [edi + 0x1c]
mov eax, dword [eax + ecx*4]
jmp 0x1008b475
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 0x1008b3e6
jmp 0x1008b378