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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x101f9740]
xor eax, esp
mov dword [esp + 0xb8], eax
push ebx
push esi
push edi
mov edi, edx
mov eax, ecx
xor esi, esi
mov dword [esp + 0x18], edi
mov dword [esp + 0x1c], eax
test byte [edi + 0x24], 8
jne 0x10065c17
mov ebx, dword [eax + 4]
mov dword [esp + 0xc], ebx
lea eax, [ebx + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov ebx, dword [ebx + 0x54]
test ebx, ebx
je 0x1006566a
cmp byte [ebx + 0x10], 0
jne 0x10065661
mov edx, dword [ebx]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], esi
mov byte [ebx + 0x10], 1
call fcn.10092550
test eax, eax
js 0x1006566a
mov eax, dword [esp + 0x10]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x1006566a
mov esi, eax
mov eax, dword [esp + 0xc]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x10065738
movzx ecx, byte [edi]
mov eax, dword [esi + 0xc]
push dword [eax + ecx*4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov cl, byte [edi]
mov ebx, eax
test cl, cl
jne 0x1006569b
xor ecx, ecx
jmp 0x100656ad
mov eax, dword [esi + 0xc]
movzx ecx, cl
push dword [eax + ecx*4 - 4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, eax
push edi
push ebx
push ecx
mov ecx, dword [esi + 0x14]
mov edx, 0x14
call fcn.10083f40
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x100656d5
mov edx, dword [esi + 0x14]
lea ecx, [ebx + ebx*4]
lea ecx, [edx + ecx*4]
jmp 0x10065709
not ebx
mov dword [esp + 0x10], ebx
cmp ebx, dword [esi + 0x10]
jge 0x1006589e
mov edx, dword [esi + 0x14]
lea eax, [ebx + ebx*4]
push 0x14
lea eax, [edx + eax*4]
push eax
push edi
mov dword [esp + 0x18], eax
call sym.user32.dll_git_oid_ncmp
add esp, 0xc
test eax, eax
jne 0x1006589e
mov ecx, dword [esp + 0xc]
lea eax, [ebx + 1]
cmp eax, dword [esi + 0x10]
jge 0x1006577b
push 0x14
lea eax, [ecx + 0x14]
push eax
push edi
call sym.user32.dll_git_oid_ncmp
add esp, 0xc
test eax, eax
jne 0x1006577b
push str.found_multiple_offsets_for_commit_graph_index_entry
push str.ambiguous_SHA1_prefix____s
push 9
call fcn.10028e40
add esp, 0xc
mov eax, dword [esp + 0x1c]
push edi
push dword [eax + 4]
lea eax, [esp + 0x18]
push eax
call sym.user32.dll_git_odb_read
add esp, 0xc
test eax, eax
js 0x10065d7b
mov ebx, dword [esp + 0x10]
cmp word [ebx + 0x14], 1
je 0x10065c58
push str.object_is_no_commit_object
push 3
call fcn.10028e40
add esp, 8
or esi, 0xffffffff
jmp 0x10065d72
cmp ebx, dword [esi + 0x10]
jb 0x1006579a
push ebx
push str.commit_index__zu_does_not_exist
push 3
call fcn.10028e40
add esp, 0xc
mov eax, 0xfffffffd
jmp 0x100658af
mov eax, dword [esi + 0x18]
lea ecx, [ebx + ebx*8]
movups xmm0, xmmword [eax + ecx*4]
lea ebx, [eax + ecx*4]
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x14]
movups xmmword [esp + 0x54], xmm0
mov dword [esp + 0x64], eax
call dword [sym.imp.WS2_32.dll_ntohl]
push dword [ebx + 0x18]
mov edi, eax
mov dword [esp + 0x48], edi
call dword [sym.imp.WS2_32.dll_ntohl]
push dword [ebx + 0x1c]
xor edx, edx
mov dword [esp + 0x10], eax
cmp eax, 0x70000000
mov dword [esp + 0x4c], eax
setne dl
xor ecx, ecx
cmp edi, 0x70000000
setne cl
add edx, ecx
mov dword [esp + 0x18], edx
mov dword [esp + 0x44], edx
call dword [sym.imp.WS2_32.dll_ntohl]
push dword [ebx + 0x20]
mov edi, eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov ebx, dword [esp + 0xc]
mov ecx, edi
xor edx, edx
shr edi, 2
and ecx, 3
mov dword [esp + 0x38], eax
or edx, ecx
mov dword [esp + 0x30], edi
mov dword [esp + 0x3c], edx
test ebx, ebx
jns 0x10065877
and ebx, 0x7fffffff
cmp ebx, dword [esi + 0x20]
jb 0x10065850
push ebx
push str.commit__u_does_not_exist
push 3
call fcn.10028e40
mov edi, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov eax, 0xfffffffd
jmp 0x100658b7
mov dword [esp + 0x4c], ebx
mov eax, dword [esi + 0x1c]
push dword [eax + ebx*4]
call dword [sym.imp.WS2_32.dll_ntohl]
test eax, eax
js 0x10065877
mov eax, dword [esp + 0x14]
inc ebx
inc eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x40], eax
cmp ebx, dword [esi + 0x20]
jb 0x10065854
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
movups xmm0, xmmword [eax + ecx*4]
mov eax, dword [eax + ecx*4 + 0x10]
mov dword [esp + 0x74], eax
xor eax, eax
movups xmmword [esp + 0x64], xmm0
jmp 0x100658b7
push 0x14
mov edx, edi
mov ecx, str.failed_to_find_offset_for_commit_graph_index_entry
call fcn.10037a10
add esp, 4
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], edx
test eax, eax
jne 0x10065738
movzx ebx, dx
cmp edx, ebx
jne 0x10065738
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x3c]
mov dword [edi + 0x20], eax
mov eax, dword [esp + 0x38]
mov dword [edi + 0x1c], ecx
mov ecx, dword [esp + 0x1c]
mov word [edi + 0x2a], dx
mov edx, edi
push ebx
mov dword [edi + 0x18], eax
call fcn.10065550
add esp, 4
mov dword [edi + 0x2c], eax
test eax, eax
jne 0x10065911
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.10173495
mov esp, ebp
pop ebp
ret
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x10], ebx
cmp ax, word [edi + 0x2a]
jae 0x10065c13
mov eax, dword [esp + 0x14]
cmp ebx, eax
jae 0x10065c2e
test ebx, ebx
je 0x10065aa2
cmp ebx, 1
jne 0x10065945
cmp eax, 2
je 0x10065aa2
mov ecx, dword [esp + 0x4c]
mov eax, dword [esi + 0x1c]
add ecx, ebx
push dword [eax + ecx*4 - 4]
call dword [sym.imp.WS2_32.dll_ntohl]
and eax, 0x7fffffff
mov dword [esp + 0x28], eax
cmp eax, dword [esi + 0x10]
jb 0x10065980
push eax
push str.commit_index__zu_does_not_exist
push 3
call fcn.10028e40
add esp, 0xc
mov eax, 0xfffffffd
jmp 0x10065be4
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x18]
movups xmm0, xmmword [eax + ecx*4]
lea ebx, [eax + ecx*4]
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x14]
movups xmmword [esp + 0x9c], xmm0
mov dword [esp + 0xac], eax
call dword [sym.imp.WS2_32.dll_ntohl]
push dword [ebx + 0x18]
mov edi, eax
mov dword [esp + 0x90], edi
call dword [sym.imp.WS2_32.dll_ntohl]
push dword [ebx + 0x1c]
xor ecx, ecx
mov dword [esp + 0x10], eax
cmp eax, 0x70000000
mov dword [esp + 0x94], eax
setne cl
xor eax, eax
cmp edi, 0x70000000
mov dword [esp + 0x28], ecx
setne al
mov dword [esp + 0x24], eax
add eax, ecx
mov dword [esp + 0x8c], eax
call dword [sym.imp.WS2_32.dll_ntohl]
push dword [ebx + 0x20]
mov edi, eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, edi
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0xc]
xor edx, edx
and ecx, 3
shr edi, 2
or edx, ecx
mov dword [esp + 0x78], edi
mov dword [esp + 0x84], edx
test eax, eax
jns 0x10065a99
and eax, 0x7fffffff
cmp eax, dword [esi + 0x20]
jb 0x10065a49
push eax
push str.commit__u_does_not_exist
push 3
call fcn.10028e40
add esp, 0xc
mov eax, 0xfffffffd
jmp 0x10065bdc
mov ebx, dword [esp + 0x88]
mov edi, ebx
sub edi, dword [esp + 0x20]
sub edi, dword [esp + 0x24]
add edi, eax
mov dword [esp + 0x94], eax
lea ecx, [edi*4]
mov dword [esp + 0xc], ecx
nop
mov eax, dword [esi + 0x1c]
push dword [ecx + eax]
call dword [sym.imp.WS2_32.dll_ntohl]
test eax, eax
js 0x10065a92
mov ecx, dword [esp + 0xc]
inc edi
add ecx, 4
inc ebx
mov dword [esp + 0xc], ecx
cmp edi, dword [esi + 0x20]
jb 0x10065a70
mov dword [esp + 0x88], ebx
mov eax, dword [esp + 0x28]
jmp 0x10065bbd
mov eax, dword [esp + ebx*4 + 0x44]
mov dword [esp + 0x2c], eax
cmp eax, dword [esi + 0x10]
jae 0x10065966
lea ecx, [eax + eax*8]
mov eax, dword [esi + 0x18]
movups xmm0, xmmword [eax + ecx*4]
lea ebx, [eax + ecx*4]
mov eax, dword [ebx + 0x10]
push dword [ebx + 0x14]
movups xmmword [esp + 0x9c], xmm0
mov dword [esp + 0xac], eax
call dword [sym.imp.WS2_32.dll_ntohl]
push dword [ebx + 0x18]
mov edi, eax
mov dword [esp + 0x90], edi
call dword [sym.imp.WS2_32.dll_ntohl]
push dword [ebx + 0x1c]
xor ecx, ecx
mov dword [esp + 0x2c], eax
cmp eax, 0x70000000
mov dword [esp + 0x94], eax
setne cl
xor eax, eax
cmp edi, 0x70000000
mov dword [esp + 0x24], ecx
setne al
mov dword [esp + 0x28], eax
add eax, ecx
mov dword [esp + 0x8c], eax
call dword [sym.imp.WS2_32.dll_ntohl]
push dword [ebx + 0x20]
mov edi, eax
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, edi
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x28]
xor edx, edx
and ecx, 3
shr edi, 2
or edx, ecx
mov dword [esp + 0x78], edi
mov dword [esp + 0x84], edx
test eax, eax
jns 0x10065bb9
and eax, 0x7fffffff
cmp eax, dword [esi + 0x20]
jae 0x10065a2f
mov ebx, dword [esp + 0x88]
mov edi, ebx
sub edi, dword [esp + 0x24]
sub edi, dword [esp + 0x20]
add edi, eax
mov dword [esp + 0x94], eax
lea ecx, [edi*4]
mov dword [esp + 0xc], ecx
nop dword [eax + eax]
mov eax, dword [esi + 0x1c]
push dword [ecx + eax]
call dword [sym.imp.WS2_32.dll_ntohl]
test eax, eax
js 0x10065bb2
mov ecx, dword [esp + 0xc]
inc edi
add ecx, 4
inc ebx
mov dword [esp + 0xc], ecx
cmp edi, dword [esi + 0x20]
jb 0x10065b90
mov dword [esp + 0x88], ebx
mov eax, dword [esp + 0x2c]
lea ecx, [eax + eax*4]
mov eax, dword [esi + 0x14]
movups xmm0, xmmword [eax + ecx*4]
mov eax, dword [eax + ecx*4 + 0x10]
mov dword [esp + 0xbc], eax
xor eax, eax
movups xmmword [esp + 0xac], xmm0
mov edi, dword [esp + 0x18]
mov ebx, dword [esp + 0x10]
test eax, eax
js 0x10065d7b
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xac]
call fcn.1006bbc0
mov ecx, dword [edi + 0x2c]
mov dword [ecx + ebx*4], eax
inc ebx
movzx eax, word [edi + 0x2a]
mov dword [esp + 0x10], ebx
cmp ebx, eax
jb 0x10065923
or dword [edi + 0x24], 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.10173495
mov esp, ebp
pop ebp
ret
push ebx
push str.parent_index__zu_does_not_exist
push 3
call fcn.10028e40
add esp, 0xc
mov eax, 0xfffffffd
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.10173495
mov esp, ebp
pop ebp
ret
mov esi, dword [fcn.1005f470]
mov ecx, esi
push 0x81
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srccommit_list.c
push 0x60
push 1
call dword [0x101a64ac]
call esi
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10065773
mov eax, dword [esp + 0x1c]
mov ecx, esi
push 1
mov eax, dword [eax]
mov dword [esi + 0x20], eax
push dword [ebx + 0x18]
mov edx, dword [ebx + 0x20]
call fcn.1005ca90
add esp, 8
test eax, eax
jns 0x10065cbe
push esi
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x101a64ac]
call esi
add esp, 4
or esi, 0xffffffff
jmp 0x10065d72
mov ecx, dword [esi + 0x28]
movzx eax, cx
cmp ecx, eax
je 0x10065cf3
push esi
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x101a64ac]
call esi
add esp, 4
push str.commit_has_more_than_216_parents
push 3
call fcn.10028e40
add esp, 8
or esi, 0xffffffff
jmp 0x10065d72
mov dword [edi + 0x20], 0
mov edx, edi
mov eax, dword [esi + 0x48]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edi + 0x18], ecx
mov ecx, dword [esp + 0x1c]
mov dword [edi + 0x1c], eax
movzx eax, word [esi + 0x28]
push eax
mov word [edi + 0x2a], ax
call fcn.10065550
add esp, 4
mov dword [edi + 0x2c], eax
test eax, eax
je 0x10065773
xor ebx, ebx
cmp dword [esi + 0x28], ebx
jbe 0x10065d5f
xor eax, eax
mov dword [esp + 0xc], eax
mov edx, dword [esi + 0x24]
add edx, eax
je 0x10065d5f
mov ecx, dword [esp + 0x1c]
call fcn.1006bbc0
mov ecx, dword [edi + 0x2c]
mov dword [ecx + ebx*4], eax
inc ebx
mov eax, dword [esp + 0xc]
add eax, 0x14
mov dword [esp + 0xc], eax
cmp ebx, dword [esi + 0x28]
jb 0x10065d38
push esi
call fcn.1005bc40
or dword [edi + 0x24], 8
add esp, 4
mov ebx, dword [esp + 0x10]
xor esi, esi
mov ecx, ebx
call fcn.10054de0
mov eax, esi
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10173495
mov esp, ebp
pop ebp
ret