Function at 0x1008d920
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 0x1008d950
sub edi, ecx
lea eax, [edi + 0x28]
cmp eax, edi
jb 0x1008db9f
lea edx, [eax + 3]
cmp edx, eax
jb 0x1008db9f
push 1
mov ecx, esi
call fcn.10029800
add esp, 4
test eax, eax
js 0x1008dbaa
push edi
lea edx, [ebx + 0x50]
mov ecx, esi
call fcn.100299a0
add esp, 4
cmp dword [esi + 4], 0
jbe 0x1008d9b0
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x1008d9b0
mov eax, dword [esi]
cmp byte [eax + ecx - 1], 0x2f
je 0x1008d9b0
mov dl, 0x2f
mov ecx, esi
call fcn.10029a40
mov edi, dword [esi + 8]
lea ecx, [esp + 0x1c]
test ebp, ebp
jne 0x1008d9d0
xorps xmm0, xmm0
movups xmmword [esp + 0x1c], xmm0
movups xmmword [esp + 0x2c], xmm0
movq qword [esp + 0x3c], xmm0
jmp 0x1008d9f9
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 + 0x1013b0f0]
mov byte [ecx - 2], al
mov al, byte [edx + 0x1013b0f0]
mov byte [ecx - 1], al
cmp ebx, 0x14
jb 0x1008d9d2
lea eax, [edi + 3]
cmp eax, edi
jb 0x1008db9f
lea edx, [eax + 1]
cmp edx, eax
jb 0x1008db9f
cmp dword [esi], 0x1015ddcc
je 0x1008dbaa
cmp edx, dword [esi + 4]
jbe 0x1008da34
push 1
mov ecx, esi
call fcn.10029800
add esp, 4
test eax, eax
js 0x1008dbaa
push 3
lea eax, [esp + 0x20]
push eax
mov eax, dword [esi]
add eax, dword [esi + 8]
push eax
call fcn.100f5f90
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.10030010
add esp, 4
test al, al
jne 0x1008da99
push dword [esp + 0x8c]
mov edx, ebp
mov ecx, str.no_matching_loose_object_for_prefix
call fcn.10036d70
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100f4277
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 0x1008d820
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], 0
call fcn.10030650
add esp, 8
test eax, eax
jns 0x1008dad4
cmp eax, 0xfffffffb
jne 0x1008dbad
mov eax, dword [esp + 0x48]
test eax, eax
jne 0x1008daff
push ebx
mov edx, ebp
mov ecx, str.no_matching_loose_object_for_prefix
call fcn.10036d70
add esp, 4
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100f4277
add esp, 0x70
ret
cmp eax, 1
jle 0x1008db30
push str.multiple_matches_in_loose_objects
push str.ambiguous_SHA1_prefix____s
push 9
call fcn.10028180
add esp, 0xc
mov eax, 0xfffffffb
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x6c]
xor ecx, esp
call fcn.100f4277
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 0x1008dbad
lea eax, [edi + 0x28]
cmp eax, edi
jb 0x1008db9f
lea ebx, [eax + 2]
cmp ebx, eax
jb 0x1008db9f
mov edx, edi
mov ecx, esi
call fcn.1002a1c0
push 1
mov edx, ebx
call fcn.10029800
add esp, 4
test eax, eax
js 0x1008dbaa
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.100f4277
add esp, 0x70
ret
call fcn.1002b0b0
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.100f4277
add esp, 0x70
ret