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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0xa8
mov eax, 0x1029182d
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 0x1006de39
cmp byte [ebp + 0x18], al
je 0x1006de39
push str.hint_path___try_load_filters
push str.invalid_argument
push 0x10256f18
push 3
call fcn.10028e40
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 0x1006deec
mov edi, dword [ebp + 8]
mov eax, dword [edi + 0x44]
test eax, eax
jne 0x1006de66
push str.repository_has_no_working_directory
push 6
call fcn.10028e40
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.1002b050
mov ecx, dword [esp + 0x50]
add esp, 8
mov dword [esp + 0x34], ecx
test eax, eax
jne 0x1006ded9
push 0x200
push 0
lea edx, [esp + 0x50]
mov ecx, edi
call fcn.100553d0
add esp, 8
test al, al
jne 0x1006ded1
mov eax, dword [esp + 0x50]
push dword [esp + 0x34]
cmp eax, 0xffffffff
jne 0x1006debc
push str.path_too_long:__s
push 0x1e
call fcn.10028e40
add esp, 0xc
or eax, 0xffffffff
jmp 0x1006ded3
push eax
push str.path_too_long:__.s
push 0x1e
call fcn.10028e40
add esp, 0x10
or eax, 0xffffffff
jmp 0x1006ded3
xor eax, eax
mov ecx, dword [esp + 0x34]
test eax, eax
js 0x1006de30
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.100404e0
add esp, 4
test eax, eax
je 0x1006df23
call fcn.101eb45e
push str.stat
mov edx, edi
mov ecx, dword [eax]
call fcn.10030e00
mov edi, eax
add esp, 4
test edi, edi
js 0x1006e5e7
mov edi, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x14]
call fcn.10008810
mov esi, dword [esp + 0x14]
mov dword [esp + 0x20], esi
test eax, eax
jns 0x1006df43
or edi, 0xffffffff
jmp 0x1006e5e7
lock inc dword [esi]
mov eax, dword [esp + 0x66]
mov edx, 0x4000
and eax, 0xf000
movzx ecx, ax
cmp ax, dx
jne 0x1006df76
push edi
push str.cannot_create_blob_from__s:_it_is_a_directory
push 9
call fcn.10028e40
add esp, 0xc
mov edi, 0xffffffe9
jmp 0x1006e5e7
mov eax, dword [esp + 0x18]
test eax, eax
je 0x1006dfb3
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 0x1006e26a
mov esi, dword [fcn.1005f470]
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 [0x1021f564]
call esi
add esp, 0xc
mov dword [esp + 0x14], eax
test eax, eax
jne 0x1006dff5
or edi, 0xffffffff
jmp 0x1006e5e3
push dword [esp + 0x78]
mov edx, eax
mov ecx, edi
call fcn.10040560
mov ecx, dword [esp + 0x7c]
add esp, 4
cmp eax, ecx
je 0x1006e03c
push edi
push str.failed_to_create_blob:_cannot_read_symlink__s
push 2
call fcn.10028e40
mov esi, dword [fcn.10033600]
add esp, 0xc
mov ecx, esi
push dword [esp + 0x14]
call dword [0x1021f564]
call esi
add esp, 4
or edi, 0xffffffff
jmp 0x1006e5e3
mov eax, dword [esp + 0x1c]
test eax, eax
jne 0x1006e069
push 0x10259260
push str.invalid_argument
push 0x10256f18
push 3
call fcn.10028e40
add esp, 0x10
or edi, 0xffffffff
push dword [esp + 0x14]
jmp 0x1006e5d0
mov esi, dword [esp + 0x20]
test esi, esi
jne 0x1006e096
push 0x1025c674
push str.invalid_argument
push 0x10256f18
push 3
call fcn.10028e40
add esp, 0x10
or edi, 0xffffffff
push dword [esp + 0x14]
jmp 0x1006e5d0
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.100346c0
mov edi, eax
test edi, edi
js 0x1006e261
mov edi, dword [esp + 0x1c]
xor ecx, ecx
mov eax, edi
cmp byte [eax], 0
jne 0x1006e0f5
inc ecx
inc eax
cmp ecx, 0x14
jb 0x1006e0c7
push str.cannot_write_object
push str.odb:__s:_null_OID_cannot_exist
push 9
call fcn.10028e40
add esp, 0xc
mov edi, 0xffffffeb
push dword [esp + 0x14]
jmp 0x1006e5d0
push 0
mov edx, edi
mov ecx, esi
call fcn.10035840
add esp, 4
test eax, eax
jne 0x1006e25f
push esi
call sym.user32.dll_git_odb_refresh
add esp, 4
test eax, eax
jne 0x1006e12e
push 1
mov edx, edi
mov ecx, esi
call fcn.10035840
add esp, 4
test eax, eax
jne 0x1006e25f
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 0x1006e19f
test ecx, ecx
jns 0x1006e19f
cmp edi, eax
jae 0x1006e158
mov eax, dword [esi + 0x28]
mov eax, dword [eax + edi*4]
jmp 0x1006e15a
xor eax, eax
cmp byte [eax + 8], 0
jne 0x1006e197
mov ecx, dword [eax]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x18], eax
test eax, eax
je 0x1006e193
push 3
push dword [esp + 0x7c]
push dword [esp + 0x1c]
push dword [esp + 0x28]
push ecx
mov ecx, eax
call dword [0x1021f564]
call dword [esp + 0x2c]
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x24], ecx
jmp 0x1006e197
mov ecx, dword [esp + 0x24]
mov eax, dword [esi + 0x2c]
inc edi
cmp edi, eax
jb 0x1006e148
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x24]
test eax, eax
je 0x1006e25f
cmp eax, 0xffffffe2
je 0x1006e25f
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 0x1006e261
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 [0x1021f564]
call esi
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1006e21f
mov eax, dword [esp + 0x28]
push dword [esp + 0x1c]
push eax
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x1021f564]
call esi
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x18], eax
test eax, eax
je 0x1006e261
push dword [eax + 8]
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x1021f564]
call esi
mov esi, dword [esp + 0x1c]
add esp, 4
push esi
mov esi, dword [esi + 0x2c]
mov ecx, esi
call dword [0x1021f564]
call esi
add esp, 4
push dword [esp + 0x14]
jmp 0x1006e5d0
xor edi, edi
push dword [esp + 0x14]
jmp 0x1006e5d0
xor eax, eax
mov dword [esp + 0x14], eax
cmp byte [ebp + 0x18], al
je 0x1006e29a
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 0x1006e5e7
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x1006e2be
push dword [esp + 0x7c]
mov ecx, dword [esp + 0x20]
mov edx, esi
push dword [esp + 0x7c]
push dword [ebp + 0xc]
call fcn.1006dbc0
add esp, 0xc
mov edi, eax
jmp 0x1006e5e7
push dword [ebp + 0xc]
mov edx, eax
mov dword [esp + 0x3c], 0x1029182d
push dword [ebp + 8]
lea ecx, [esp + 0x40]
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
call fcn.100338a0
mov edi, eax
add esp, 8
test edi, edi
jne 0x1006e50b
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 0x1006e32d
push 0x10259260
push str.invalid_argument
push 0x10256f18
push 3
call fcn.10028e40
add esp, 0x10
or edi, 0xffffffff
jmp 0x1006e50b
test esi, esi
jne 0x1006e352
push 0x1025c674
push str.invalid_argument
push 0x10256f18
push 3
call fcn.10028e40
add esp, 0x10
or edi, 0xffffffff
jmp 0x1006e50b
mov dword [esp + 0x54], edx
lea edx, [esp + 0x54]
mov dword [esp + 0x58], ecx
mov ecx, eax
mov dword [esp + 0x5c], 3
call fcn.100346c0
mov edi, eax
test edi, edi
js 0x1006e50b
mov edi, dword [esp + 0x1c]
xor ecx, ecx
mov eax, edi
nop
cmp byte [eax], 0
jne 0x1006e3aa
inc ecx
inc eax
cmp ecx, 0x14
jb 0x1006e380
push str.cannot_write_object
push str.odb:__s:_null_OID_cannot_exist
push 9
call fcn.10028e40
add esp, 0xc
mov edi, 0xffffffeb
jmp 0x1006e50b
push 0
mov edx, edi
mov ecx, esi
call fcn.10035840
add esp, 4
test eax, eax
jne 0x1006e509
push esi
call sym.user32.dll_git_odb_refresh
add esp, 4
test eax, eax
jne 0x1006e3e3
push 1
mov edx, edi
mov ecx, esi
call fcn.10035840
add esp, 4
test eax, eax
jne 0x1006e509
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 0x1006e457
nop dword [eax]
test ecx, ecx
jns 0x1006e457
cmp edi, eax
jae 0x1006e410
mov eax, dword [esi + 0x28]
mov eax, dword [eax + edi*4]
jmp 0x1006e412
xor eax, eax
cmp byte [eax + 8], 0
jne 0x1006e44f
mov ecx, dword [eax]
mov eax, dword [ecx + 0x14]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1006e44b
push 3
push dword [esp + 0x28]
push dword [esp + 0x20]
push dword [esp + 0x28]
push ecx
mov ecx, eax
call dword [0x1021f564]
call dword [esp + 0x40]
mov ecx, eax
add esp, 0x14
mov dword [esp + 0x28], ecx
jmp 0x1006e44f
mov ecx, dword [esp + 0x28]
mov eax, dword [esi + 0x2c]
inc edi
cmp edi, eax
jb 0x1006e400
lea eax, [esi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [esp + 0x28]
test eax, eax
je 0x1006e509
cmp eax, 0xffffffe2
je 0x1006e509
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 0x1006e50b
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 [0x1021f564]
call esi
mov edi, eax
add esp, 0xc
test edi, edi
jne 0x1006e4d0
mov eax, dword [esp + 0x30]
push dword [esp + 0x1c]
push eax
mov esi, dword [eax + 0x28]
mov ecx, esi
call dword [0x1021f564]
call esi
add esp, 8
mov edi, eax
mov eax, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
test eax, eax
je 0x1006e50b
push dword [eax + 8]
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x1021f564]
call esi
mov esi, dword [esp + 0x30]
add esp, 4
push esi
mov esi, dword [esi + 0x2c]
mov ecx, esi
call dword [0x1021f564]
call esi
add esp, 4
jmp 0x1006e50b
xor edi, edi
cmp dword [esp + 0x3c], 0
jbe 0x1006e535
mov eax, dword [esp + 0x38]
test eax, eax
je 0x1006e535
cmp eax, 0x1029182c
je 0x1006e535
mov esi, dword [fcn.10033600]
mov ecx, esi
push eax
call dword [0x1021f564]
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], 0x1029182d
mov eax, dword [edx + 4]
test eax, eax
je 0x1006e5a2
xor ecx, ecx
mov dword [esp + 0x18], ecx
cmp esi, eax
jae 0x1006e56a
mov eax, dword [edx]
add eax, ecx
jmp 0x1006e56c
xor eax, eax
mov edx, dword [eax + 4]
mov ecx, dword [edx + 0x1c]
mov dword [esp + 0x2c], ecx
test ecx, ecx
je 0x1006e58b
push dword [eax + 8]
push edx
call dword [0x1021f564]
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 0x1006e564
push dword [edx]
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x1021f564]
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.10033600]
mov ecx, esi
call dword [0x1021f564]
call esi
add esp, 4
mov esi, dword [esp + 0x20]
test esi, esi
je 0x1006e6ff
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x1006e6ff
cmp dword [esi + 4], 0
jne 0x1006e6ff
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 0x1006e670
cmp ecx, eax
jae 0x1006e62c
mov eax, dword [esi + 0x28]
mov eax, dword [eax + ecx*4]
jmp 0x1006e62e
xor eax, eax
mov dword [esp + 0x18], eax
mov eax, dword [eax]
push eax
mov esi, dword [eax + 0x3c]
mov ecx, esi
call dword [0x1021f564]
call esi
mov esi, dword [fcn.10033600]
add esp, 4
mov ecx, esi
push dword [esp + 0x18]
call dword [0x1021f564]
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 0x1006e624
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 0x1006e6c2
push dword [eax + 8]
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x1021f564]
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.10054990
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 0x1006e6e0
push esi
mov esi, dword [fcn.10033600]
mov ecx, esi
call dword [0x1021f564]
call esi
add esp, 4
cmp dword [esp + 0x44], 0
jbe 0x1006e729
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1006e729
cmp eax, 0x1029182c
je 0x1006e729
mov esi, dword [fcn.10033600]
mov ecx, esi
push eax
call dword [0x1021f564]
call esi
add esp, 4
mov eax, edi
pop edi
pop esi
mov esp, ebp
pop ebp
ret