Function at 0x1008e5e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x70
mov eax, dword [0x10282800]
xor eax, esp
mov dword [esp + 0x6c], eax
push ebx
mov ebx, dword [esp + 0x78]
push ebp
mov ebp, dword [esp + 0x80]
push esi
push edi
lea edi, [ebx + 0x50]
mov dword [esp + 0x14], edx
mov esi, ecx
lea ecx, [edi + 1]
nop dword [eax]
mov al, byte [edi]
inc edi
test al, al
jne 0x1008e610
sub edi, ecx
lea eax, [edi + 0x28]
cmp eax, edi
jb 0x1008e85f
lea edx, [eax + 3]
cmp edx, eax
jb 0x1008e85f
push 1
mov ecx, esi
call fcn.1002a4c0
add esp, 4
test eax, eax
js 0x1008e86a
push edi
lea edx, [ebx + 0x50]
mov ecx, esi
call fcn.1002a660
add esp, 4
cmp dword [esi + 4], 0
jbe 0x1008e670
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1008e670
mov eax, dword [esi]
cmp byte [eax + ecx - 1], 0x2f
je 0x1008e670
mov dl, 0x2f
mov ecx, esi
call fcn.1002a700
mov edi, dword [esi + 8]
lea ecx, [esp + 0x1c]
test ebp, ebp
jne 0x1008e690
xorps xmm0, xmm0
movups xmmword [esp + 0x1c], xmm0
movups xmmword [esp + 0x2c], xmm0
movq qword [esp + 0x3c], xmm0
jmp 0x1008e6b9
xor ebx, ebx
movzx edx, byte [ebx + ebp]
lea ecx, [ecx + 2]
mov eax, edx
inc ebx
shr eax, 4
and edx, 0xf
mov al, byte [eax + 0x10257020]
mov byte [ecx - 2], al
mov al, byte [edx + 0x10257020]
mov byte [ecx - 1], al
cmp ebx, 0x14
jb 0x1008e692
lea eax, [edi + 3]
cmp eax, edi
jb 0x1008e85f
lea edx, [eax + 1]
cmp edx, eax
jb 0x1008e85f
cmp dword [esi], 0x1029182c
je 0x1008e86a
cmp edx, dword [esi + 4]
jbe 0x1008e6f4
push 1
mov ecx, esi
call fcn.1002a4c0
add esp, 4
test eax, eax
js 0x1008e86a
push 3
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi]
add eax, dword [esi + 8]
push eax
call fcn.101e55c0
mov ecx, dword [esi + 8]
add esp, 0xc
mov eax, dword [esi]
add ecx, 3
mov dword [esi + 8], ecx
mov byte [ecx + eax], 0
mov ecx, dword [esi + 8]
mov eax, dword [esi]
mov byte [ecx + eax - 1], 0x2f
push dword [esi]
call fcn.10030cc0
add esp, 4
test al, al
jne 0x1008e759
push dword [esp + 0x8c]
mov edx, ebp
mov ecx, str.no_matching_loose_object_for_prefix
call fcn.10037a10
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.101e3b75
add esp, 0x70
ret
mov eax, dword [esi + 8]
mov ecx, esi
mov ebx, dword [esp + 0x8c]
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push 0x1008e4e0
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 0
call fcn.10031300
add esp, 8
test eax, eax
jns 0x1008e794
cmp eax, 0xfffffffb
jne 0x1008e86d
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x1008e7bf
push ebx
mov edx, ebp
mov ecx, str.no_matching_loose_object_for_prefix
call fcn.10037a10
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.101e3b75
add esp, 0x70
ret
cmp eax, 1
jle 0x1008e7f0
push str.multiple_matches_in_loose_objects
push str.ambiguous_SHA1_prefix____s
push 9
call fcn.10028e40
add esp, 0xc
mov eax, 0xfffffffb
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.101e3b75
add esp, 0x70
ret
mov ebp, dword [esp + 0x14]
lea eax, [esp + 0x4c]
push eax
push ebp
call sym.user32.dll_git_oid_fromstr
add esp, 8
test eax, eax
jne 0x1008e86d
lea eax, [edi + 0x28]
cmp eax, edi
jb 0x1008e85f
lea ebx, [eax + 2]
cmp ebx, eax
jb 0x1008e85f
mov edx, edi
mov ecx, esi
call fcn.1002ae80
push 1
mov edx, ebx
call fcn.1002a4c0
add esp, 4
test eax, eax
js 0x1008e86a
mov eax, dword [esi]
add eax, edi
push ebp
push eax
call sym.user32.dll_git_oid_pathfmt
mov ecx, dword [esi + 8]
add esp, 8
mov eax, dword [esi]
add ecx, 0x29
mov dword [esi + 8], ecx
mov byte [ecx + eax], 0
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.101e3b75
add esp, 0x70
ret
call fcn.1002bd60
mov dword [eax], str.Out_of_memory
or eax, 0xffffffff
mov ecx, dword [esp + 0x7c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.101e3b75
add esp, 0x70
ret