Function at 0x531537
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
push edi
sub esp, 0x134
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax + 0x84]
mov dword [ebp - 0x18], eax
lea edx, [ebp - 0xac]
mov eax, 0
mov ecx, 0x18
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0xa8], 0x5c57bd
mov dword [ebp - 0x10], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x4c]
add eax, 0x28
mov dword [esp], eax
call fcn.005285ef
test eax, eax
je 0x531593
mov eax, 0
jmp 0x531997
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x4c]
lea edx, [eax + 0x28]
lea eax, [ebp - 0x4c]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0052819c
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00527f10
mov dword [ebp - 0xc], eax
jmp 0x53160b
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov edx, dword [ebp - 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00421690
test eax, eax
jne 0x5315ed
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.0048889f
jmp 0x531611
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call fcn.0042b600
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00527f10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x5315c7
movzx eax, byte [ebp - 0x50]
or eax, 1
mov byte [ebp - 0x50], al
movzx eax, byte [ebp - 0x50]
or eax, 2
mov byte [ebp - 0x50], al
movzx eax, byte [ebp - 0x50]
or eax, 0x10
mov byte [ebp - 0x50], al
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 8]
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xc], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x4c]
lea edx, [eax + 0x28]
lea eax, [ebp - 0x4c]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0052819c
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00527f10
mov dword [ebp - 0xc], eax
jmp 0x531950
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x5316a1
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0x28]
and eax, 2
test al, al
je 0x5316c5
mov dword [esp + 0xc], str.ci___ci__merged.clean
mov dword [esp + 8], str.record_conflicted_index_entries
mov dword [esp + 4], 0x1048
mov dword [esp], str.merge_ort.c
call sub.cygwin1.dll___assert_func
mov eax, dword [ebp - 0x18]
add eax, 8
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x24]
mov eax, dword [eax]
mov dword [ebp - 0xb4], eax
mov eax, dword [ebp - 0x28]
mov edx, dword [eax]
mov eax, dword [ebp - 0x24]
mov dword [eax], edx
mov edx, dword [ebp - 0xb4]
mov eax, dword [ebp - 0x28]
mov dword [eax], edx
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.cygwin1.dll_strlen
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.00452d7f
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x18]
add eax, 8
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0xb0]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x34]
mov edx, dword [eax]
mov eax, dword [ebp - 0x30]
mov dword [eax], edx
mov edx, dword [ebp - 0xb8]
mov eax, dword [ebp - 0x34]
mov dword [eax], edx
cmp dword [ebp - 0x2c], 0
jns 0x53179e
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0xb8]
and eax, 0x1c
cmp al, 4
je 0x531787
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.Conflicted__s_but_nothing_in_basic_working_tree_or_index__this_shouldnt_happen
mov dword [esp + 4], 0x105d
mov dword [esp], str.merge_ort.c
call fcn.004ae42f
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.004d2a7c
jmp 0x531881
mov eax, dword [ebp - 0x18]
mov edx, dword [eax]
mov eax, dword [ebp - 0x2c]
shl eax, 2
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x30]
and eax, 0x40000000
test eax, eax
je 0x53186e
lea eax, [ebp - 0x118]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.cygwin1.dll__lstat64
test eax, eax
jne 0x531846
mov dword [esp + 8], str.cruft
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00529009
mov dword [ebp - 0x3c], eax
mov dword [esp], str.Note:__s_not_up_to_date_and_in_way_of_checking_out_conflicted_version__old_copy_renamed_to__s
call fcn.005281c1
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x14], edx
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], 1
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00528cba
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp], eax
call sub.cygwin1.dll_rename
or dword [ebp - 0x10], eax
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
lea eax, [ebp - 0xac]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.00528537
or dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0x30]
or eax, 0x20000
mov edx, eax
mov eax, dword [ebp - 0x38]
mov dword [eax + 0x30], edx
mov dword [ebp - 0x14], 0
jmp 0x531928
mov eax, dword [ebp - 0x20]
movzx eax, byte [eax + 0xb8]
shr al, 2
and eax, 7
movzx edx, al
mov eax, dword [ebp - 0x14]
mov ecx, eax
shr edx, cl
mov eax, edx
and eax, 1
test eax, eax
je 0x531923
mov edx, dword [ebp - 0x14]
mov eax, edx
shl eax, 2
add eax, edx
shl eax, 3
lea edx, [eax + 0x30]
mov eax, dword [ebp - 0x20]
add eax, edx
add eax, 4
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x14]
lea ecx, [eax + 1]
mov edx, dword [ebp - 0x40]
mov eax, dword [ebp - 0x40]
movzx eax, word [eax + 0x24]
movzx eax, ax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 0xc], ecx
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.00453876
mov dword [ebp - 0x38], eax
mov dword [esp + 8], 8
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.004544c0
jmp 0x531924
nop
add dword [ebp - 0x14], 1
cmp dword [ebp - 0x14], 2
jle 0x53188d
lea eax, [ebp - 0x4c]
mov dword [esp], eax
call fcn.0042b600
mov dword [esp + 4], 0
mov dword [esp], eax
call fcn.00527f10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x53167b
mov dword [esp + 4], 1
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.00452eb8
mov eax, dword [ebp - 0x18]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov dword [esp + 0xc], 0x4ac015
mov dword [esp + 8], 4
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00527ee1
mov eax, dword [ebp - 0x10]
mov edi, dword [ebp - 4]
leave
ret