Function at 0x1002b7c0
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.10178d50
add esp, 0xc
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], ebx
mov eax, 0x102069cd
mov dword [esp + 0x1c], eax
test ebp, ebp
jne 0x1002b838
push str.repo
push str.invalid_argument
push 0x101dc9a8
push 3
call fcn.1002a5a0
add esp, 0x10
or eax, 0xffffffff
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x6c
ret
test edi, edi
jne 0x1002b860
push str.target
push str.invalid_argument
push 0x101dc9a8
push 3
call fcn.1002a5a0
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 0x1002b89e
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 0x1002b8c2
push str.Cannot_perform_reset
push str._s___The_given_target_does_not_belong_to_this_repository.
push 0xb
call fcn.1002a5a0
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 0x1002b901
test byte [ebp + 0x60], 1
je 0x1002b901
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.1002a5a0
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 0x1002b9d8
mov edx, ebp
lea ecx, [esp + 0x18]
call fcn.1000a410
mov esi, dword [esp + 0x18]
test eax, eax
jns 0x1002b936
or edi, 0xffffffff
jmp 0x1002b9d8
lock inc dword [esi]
mov ecx, dword [esp + 0x14]
test ecx, ecx
jne 0x1002b95f
push str.commit
push str.invalid_argument
push 0x101dc9a8
push 3
call fcn.1002a5a0
add esp, 0x10
or edi, 0xffffffff
jmp 0x1002b9d8
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 0x1002b9d4
mov ebx, dword [esp + 0x84]
cmp ebx, 1
jne 0x1002ba6c
push ebp
call sym.user32.dll_git_repository_state
add esp, 4
cmp eax, ebx
je 0x1002b9bb
test esi, esi
jne 0x1002ba43
push str.index
push str.invalid_argument
push 0x101dc9a8
push 3
call fcn.1002a5a0
add esp, 0x10
push str.Cannot_perform_reset
push str._s__soft__in_the_middle_of_a_merge
push 0xb
call fcn.1002a5a0
add esp, 0xc
mov edi, 0xfffffff6
mov ebx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1002b9e7
mov ecx, eax
call fcn.10056a90
test esi, esi
je 0x1002ba04
or eax, 0xffffffff
lock xadd dword [esi], eax
dec eax
test eax, eax
jg 0x1002ba04
cmp dword [esi + 4], 0
jne 0x1002ba04
mov ecx, esi
call fcn.10043750
test ebx, ebx
je 0x1002ba0f
mov ecx, ebx
call fcn.10056a90
cmp dword [esp + 0x20], 0
jbe 0x1002ba39
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x1002ba39
cmp eax, 0x102069cc
je 0x1002ba39
mov esi, dword [fcn.10034de0]
mov ecx, esi
push eax
call dword [0x101aa4d8]
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 0x1002ba6c
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 0x1002b9bb
inc ecx
add edx, 4
cmp ecx, edi
jb 0x1002ba50
push dword [esp + 0x80]
lea eax, [esp + 0x20]
push str.reset:_moving_to__s
push eax
call fcn.1002c540
add esp, 0xc
test eax, eax
js 0x1002ba3b
cmp ebx, 3
mov ebx, dword [esp + 0x10]
jne 0x1002bab3
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 0x1002b9d8
mov eax, dword [esp + 0x1c]
mov edx, str.HEAD
push eax
push 0
push dword [esp + 0x1c]
mov ecx, ebp
call fcn.100151e0
mov edi, eax
add esp, 0xc
test edi, edi
js 0x1002b9d8
cmp dword [esp + 0x84], 1
jle 0x1002b9d8
push ebx
push esi
call sym.user32.dll_git_index_read_tree
mov edi, eax
add esp, 8
test edi, edi
js 0x1002b9d8
push esi
call sym.user32.dll_git_index_write
mov edi, eax
add esp, 4
test edi, edi
js 0x1002b9d8
push 9
mov edx, 0x10200fe0
mov ecx, ebp
call fcn.100118f0
mov edi, eax
add esp, 4
test edi, edi
jns 0x1002b9d8
push str.Cannot_perform_reset
push str._s___failed_to_clean_up_merge_data
push 0xa
call fcn.1002a5a0
add esp, 0xc
jmp 0x1002b9d8