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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, 0x1020156d
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 0x1006d6c9
cmp byte [ebp + 0x18], al
je 0x1006d6c9
push str.hint_path___try_load_filters
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
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 0x1006d77c
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x44]
test eax, eax
jne 0x1006d6f6
push str.repository_has_no_working_directory
push 6
call fcn.10028740
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.1002a950
mov ecx, dword [esp + 0x50]
add esp, 8
mov dword [esp + 0x34], ecx
test eax, eax
jne 0x1006d769
push 0x200
push 0
lea edx, [esp + 0x50]
mov ecx, edi
call fcn.10054c90
add esp, 8
test al, al
jne 0x1006d761
mov eax, dword [esp + 0x50]
push dword [esp + 0x34]
cmp eax, 0xffffffff
jne 0x1006d74c
push str.path_too_long:__s
push 0x1e
call fcn.10028740
add esp, 0xc
or eax, 0xffffffff
jmp 0x1006d763
push eax
push str.path_too_long:__.s
push 0x1e
call fcn.10028740
add esp, 0x10
or eax, 0xffffffff
jmp 0x1006d763
xor eax, eax
mov ecx, dword [esp + 0x34]
test eax, eax
js 0x1006d6c0
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.1003fdd0
add esp, 4
test eax, eax
je 0x1006d7b3
call fcn.10178834
push str.stat
mov edx, edi
mov ecx, dword [eax]
call fcn.10030700
mov edi, eax
add esp, 4
test edi, edi
js 0x1006de77
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x14]
call fcn.10008110
mov esi, dword [esp + 0x14]
mov dword [esp + 0x20], esi
test eax, eax
jns 0x1006d7d3
or edi, 0xffffffff
jmp 0x1006de77
lock inc dword [esi]
mov eax, dword [esp + 0x66]
mov edx, 0x4000
and eax, 0xf000
movzx ecx, ax
cmp ax, dx
jne 0x1006d806
push edi
push str.cannot_create_blob_from__s:_it_is_a_directory
push 9
call fcn.10028740
add esp, 0xc
mov edi, 0xffffffe9
jmp 0x1006de77
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1006d843
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 0x1006dafa
mov esi, dword [fcn.1005ed10]
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 [0x101a54ac]
call esi
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1006d885
or edi, 0xffffffff
jmp 0x1006de73
push dword [esp + 0x78]
mov edx, eax
mov ecx, edi
call fcn.1003fe50
mov ecx, dword [esp + 0x7c]
add esp, 4
cmp eax, ecx
je 0x1006d8cc
push edi
push str.failed_to_create_blob:_cannot_read_symlink__s
push 2
call fcn.10028740
mov esi, dword [fcn.10032f00]
add esp, 0xc
mov ecx, esi
push dword [esp + 0x14]
call dword [0x101a54ac]
call esi
add esp, 4
or edi, 0xffffffff
jmp 0x1006de73
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x1006d8f9
push 0x101d9a40
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
or edi, 0xffffffff
push dword [esp + 0x14]
jmp 0x1006de60
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x1006d926
push 0x101dce4c
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
or edi, 0xffffffff
push dword [esp + 0x14]
jmp 0x1006de60
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.10033fc0
mov edi, eax
test edi, edi
js 0x1006daf1
mov edi, dword [esp + 0x1c]
xor ecx, ecx
mov eax, edi
cmp byte [eax], 0
jne 0x1006d985
inc ecx
inc eax
cmp ecx, 0x14
jb 0x1006d957
push str.cannot_write_object
push str.odb:__s:_null_OID_cannot_exist
push 9
call fcn.10028740
add esp, 0xc
mov edi, 0xffffffeb
push dword [esp + 0x14]
jmp 0x1006de60
push 0
mov edx, edi
mov ecx, esi
call fcn.10035140
add esp, 4
test eax, eax
jne 0x1006daef
push esi
call sym.user32.dll_git_odb_refresh
add esp, 4
test eax, eax
jne 0x1006d9be
push 1
mov edx, edi
mov ecx, esi
call fcn.10035140
add esp, 4
test eax, eax
jne 0x1006daef
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 0x1006da2f
test ecx, ecx
jns 0x1006da2f
cmp edi, eax
jae 0x1006d9e8
mov eax, dword [esi + 0x28]
mov eax, dword [eax + edi*4]
jmp 0x1006d9ea
xor eax, eax
cmp byte [eax + 8], 0
jne 0x1006da27
mov ecx, dword [eax]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x18], eax
test eax, eax
je 0x1006da23
push 3
push dword [esp + 0x7c]
push dword [esp + 0x1c]
push dword [esp + 0x28]
push ecx
mov ecx, eax
call dword [0x101a54ac]
call dword [esp + 0x2c]
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x24], ecx
jmp 0x1006da27
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0x2c]
inc edi
cmp edi, eax
jb 0x1006d9d8
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1006daef
cmp eax, 0xffffffe2
je 0x1006daef
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 0x1006daf1
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 [0x101a54ac]
call esi
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1006daaf
mov eax, dword [esp + 0x28]
push dword [esp + 0x1c]
push eax
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x101a54ac]
call esi
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
test eax, eax
je 0x1006daf1
push dword [eax + 8]
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
call esi
mov esi, dword [esp + 0x1c]
add esp, 4
push esi
mov esi, dword [esi + 0x2c]
mov ecx, esi
call dword [0x101a54ac]
call esi
add esp, 4
push dword [esp + 0x14]
jmp 0x1006de60
xor edi, edi
push dword [esp + 0x14]
jmp 0x1006de60
xor eax, eax
mov dword [esp + 0x14], eax
cmp byte [ebp + 0x18], al
je 0x1006db2a
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 0x1006de77
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x1006db4e
push dword [esp + 0x7c]
mov ecx, dword [esp + 0x20]
mov edx, esi
push dword [esp + 0x7c]
push dword [ebp + 0xc]
call fcn.1006d450
add esp, 0xc
mov edi, eax
jmp 0x1006de77
push dword [ebp + 0xc]
mov edx, eax
mov dword [esp + 0x3c], 0x1020156d
push dword [ebp + 8]
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.100331a0
mov edi, eax
add esp, 8
test edi, edi
jne 0x1006dd9b
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 0x1006dbbd
push 0x101d9a40
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
or edi, 0xffffffff
jmp 0x1006dd9b
test esi, esi
jne 0x1006dbe2
push 0x101dce4c
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
or edi, 0xffffffff
jmp 0x1006dd9b
mov dword [esp + 0x54], edx
lea edx, [esp + 0x54]
mov dword [esp + 0x58], ecx
mov ecx, eax
mov dword [esp + 0x5c], 3
call fcn.10033fc0
mov edi, eax
test edi, edi
js 0x1006dd9b
mov edi, dword [esp + 0x1c]
xor ecx, ecx
mov eax, edi
nop
cmp byte [eax], 0
jne 0x1006dc3a
inc ecx
inc eax
cmp ecx, 0x14
jb 0x1006dc10
push str.cannot_write_object
push str.odb:__s:_null_OID_cannot_exist
push 9
call fcn.10028740
add esp, 0xc
mov edi, 0xffffffeb
jmp 0x1006dd9b
push 0
mov edx, edi
mov ecx, esi
call fcn.10035140
add esp, 4
test eax, eax
jne 0x1006dd99
push esi
call sym.user32.dll_git_odb_refresh
add esp, 4
test eax, eax
jne 0x1006dc73
push 1
mov edx, edi
mov ecx, esi
call fcn.10035140
add esp, 4
test eax, eax
jne 0x1006dd99
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 0x1006dce7
nop dword [eax]
test ecx, ecx
jns 0x1006dce7
cmp edi, eax
jae 0x1006dca0
mov eax, dword [esi + 0x28]
mov eax, dword [eax + edi*4]
jmp 0x1006dca2
xor eax, eax
cmp byte [eax + 8], 0
jne 0x1006dcdf
mov ecx, dword [eax]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1006dcdb
push 3
push dword [esp + 0x28]
push dword [esp + 0x20]
push dword [esp + 0x28]
push ecx
mov ecx, eax
call dword [0x101a54ac]
call dword [esp + 0x40]
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x28], ecx
jmp 0x1006dcdf
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x2c]
inc edi
cmp edi, eax
jb 0x1006dc90
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1006dd99
cmp eax, 0xffffffe2
je 0x1006dd99
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 0x1006dd9b
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 [0x101a54ac]
call esi
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1006dd60
mov eax, dword [esp + 0x30]
push dword [esp + 0x1c]
push eax
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x101a54ac]
call esi
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1006dd9b
push dword [eax + 8]
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
call esi
mov esi, dword [esp + 0x30]
add esp, 4
push esi
mov esi, dword [esi + 0x2c]
mov ecx, esi
call dword [0x101a54ac]
call esi
add esp, 4
jmp 0x1006dd9b
xor edi, edi
cmp dword [esp + 0x3c], 0
jbe 0x1006ddc5
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1006ddc5
cmp eax, 0x1020156c
je 0x1006ddc5
mov esi, dword [fcn.10032f00]
mov ecx, esi
push eax
call dword [0x101a54ac]
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], 0x1020156d
mov eax, dword [edx + 4]
test eax, eax
je 0x1006de32
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp esi, eax
jae 0x1006ddfa
mov eax, dword [edx]
add eax, ecx
jmp 0x1006ddfc
xor eax, eax
mov edx, dword [eax + 4]
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x1006de1b
push dword [eax + 8]
push edx
call dword [0x101a54ac]
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 0x1006ddf4
push dword [edx]
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
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 [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
call esi
add esp, 4
mov esi, dword [esp + 0x20]
test esi, esi
je 0x1006df8f
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x1006df8f
cmp dword [esi + 4], 0
jne 0x1006df8f
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 0x1006df00
cmp ecx, eax
jae 0x1006debc
mov eax, dword [esi + 0x28]
mov eax, dword [eax + ecx*4]
jmp 0x1006debe
xor eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [eax]
push eax
mov esi, dword [eax + 0x3c]
mov ecx, esi
call dword [0x101a54ac]
call esi
mov esi, dword [fcn.10032f00]
add esp, 4
mov ecx, esi
push dword [esp + 0x18]
call dword [0x101a54ac]
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 0x1006deb4
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 0x1006df52
push dword [eax + 8]
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
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.10054250
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 0x1006df70
push esi
mov esi, dword [fcn.10032f00]
mov ecx, esi
call dword [0x101a54ac]
call esi
add esp, 4
cmp dword [esp + 0x44], 0
jbe 0x1006dfb9
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1006dfb9
cmp eax, 0x1020156c
je 0x1006dfb9
mov esi, dword [fcn.10032f00]
mov ecx, esi
push eax
call dword [0x101a54ac]
call esi
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret