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

Disassembly:
sub esp, 0x6c
push ebx
push ebp
push esi
push edi
xor ebx, ebx
mov dword [esp + 0x14], 0
push 0x4c
lea eax, [esp + 0x34]
mov dword [esp + 0x14], ebx
push ebx
xor esi, esi
mov dword [esp + 0x30], 1
push eax
mov edi, edx
mov dword [esp + 0x24], esi
mov ebp, ecx
mov dword [esp + 0x38], 1
call fcn.10174ed0
add esp, 0xc
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov eax, 0x1020156d
mov dword [esp + 0x1c], eax
test ebp, ebp
jne 0x100299e8
push str.repo
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
test edi, edi
jne 0x10029a10
push str.target
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
mov eax, dword [esp + 0x88]
test eax, eax
je 0x10029a4e
movups xmm0, xmmword [eax]
movups xmmword [esp + 0x28], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [esp + 0x38], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [esp + 0x48], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [esp + 0x58], xmm0
movups xmm0, xmmword [eax + 0x40]
mov eax, dword [eax + 0x50]
mov dword [esp + 0x78], eax
movups xmmword [esp + 0x68], xmm0
cmp dword [edi + 0x20], ebp
je 0x10029a72
push str.Cannot_perform_reset
push str._s___The_given_target_does_not_belong_to_this_repository.
push 0xb
call fcn.10028740
add esp, 0xc
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
mov ecx, dword [esp + 0x84]
cmp ecx, 1
je 0x10029ab1
test byte [ebp + 0x60], 1
je 0x10029ab1
cmp ecx, 2
mov edx, str.reset_hard
mov eax, str.reset_mixed
cmovne eax, edx
push eax
push str.cannot__s._This_operation_is_not_allowed_against_bare_repositories.
push 6
call fcn.10028740
add esp, 0xc
mov eax, 0xfffffff8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
push 1
lea eax, [esp + 0x18]
push edi
push eax
call sym.user32.dll_git_object_peel
mov edi, eax
add esp, 0xc
test edi, edi
js 0x10029b88
mov edx, ebp
lea ecx, [esp + 0x18]
call fcn.10008510
mov esi, dword [esp + 0x18]
test eax, eax
jns 0x10029ae6
or edi, 0xffffffff
jmp 0x10029b88
lock inc dword [esi]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x10029b0f
push str.commit
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
or edi, 0xffffffff
jmp 0x10029b88
push 2
push 0x28
lea eax, [ecx + 0x30]
push eax
push dword [ecx + 0x20]
lea eax, [esp + 0x20]
push eax
call sym.user32.dll_git_object_lookup_prefix
mov edi, eax
add esp, 0x14
test edi, edi
js 0x10029b84
mov ebx, dword [esp + 0x84]
cmp ebx, 1
jne 0x10029c1c
push ebp
call sym.user32.dll_git_repository_state
add esp, 4
cmp eax, ebx
je 0x10029b6b
test esi, esi
jne 0x10029bf3
push str.index
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
push str.Cannot_perform_reset
push str._s__soft__in_the_middle_of_a_merge
push 0xb
call fcn.10028740
add esp, 0xc
mov edi, 0xfffffff6
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10029b97
mov ecx, eax
call fcn.100546a0
test esi, esi
je 0x10029bb4
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x10029bb4
cmp dword [esi + 4], 0
jne 0x10029bb4
mov ecx, esi
call fcn.10041930
test ebx, ebx
je 0x10029bbf
mov ecx, ebx
call fcn.100546a0
cmp dword [esp + 0x20], 0
jbe 0x10029be9
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10029be9
cmp eax, 0x1020156c
je 0x10029be9
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
pop ebp
pop ebx
add esp, 0x6c
ret
xor ecx, ecx
cmp dword [esi + 0x50], ecx
je 0x10029c1c
mov edx, dword [esi + 0x4c]
nop dword [eax]
mov eax, dword [edx]
mov edi, 0x3000
test word [eax + 0x3c], di
mov edi, dword [esi + 0x50]
ja 0x10029b6b
inc ecx
add edx, 4
cmp ecx, edi
jb 0x10029c00
push dword [esp + 0x80]
lea eax, [esp + 0x20]
push str.reset:_moving_to__s
push eax
call fcn.1002a720
add esp, 0xc
test eax, eax
js 0x10029beb
cmp ebx, 3
mov ebx, dword [esp + 0x10]
jne 0x10029c63
lea eax, [esp + 0x28]
mov dword [esp + 0x2c], 2
push eax
push ebx
push ebp
call sym.user32.dll_git_checkout_tree
mov edi, eax
add esp, 0xc
test edi, edi
js 0x10029b88
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x10029c88
push 0x101dcc78
push str.invalid_argument
push 0x101d76f8
push 3
call fcn.10028740
add esp, 0x10
xor ecx, ecx
jmp 0x10029c8a
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov edx, str.HEAD
push eax
push 0
push ecx
mov ecx, ebp
call fcn.10013370
mov edi, eax
add esp, 0xc
test edi, edi
js 0x10029b88
cmp dword [esp + 0x84], 1
jle 0x10029b88
push ebx
push esi
call sym.user32.dll_git_index_read_tree
mov edi, eax
add esp, 8
test edi, edi
js 0x10029b88
push esi
call sym.user32.dll_git_index_write
mov edi, eax
add esp, 4
test edi, edi
js 0x10029b88
push 9
mov edx, 0x101fc030
mov ecx, ebp
call fcn.1000fa70
mov edi, eax
add esp, 4
test edi, edi
jns 0x10029b88
push str.Cannot_perform_reset
push str._s___failed_to_clean_up_merge_data
push 0xa
call fcn.10028740
add esp, 0xc
jmp 0x10029b88