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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, 0x101771ed
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 0x1006d1e9
cmp byte [ebp + 0x18], al
je 0x1006d1e9
push str.hint_path___try_load_filters
push str.invalid_argument
push 0x101534d8
push 3
call fcn.10028220
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 0x1006d29c
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x44]
test eax, eax
jne 0x1006d216
push str.repository_has_no_working_directory
push 6
call fcn.10028220
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.1002a440
mov ecx, dword [esp + 0x50]
add esp, 8
mov dword [esp + 0x34], ecx
test eax, eax
jne 0x1006d289
push 0x200
push 0
lea edx, [esp + 0x50]
mov ecx, edi
call fcn.100547a0
add esp, 8
test al, al
jne 0x1006d281
mov eax, dword [esp + 0x50]
push dword [esp + 0x34]
cmp eax, 0xffffffff
jne 0x1006d26c
push str.path_too_long:__s
push 0x1e
call fcn.10028220
add esp, 0xc
or eax, 0xffffffff
jmp 0x1006d283
push eax
push str.path_too_long:__.s
push 0x1e
call fcn.10028220
add esp, 0x10
or eax, 0xffffffff
jmp 0x1006d283
xor eax, eax
mov ecx, dword [esp + 0x34]
test eax, eax
js 0x1006d1e0
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.1003f8e0
add esp, 4
test eax, eax
je 0x1006d2d3
call fcn.10113449
push str.stat
mov edx, edi
mov ecx, dword [eax]
call fcn.100301f0
mov edi, eax
add esp, 4
test edi, edi
js 0x1006d997
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x14]
call fcn.10007bc0
mov esi, dword [esp + 0x14]
mov dword [esp + 0x20], esi
test eax, eax
jns 0x1006d2f3
or edi, 0xffffffff
jmp 0x1006d997
lock inc dword [esi]
mov eax, dword [esp + 0x66]
mov edx, 0x4000
and eax, 0xf000
movzx ecx, ax
cmp ax, dx
jne 0x1006d326
push edi
push str.cannot_create_blob_from__s:_it_is_a_directory
push 9
call fcn.10028220
add esp, 0xc
mov edi, 0xffffffe9
jmp 0x1006d997
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1006d363
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 0x1006d61a
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 [0x1012f318]
call esi
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1006d3a5
or edi, 0xffffffff
jmp 0x1006d993
push dword [esp + 0x78]
mov edx, eax
mov ecx, edi
call fcn.1003f960
mov ecx, dword [esp + 0x7c]
add esp, 4
cmp eax, ecx
je 0x1006d3ec
push edi
push str.failed_to_create_blob:_cannot_read_symlink__s
push 2
call fcn.10028220
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 [0x1012f318]
call esi
add esp, 4
or edi, 0xffffffff
jmp 0x1006d993
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x1006d419
push 0x10155820
push str.invalid_argument
push 0x101534d8
push 3
call fcn.10028220
add esp, 0x10
or edi, 0xffffffff
push dword [esp + 0x14]
jmp 0x1006d980
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x1006d446
push 0x10158c2c
push str.invalid_argument
push 0x101534d8
push 3
call fcn.10028220
add esp, 0x10
or edi, 0xffffffff
push dword [esp + 0x14]
jmp 0x1006d980
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.10033ab0
mov edi, eax
test edi, edi
js 0x1006d611
mov edi, dword [esp + 0x1c]
xor ecx, ecx
mov eax, edi
cmp byte [eax], 0
jne 0x1006d4a5
inc ecx
inc eax
cmp ecx, 0x14
jb 0x1006d477
push str.cannot_write_object
push str.odb:__s:_null_OID_cannot_exist
push 9
call fcn.10028220
add esp, 0xc
mov edi, 0xffffffeb
push dword [esp + 0x14]
jmp 0x1006d980
push 0
mov edx, edi
mov ecx, esi
call fcn.10034c30
add esp, 4
test eax, eax
jne 0x1006d60f
push esi
call sym.user32.dll_git_odb_refresh
add esp, 4
test eax, eax
jne 0x1006d4de
push 1
mov edx, edi
mov ecx, esi
call fcn.10034c30
add esp, 4
test eax, eax
jne 0x1006d60f
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 0x1006d54f
test ecx, ecx
jns 0x1006d54f
cmp edi, eax
jae 0x1006d508
mov eax, dword [esi + 0x28]
mov eax, dword [eax + edi*4]
jmp 0x1006d50a
xor eax, eax
cmp byte [eax + 8], 0
jne 0x1006d547
mov ecx, dword [eax]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x18], eax
test eax, eax
je 0x1006d543
push 3
push dword [esp + 0x7c]
push dword [esp + 0x1c]
push dword [esp + 0x28]
push ecx
mov ecx, eax
call dword [0x1012f318]
call dword [esp + 0x2c]
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x24], ecx
jmp 0x1006d547
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0x2c]
inc edi
cmp edi, eax
jb 0x1006d4f8
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1006d60f
cmp eax, 0xffffffe2
je 0x1006d60f
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 0x1006d611
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 [0x1012f318]
call esi
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1006d5cf
mov eax, dword [esp + 0x28]
push dword [esp + 0x1c]
push eax
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x1012f318]
call esi
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
test eax, eax
je 0x1006d611
push dword [eax + 8]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012f318]
call esi
mov esi, dword [esp + 0x1c]
add esp, 4
push esi
mov esi, dword [esi + 0x2c]
mov ecx, esi
call dword [0x1012f318]
call esi
add esp, 4
push dword [esp + 0x14]
jmp 0x1006d980
xor edi, edi
push dword [esp + 0x14]
jmp 0x1006d980
xor eax, eax
mov dword [esp + 0x14], eax
cmp byte [ebp + 0x18], al
je 0x1006d64a
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 0x1006d997
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x1006d66e
push dword [esp + 0x7c]
mov ecx, dword [esp + 0x20]
mov edx, esi
push dword [esp + 0x7c]
push dword [ebp + 0xc]
call fcn.1006cf70
add esp, 0xc
mov edi, eax
jmp 0x1006d997
push dword [ebp + 0xc]
mov edx, eax
mov dword [esp + 0x3c], 0x101771ed
push dword [ebp + 8]
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.10032c90
mov edi, eax
add esp, 8
test edi, edi
jne 0x1006d8bb
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 0x1006d6dd
push 0x10155820
push str.invalid_argument
push 0x101534d8
push 3
call fcn.10028220
add esp, 0x10
or edi, 0xffffffff
jmp 0x1006d8bb
test esi, esi
jne 0x1006d702
push 0x10158c2c
push str.invalid_argument
push 0x101534d8
push 3
call fcn.10028220
add esp, 0x10
or edi, 0xffffffff
jmp 0x1006d8bb
mov dword [esp + 0x54], edx
lea edx, [esp + 0x54]
mov dword [esp + 0x58], ecx
mov ecx, eax
mov dword [esp + 0x5c], 3
call fcn.10033ab0
mov edi, eax
test edi, edi
js 0x1006d8bb
mov edi, dword [esp + 0x1c]
xor ecx, ecx
mov eax, edi
nop
cmp byte [eax], 0
jne 0x1006d75a
inc ecx
inc eax
cmp ecx, 0x14
jb 0x1006d730
push str.cannot_write_object
push str.odb:__s:_null_OID_cannot_exist
push 9
call fcn.10028220
add esp, 0xc
mov edi, 0xffffffeb
jmp 0x1006d8bb
push 0
mov edx, edi
mov ecx, esi
call fcn.10034c30
add esp, 4
test eax, eax
jne 0x1006d8b9
push esi
call sym.user32.dll_git_odb_refresh
add esp, 4
test eax, eax
jne 0x1006d793
push 1
mov edx, edi
mov ecx, esi
call fcn.10034c30
add esp, 4
test eax, eax
jne 0x1006d8b9
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 0x1006d807
nop dword [eax]
test ecx, ecx
jns 0x1006d807
cmp edi, eax
jae 0x1006d7c0
mov eax, dword [esi + 0x28]
mov eax, dword [eax + edi*4]
jmp 0x1006d7c2
xor eax, eax
cmp byte [eax + 8], 0
jne 0x1006d7ff
mov ecx, dword [eax]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1006d7fb
push 3
push dword [esp + 0x28]
push dword [esp + 0x20]
push dword [esp + 0x28]
push ecx
mov ecx, eax
call dword [0x1012f318]
call dword [esp + 0x40]
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x28], ecx
jmp 0x1006d7ff
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x2c]
inc edi
cmp edi, eax
jb 0x1006d7b0
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1006d8b9
cmp eax, 0xffffffe2
je 0x1006d8b9
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 0x1006d8bb
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 [0x1012f318]
call esi
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1006d880
mov eax, dword [esp + 0x30]
push dword [esp + 0x1c]
push eax
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x1012f318]
call esi
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1006d8bb
push dword [eax + 8]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012f318]
call esi
mov esi, dword [esp + 0x30]
add esp, 4
push esi
mov esi, dword [esi + 0x2c]
mov ecx, esi
call dword [0x1012f318]
call esi
add esp, 4
jmp 0x1006d8bb
xor edi, edi
cmp dword [esp + 0x3c], 0
jbe 0x1006d8e5
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1006d8e5
cmp eax, 0x101771ec
je 0x1006d8e5
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x1012f318]
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], 0x101771ed
mov eax, dword [edx + 4]
test eax, eax
je 0x1006d952
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp esi, eax
jae 0x1006d91a
mov eax, dword [edx]
add eax, ecx
jmp 0x1006d91c
xor eax, eax
mov edx, dword [eax + 4]
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x1006d93b
push dword [eax + 8]
push edx
call dword [0x1012f318]
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 0x1006d914
push dword [edx]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012f318]
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 [0x1012f318]
call esi
add esp, 4
mov esi, dword [esp + 0x20]
test esi, esi
je 0x1006daaf
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x1006daaf
cmp dword [esi + 4], 0
jne 0x1006daaf
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 0x1006da20
cmp ecx, eax
jae 0x1006d9dc
mov eax, dword [esi + 0x28]
mov eax, dword [eax + ecx*4]
jmp 0x1006d9de
xor eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [eax]
push eax
mov esi, dword [eax + 0x3c]
mov ecx, esi
call dword [0x1012f318]
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 [0x1012f318]
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 0x1006d9d4
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 0x1006da72
push dword [eax + 8]
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012f318]
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.10053d60
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 0x1006da90
push esi
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
call dword [0x1012f318]
call esi
add esp, 4
cmp dword [esp + 0x44], 0
jbe 0x1006dad9
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1006dad9
cmp eax, 0x101771ec
je 0x1006dad9
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x1012f318]
call esi
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret