Function at 0x50913d
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x13c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xdc]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xf0]
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x44], 0x61da80
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0xfc], 0
mov dword [ebp - 0xf8], 0
mov dword [ebp - 0xf4], 0
mov dword [ebp - 0x104], 0
mov dword [ebp - 0x100], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1b4]
mov dword [ebp - 0x104], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1b4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.setup
mov dword [esp + 8], 0x5bf606
mov dword [esp + 4], 0x579
mov dword [esp], str.diffcore_rename.c
call fcn.004a2029
mov dword [ebp - 0x94], 0
cmp dword [ebp + 0x18], 0
je 0x50922e
mov eax, dword [ebp + 0x18]
mov dword [esp], eax
call fcn.00506af7
test eax, eax
jne 0x50922e
mov dword [esp + 0xc], str._dir_rename_count__strmap_empty_dir_rename_count_
mov dword [esp + 8], str.diffcore_rename_extended
mov dword [esp + 4], 0x57b
mov dword [esp], str.diffcore_rename.c
call sub.cygwin1.dll___assert_func
cmp dword [ebp - 0x40], 2
sete al
movzx eax, al
mov dword [ebp - 0x48], eax
cmp dword [ebp + 0x14], 0
je 0x50926c
mov eax, dword [0x61df54]
test eax, eax
jne 0x509250
cmp dword [ebp - 0x48], 0
je 0x50926c
mov dword [esp + 8], str.dirs_removed_incompatible_with_break_copy_detection
mov dword [esp + 4], 0x57e
mov dword [esp], str.diffcore_rename.c
call fcn.004b58e7
mov eax, dword [0x61df54]
test eax, eax
je 0x509297
cmp dword [ebp + 0x10], 0
je 0x509297
mov dword [esp + 8], str.break_detection_incompatible_with_source_specification
mov dword [esp + 4], 0x580
mov dword [esp], str.diffcore_rename.c
call fcn.004b58e7
cmp dword [ebp - 0x1c], 0
jne 0x5092a4
mov dword [ebp - 0x1c], 0x7530
mov dword [ebp - 0x20], 0
jmp 0x509401
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
mov eax, dword [ebp - 0x20]
shl eax, 2
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
movzx eax, word [eax + 0x3c]
test ax, ax
jne 0x509365
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 4]
movzx eax, word [eax + 0x3c]
test ax, ax
je 0x5093f3
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
test eax, eax
je 0x509314
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 4]
mov edx, dword [eax + 0x24]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x5093f6
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x58]
test eax, eax
jne 0x509334
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 4]
mov dword [esp], eax
call fcn.005069a5
test eax, eax
jne 0x5093f9
mov eax, dword [ebp - 0x6c]
mov dword [esp], eax
call fcn.00506c5b
test eax, eax
jns 0x5093fd
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 4]
mov eax, dword [eax + 0x24]
mov dword [esp + 4], eax
mov dword [esp], str.skipping_rename_detection__detected_duplicate_destination__s
call fcn.004b57fa
jmp 0x509ce1
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x58]
test eax, eax
jne 0x509380
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.005069a5
test eax, eax
jne 0x5093fc
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax + 0xb]
and eax, 4
test al, al
jne 0x5093d2
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax + 4]
movzx eax, word [eax + 0x3c]
test ax, ax
jne 0x5093d2
mov eax, dword [ebp - 0x6c]
movzx eax, byte [eax + 0xb]
and eax, 1
test al, al
je 0x5093c5
mov eax, dword [ebp - 0x6c]
movzx eax, word [eax + 8]
test ax, ax
jne 0x5093c5
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
mov edx, dword [eax + 0x38]
add edx, 1
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x6c]
mov dword [esp], eax
call fcn.00506d58
jmp 0x5093fd
cmp dword [ebp - 0x48], 0
je 0x5093fd
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
mov edx, dword [eax + 0x38]
add edx, 1
mov dword [eax + 0x38], edx
mov eax, dword [ebp - 0x6c]
mov dword [esp], eax
call fcn.00506d58
jmp 0x5093fd
nop
jmp 0x5093fd
nop
jmp 0x5093fd
nop
jmp 0x5093fd
nop
add dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 8]
cmp dword [ebp - 0x20], eax
jl 0x5092b0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1b4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.setup
mov dword [esp + 8], 0x5bf606
mov dword [esp + 4], 0x5ae
mov dword [esp], str.diffcore_rename.c
call fcn.004a21c9
mov eax, dword [0x61df4c]
test eax, eax
je 0x509cd7
mov eax, dword [0x61df5c]
test eax, eax
je 0x509cd7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1b4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.exact_renames
mov dword [esp + 8], 0x5bf606
mov dword [esp + 4], 0x5b2
mov dword [esp], str.diffcore_rename.c
call fcn.004a2029
mov dword [esp + 4], 0x8000
lea eax, [ebp - 0x90]
mov dword [esp], eax
call fcn.00527496
lea eax, [ebp - 0x90]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.005076cf
mov dword [ebp - 0x28], eax
mov dword [esp + 4], 0
lea eax, [ebp - 0x90]
mov dword [esp], eax
call fcn.005274e4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1b4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.exact_renames
mov dword [esp + 8], 0x5bf606
mov dword [esp + 4], 0x5bf
mov dword [esp], str.diffcore_rename.c
call fcn.004a21c9
cmp dword [ebp - 0x1c], 0xea60
je 0x509cda
mov eax, dword [0x61df5c]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x48], 0
jne 0x509525
mov eax, dword [0x61df54]
test eax, eax
je 0x50959e
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1b4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.cull_after_exact
mov dword [esp + 8], 0x5bf606
mov dword [esp + 4], 0x5cd
mov dword [esp], str.diffcore_rename.c
call fcn.004a2029
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call fcn.00508cb4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1b4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.cull_after_exact
mov dword [esp + 8], 0x5bf606
mov dword [esp + 4], 0x5cf
mov dword [esp], str.diffcore_rename.c
call fcn.004a21c9
jmp 0x50989b
fld qword [0x5bf8a0]
fstp qword [ebp - 0x38]
mov dword [esp], str.GIT_BASENAME_FACTOR
call sub.cygwin1.dll_getenv
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0
je 0x5095ee
mov dword [esp + 8], 0xa
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x50]
mov dword [esp], eax
call sub.cygwin1.dll_strtol
mov dword [ebp - 0x120], eax
fild dword [ebp - 0x120]
fld qword [0x5bf8a8]
fdivp st(1)
fstp qword [ebp - 0x38]
fldz
fld qword [ebp - 0x38]
fcompi st(1)
fstp st(0)
setae al
xor eax, 1
test al, al
jne 0x509614
fld qword [ebp - 0x38]
fld1
fcompi st(1)
fstp st(0)
setae al
xor eax, 1
test al, al
je 0x509638
mov dword [esp + 0xc], str.factor___0.0__factor___1.0
mov dword [esp + 8], str.diffcore_rename_extended
mov dword [esp + 4], 0x5d8
mov dword [esp], str.diffcore_rename.c
call sub.cygwin1.dll___assert_func
fild dword [ebp - 0x1c]
fld qword [0x5bf898]
fsubrp st(1)
fmul qword [ebp - 0x38]
fnstcw word [ebp - 0x11a]
movzx eax, word [ebp - 0x11a]
or ah, 0xc
mov word [ebp - 0x11c], ax
fldcw word [ebp - 0x11c]
fistp dword [ebp - 0x120]
fldcw word [ebp - 0x11a]
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x120]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1b4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.cull_after_exact
mov dword [esp + 8], 0x5bf606
mov dword [esp + 4], 0x5e0
mov dword [esp], str.diffcore_rename.c
call fcn.004a2029
mov dword [esp + 4], 0
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call fcn.00508cb4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1b4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.cull_after_exact
mov dword [esp + 8], 0x5bf606
mov dword [esp + 4], 0x5e2
mov dword [esp], str.diffcore_rename.c
call fcn.004a21c9
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1b4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.dir_rename_setup
mov dword [esp + 8], 0x5bf606
mov dword [esp + 4], 0x5e5
mov dword [esp], str.diffcore_rename.c
call fcn.004a2029
mov eax, dword [ebp + 0x1c]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
lea eax, [ebp - 0xf0]
mov dword [esp], eax
call fcn.00507ba7
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1b4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.dir_rename_setup
mov dword [esp + 8], 0x5bf606
mov dword [esp + 4], 0x5e9
mov dword [esp], str.diffcore_rename.c
call fcn.004a21c9
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1b4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.basename_matches
mov dword [esp + 8], 0x5bf606
mov dword [esp + 4], 0x5ec
mov dword [esp], str.diffcore_rename.c
call fcn.004a2029
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0xf0]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.005084c3
add dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1b4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.basename_matches
mov dword [esp + 8], 0x5bf606
mov dword [esp + 4], 0x5f2
mov dword [esp], str.diffcore_rename.c
call fcn.004a21c9
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1b4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.cull_basename
mov dword [esp + 8], 0x5bf606
mov dword [esp + 4], 0x5fe
mov dword [esp], str.diffcore_rename.c
call fcn.004a2029
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x48]
mov dword [esp], eax
call fcn.00508cb4
mov eax, dword [ebp + 0x14]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
lea eax, [ebp - 0xf0]
mov dword [esp], eax
call fcn.00508d88
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1b4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.cull_basename
mov dword [esp + 8], 0x5bf606
mov dword [esp + 4], 0x602
mov dword [esp], str.diffcore_rename.c
call fcn.004a21c9
mov eax, dword [0x61df4c]
sub eax, dword [ebp - 0x28]
mov dword [ebp - 0x58], eax
mov eax, dword [0x61df5c]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x58], 0
je 0x509cdd
cmp dword [ebp - 0x4c], 0
je 0x509cdd
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x58]
mov dword [esp], eax
call fcn.005089fc
cmp eax, 1
je 0x509ce0
cmp eax, 2
je 0x5098eb
jmp 0x509900
mov eax, dword [ebp + 8]
mov dword [eax + 0xfc], 1
mov dword [ebp - 0x2c], 1
nop
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1b4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.inexact_renames
mov dword [esp + 8], 0x5bf606
mov dword [esp + 4], 0x619
mov dword [esp], str.diffcore_rename.c
call fcn.004a2029
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x100]
test eax, eax
je 0x509990
mov eax, dword [ebp - 0x58]
mov ecx, eax
mov ebx, eax
sar ebx, 0x1f
mov eax, dword [ebp - 0x4c]
cdq
mov edi, ebx
imul edi, eax
mov esi, edx
imul esi, ecx
add edi, esi
mov dword [ebp - 0x120], edi
mul ecx
mov esi, eax
mov edi, edx
mov eax, dword [ebp - 0x120]
add eax, edi
mov edi, eax
mov dword [esp], str.Performing_inexact_rename_detection
call fcn.00506a87
mov dword [esp + 4], esi
mov dword [esp + 8], edi
mov dword [esp], eax
call fcn.004564c5
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x100], eax
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0x1b4]
mov eax, dword [0x61cf40]
cmp edx, eax
jne 0x5099ca
call fcn.00506acf
test eax, eax
je 0x5099ca
mov dword [ebp - 0xf8], 0x506f57
lea eax, [ebp - 0x104]
mov dword [ebp - 0xf4], eax
mov eax, dword [ebp - 0x58]
mov dword [esp + 4], eax
mov dword [esp], 4
call fcn.005067d8
mov dword [esp + 4], 0xc
mov dword [esp], eax
call fcn.004baa20
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x20], 0
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x30], eax
jmp 0x509be8
mov ecx, dword [0x61df48]
mov edx, dword [ebp - 0x20]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
add eax, ecx
mov eax, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x60], eax
mov ecx, dword [0x61df48]
mov edx, dword [ebp - 0x20]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
add eax, ecx
mov eax, dword [eax + 8]
test eax, eax
jne 0x509be3
mov edx, dword [ebp - 0x30]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 4
mov edx, eax
mov eax, dword [ebp - 0x5c]
add eax, edx
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x24], 0
jmp 0x509a7a
mov edx, dword [ebp - 0x24]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
mov edx, eax
mov eax, dword [ebp - 0x64]
add eax, edx
mov dword [eax + 4], 0xffffffff
add dword [ebp - 0x24], 1
cmp dword [ebp - 0x24], 3
jle 0x509a5c
mov dword [ebp - 0x24], 0
jmp 0x509b98
mov edx, dword [0x61df58]
mov eax, dword [ebp - 0x24]
shl eax, 3
add eax, edx
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x68]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x509ade
cmp dword [ebp - 0x48], 0
jne 0x509ade
mov eax, dword [0x61df54]
test eax, eax
jne 0x509ade
mov dword [esp + 0xc], str._one__rename_used__want_copies__break_idx
mov dword [esp + 8], str.diffcore_rename_extended
mov dword [esp + 4], 0x637
mov dword [esp], str.diffcore_rename.c
call sub.cygwin1.dll___assert_func
cmp dword [ebp - 0x2c], 0
je 0x509b04
mov edx, dword [0x61df58]
mov eax, dword [ebp - 0x24]
shl eax, 3
add eax, edx
mov eax, dword [eax]
mov dword [esp], eax
call fcn.005019cd
test eax, eax
jne 0x509b93
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1b4]
lea edx, [ebp - 0xfc]
mov dword [esp + 0x10], edx
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x60]
mov dword [esp + 8], edx
mov edx, dword [ebp - 0x68]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00507080
mov word [ebp - 0x108], ax
mov eax, dword [ebp - 0x60]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x68]
mov dword [esp], eax
call fcn.00506e96
mov word [ebp - 0x106], ax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x10c], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x110], eax
lea eax, [ebp - 0x110]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x64]
mov dword [esp], eax
call fcn.00508950
mov eax, dword [ebp - 0x68]
mov dword [esp], eax
call fcn.004fca4c
mov eax, dword [ebp - 0x60]
mov dword [esp], eax
call fcn.004fca4c
jmp 0x509b94
nop
add dword [ebp - 0x24], 1
mov eax, dword [0x61df5c]
cmp dword [ebp - 0x24], eax
jl 0x509a8c
add dword [ebp - 0x30], 1
mov eax, dword [ebp - 0x30]
mov ecx, eax
mov ebx, eax
sar ebx, 0x1f
mov eax, dword [ebp - 0x4c]
cdq
mov edi, ebx
imul edi, eax
mov esi, edx
imul esi, ecx
add esi, edi
mul ecx
lea ecx, [esi + edx]
mov edx, ecx
mov ecx, dword [ebp - 0x84]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
mov dword [esp], ecx
call fcn.00456376
jmp 0x509be4
nop
add dword [ebp - 0x20], 1
mov eax, dword [0x61df4c]
cmp dword [ebp - 0x20], eax
jl 0x509a02
lea eax, [ebp - 0x84]
mov dword [esp], eax
call fcn.00506aab
mov eax, dword [ebp - 0x30]
shl eax, 2
mov dword [esp + 0xc], fcn.005073b0
mov dword [esp + 8], 0xc
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.0056b129
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0xf0]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00508afe
add dword [ebp - 0x28], eax
cmp dword [ebp - 0x48], 0
je 0x509c99
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x14], eax
lea eax, [ebp - 0xf0]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 1
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x30]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call fcn.00508afe
add dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x5c]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1b4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.inexact_renames
mov dword [esp + 8], 0x5bf606
mov dword [esp + 4], 0x65b
mov dword [esp], str.diffcore_rename.c
call fcn.004a21c9
jmp 0x509ce1
nop
jmp 0x509ce1
nop
jmp 0x509ce1
nop
jmp 0x509ce1
nop
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1b4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.write_back_to_queue
mov dword [esp + 8], 0x5bf606
mov dword [esp + 4], 0x661
mov dword [esp], str.diffcore_rename.c
call fcn.004a2029
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], 0
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x20], 0
jmp 0x509eb2
mov eax, dword [ebp - 0x44]
mov edx, dword [eax]
mov eax, dword [ebp - 0x20]
shl eax, 2
add eax, edx
mov eax, dword [eax]
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax + 0xb]
and eax, 4
test al, al
je 0x509d70
mov eax, dword [ebp - 0x70]
mov dword [esp + 4], eax
lea eax, [ebp - 0x80]
mov dword [esp], eax
call fcn.0050153a
jmp 0x509e96
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
movzx eax, word [eax + 0x3c]
test ax, ax
jne 0x509da4
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 4]
movzx eax, word [eax + 0x3c]
test ax, ax
je 0x509da4
mov eax, dword [ebp - 0x70]
mov dword [esp + 4], eax
lea eax, [ebp - 0x80]
mov dword [esp], eax
call fcn.0050153a
jmp 0x509e96
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
movzx eax, word [eax + 0x3c]
test ax, ax
je 0x509e6d
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 4]
movzx eax, word [eax + 0x3c]
test ax, ax
jne 0x509e6d
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
movzx eax, word [eax + 0x3c]
test ax, ax
sete dl
mov eax, dword [ebp - 0x70]
mov eax, dword [eax + 4]
movzx eax, word [eax + 0x3c]
test ax, ax
sete al
xor eax, edx
test al, al
je 0x509e3e
mov eax, dword [ebp - 0x70]
movzx eax, byte [eax + 0xb]
and eax, 1
test al, al
je 0x509e3e
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
call fcn.00506c06
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0
jne 0x509e2c
mov dword [esp + 8], str.tracking_failed_somehow__failed_to_find_associated_dst_for_broken_pair
mov dword [esp + 4], 0x683
mov dword [esp], str.diffcore_rename.c
call fcn.004b58e7
mov eax, dword [ebp - 0x74]
mov eax, dword [eax + 8]
test eax, eax
je 0x509e52
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x3c], eax
jmp 0x509e52
mov eax, dword [ebp - 0x70]
mov eax, dword [eax]
mov eax, dword [eax + 0x38]
test eax, eax
je 0x509e53
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x3c], eax
jmp 0x509e53
nop
cmp dword [ebp - 0x3c], 0
jne 0x509e96
mov eax, dword [ebp - 0x70]
mov dword [esp + 4], eax
lea eax, [ebp - 0x80]
mov dword [esp], eax
call fcn.0050153a
jmp 0x509e96
mov eax, dword [ebp - 0x70]
mov dword [esp], eax
call fcn.005019cd
test eax, eax
jne 0x509e90
mov eax, dword [ebp - 0x70]
mov dword [esp + 4], eax
lea eax, [ebp - 0x80]
mov dword [esp], eax
call fcn.0050153a
jmp 0x509e96
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x509eae
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.00509107
add dword [ebp - 0x20], 1
mov eax, dword [ebp - 0x44]
mov eax, dword [eax + 8]
cmp dword [ebp - 0x20], eax
jl 0x509d32
mov eax, dword [ebp - 0x44]
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x80]
mov dword [eax], edx
mov edx, dword [ebp - 0x7c]
mov dword [eax + 4], edx
mov edx, dword [ebp - 0x78]
mov dword [eax + 8], edx
mov dword [ebp - 0x20], 0
jmp 0x509f30
mov ecx, dword [0x61df48]
mov edx, dword [ebp - 0x20]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
add eax, ecx
mov eax, dword [eax + 4]
test eax, eax
je 0x509f2c
mov ecx, dword [0x61df48]
mov edx, dword [ebp - 0x20]
mov eax, edx
add eax, eax
add eax, edx
shl eax, 2
add eax, ecx
mov eax, dword [eax + 4]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.005090e1
add dword [ebp - 0x20], 1
mov eax, dword [0x61df4c]
cmp dword [ebp - 0x20], eax
jl 0x509eeb
cmp dword [ebp + 0x18], 0
setne al
movzx eax, al
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
lea eax, [ebp - 0xf0]
mov dword [esp], eax
call fcn.00507fa7
mov eax, dword [0x61df48]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov dword [0x61df48], 0
mov dword [0x61df50], 0
mov eax, dword [0x61df50]
mov dword [0x61df4c], eax
mov eax, dword [0x61df58]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov dword [0x61df58], 0
mov dword [0x61df60], 0
mov eax, dword [0x61df60]
mov dword [0x61df5c], eax
mov eax, dword [0x61df54]
test eax, eax
je 0x509fe0
mov eax, dword [0x61df54]
mov dword [esp], eax
call fcn.00506b5a
mov eax, dword [0x61df54]
mov dword [esp], eax
call sub.cygwin1.dll_free
mov dword [0x61df54], 0
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x1b4]
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.write_back_to_queue
mov dword [esp + 8], 0x5bf606
mov dword [esp + 4], 0x6ae
mov dword [esp], str.diffcore_rename.c
call fcn.004a21c9
nop
add esp, 0x13c
pop ebx
pop esi
pop edi
pop ebp
ret