Function at 0x10029060
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 0x10029499
cmp dword [edi + 4], esi
jbe 0x10029499
push 0x44
lea eax, [esp + 0x6c]
push esi
push eax
call fcn.10131ea0
mov edx, dword [ebp + 8]
lea ecx, [esp + 0x20]
add esp, 0xc
call fcn.10008070
mov ebx, dword [esp + 0x14]
test eax, eax
jns 0x1002910b
or edi, 0xffffffff
jmp 0x10029423
lock inc dword [ebx]
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x100291a7
mov ecx, dword [ebp + 8]
cmp dword [eax + 0x20], ecx
je 0x1002913f
push str.Cannot_perform_reset
push str._s_default___The_given_target_does_not_belong_to_this_repository.
push 0xb
call fcn.10028290
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 0x10029423
mov ecx, dword [esp + 0x18]
test ecx, ecx
jne 0x10029182
push str.commit
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
add esp, 0x10
or edi, 0xffffffff
jmp 0x10029423
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 0x10029423
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 0x10029423
xor ecx, ecx
mov dword [esp + 0x20], ecx
test esi, esi
jne 0x10029213
push str.diff
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
add esp, 0x10
mov dword [esp + 0x24], 0xffffffff
xor ecx, ecx
jmp 0x10029222
mov eax, dword [esi + 0x7c]
mov dword [esp + 0x24], eax
test eax, eax
je 0x100293c2
test esi, esi
jne 0x10029282
push str.diff
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
add esp, 0x10
xor esi, esi
mov eax, dword [esi]
cmp eax, 1
je 0x1002925b
cmp eax, 3
je 0x1002925b
cmp eax, 0xa
je 0x1002925b
cmp eax, 2
jne 0x100293cf
mov edx, dword [esi + 0x24]
test ebx, ebx
jne 0x1002928f
push str.index
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
or eax, 0xffffffff
add esp, 0x10
or edi, eax
jmp 0x100292c0
cmp ecx, dword [esi + 0x7c]
jae 0x1002923f
mov eax, dword [esi + 0x78]
mov esi, dword [eax + ecx*4]
jmp 0x10029241
test edx, edx
jne 0x100292b3
push str.path
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
or eax, 0xffffffff
add esp, 0x10
or edi, eax
jmp 0x100292c0
mov ecx, ebx
call fcn.100451b0
mov edi, eax
test edi, edi
jns 0x100292d7
cmp dword [esi], 1
jne 0x1002941f
cmp eax, 0xfffffffd
jne 0x1002941f
call sym.user32.dll_git_error_clear
cmp dword [esi], 2
jne 0x100292f9
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 0x1002941f
jmp 0x100293ab
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 0x1002948f
test eax, eax
je 0x10029403
cmp ecx, 0x81a4
je 0x10029360
cmp ecx, 0x81ed
je 0x10029360
cmp ecx, 0xa000
je 0x10029360
cmp ecx, 0xe000
jne 0x100293f2
lea eax, [esp + 0x68]
mov edx, ebx
push eax
lea ecx, [esp + 0x18]
call fcn.10042fc0
mov edi, eax
add esp, 4
test edi, edi
js 0x1002941f
push 0
push 1
push 1
push ecx
lea edx, [esp + 0x24]
mov ecx, ebx
call fcn.10043500
mov edi, eax
add esp, 0x10
test edi, edi
js 0x1002941f
mov edx, dword [esp + 0x14]
mov ecx, dword [ebx + 0x78]
mov edx, dword [edx + 0x40]
call fcn.1009f900
mov ecx, dword [esp + 0x20]
mov esi, dword [esp + 0x10]
inc ecx
mov dword [esp + 0x20], ecx
cmp ecx, dword [esp + 0x24]
jb 0x10029222
push ebx
call sym.user32.dll_git_index_write
add esp, 4
mov edi, eax
jmp 0x10029423
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 0x10186758
push 0x23
call fcn.10028290
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.10028290
add esp, 8
jmp 0x1002941c
push str.source_entry__source_entry__path
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
add esp, 0x10
or edi, 0xffffffff
mov esi, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
test ecx, ecx
je 0x10029430
call fcn.10054210
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1002943f
mov ecx, eax
call fcn.10054210
or eax, 0xffffffff
test ebx, ebx
je 0x1002945f
lock xadd dword [ebx], eax
dec eax
test eax, eax
jg 0x1002945c
cmp dword [ebx + 4], 0
jne 0x1002945c
mov ecx, ebx
call fcn.10041490
or eax, 0xffffffff
test esi, esi
je 0x10029486
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x10029486
cmp dword [esi + 4], 0
jne 0x10029486
push esi
mov esi, dword [esi + 0xb8]
mov ecx, esi
call dword [0x1015f3cc]
call esi
add esp, 4
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.index
jmp 0x10029408
push str.pathspecs__pathspecs__count___0
push str.invalid_argument
push 0x10186758
push 3
call fcn.10028290
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret