Function at 0x10029450
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.101098d0
add esp, 0xc
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov eax, 0x101771ed
mov dword [esp + 0x1c], eax
test ebp, ebp
jne 0x100294c8
push str.repo
push str.invalid_argument
push 0x101534d8
push 3
call fcn.10028220
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
test edi, edi
jne 0x100294f0
push str.target
push str.invalid_argument
push 0x101534d8
push 3
call fcn.10028220
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 0x1002952e
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 0x10029552
push str.Cannot_perform_reset
push str._s___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 ebp
pop ebx
add esp, 0x6c
ret
mov ecx, dword [esp + 0x84]
cmp ecx, 1
je 0x10029591
test byte [ebp + 0x60], 1
je 0x10029591
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.10028220
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 0x10029668
mov edx, ebp
lea ecx, [esp + 0x18]
call fcn.10007fd0
mov esi, dword [esp + 0x18]
test eax, eax
jns 0x100295c6
or edi, 0xffffffff
jmp 0x10029668
lock inc dword [esi]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x100295ef
push str.commit
push str.invalid_argument
push 0x101534d8
push 3
call fcn.10028220
add esp, 0x10
or edi, 0xffffffff
jmp 0x10029668
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 0x10029664
mov ebx, dword [esp + 0x84]
cmp ebx, 1
jne 0x100296fc
push ebp
call sym.user32.dll_git_repository_state
add esp, 4
cmp eax, ebx
je 0x1002964b
test esi, esi
jne 0x100296d3
push str.index
push str.invalid_argument
push 0x101534d8
push 3
call fcn.10028220
add esp, 0x10
push str.Cannot_perform_reset
push str._s__soft__in_the_middle_of_a_merge
push 0xb
call fcn.10028220
add esp, 0xc
mov edi, 0xfffffff6
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x10029677
mov ecx, eax
call fcn.100541b0
test esi, esi
je 0x10029694
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x10029694
cmp dword [esi + 4], 0
jne 0x10029694
mov ecx, esi
call fcn.10041440
test ebx, ebx
je 0x1002969f
mov ecx, ebx
call fcn.100541b0
cmp dword [esp + 0x20], 0
jbe 0x100296c9
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x100296c9
cmp eax, 0x101771ec
je 0x100296c9
mov esi, dword [method.std::basic_streambuf_char__struct_std::char_traits_char__.virtual_4]
mov ecx, esi
push eax
call dword [0x1012f318]
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 0x100296fc
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 0x1002964b
inc ecx
add edx, 4
cmp ecx, edi
jb 0x100296e0
push dword [esp + 0x80]
lea eax, [esp + 0x20]
push str.reset:_moving_to__s
push eax
call fcn.1002a210
add esp, 0xc
test eax, eax
js 0x100296cb
cmp ebx, 3
mov ebx, dword [esp + 0x10]
jne 0x10029743
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 0x10029668
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x10029768
push 0x10158a58
push str.invalid_argument
push 0x101534d8
push 3
call fcn.10028220
add esp, 0x10
xor ecx, ecx
jmp 0x1002976a
mov ecx, eax
mov eax, dword [esp + 0x1c]
mov edx, str.HEAD
push eax
push 0
push ecx
mov ecx, ebp
call fcn.10012e50
mov edi, eax
add esp, 0xc
test edi, edi
js 0x10029668
cmp dword [esp + 0x84], 1
jle 0x10029668
push ebx
push esi
call sym.user32.dll_git_index_read_tree
mov edi, eax
add esp, 8
test edi, edi
js 0x10029668
push esi
call sym.user32.dll_git_index_write
mov edi, eax
add esp, 4
test edi, edi
js 0x10029668
push 9
mov edx, 0x10172d70
mov ecx, ebp
call fcn.1000f530
mov edi, eax
add esp, 4
test edi, edi
jns 0x10029668
push str.Cannot_perform_reset
push str._s___failed_to_clean_up_merge_data
push 0xa
call fcn.10028220
add esp, 0xc
jmp 0x10029668