Function at 0x100c4230
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 [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
push str.D:DevelopmentMillennium_vendor_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 [0x101182f8]
call esi
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
je 0x100c45b2
mov ecx, 1
xor eax, eax
cmp edi, ecx
jbe 0x100c42e4
cmp eax, 0x20
jae 0x100c42e4
add ecx, ecx
inc eax
cmp ecx, edi
jb 0x100c42d8
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
mov edi, 1
mov ecx, edi
test eax, eax
push 0xba
cmovne ecx, eax
shl edi, cl
push str.D:DevelopmentMillennium_vendor_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 [0x101182f8]
call esi
add esp, 0xc
mov dword [esp + 0x18], eax
test eax, eax
je 0x100c45b2
push edi
push 0
push eax
call fcn.100f6510
mov ebp, dword [ebp]
xor edi, edi
add esp, 0xc
mov dword [esp + 0x10], edi
mov dword [esp + 0x1c], ebp
test ebp, ebp
je 0x100c44bd
mov esi, dword [esp + 0x2c]
mov esi, dword [esi + 4]
add esi, ebp
mov dword [esp + 0x34], esi
cmp ebp, esi
jae 0x100c44bd
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 0x100c438c
push eax
mov edx, esi
lea ecx, [esp + 0x20]
call fcn.100c2610
mov ebp, dword [esp + 0x20]
add esp, 4
mov edi, eax
jmp 0x100c43b6
mov ecx, edx
cmp edx, esi
jae 0x100c43aa
mov dl, byte [ecx]
cmp dl, 0xa
je 0x100c43aa
mov eax, edi
inc ecx
shl edi, 5
add edi, eax
movsx eax, dl
xor edi, eax
cmp ecx, esi
jb 0x100c4392
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 0x100c43fc
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
add ecx, ecx
push 0xc5
push str.D:DevelopmentMillennium_vendor_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 [0x101182f8]
call esi
add esp, 0x10
test eax, eax
je 0x100c45b2
mov dword [esp + 0x14], eax
mov edx, dword [ebx + 0x10]
test edx, edx
je 0x100c440b
mov eax, dword [edx + 4]
cmp eax, dword [ebx + 0xc]
jne 0x100c4459
mov eax, dword [ebx + 0xc]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
add eax, 8
push 0x65
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcxdiffxutils.c
push eax
mov ecx, esi
call dword [0x101182f8]
call esi
mov edx, eax
add esp, 0xc
test edx, edx
je 0x100c45b2
mov dword [edx + 4], 0
mov dword [edx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x100c444c
mov dword [eax], edx
cmp dword [ebx], 0
jne 0x100c4453
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 0x100c45b2
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.100c40d0
add esp, 0xc
test eax, eax
js 0x100c45b2
mov esi, dword [esp + 0x34]
cmp ebp, esi
jb 0x100c4360
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
add edi, 2
push 0xd4
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcxdiffxprepare.c
push edi
mov ecx, esi
call dword [0x101182f8]
call esi
add esp, 0xc
mov dword [esp + 0x24], eax
test eax, eax
je 0x100c45b2
push edi
push 0
push eax
call fcn.100f6510
mov eax, dword [esp + 0x4c]
add esp, 0xc
mov eax, dword [eax]
and eax, 0xc000
cmp eax, 0x4000
je 0x100c4566
cmp eax, 0x8000
je 0x100c4566
mov eax, dword [esp + 0x10]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
mov ecx, esi
push 0xda
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcxdiffxprepare.c
lea edi, [eax*4 + 4]
push edi
call dword [0x101182f8]
call esi
add esp, 0xc
mov dword [esp + 0x20], eax
test eax, eax
je 0x100c45b2
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
mov ecx, esi
push 0xdc
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcxdiffxprepare.c
push edi
call dword [0x101182f8]
call esi
mov edx, eax
add esp, 0xc
test edx, edx
je 0x100c45b4
jmp 0x100c4568
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 [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push edx
call dword [0x101182f8]
call esi
mov ecx, dword [esp + 0x24]
add esp, 4
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
push ecx
mov ecx, esi
call dword [0x101182f8]
call esi
mov ecx, dword [esp + 0x28]
add esp, 4
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
push ecx
mov ecx, esi
call dword [0x101182f8]
call esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
add esp, 4
mov ecx, esi
push dword [esp + 0x18]
call dword [0x101182f8]
call esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
add esp, 4
mov ecx, esi
push dword [esp + 0x14]
call dword [0x101182f8]
call esi
mov edi, dword [ebx]
add esp, 4
mov eax, edi
test edi, edi
je 0x100c464c
nop
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
mov edi, dword [edi]
push eax
call dword [0x101182f8]
call esi
add esp, 4
mov eax, edi
test edi, edi
jne 0x100c4630
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x28
ret