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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xa4
push ebx
push esi
xor esi, esi
mov dword [esp + 0x14], 0
push edi
mov edi, dword [ebp + 0x10]
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0x28], 1
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], 3
movq qword [esp + 0x5c], xmm0
mov dword [esp + 0x64], esi
mov dword [esp + 0x14], esi
movups xmmword [esp + 0x4c], xmm0
test edi, edi
je 0x10029429
cmp dword [edi + 4], esi
jbe 0x10029429
push 0x44
lea eax, [esp + 0x6c]
push esi
push eax
call fcn.100f6940
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x20]
add esp, 0xc
call fcn.10007fd0
mov ebx, dword [esp + 0x14]
test eax, eax
jns 0x1002909b
or edi, 0xffffffff
jmp 0x100293b3
lock inc dword [ebx]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x10029137
mov ecx, dword [ebp + 8]
cmp dword [eax + 0x20], ecx
je 0x100290cf
push str.Cannot_perform_reset
push str._s_default___The_given_target_does_not_belong_to_this_repository.
push 0xb
call fcn.10028220
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 1
push eax
lea eax, [esp + 0x20]
push eax
call sym.user32.dll_git_object_peel
mov edi, eax
add esp, 0xc
test edi, edi
js 0x100293b3
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x10029112
push str.commit
push str.invalid_argument
push 0x1013b1d8
push 3
call fcn.10028220
add esp, 0x10
or edi, 0xffffffff
jmp 0x100293b3
push 2
push 0x28
lea eax, [ecx + 0x30]
push eax
push dword [ecx + 0x20]
lea eax, [esp + 0x2c]
push eax
call sym.user32.dll_git_object_lookup_prefix
mov edi, eax
add esp, 0x14
test edi, edi
js 0x100293b3
mov edi, dword [ebp + 0x10]
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [esp + 0x34], eax
lea eax, [esp + 0x28]
push eax
push ebx
push dword [esp + 0x24]
lea eax, [esp + 0x1c]
mov dword [esp + 0x44], ecx
push dword [ebp + 8]
mov dword [esp + 0x3c], 1
push eax
call sym.user32.dll_git_diff_tree_to_index
mov esi, dword [esp + 0x24]
mov edi, eax
add esp, 0x14
test edi, edi
js 0x100293b3
xor ecx, ecx
mov dword [esp + 0x20], ecx
test esi, esi
jne 0x100291a3
push str.diff
push str.invalid_argument
push 0x1013b1d8
push 3
call fcn.10028220
add esp, 0x10
mov dword [esp + 0x24], 0xffffffff
xor ecx, ecx
jmp 0x100291b2
mov eax, dword [esi + 0x7c]
mov dword [esp + 0x24], eax
test eax, eax
je 0x10029352
test esi, esi
jne 0x10029212
push str.diff
push str.invalid_argument
push 0x1013b1d8
push 3
call fcn.10028220
add esp, 0x10
xor esi, esi
mov eax, dword [esi]
cmp eax, 1
je 0x100291eb
cmp eax, 3
je 0x100291eb
cmp eax, 0xa
je 0x100291eb
cmp eax, 2
jne 0x1002935f
mov edx, dword [esi + 0x24]
test ebx, ebx
jne 0x1002921f
push str.index
push str.invalid_argument
push 0x1013b1d8
push 3
call fcn.10028220
or eax, 0xffffffff
add esp, 0x10
or edi, eax
jmp 0x10029250
cmp ecx, dword [esi + 0x7c]
jae 0x100291cf
mov eax, dword [esi + 0x78]
mov esi, dword [eax + ecx*4]
jmp 0x100291d1
test edx, edx
jne 0x10029243
push str.path
push str.invalid_argument
push 0x1013b1d8
push 3
call fcn.10028220
or eax, 0xffffffff
add esp, 0x10
or edi, eax
jmp 0x10029250
mov ecx, ebx
call fcn.10045160
mov edi, eax
test edi, edi
jns 0x10029267
cmp dword [esi], 1
jne 0x100293af
cmp eax, 0xfffffffd
jne 0x100293af
call sym.user32.dll_git_error_clear
cmp dword [esi], 2
jne 0x10029289
push 0
push dword [esi + 0x24]
push ebx
call sym.user32.dll_git_index_remove
mov edi, eax
add esp, 0xc
test edi, edi
js 0x100293af
jmp 0x1002933b
mov eax, dword [esi + 0x48]
movzx ecx, word [esi + 0x5c]
mov dword [esp + 0xa0], eax
mov eax, dword [esi + 0x4c]
mov dword [esp + 0x80], ecx
mov dword [esp + 0xa8], eax
mov dword [esp + 0x14], 0
movups xmm0, xmmword [esi + 0x38]
movups xmmword [esp + 0x90], xmm0
test ebx, ebx
je 0x1002941f
test eax, eax
je 0x10029393
cmp ecx, 0x81a4
je 0x100292f0
cmp ecx, 0x81ed
je 0x100292f0
cmp ecx, 0xa000
je 0x100292f0
cmp ecx, 0xe000
jne 0x10029382
lea eax, [esp + 0x68]
mov edx, ebx
push eax
lea ecx, [esp + 0x18]
call fcn.10042f70
mov edi, eax
add esp, 4
test edi, edi
js 0x100293af
push 0
push 1
push 1
push ecx
lea edx, [esp + 0x24]
mov ecx, ebx
call fcn.100434b0
mov edi, eax
add esp, 0x10
test edi, edi
js 0x100293af
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 0x78]
mov edx, dword [edx + 0x40]
call fcn.1009f830
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, dword [esp + 0x24]
jb 0x100291b2
push ebx
call sym.user32.dll_git_index_write
add esp, 4
mov edi, eax
jmp 0x100293b3
push str.delta__status__GIT_DELTA_ADDED__delta__status__GIT_DELTA_MODIFIED__delta__status__GIT_DELTA_CONFLICTED__delta__status__GIT_DELTA_DELETED
push str.unrecoverable_internal_error
push 0x1013b1d8
push 0x23
call fcn.10028220
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.invalid_entry_mode
push 0xa
call fcn.10028220
add esp, 8
jmp 0x100293ac
push str.source_entry__source_entry__path
push str.invalid_argument
push 0x1013b1d8
push 3
call fcn.10028220
add esp, 0x10
or edi, 0xffffffff
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x100293c0
call fcn.100541b0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100293cf
mov ecx, eax
call fcn.100541b0
or eax, 0xffffffff
test ebx, ebx
je 0x100293ef
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x100293ec
cmp dword [ebx + 4], 0
jne 0x100293ec
mov ecx, ebx
call fcn.10041440
or eax, 0xffffffff
test esi, esi
je 0x10029416
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x10029416
cmp dword [esi + 4], 0
jne 0x10029416
push esi
mov esi, dword [esi + 0xb8]
mov ecx, esi
call dword [0x101182fc]
call esi
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.index
jmp 0x10029398
push str.pathspecs__pathspecs__count___0
push str.invalid_argument
push 0x1013b1d8
push 3
call fcn.10028220
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret