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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x101a7680]
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 0x10065017
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 0x10064a6a
cmp byte [ebx + 0x10], 0
jne 0x10064a61
mov edx, dword [ebx]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], esi
mov byte [ebx + 0x10], 1
call fcn.100919c0
test eax, eax
js 0x10064a6a
mov eax, dword [esp + 0x10]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x10064a6a
mov esi, eax
mov eax, dword [esp + 0xc]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x10064b38
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 0x10064a9b
xor ecx, ecx
jmp 0x10064aad
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.10083390
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x10064ad5
mov edx, dword [esi + 0x14]
lea ecx, [ebx + ebx*4]
lea ecx, [edx + ecx*4]
jmp 0x10064b09
not ebx
mov dword [esp + 0x10], ebx
cmp ebx, dword [esi + 0x10]
jge 0x10064c9e
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 0x10064c9e
mov ecx, dword [esp + 0xc]
lea eax, [ebx + 1]
cmp eax, dword [esi + 0x10]
jge 0x10064b7b
push 0x14
lea eax, [ecx + 0x14]
push eax
push edi
call sym.user32.dll_git_oid_ncmp
add esp, 0xc
test eax, eax
jne 0x10064b7b
push str.found_multiple_offsets_for_commit_graph_index_entry
push str.ambiguous_SHA1_prefix____s
push 9
call fcn.10028290
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 0x1006517b
mov ebx, dword [esp + 0x10]
cmp word [ebx + 0x14], 1
je 0x10065058
push str.object_is_no_commit_object
push 3
call fcn.10028290
add esp, 8
or esi, 0xffffffff
jmp 0x10065172
cmp ebx, dword [esi + 0x10]
jb 0x10064b9a
push ebx
push str.commit_index__zu_does_not_exist
push 3
call fcn.10028290
add esp, 0xc
mov eax, 0xfffffffd
jmp 0x10064caf
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 0x10064c77
and ebx, 0x7fffffff
cmp ebx, dword [esi + 0x20]
jb 0x10064c50
push ebx
push str.commit__u_does_not_exist
push 3
call fcn.10028290
mov edi, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov eax, 0xfffffffd
jmp 0x10064cb7
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 0x10064c77
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 0x10064c54
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 0x10064cb7
push 0x14
mov edx, edi
mov ecx, str.failed_to_find_offset_for_commit_graph_index_entry
call fcn.10036e60
add esp, 4
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], edx
test eax, eax
jne 0x10064b38
movzx ebx, dx
cmp edx, ebx
jne 0x10064b38
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.10064950
add esp, 4
mov dword [edi + 0x2c], eax
test eax, eax
jne 0x10064d11
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.1012fb43
mov esp, ebp
pop ebp
ret
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x10], ebx
cmp ax, word [edi + 0x2a]
jae 0x10065013
mov eax, dword [esp + 0x14]
cmp ebx, eax
jae 0x1006502e
test ebx, ebx
je 0x10064ea2
cmp ebx, 1
jne 0x10064d45
cmp eax, 2
je 0x10064ea2
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 0x10064d80
push eax
push str.commit_index__zu_does_not_exist
push 3
call fcn.10028290
add esp, 0xc
mov eax, 0xfffffffd
jmp 0x10064fe4
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 0x10064e99
and eax, 0x7fffffff
cmp eax, dword [esi + 0x20]
jb 0x10064e49
push eax
push str.commit__u_does_not_exist
push 3
call fcn.10028290
add esp, 0xc
mov eax, 0xfffffffd
jmp 0x10064fdc
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 0x10064e92
mov ecx, dword [esp + 0xc]
inc edi
add ecx, 4
inc ebx
mov dword [esp + 0xc], ecx
cmp edi, dword [esi + 0x20]
jb 0x10064e70
mov dword [esp + 0x88], ebx
mov eax, dword [esp + 0x28]
jmp 0x10064fbd
mov eax, dword [esp + ebx*4 + 0x44]
mov dword [esp + 0x2c], eax
cmp eax, dword [esi + 0x10]
jae 0x10064d66
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 0x10064fb9
and eax, 0x7fffffff
cmp eax, dword [esi + 0x20]
jae 0x10064e2f
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 0x10064fb2
mov ecx, dword [esp + 0xc]
inc edi
add ecx, 4
inc ebx
mov dword [esp + 0xc], ecx
cmp edi, dword [esi + 0x20]
jb 0x10064f90
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 0x1006517b
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xac]
call fcn.1006aff0
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 0x10064d23
or dword [edi + 0x24], 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.1012fb43
mov esp, ebp
pop ebp
ret
push ebx
push str.parent_index__zu_does_not_exist
push 3
call fcn.10028290
add esp, 0xc
mov eax, 0xfffffffd
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.1012fb43
mov esp, ebp
pop ebp
ret
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
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 [0x1015f3cc]
call esi
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10064b73
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.1005bec0
add esp, 8
test eax, eax
jns 0x100650be
push esi
mov esi, dword [fcn.10032a50]
mov ecx, esi
call dword [0x1015f3cc]
call esi
add esp, 4
or esi, 0xffffffff
jmp 0x10065172
mov ecx, dword [esi + 0x28]
movzx eax, cx
cmp ecx, eax
je 0x100650f3
push esi
mov esi, dword [fcn.10032a50]
mov ecx, esi
call dword [0x1015f3cc]
call esi
add esp, 4
push str.commit_has_more_than_216_parents
push 3
call fcn.10028290
add esp, 8
or esi, 0xffffffff
jmp 0x10065172
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.10064950
add esp, 4
mov dword [edi + 0x2c], eax
test eax, eax
je 0x10064b73
xor ebx, ebx
cmp dword [esi + 0x28], ebx
jbe 0x1006515f
xor eax, eax
mov dword [esp + 0xc], eax
mov edx, dword [esi + 0x24]
add edx, eax
je 0x1006515f
mov ecx, dword [esp + 0x1c]
call fcn.1006aff0
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 0x10065138
push esi
call fcn.1005b070
or dword [edi + 0x24], 8
add esp, 4
mov ebx, dword [esp + 0x10]
xor esi, esi
mov ecx, ebx
call fcn.10054210
mov eax, esi
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.1012fb43
mov esp, ebp
pop ebp
ret