Function at 0x1007bd50
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, 0x101771ed
mov dword [esp + 0x44], 0
mov dword [esp + 0x2c], eax
xorps xmm0, xmm0
xor eax, eax
movq qword [esp + 0x3c], xmm0
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov eax, 0x101771ed
mov dword [esp + 0x10], eax
mov dword [esp + 0x20], eax
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [ebp + 0x18]
push esi
push edi
test eax, eax
je 0x1007bdad
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x40], xmm0
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
mov ecx, esi
push 0x9b
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcindexer.c
push 0x3800
push 1
call dword [0x1012f318]
call esi
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1007beca
mov eax, dword [ebp + 0x14]
lea esi, [edi + 0x4c8]
mov dword [edi + 0x2e7c], eax
mov ecx, 0x124
mov eax, dword [esp + 0x44]
mov dword [edi + 0xe70], eax
mov eax, dword [esp + 0x48]
mov dword [edi + 0xe74], eax
mov eax, dword [ebp + 0x10]
test eax, eax
mov dword [edi + 0x34], 0
cmovne ecx, eax
mov dword [edi + 0x2c], 0x101771ed
mov dword [edi + 0x14], ecx
mov dword [edi + 0x30], 0
test esi, esi
jne 0x1007bed3
push 0x1016211c
push str.invalid_argument
push 0x101534d8
push 3
call fcn.10028220
add esp, 0x10
mov dword [esi + 0x960], 1
mov esi, 0x101771ed
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x1007be65
add ecx, 0xa8
call fcn.1003f6f0
cmp dword [esp + 0x24], 0
jbe 0x1007be8c
test esi, esi
je 0x1007be8c
cmp esi, 0x101771ec
je 0x1007be8c
push esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012f318]
call esi
add esp, 4
cmp dword [esp + 0x14], 0
jbe 0x1007beb6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1007beb6
cmp eax, 0x101771ec
je 0x1007beb6
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x1012f318]
call esi
add esp, 4
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push edi
call dword [0x1012f318]
call esi
add esp, 4
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [esi], 0
lea ecx, [edi + 0x2e98]
mov dword [esi + 4], 0
mov dword [esi + 8], 0x67452301
mov dword [esi + 0xc], 0xefcdab89
mov dword [esi + 0x10], 0x98badcfe
mov dword [esi + 0x14], 0x10325476
mov dword [esi + 0x18], 0xc3d2e1f0
mov dword [esi + 0x5c], 0
mov dword [esi + 0x60], 1
mov dword [esi + 0x68], 1
mov dword [esi + 0x64], 1
mov dword [esi + 0x6c], 0
mov dword [esi + 0x70], 0
mov dword [esi + 0x960], 1
call fcn.1007fc50
test eax, eax
js 0x1007be4e
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
mov ecx, esi
push 0x1a
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcoidmap.c
push 0x1c
push 1
call dword [0x1012f318]
call esi
add esp, 0x10
mov dword [edi + 0x2e78], eax
test eax, eax
je 0x1007be4e
movzx ecx, byte [esp + 0x4c]
shl ecx, 5
xor ecx, dword [edi]
and ecx, 0x20
xor ecx, dword [edi]
cmp byte [0x10174f60], 0
mov dword [edi], ecx
je 0x1007bf95
or ecx, 0x10
mov dword [edi], ecx
push str._pack
push dword [ebp + 0xc]
mov dl, 0x2f
lea ecx, [esp + 0x3c]
call fcn.1002a440
mov esi, dword [esp + 0x3c]
add esp, 8
test eax, eax
js 0x1007c0be
movzx eax, word [edi + 0x14]
lea ecx, [esp + 0x28]
push eax
mov edx, esi
call fcn.100386e0
add esp, 4
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x38], 0
jbe 0x1007bff5
test esi, esi
je 0x1007bff5
cmp esi, 0x101771ec
je 0x1007bff5
push esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012f318]
call esi
add esp, 4
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x24], 0
test eax, eax
js 0x1007c082
lea ecx, [edi + 0x10]
mov edx, esi
call fcn.10081d20
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x20], eax
jbe 0x1007c042
test esi, esi
je 0x1007c042
cmp esi, 0x101771ec
je 0x1007c042
push esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012f318]
call esi
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x14], 0
mov esi, 0x101771ed
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], esi
test eax, eax
js 0x1007c09b
mov eax, dword [edi + 0x10]
mov edx, dword [esp + 0x1c]
mov dword [eax + 0x1c], edx
mov ecx, dword [edi + 0x10]
call fcn.1007f2f0
test eax, eax
js 0x1007c09b
mov eax, dword [ebp + 8]
mov dword [eax], edi
xor eax, eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
cmp eax, 0xffffffff
mov dword [esp + 0x18], esi
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x14], eax
je 0x1007c0a7
push dword [esp + 0x1c]
call fcn.1011acff
add esp, 4
cmp dword [esp + 0x20], 0
jbe 0x1007be4e
mov ecx, esi
call fcn.1003f6f0
jmp 0x1007be4e
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], eax
jmp 0x1007be53