Function at 0x100c6d20
Capabilities:
Hash data using djb2

Disassembly:
sub esp, 0x28
push ebx
mov ebx, dword [esp + 0x3c]
push ebp
push esi
push edi
mov edi, dword [esp + 0x3c]
mov ebp, edx
mov eax, edi
mov dword [ebx + 4], 0
cdq
and edx, 3
mov dword [ebx], 0
add eax, edx
mov dword [ebx + 8], 0x10
sar eax, 2
inc eax
mov dword [ebx + 0x14], 0
shl eax, 4
push 0xb5
mov dword [ebx + 0xc], eax
lea eax, [edi*4]
mov dword [ebx + 0x10], 0
mov dword [ebx + 0x18], 0
mov esi, dword [fcn.10060f30]
push str.C:UsersAdmin_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcxdiffxprepare.c
mov dword [esp + 0x38], ecx
mov ecx, esi
push eax
mov dword [esp + 0x38], ebp
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x24], 0
call dword [0x101aa4e4]
call esi
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x100c70a2
mov ecx, 1
xor eax, eax
cmp edi, ecx
jbe 0x100c6dd4
cmp eax, 0x20
jae 0x100c6dd4
add ecx, ecx
inc eax
cmp ecx, edi
jb 0x100c6dc8
mov esi, dword [fcn.10060f30]
mov edi, 1
mov ecx, edi
test eax, eax
push 0xba
cmovne ecx, eax
shl edi, cl
push str.C:UsersAdmin_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcxdiffxprepare.c
mov dword [esp + 0x30], ecx
mov ecx, esi
shl edi, 2
push edi
call dword [0x101aa4e4]
call esi
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x100c70a2
push edi
push 0
push eax
call fcn.10178ee0
mov ebp, dword [ebp]
xor edi, edi
add esp, 0xc
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x100c6fad
mov esi, dword [esp + 0x2c]
mov esi, dword [esi + 4]
add esi, ebp
mov dword [esp + 0x34], esi
cmp ebp, esi
jae 0x100c6fad
nop dword [eax]
mov eax, dword [esp + 0x40]
mov edx, ebp
mov dword [esp + 0x2c], edx
mov edi, 0x1505
mov eax, dword [eax]
test al, 0x1e
je 0x100c6e7c
push eax
mov edx, esi
lea ecx, [esp + 0x20]
call fcn.100c50f0
mov ebp, dword [esp + 0x20]
add esp, 4
mov edi, eax
jmp 0x100c6ea6
mov ecx, edx
cmp edx, esi
jae 0x100c6e9a
mov dl, byte [ecx]
cmp dl, 0xa
je 0x100c6e9a
mov eax, edi
inc ecx
shl edi, 5
add edi, eax
movsx eax, dl
xor edi, eax
cmp ecx, esi
jb 0x100c6e82
cmp ecx, esi
lea ebp, [ecx + 1]
cmovae ebp, ecx
mov dword [esp + 0x1c], ebp
mov ecx, dword [esp + 0x3c]
cmp dword [esp + 0x10], ecx
jl 0x100c6eec
mov esi, dword [fcn.10060f30]
add ecx, ecx
push 0xc5
push str.C:UsersAdmin_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcxdiffxprepare.c
mov dword [esp + 0x44], ecx
lea eax, [ecx*4]
mov ecx, dword [esp + 0x1c]
push eax
push ecx
mov ecx, esi
call dword [0x101aa4e4]
call esi
add esp, 0x10
test eax, eax
je 0x100c70a2
mov dword [esp + 0x14], eax
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x100c6efb
mov eax, dword [edx + 4]
cmp eax, dword [ebx + 0xc]
jne 0x100c6f49
mov eax, dword [ebx + 0xc]
mov esi, dword [fcn.10060f30]
add eax, 8
push 0x65
push str.C:UsersAdmin_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcxdiffxutils.c
push eax
mov ecx, esi
call dword [0x101aa4e4]
call esi
mov edx, eax
add esp, 0xc
test edx, edx
je 0x100c70a2
mov dword [edx + 4], 0
mov dword [edx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x100c6f3c
mov dword [eax], edx
cmp dword [ebx], 0
jne 0x100c6f43
mov dword [ebx], edx
mov dword [ebx + 4], edx
mov dword [ebx + 0x10], edx
mov ecx, dword [edx + 4]
mov eax, dword [ebx + 8]
add eax, ecx
add ecx, 8
mov dword [edx + 4], eax
add ecx, edx
je 0x100c70a2
mov edx, dword [esp + 0x2c]
mov eax, ebp
sub eax, edx
mov dword [ecx + 0xc], edi
mov edi, dword [esp + 0x10]
mov dword [ecx + 8], eax
mov eax, dword [esp + 0x14]
push ecx
push dword [esp + 0x2c]
mov dword [ecx + 4], edx
push dword [esp + 0x20]
mov edx, dword [esp + 0x50]
mov dword [eax + edi*4], ecx
inc edi
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x1c], edi
call fcn.100c6bc0
add esp, 0xc
test eax, eax
js 0x100c70a2
mov esi, dword [esp + 0x34]
cmp ebp, esi
jb 0x100c6e50
mov esi, dword [fcn.10060f30]
add edi, 2
push 0xd4
push str.C:UsersAdmin_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcxdiffxprepare.c
push edi
mov ecx, esi
call dword [0x101aa4e4]
call esi
add esp, 0xc
mov dword [esp + 0x24], eax
test eax, eax
je 0x100c70a2
push edi
push 0
push eax
call fcn.10178ee0
mov eax, dword [esp + 0x4c]
add esp, 0xc
mov eax, dword [eax]
and eax, 0xc000
cmp eax, 0x4000
je 0x100c7056
cmp eax, 0x8000
je 0x100c7056
mov eax, dword [esp + 0x10]
mov esi, dword [fcn.10060f30]
mov ecx, esi
push 0xda
push str.C:UsersAdmin_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcxdiffxprepare.c
lea edi, [eax*4 + 4]
push edi
call dword [0x101aa4e4]
call esi
add esp, 0xc
mov dword [esp + 0x20], eax
test eax, eax
je 0x100c70a2
mov esi, dword [fcn.10060f30]
mov ecx, esi
push 0xdc
push str.C:UsersAdmin_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcxdiffxprepare.c
push edi
call dword [0x101aa4e4]
call esi
mov edx, eax
add esp, 0xc
test edx, edx
je 0x100c70a4
jmp 0x100c7058
xor edx, edx
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [ebx + 0x30], ecx
mov ecx, dword [esp + 0x28]
mov dword [ebx + 0x20], ecx
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0x24], ecx
mov ecx, dword [esp + 0x24]
pop edi
inc ecx
mov dword [ebx + 0x1c], eax
pop esi
mov dword [ebx + 0x34], ecx
dec eax
mov ecx, dword [esp + 0x18]
mov dword [ebx + 0x2c], eax
xor eax, eax
pop ebp
mov dword [ebx + 0x38], ecx
mov dword [ebx + 0x3c], 0
mov dword [ebx + 0x40], edx
mov dword [ebx + 0x28], 0
pop ebx
add esp, 0x28
ret
xor edx, edx
mov esi, dword [fcn.10034de0]
mov ecx, esi
push edx
call dword [0x101aa4e4]
call esi
mov ecx, dword [esp + 0x24]
add esp, 4
mov esi, dword [fcn.10034de0]
push ecx
mov ecx, esi
call dword [0x101aa4e4]
call esi
mov ecx, dword [esp + 0x28]
add esp, 4
mov esi, dword [fcn.10034de0]
push ecx
mov ecx, esi
call dword [0x101aa4e4]
call esi
mov esi, dword [fcn.10034de0]
add esp, 4
mov ecx, esi
push dword [esp + 0x18]
call dword [0x101aa4e4]
call esi
mov esi, dword [fcn.10034de0]
add esp, 4
mov ecx, esi
push dword [esp + 0x14]
call dword [0x101aa4e4]
call esi
mov edi, dword [ebx]
add esp, 4
mov eax, edi
test edi, edi
je 0x100c713c
nop
mov esi, dword [fcn.10034de0]
mov ecx, esi
mov edi, dword [edi]
push eax
call dword [0x101aa4e4]
call esi
add esp, 4
mov eax, edi
test edi, edi
jne 0x100c7120
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x28
ret