Function at 0x1007c9b0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, 0x1029182d
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, 0x1029182d
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 0x1007ca0d
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x40], xmm0
mov esi, dword [fcn.1005f470]
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 [0x1021f564]
call esi
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1007cb2a
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], 0x1029182d
mov dword [edi + 0x14], ecx
mov dword [edi + 0x30], 0
test esi, esi
jne 0x1007cb33
push 0x10265b7c
push str.invalid_argument
push 0x10256f18
push 3
call fcn.10028e40
add esp, 0x10
mov dword [esi + 0x960], 1
mov esi, 0x1029182d
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x1007cac5
add ecx, 0xa8
call fcn.100402f0
cmp dword [esp + 0x24], 0
jbe 0x1007caec
test esi, esi
je 0x1007caec
cmp esi, 0x1029182c
je 0x1007caec
push esi
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x1021f564]
call esi
add esp, 4
cmp dword [esp + 0x14], 0
jbe 0x1007cb16
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1007cb16
cmp eax, 0x1029182c
je 0x1007cb16
mov esi, dword [fcn.10033600]
mov ecx, esi
push eax
call dword [0x1021f564]
call esi
add esp, 4
mov esi, dword [fcn.10033600]
mov ecx, esi
push edi
call dword [0x1021f564]
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.100808b0
test eax, eax
js 0x1007caae
mov esi, dword [fcn.1005f470]
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 [0x1021f564]
call esi
add esp, 0x10
mov dword [edi + 0x2e78], eax
test eax, eax
je 0x1007caae
movzx ecx, byte [esp + 0x4c]
shl ecx, 5
xor ecx, dword [edi]
and ecx, 0x20
xor ecx, dword [edi]
cmp byte [0x1028f580], 0
mov dword [edi], ecx
je 0x1007cbf5
or ecx, 0x10
mov dword [edi], ecx
push str._pack
push dword [ebp + 0xc]
mov dl, 0x2f
lea ecx, [esp + 0x3c]
call fcn.1002b050
mov esi, dword [esp + 0x3c]
add esp, 8
test eax, eax
js 0x1007cd1e
movzx eax, word [edi + 0x14]
lea ecx, [esp + 0x28]
push eax
mov edx, esi
call fcn.100392e0
add esp, 4
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x38], 0
jbe 0x1007cc55
test esi, esi
je 0x1007cc55
cmp esi, 0x1029182c
je 0x1007cc55
push esi
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x1021f564]
call esi
add esp, 4
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x24], 0
test eax, eax
js 0x1007cce2
lea ecx, [edi + 0x10]
mov edx, esi
call fcn.10082990
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x20], eax
jbe 0x1007cca2
test esi, esi
je 0x1007cca2
cmp esi, 0x1029182c
je 0x1007cca2
push esi
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x1021f564]
call esi
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x14], 0
mov esi, 0x1029182d
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], esi
test eax, eax
js 0x1007ccfb
mov eax, dword [edi + 0x10]
mov edx, dword [esp + 0x1c]
mov dword [eax + 0x1c], edx
mov ecx, dword [edi + 0x10]
call fcn.1007ff50
test eax, eax
js 0x1007ccfb
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 0x1007cd07
push dword [esp + 0x1c]
call fcn.101ff2b1
add esp, 4
cmp dword [esp + 0x20], 0
jbe 0x1007caae
mov ecx, esi
call fcn.100402f0
jmp 0x1007caae
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], eax
jmp 0x1007cab3