Function at 0x1007c240
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x48
mov eax, 0x1020156d
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, 0x1020156d
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 0x1007c29d
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x40], xmm0
mov esi, dword [fcn.1005ed10]
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 [0x101a54ac]
call esi
mov edi, eax
add esp, 0x10
test edi, edi
je 0x1007c3ba
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], 0x1020156d
mov dword [edi + 0x14], ecx
mov dword [edi + 0x30], 0
test esi, esi
jne 0x1007c3c3
push 0x101e6354
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
mov dword [esi + 0x960], 1
mov esi, 0x1020156d
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x1007c355
add ecx, 0xa8
call fcn.1003fbe0
cmp dword [esp + 0x24], 0
jbe 0x1007c37c
test esi, esi
je 0x1007c37c
cmp esi, 0x1020156c
je 0x1007c37c
push esi
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
call esi
add esp, 4
cmp dword [esp + 0x14], 0
jbe 0x1007c3a6
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1007c3a6
cmp eax, 0x1020156c
je 0x1007c3a6
mov esi, dword [fcn.10032f00]
mov ecx, esi
push eax
call dword [0x101a54ac]
call esi
add esp, 4
mov esi, dword [fcn.10032f00]
mov ecx, esi
push edi
call dword [0x101a54ac]
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.10080150
test eax, eax
js 0x1007c33e
mov esi, dword [fcn.1005ed10]
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 [0x101a54ac]
call esi
add esp, 0x10
mov dword [edi + 0x2e78], eax
test eax, eax
je 0x1007c33e
movzx ecx, byte [esp + 0x4c]
shl ecx, 5
xor ecx, dword [edi]
and ecx, 0x20
xor ecx, dword [edi]
cmp byte [0x101ff2d0], 0
mov dword [edi], ecx
je 0x1007c485
or ecx, 0x10
mov dword [edi], ecx
push str._pack
push dword [ebp + 0xc]
mov dl, 0x2f
lea ecx, [esp + 0x3c]
call fcn.1002a950
mov esi, dword [esp + 0x3c]
add esp, 8
test eax, eax
js 0x1007c5ae
movzx eax, word [edi + 0x14]
lea ecx, [esp + 0x28]
push eax
mov edx, esi
call fcn.10038bd0
add esp, 4
mov dword [esp + 0x1c], eax
cmp dword [esp + 0x38], 0
jbe 0x1007c4e5
test esi, esi
je 0x1007c4e5
cmp esi, 0x1020156c
je 0x1007c4e5
push esi
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
call esi
add esp, 4
mov eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x28]
mov dword [esp + 0x24], 0
test eax, eax
js 0x1007c572
lea ecx, [edi + 0x10]
mov edx, esi
call fcn.10082230
cmp dword [esp + 0x2c], 0
mov dword [esp + 0x20], eax
jbe 0x1007c532
test esi, esi
je 0x1007c532
cmp esi, 0x1020156c
je 0x1007c532
push esi
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
call esi
mov eax, dword [esp + 0x24]
add esp, 4
mov dword [esp + 0x14], 0
mov esi, 0x1020156d
mov dword [esp + 0x20], 0
mov dword [esp + 0x18], esi
test eax, eax
js 0x1007c58b
mov eax, dword [edi + 0x10]
mov edx, dword [esp + 0x1c]
mov dword [eax + 0x1c], edx
mov ecx, dword [edi + 0x10]
call fcn.1007f7f0
test eax, eax
js 0x1007c58b
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 0x1007c597
push dword [esp + 0x1c]
call fcn.1018e2bc
add esp, 4
cmp dword [esp + 0x20], 0
jbe 0x1007c33e
mov ecx, esi
call fcn.1003fbe0
jmp 0x1007c33e
mov eax, dword [esp + 0x38]
mov dword [esp + 0x24], eax
jmp 0x1007c343