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

Disassembly:
sub esp, 0x70
mov eax, dword [0x10156440]
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 0x1008d9c0
sub edi, ecx
lea eax, [edi + 0x28]
cmp eax, edi
jb 0x1008dc0f
lea edx, [eax + 3]
cmp edx, eax
jb 0x1008dc0f
push 1
mov ecx, esi
call fcn.100298a0
add esp, 4
test eax, eax
js 0x1008dc1a
push edi
lea edx, [ebx + 0x50]
mov ecx, esi
call fcn.10029a40
add esp, 4
cmp dword [esi + 4], 0
jbe 0x1008da20
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1008da20
mov eax, dword [esi]
cmp byte [eax + ecx - 1], 0x2f
je 0x1008da20
mov dl, 0x2f
mov ecx, esi
call fcn.10029ae0
mov edi, dword [esi + 8]
lea ecx, [esp + 0x1c]
test ebp, ebp
jne 0x1008da40
xorps xmm0, xmm0
movups xmmword [esp + 0x1c], xmm0
movups xmmword [esp + 0x2c], xmm0
movq qword [esp + 0x3c], xmm0
jmp 0x1008da69
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 + 0x1013b110]
mov byte [ecx - 2], al
mov al, byte [edx + 0x1013b110]
mov byte [ecx - 1], al
cmp ebx, 0x14
jb 0x1008da42
lea eax, [edi + 3]
cmp eax, edi
jb 0x1008dc0f
lea edx, [eax + 1]
cmp edx, eax
jb 0x1008dc0f
cmp dword [esi], 0x1015de6c
je 0x1008dc1a
cmp edx, dword [esi + 4]
jbe 0x1008daa4
push 1
mov ecx, esi
call fcn.100298a0
add esp, 4
test eax, eax
js 0x1008dc1a
push 3
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi]
add eax, dword [esi + 8]
push eax
call fcn.100f6030
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.100300b0
add esp, 4
test al, al
jne 0x1008db09
push dword [esp + 0x8c]
mov edx, ebp
mov ecx, str.no_matching_loose_object_for_prefix
call fcn.10036e20
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100f4326
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 0x1008d890
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 0
call fcn.100306f0
add esp, 8
test eax, eax
jns 0x1008db44
cmp eax, 0xfffffffb
jne 0x1008dc1d
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x1008db6f
push ebx
mov edx, ebp
mov ecx, str.no_matching_loose_object_for_prefix
call fcn.10036e20
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100f4326
add esp, 0x70
ret
cmp eax, 1
jle 0x1008dba0
push str.multiple_matches_in_loose_objects
push str.ambiguous_SHA1_prefix____s
push 9
call fcn.10028220
add esp, 0xc
mov eax, 0xfffffffb
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100f4326
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 0x1008dc1d
lea eax, [edi + 0x28]
cmp eax, edi
jb 0x1008dc0f
lea ebx, [eax + 2]
cmp ebx, eax
jb 0x1008dc0f
mov edx, edi
mov ecx, esi
call fcn.1002a270
push 1
mov edx, ebx
call fcn.100298a0
add esp, 4
test eax, eax
js 0x1008dc1a
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.100f4326
add esp, 0x70
ret
call fcn.1002b150
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.100f4326
add esp, 0x70
ret