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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xbc
mov eax, dword [0x101fd700]
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 0x100677b7
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 0x1006720a
cmp byte [ebx + 0x10], 0
jne 0x10067201
mov edx, dword [ebx]
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], esi
mov byte [ebx + 0x10], 1
call fcn.10093de0
test eax, eax
js 0x1006720a
mov eax, dword [esp + 0x10]
mov dword [ebx + 0xc], eax
mov eax, dword [ebx + 0xc]
test eax, eax
je 0x1006720a
mov esi, eax
mov eax, dword [esp + 0xc]
add eax, 8
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
test esi, esi
je 0x100672d8
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 0x1006723b
xor ecx, ecx
jmp 0x1006724d
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.10085880
mov ebx, eax
add esp, 0xc
mov dword [esp + 0x10], ebx
test ebx, ebx
js 0x10067275
mov edx, dword [esi + 0x14]
lea ecx, [ebx + ebx*4]
lea ecx, [edx + ecx*4]
jmp 0x100672a9
not ebx
mov dword [esp + 0x10], ebx
cmp ebx, dword [esi + 0x10]
jge 0x1006743e
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 0x1006743e
mov ecx, dword [esp + 0xc]
lea eax, [ebx + 1]
cmp eax, dword [esi + 0x10]
jge 0x1006731b
push 0x14
lea eax, [ecx + 0x14]
push eax
push edi
call sym.user32.dll_git_oid_ncmp
add esp, 0xc
test eax, eax
jne 0x1006731b
push str.found_multiple_offsets_for_commit_graph_index_entry
push str.ambiguous_SHA1_prefix____s
push 9
call fcn.1002a5a0
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 0x10067913
mov ebx, dword [esp + 0x10]
cmp word [ebx + 0x14], 1
je 0x100677f8
push str.object_is_no_commit_object
push 3
call fcn.1002a5a0
add esp, 8
or esi, 0xffffffff
jmp 0x1006790a
cmp ebx, dword [esi + 0x10]
jb 0x1006733a
push ebx
push str.commit_index__zu_does_not_exist
push 3
call fcn.1002a5a0
add esp, 0xc
mov eax, 0xfffffffd
jmp 0x1006744f
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 0x10067417
and ebx, 0x7fffffff
cmp ebx, dword [esi + 0x20]
jb 0x100673f0
push ebx
push str.commit__u_does_not_exist
push 3
call fcn.1002a5a0
mov edi, dword [esp + 0x24]
add esp, 0xc
mov edx, dword [esp + 0x14]
mov eax, 0xfffffffd
jmp 0x10067457
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 0x10067417
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 0x100673f4
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 0x10067457
push 0x14
mov edx, edi
mov ecx, str.failed_to_find_offset_for_commit_graph_index_entry
call fcn.10039170
add esp, 4
mov edx, dword [esp + 0x40]
mov dword [esp + 0x14], edx
test eax, eax
jne 0x100672d8
movzx ebx, dx
cmp edx, ebx
jne 0x100672d8
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.100670f0
add esp, 4
mov dword [edi + 0x2c], eax
test eax, eax
jne 0x100674b1
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.10176e3f
mov esp, ebp
pop ebp
ret
xor ebx, ebx
xor eax, eax
mov dword [esp + 0x10], ebx
cmp ax, word [edi + 0x2a]
jae 0x100677b3
mov eax, dword [esp + 0x14]
cmp ebx, eax
jae 0x100677ce
test ebx, ebx
je 0x10067642
cmp ebx, 1
jne 0x100674e5
cmp eax, 2
je 0x10067642
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 0x10067520
push eax
push str.commit_index__zu_does_not_exist
push 3
call fcn.1002a5a0
add esp, 0xc
mov eax, 0xfffffffd
jmp 0x10067784
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 0x10067639
and eax, 0x7fffffff
cmp eax, dword [esi + 0x20]
jb 0x100675e9
push eax
push str.commit__u_does_not_exist
push 3
call fcn.1002a5a0
add esp, 0xc
mov eax, 0xfffffffd
jmp 0x1006777c
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 0x10067632
mov ecx, dword [esp + 0xc]
inc edi
add ecx, 4
inc ebx
mov dword [esp + 0xc], ecx
cmp edi, dword [esi + 0x20]
jb 0x10067610
mov dword [esp + 0x88], ebx
mov eax, dword [esp + 0x28]
jmp 0x1006775d
mov eax, dword [esp + ebx*4 + 0x44]
mov dword [esp + 0x2c], eax
cmp eax, dword [esi + 0x10]
jae 0x10067506
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 0x10067759
and eax, 0x7fffffff
cmp eax, dword [esi + 0x20]
jae 0x100675cf
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 0x10067752
mov ecx, dword [esp + 0xc]
inc edi
add ecx, 4
inc ebx
mov dword [esp + 0xc], ecx
cmp edi, dword [esi + 0x20]
jb 0x10067730
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 0x10067913
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0xac]
call fcn.1006d8b0
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 0x100674c3
or dword [edi + 0x24], 8
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.10176e3f
mov esp, ebp
pop ebp
ret
push ebx
push str.parent_index__zu_does_not_exist
push 3
call fcn.1002a5a0
add esp, 0xc
mov eax, 0xfffffffd
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xb8]
xor ecx, esp
call fcn.10176e3f
mov esp, ebp
pop ebp
ret
mov esi, dword [fcn.10060f30]
mov ecx, esi
push 0x81
push str.C:UsersAdmin_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_srccommit_list.c
push 0x60
push 1
call dword [0x101aa4d8]
call esi
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10067852
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.1005e630
add esp, 8
test eax, eax
jns 0x1006785a
push esi
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4d8]
call esi
add esp, 4
or esi, 0xffffffff
jmp 0x1006790a
mov ecx, dword [esi + 0x28]
movzx eax, cx
cmp ecx, eax
je 0x1006788f
push esi
mov esi, dword [fcn.10034de0]
mov ecx, esi
call dword [0x101aa4d8]
call esi
add esp, 4
push str.commit_has_more_than_216_parents
push 3
call fcn.1002a5a0
add esp, 8
or esi, 0xffffffff
jmp 0x1006790a
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.100670f0
add esp, 4
mov dword [edi + 0x2c], eax
test eax, eax
je 0x10067852
xor ebx, ebx
cmp dword [esi + 0x28], ebx
jbe 0x100678f7
xor eax, eax
mov dword [esp + 0xc], eax
mov edx, dword [esi + 0x24]
add edx, eax
je 0x100678f7
mov ecx, dword [esp + 0x1c]
call fcn.1006d8b0
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 0x100678d0
push esi
call fcn.1005d850
or dword [edi + 0x24], 8
add esp, 4
mov ebx, dword [esp + 0x10]
xor esi, esi
mov ecx, ebx
call fcn.10056a90
mov eax, esi
mov ecx, dword [esp + 0xc4]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.10176e3f
mov esp, ebp
pop ebp
ret