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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, 0x1015ddcd
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0x10]
push esi
xor esi, esi
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], eax
xor eax, eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x1c], esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x40], eax
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], eax
push edi
test ecx, ecx
jne 0x1006d179
cmp byte [ebp + 0x18], al
je 0x1006d179
push str.hint_path___try_load_filters
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov edi, dword [ebp + 0xc]
test edi, edi
jne 0x1006d22c
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x44]
test eax, eax
jne 0x1006d1a6
push str.repository_has_no_working_directory
push 6
call fcn.10028180
add esp, 8
or eax, 0xffffffff
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push ecx
push eax
mov dl, 0x2f
lea ecx, [esp + 0x50]
call fcn.1002a390
mov ecx, dword [esp + 0x50]
add esp, 8
mov dword [esp + 0x34], ecx
test eax, eax
jne 0x1006d219
push 0x200
push 0
lea edx, [esp + 0x50]
mov ecx, edi
call fcn.10054720
add esp, 8
test al, al
jne 0x1006d211
mov eax, dword [esp + 0x50]
push dword [esp + 0x34]
cmp eax, 0xffffffff
jne 0x1006d1fc
push str.path_too_long:__s
push 0x1e
call fcn.10028180
add esp, 0xc
or eax, 0xffffffff
jmp 0x1006d213
push eax
push str.path_too_long:__.s
push 0x1e
call fcn.10028180
add esp, 0x10
or eax, 0xffffffff
jmp 0x1006d213
xor eax, eax
mov ecx, dword [esp + 0x34]
test eax, eax
js 0x1006d170
mov eax, dword [esp + 0x4c]
mov edi, ecx
mov dword [ebp + 0xc], edi
mov dword [esp + 0x44], eax
push 0
lea edx, [esp + 0x64]
mov ecx, edi
call fcn.1003f830
add esp, 4
test eax, eax
je 0x1006d263
call fcn.100fe80a
push str.stat
mov edx, edi
mov ecx, dword [eax]
call fcn.10030150
mov edi, eax
add esp, 4
test edi, edi
js 0x1006d927
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x14]
call fcn.10007b30
mov esi, dword [esp + 0x14]
mov dword [esp + 0x20], esi
test eax, eax
jns 0x1006d283
or edi, 0xffffffff
jmp 0x1006d927
lock inc dword [esi]
mov eax, dword [esp + 0x66]
mov edx, 0x4000
and eax, 0xf000
movzx ecx, ax
cmp ax, dx
jne 0x1006d2b6
push edi
push str.cannot_create_blob_from__s:_it_is_a_directory
push 9
call fcn.10028180
add esp, 0xc
mov edi, 0xffffffe9
jmp 0x1006d927
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1006d2f3
movups xmm0, xmmword [esp + 0x60]
movups xmmword [eax], xmm0
movups xmm0, xmmword [esp + 0x70]
movups xmmword [eax + 0x10], xmm0
movups xmm0, xmmword [esp + 0x80]
movups xmmword [eax + 0x20], xmm0
movups xmm0, xmmword [esp + 0x90]
movups xmmword [eax + 0x30], xmm0
movups xmm0, xmmword [esp + 0xa0]
movups xmmword [eax + 0x40], xmm0
mov eax, 0xa000
cmp cx, ax
jne 0x1006d5aa
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_52]
mov ecx, esi
push 0xa8
push str.D:DevelopmentMillennium_vendor_vcpkg_buildtreeslibgit2_src_v1.4.2_3f39c3e750.clean_src_blob.c
push dword [esp + 0x80]
call dword [0x101182f8]
call esi
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1006d335
or edi, 0xffffffff
jmp 0x1006d923
push dword [esp + 0x78]
mov edx, eax
mov ecx, edi
call fcn.1003f8b0
mov ecx, dword [esp + 0x7c]
add esp, 4
cmp eax, ecx
je 0x1006d37c
push edi
push str.failed_to_create_blob:_cannot_read_symlink__s
push 2
call fcn.10028180
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
add esp, 0xc
mov ecx, esi
push dword [esp + 0x14]
call dword [0x101182f8]
call esi
add esp, 4
or edi, 0xffffffff
jmp 0x1006d923
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x1006d3a9
push 0x1013d330
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
or edi, 0xffffffff
push dword [esp + 0x14]
jmp 0x1006d910
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x1006d3d6
push 0x1014073c
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
or edi, 0xffffffff
push dword [esp + 0x14]
jmp 0x1006d910
mov edx, dword [esp + 0x14]
mov dword [esp + 0x54], edx
lea edx, [esp + 0x54]
mov dword [esp + 0x58], ecx
mov ecx, eax
mov dword [esp + 0x5c], 3
call fcn.10033a20
mov edi, eax
test edi, edi
js 0x1006d5a1
mov edi, dword [esp + 0x1c]
xor ecx, ecx
mov eax, edi
cmp byte [eax], 0
jne 0x1006d435
inc ecx
inc eax
cmp ecx, 0x14
jb 0x1006d407
push str.cannot_write_object
push str.odb:__s:_null_OID_cannot_exist
push 9
call fcn.10028180
add esp, 0xc
mov edi, 0xffffffeb
push dword [esp + 0x14]
jmp 0x1006d910
push 0
mov edx, edi
mov ecx, esi
call fcn.10034ba0
add esp, 4
test eax, eax
jne 0x1006d59f
push esi
call sym.user32.dll_git_odb_refresh
add esp, 4
test eax, eax
jne 0x1006d46e
push 1
mov edx, edi
mov ecx, esi
call fcn.10034ba0
add esp, 4
test eax, eax
jne 0x1006d59f
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x2c]
or ecx, 0xffffffff
xor edi, edi
mov dword [esp + 0x24], ecx
test eax, eax
je 0x1006d4df
test ecx, ecx
jns 0x1006d4df
cmp edi, eax
jae 0x1006d498
mov eax, dword [esi + 0x28]
mov eax, dword [eax + edi*4]
jmp 0x1006d49a
xor eax, eax
cmp byte [eax + 8], 0
jne 0x1006d4d7
mov ecx, dword [eax]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x18], eax
test eax, eax
je 0x1006d4d3
push 3
push dword [esp + 0x7c]
push dword [esp + 0x1c]
push dword [esp + 0x28]
push ecx
mov ecx, eax
call dword [0x101182f8]
call dword [esp + 0x2c]
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x24], ecx
jmp 0x1006d4d7
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0x2c]
inc edi
cmp edi, eax
jb 0x1006d488
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1006d59f
cmp eax, 0xffffffe2
je 0x1006d59f
push 3
push 0
push dword [esp + 0x80]
lea eax, [esp + 0x34]
push esi
push eax
call sym.user32.dll_git_odb_open_wstream
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x1006d5a1
push dword [esp + 0x78]
mov eax, dword [esp + 0x2c]
push dword [esp + 0x18]
push eax
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x101182f8]
call esi
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1006d55f
mov eax, dword [esp + 0x28]
push dword [esp + 0x1c]
push eax
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x101182f8]
call esi
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
test eax, eax
je 0x1006d5a1
push dword [eax + 8]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x101182f8]
call esi
mov esi, dword [esp + 0x1c]
add esp, 4
push esi
mov esi, dword [esi + 0x2c]
mov ecx, esi
call dword [0x101182f8]
call esi
add esp, 4
push dword [esp + 0x14]
jmp 0x1006d910
xor edi, edi
push dword [esp + 0x14]
jmp 0x1006d910
xor eax, eax
mov dword [esp + 0x14], eax
cmp byte [ebp + 0x18], al
je 0x1006d5da
push eax
push 1
push dword [ebp + 0x10]
push eax
push dword [ebp + 8]
lea eax, [esp + 0x28]
push eax
call sym.user32.dll_git_filter_list_load
mov edi, eax
add esp, 0x18
test edi, edi
js 0x1006d927
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x1006d5fe
push dword [esp + 0x7c]
mov ecx, dword [esp + 0x20]
mov edx, esi
push dword [esp + 0x7c]
push dword [ebp + 0xc]
call fcn.1006cf00
add esp, 0xc
mov edi, eax
jmp 0x1006d927
push dword [ebp + 0xc]
mov edx, eax
mov dword [esp + 0x3c], 0x1015ddcd
push dword [ebp + 8]
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.10032bf0
mov edi, eax
add esp, 8
test edi, edi
jne 0x1006d84b
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x18], edx
test eax, eax
jne 0x1006d66d
push 0x1013d330
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
or edi, 0xffffffff
jmp 0x1006d84b
test esi, esi
jne 0x1006d692
push 0x1014073c
push str.invalid_argument
push 0x1013afe8
push 3
call fcn.10028180
add esp, 0x10
or edi, 0xffffffff
jmp 0x1006d84b
mov dword [esp + 0x54], edx
lea edx, [esp + 0x54]
mov dword [esp + 0x58], ecx
mov ecx, eax
mov dword [esp + 0x5c], 3
call fcn.10033a20
mov edi, eax
test edi, edi
js 0x1006d84b
mov edi, dword [esp + 0x1c]
xor ecx, ecx
mov eax, edi
nop
cmp byte [eax], 0
jne 0x1006d6ea
inc ecx
inc eax
cmp ecx, 0x14
jb 0x1006d6c0
push str.cannot_write_object
push str.odb:__s:_null_OID_cannot_exist
push 9
call fcn.10028180
add esp, 0xc
mov edi, 0xffffffeb
jmp 0x1006d84b
push 0
mov edx, edi
mov ecx, esi
call fcn.10034ba0
add esp, 4
test eax, eax
jne 0x1006d849
push esi
call sym.user32.dll_git_odb_refresh
add esp, 4
test eax, eax
jne 0x1006d723
push 1
mov edx, edi
mov ecx, esi
call fcn.10034ba0
add esp, 4
test eax, eax
jne 0x1006d849
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x2c]
or ecx, 0xffffffff
xor edi, edi
mov dword [esp + 0x28], ecx
test eax, eax
je 0x1006d797
nop dword [eax]
test ecx, ecx
jns 0x1006d797
cmp edi, eax
jae 0x1006d750
mov eax, dword [esi + 0x28]
mov eax, dword [eax + edi*4]
jmp 0x1006d752
xor eax, eax
cmp byte [eax + 8], 0
jne 0x1006d78f
mov ecx, dword [eax]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1006d78b
push 3
push dword [esp + 0x28]
push dword [esp + 0x20]
push dword [esp + 0x28]
push ecx
mov ecx, eax
call dword [0x101182f8]
call dword [esp + 0x40]
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x28], ecx
jmp 0x1006d78f
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x2c]
inc edi
cmp edi, eax
jb 0x1006d740
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1006d849
cmp eax, 0xffffffe2
je 0x1006d849
push 3
push 0
push dword [esp + 0x2c]
lea eax, [esp + 0x3c]
push esi
push eax
call sym.user32.dll_git_odb_open_wstream
mov edi, eax
add esp, 0x14
test edi, edi
jne 0x1006d84b
push dword [esp + 0x24]
mov eax, dword [esp + 0x34]
push dword [esp + 0x1c]
push eax
mov esi, dword [eax + 0x24]
mov ecx, esi
call dword [0x101182f8]
call esi
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1006d810
mov eax, dword [esp + 0x30]
push dword [esp + 0x1c]
push eax
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x101182f8]
call esi
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1006d84b
push dword [eax + 8]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x101182f8]
call esi
mov esi, dword [esp + 0x30]
add esp, 4
push esi
mov esi, dword [esi + 0x2c]
mov ecx, esi
call dword [0x101182f8]
call esi
add esp, 4
jmp 0x1006d84b
xor edi, edi
cmp dword [esp + 0x3c], 0
jbe 0x1006d875
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1006d875
cmp eax, 0x1015ddcc
je 0x1006d875
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x101182f8]
call esi
add esp, 4
mov edx, dword [esp + 0x14]
xor esi, esi
mov dword [esp + 0x3c], 0
mov dword [esp + 0x40], 0
mov dword [esp + 0x38], 0x1015ddcd
mov eax, dword [edx + 4]
test eax, eax
je 0x1006d8e2
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp esi, eax
jae 0x1006d8aa
mov eax, dword [edx]
add eax, ecx
jmp 0x1006d8ac
xor eax, eax
mov edx, dword [eax + 4]
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x1006d8cb
push dword [eax + 8]
push edx
call dword [0x101182f8]
call dword [esp + 0x34]
add esp, 8
mov edx, dword [esp + 0x14]
inc esi
mov ecx, dword [esp + 0x18]
add ecx, 0xc
mov dword [esp + 0x18], ecx
mov eax, dword [edx + 4]
cmp esi, eax
jb 0x1006d8a4
push dword [edx]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x101182f8]
call esi
mov eax, dword [esp + 0x18]
add esp, 4
mov dword [eax + 8], 0
mov dword [eax + 4], 0
mov dword [eax], 0
push eax
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
mov esi, dword [esp + 0x20]
test esi, esi
je 0x1006da3f
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x1006da3f
cmp dword [esi + 4], 0
jne 0x1006da3f
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [esi + 0x2c]
xor ecx, ecx
mov dword [esp + 0x30], ecx
test eax, eax
je 0x1006d9b0
cmp ecx, eax
jae 0x1006d96c
mov eax, dword [esi + 0x28]
mov eax, dword [eax + ecx*4]
jmp 0x1006d96e
xor eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [eax]
push eax
mov esi, dword [eax + 0x3c]
mov ecx, esi
call dword [0x101182f8]
call esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
add esp, 4
mov ecx, esi
push dword [esp + 0x18]
call dword [0x101182f8]
call esi
mov esi, dword [esp + 0x24]
add esp, 4
mov ecx, dword [esp + 0x30]
inc ecx
mov dword [esp + 0x30], ecx
mov eax, dword [esi + 0x2c]
cmp ecx, eax
jb 0x1006d964
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push dword [esi + 0x54]
call sym.user32.dll_git_commit_graph_free
lea eax, [esi + 0x20]
add esp, 4
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1006da02
push dword [eax + 8]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x101182f8]
call esi
mov eax, dword [esp + 0x30]
add esp, 4
mov esi, dword [esp + 0x20]
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0
mov dword [eax], 0
lea ecx, [esi + 0x34]
call fcn.10053ce0
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteCriticalSection]
mov ecx, 0x5c
mov eax, esi
nop dword [eax + eax]
mov byte [eax], 0
lea eax, [eax + 1]
sub ecx, 1
jne 0x1006da20
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
cmp dword [esp + 0x44], 0
jbe 0x1006da69
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1006da69
cmp eax, 0x1015ddcc
je 0x1006da69
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x101182f8]
call esi
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret