Function at 0x1007e2f0
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, 0x102069cd
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, 0x102069cd
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 0x1007e34d
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x40], xmm0
mov esi, dword [fcn.10060f30]
mov ecx, esi
push 0x9b
push str.C:UsersAdmin_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcindexer.c
push 0x3800
push 1
call dword [0x101aa4e4]
call esi
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1007e46a
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], 0x102069cd
mov dword [edi + 0x14], ecx
mov dword [edi + 0x30], 0
test esi, esi
jne 0x1007e473
push 0x101eb020
push str.invalid_argument
push 0x101dc9b8
push 3
call fcn.1002a5a0
add esp, 0x10
mov dword [esi + 0x960], 1
mov esi, 0x102069cd
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x1007e405
add ecx, 0xa8
call fcn.10041a20
cmp dword [esp + 0x24], 0
jbe 0x1007e42c
test esi, esi
je 0x1007e42c
cmp esi, 0x102069cc
je 0x1007e42c
push esi
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
add esp, 4
cmp dword [esp + 0x14], 0
jbe 0x1007e456
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1007e456
cmp eax, 0x102069cc
je 0x1007e456
mov esi, dword [fcn.10034de0]
mov ecx, esi
push eax
call dword [0x101aa4e4]
call esi
add esp, 4
mov esi, dword [fcn.10034de0]
mov ecx, esi
push edi
call dword [0x101aa4e4]
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.10082220
test eax, eax
js 0x1007e3ee
mov esi, dword [fcn.10060f30]
mov ecx, esi
push 0x1a
push str.C:UsersAdmin_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srcoidmap.c
push 0x1c
push 1
call dword [0x101aa4e4]
call esi
add esp, 0x10
mov dword [edi + 0x2e78], eax
test eax, eax
je 0x1007e3ee
movzx ecx, byte [esp + 0x4c]
shl ecx, 5
xor ecx, dword [edi]
and ecx, 0x20
xor ecx, dword [edi]
cmp byte [0x10204720], 0
mov dword [edi], ecx
je 0x1007e535
or ecx, 0x10
mov dword [edi], ecx
push str._pack
push dword [ebp + 0xc]
mov dl, 0x2f
lea ecx, [esp + 0x3c]
call fcn.1002c770
mov esi, dword [esp + 0x3c]
add esp, 8
test eax, eax
js 0x1007e65e
movzx eax, word [edi + 0x14]
lea ecx, [esp + 0x28]
push eax
mov edx, esi
call fcn.1003aa40
add esp, 4
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x38], 0
jbe 0x1007e595
test esi, esi
je 0x1007e595
cmp esi, 0x102069cc
je 0x1007e595
push esi
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
add esp, 4
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x24], 0
test eax, eax
js 0x1007e622
lea ecx, [edi + 0x10]
mov edx, esi
call fcn.100842d0
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x20], eax
jbe 0x1007e5e2
test esi, esi
je 0x1007e5e2
cmp esi, 0x102069cc
je 0x1007e5e2
push esi
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4e4]
call esi
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x14], 0
mov esi, 0x102069cd
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], esi
test eax, eax
js 0x1007e63b
mov eax, dword [edi + 0x10]
mov edx, dword [esp + 0x1c]
mov dword [eax + 0x1c], edx
mov ecx, dword [edi + 0x10]
call fcn.100818d0
test eax, eax
js 0x1007e63b
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 0x1007e647
push dword [esp + 0x1c]
call fcn.101924c1
add esp, 4
cmp dword [esp + 0x20], 0
jbe 0x1007e3ee
mov ecx, esi
call fcn.10041a20
jmp 0x1007e3ee
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], eax
jmp 0x1007e3f3