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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x10156440]
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 0x10064fb7
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 0x10064a0a
cmp byte [ebx + 0x10], 0
jne 0x10064a01
mov edx, dword [ebx]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], esi
mov byte [ebx + 0x10], 1
call fcn.10091900
test eax, eax
js 0x10064a0a
mov eax, dword [esp + 0x10]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x10064a0a
mov esi, eax
mov eax, dword [esp + 0xc]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x10064ad8
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 0x10064a3b
xor ecx, ecx
jmp 0x10064a4d
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.100832d0
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x10064a75
mov edx, dword [esi + 0x14]
lea ecx, [ebx + ebx*4]
lea ecx, [edx + ecx*4]
jmp 0x10064aa9
not ebx
mov dword [esp + 0x10], ebx
cmp ebx, dword [esi + 0x10]
jge 0x10064c3e
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 0x10064c3e
mov ecx, dword [esp + 0xc]
lea eax, [ebx + 1]
cmp eax, dword [esi + 0x10]
jge 0x10064b1b
push 0x14
lea eax, [ecx + 0x14]
push eax
push edi
call sym.user32.dll_git_oid_ncmp
add esp, 0xc
test eax, eax
jne 0x10064b1b
push str.found_multiple_offsets_for_commit_graph_index_entry
push str.ambiguous_SHA1_prefix____s
push 9
call fcn.10028220
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 0x1006511b
mov ebx, dword [esp + 0x10]
cmp word [ebx + 0x14], 1
je 0x10064ff8
push str.object_is_no_commit_object
push 3
call fcn.10028220
add esp, 8
or esi, 0xffffffff
jmp 0x10065112
cmp ebx, dword [esi + 0x10]
jb 0x10064b3a
push ebx
push str.commit_index__zu_does_not_exist
push 3
call fcn.10028220
add esp, 0xc
mov eax, 0xfffffffd
jmp 0x10064c4f
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 0x10064c17
and ebx, 0x7fffffff
cmp ebx, dword [esi + 0x20]
jb 0x10064bf0
push ebx
push str.commit__u_does_not_exist
push 3
call fcn.10028220
mov edi, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov eax, 0xfffffffd
jmp 0x10064c57
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 0x10064c17
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 0x10064bf4
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 0x10064c57
push 0x14
mov edx, edi
mov ecx, str.failed_to_find_offset_for_commit_graph_index_entry
call fcn.10036e20
add esp, 4
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], edx
test eax, eax
jne 0x10064ad8
movzx ebx, dx
cmp edx, ebx
jne 0x10064ad8
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.100648f0
add esp, 4
mov dword [edi + 0x2c], eax
test eax, eax
jne 0x10064cb1
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.100f4326
mov esp, ebp
pop ebp
ret
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x10], ebx
cmp ax, word [edi + 0x2a]
jae 0x10064fb3
mov eax, dword [esp + 0x14]
cmp ebx, eax
jae 0x10064fce
test ebx, ebx
je 0x10064e42
cmp ebx, 1
jne 0x10064ce5
cmp eax, 2
je 0x10064e42
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 0x10064d20
push eax
push str.commit_index__zu_does_not_exist
push 3
call fcn.10028220
add esp, 0xc
mov eax, 0xfffffffd
jmp 0x10064f84
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 0x10064e39
and eax, 0x7fffffff
cmp eax, dword [esi + 0x20]
jb 0x10064de9
push eax
push str.commit__u_does_not_exist
push 3
call fcn.10028220
add esp, 0xc
mov eax, 0xfffffffd
jmp 0x10064f7c
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 0x10064e32
mov ecx, dword [esp + 0xc]
inc edi
add ecx, 4
inc ebx
mov dword [esp + 0xc], ecx
cmp edi, dword [esi + 0x20]
jb 0x10064e10
mov dword [esp + 0x88], ebx
mov eax, dword [esp + 0x28]
jmp 0x10064f5d
mov eax, dword [esp + ebx*4 + 0x44]
mov dword [esp + 0x2c], eax
cmp eax, dword [esi + 0x10]
jae 0x10064d06
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 0x10064f59
and eax, 0x7fffffff
cmp eax, dword [esi + 0x20]
jae 0x10064dcf
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 0x10064f52
mov ecx, dword [esp + 0xc]
inc edi
add ecx, 4
inc ebx
mov dword [esp + 0xc], ecx
cmp edi, dword [esi + 0x20]
jb 0x10064f30
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 0x1006511b
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xac]
call fcn.1006af60
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 0x10064cc3
or dword [edi + 0x24], 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.100f4326
mov esp, ebp
pop ebp
ret
push ebx
push str.parent_index__zu_does_not_exist
push 3
call fcn.10028220
add esp, 0xc
mov eax, 0xfffffffd
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.100f4326
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 [0x101182f8]
call esi
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10064b13
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.1005be60
add esp, 8
test eax, eax
jns 0x1006505e
push esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x101182f8]
call esi
add esp, 4
or esi, 0xffffffff
jmp 0x10065112
mov ecx, dword [esi + 0x28]
movzx eax, cx
cmp ecx, eax
je 0x10065093
push esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x101182f8]
call esi
add esp, 4
push str.commit_has_more_than_216_parents
push 3
call fcn.10028220
add esp, 8
or esi, 0xffffffff
jmp 0x10065112
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.100648f0
add esp, 4
mov dword [edi + 0x2c], eax
test eax, eax
je 0x10064b13
xor ebx, ebx
cmp dword [esi + 0x28], ebx
jbe 0x100650ff
xor eax, eax
mov dword [esp + 0xc], eax
mov edx, dword [esi + 0x24]
add edx, eax
je 0x100650ff
mov ecx, dword [esp + 0x1c]
call fcn.1006af60
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 0x100650d8
push esi
call fcn.1005b010
or dword [edi + 0x24], 8
add esp, 4
mov ebx, dword [esp + 0x10]
xor esi, esi
mov ecx, ebx
call fcn.100541b0
mov eax, esi
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.100f4326
mov esp, ebp
pop ebp
ret