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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x101f8740]
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 0x100654a7
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 0x10064efa
cmp byte [ebx + 0x10], 0
jne 0x10064ef1
mov edx, dword [ebx]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], esi
mov byte [ebx + 0x10], 1
call fcn.10091de0
test eax, eax
js 0x10064efa
mov eax, dword [esp + 0x10]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x10064efa
mov esi, eax
mov eax, dword [esp + 0xc]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x10064fc8
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 0x10064f2b
xor ecx, ecx
jmp 0x10064f3d
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.100837e0
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x10064f65
mov edx, dword [esi + 0x14]
lea ecx, [ebx + ebx*4]
lea ecx, [edx + ecx*4]
jmp 0x10064f99
not ebx
mov dword [esp + 0x10], ebx
cmp ebx, dword [esi + 0x10]
jge 0x1006512e
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 0x1006512e
mov ecx, dword [esp + 0xc]
lea eax, [ebx + 1]
cmp eax, dword [esi + 0x10]
jge 0x1006500b
push 0x14
lea eax, [ecx + 0x14]
push eax
push edi
call sym.user32.dll_git_oid_ncmp
add esp, 0xc
test eax, eax
jne 0x1006500b
push str.found_multiple_offsets_for_commit_graph_index_entry
push str.ambiguous_SHA1_prefix____s
push 9
call fcn.10028740
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 0x1006560b
mov ebx, dword [esp + 0x10]
cmp word [ebx + 0x14], 1
je 0x100654e8
push str.object_is_no_commit_object
push 3
call fcn.10028740
add esp, 8
or esi, 0xffffffff
jmp 0x10065602
cmp ebx, dword [esi + 0x10]
jb 0x1006502a
push ebx
push str.commit_index__zu_does_not_exist
push 3
call fcn.10028740
add esp, 0xc
mov eax, 0xfffffffd
jmp 0x1006513f
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 0x10065107
and ebx, 0x7fffffff
cmp ebx, dword [esi + 0x20]
jb 0x100650e0
push ebx
push str.commit__u_does_not_exist
push 3
call fcn.10028740
mov edi, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov eax, 0xfffffffd
jmp 0x10065147
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 0x10065107
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 0x100650e4
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 0x10065147
push 0x14
mov edx, edi
mov ecx, str.failed_to_find_offset_for_commit_graph_index_entry
call fcn.10037310
add esp, 4
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], edx
test eax, eax
jne 0x10064fc8
movzx ebx, dx
cmp edx, ebx
jne 0x10064fc8
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.10064de0
add esp, 4
mov dword [edi + 0x2c], eax
test eax, eax
jne 0x100651a1
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.10172863
mov esp, ebp
pop ebp
ret
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x10], ebx
cmp ax, word [edi + 0x2a]
jae 0x100654a3
mov eax, dword [esp + 0x14]
cmp ebx, eax
jae 0x100654be
test ebx, ebx
je 0x10065332
cmp ebx, 1
jne 0x100651d5
cmp eax, 2
je 0x10065332
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 0x10065210
push eax
push str.commit_index__zu_does_not_exist
push 3
call fcn.10028740
add esp, 0xc
mov eax, 0xfffffffd
jmp 0x10065474
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 0x10065329
and eax, 0x7fffffff
cmp eax, dword [esi + 0x20]
jb 0x100652d9
push eax
push str.commit__u_does_not_exist
push 3
call fcn.10028740
add esp, 0xc
mov eax, 0xfffffffd
jmp 0x1006546c
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 0x10065322
mov ecx, dword [esp + 0xc]
inc edi
add ecx, 4
inc ebx
mov dword [esp + 0xc], ecx
cmp edi, dword [esi + 0x20]
jb 0x10065300
mov dword [esp + 0x88], ebx
mov eax, dword [esp + 0x28]
jmp 0x1006544d
mov eax, dword [esp + ebx*4 + 0x44]
mov dword [esp + 0x2c], eax
cmp eax, dword [esi + 0x10]
jae 0x100651f6
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 0x10065449
and eax, 0x7fffffff
cmp eax, dword [esi + 0x20]
jae 0x100652bf
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 0x10065442
mov ecx, dword [esp + 0xc]
inc edi
add ecx, 4
inc ebx
mov dword [esp + 0xc], ecx
cmp edi, dword [esi + 0x20]
jb 0x10065420
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 0x1006560b
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xac]
call fcn.1006b450
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 0x100651b3
or dword [edi + 0x24], 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.10172863
mov esp, ebp
pop ebp
ret
push ebx
push str.parent_index__zu_does_not_exist
push 3
call fcn.10028740
add esp, 0xc
mov eax, 0xfffffffd
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.10172863
mov esp, ebp
pop ebp
ret
mov esi, dword [fcn.1005ed10]
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 [0x101a54ac]
call esi
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10065003
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.1005c350
add esp, 8
test eax, eax
jns 0x1006554e
push esi
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
call esi
add esp, 4
or esi, 0xffffffff
jmp 0x10065602
mov ecx, dword [esi + 0x28]
movzx eax, cx
cmp ecx, eax
je 0x10065583
push esi
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
call esi
add esp, 4
push str.commit_has_more_than_216_parents
push 3
call fcn.10028740
add esp, 8
or esi, 0xffffffff
jmp 0x10065602
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.10064de0
add esp, 4
mov dword [edi + 0x2c], eax
test eax, eax
je 0x10065003
xor ebx, ebx
cmp dword [esi + 0x28], ebx
jbe 0x100655ef
xor eax, eax
mov dword [esp + 0xc], eax
mov edx, dword [esi + 0x24]
add edx, eax
je 0x100655ef
mov ecx, dword [esp + 0x1c]
call fcn.1006b450
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 0x100655c8
push esi
call fcn.1005b500
or dword [edi + 0x24], 8
add esp, 4
mov ebx, dword [esp + 0x10]
xor esi, esi
mov ecx, ebx
call fcn.100546a0
mov eax, esi
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10172863
mov esp, ebp
pop ebp
ret