Function at 0x566386
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0xa0c
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0055beaf
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0x5cdc81
call sub.cygwin1.dll_setenv
mov dword [esp], 0x5cdc81
call sub.cygwin1.dll_getenv
mov dword [esp], eax
call fcn.004b4201
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x566449
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x566425
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x566425
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
test eax, eax
jne 0x566425
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00560014
test eax, eax
jne 0x566425
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x38]
test eax, eax
jne 0x566425
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x566449
mov dword [esp + 0xc], str.__opts__signoff__opts__no_commit__opts__record_origin__should_edit_opts___opts__committer_date_is_author_date__opts__ignore_date_
mov dword [esp + 8], str.pick_commits
mov dword [esp + 4], 0x10c7
mov dword [esp], str.sequencer.c
call sub.cygwin1.dll___assert_func
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00560ebb
test eax, eax
je 0x566d0a
mov eax, 0xffffffff
jmp 0x5672f5
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
mov ecx, eax
mov eax, ecx
add eax, eax
add eax, ecx
shl eax, 3
add eax, edx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.00561119
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x50], 0
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.005636d2
test eax, eax
je 0x5664c5
mov eax, 0xffffffff
jmp 0x5672f5
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0055bae9
test eax, eax
je 0x56664c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp eax, 0xd
je 0x5665a5
call fcn.0055b3f3
mov dword [esp + 4], 0x5ce250
mov dword [esp], eax
call fcn.004c85b0
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
lea edx, [eax + 1]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x1c], edx
cmp dword [ebp - 0x40], 0
je 0x56653b
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5ce252
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call sub.cygwin1.dll_fclose
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x30]
test eax, eax
jne 0x5665a5
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x56655b
mov dword [ebp - 0x9ec], 0x5cd0a5
jmp 0x566565
mov dword [ebp - 0x9ec], 0x5cf034
mov eax, dword [ebp + 0xc]
mov edi, dword [eax + 0x20]
mov eax, dword [ebp + 0xc]
mov esi, dword [eax + 0x1c]
mov dword [esp], str.Rebasing___d__d__s
call fcn.0055aea9
mov ebx, eax
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov ecx, dword [ebp - 0x9ec]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
call fcn.0055b441
mov dword [esp], eax
call sub.cygwin1.dll_unlink
call fcn.0055b4dd
mov dword [esp], eax
call sub.cygwin1.dll_unlink
call fcn.0055b52b
mov dword [esp], eax
call sub.cygwin1.dll_unlink
call fcn.0055b504
mov dword [esp], eax
call sub.cygwin1.dll_unlink
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00445bd5
mov dword [esp], eax
call sub.cygwin1.dll_unlink
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00445c37
mov dword [esp], eax
call sub.cygwin1.dll_unlink
mov dword [esp + 0xc], 1
mov dword [esp + 8], 0
mov dword [esp + 4], str.REBASE_HEAD
mov dword [esp], 0
call fcn.0045bf51
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp eax, 7
jne 0x56664c
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x56663c
call fcn.004426d3
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.005661c3
jmp 0x5672f5
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp eax, 5
ja 0x5669c5
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0055bae9
test eax, eax
je 0x5666a5
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0055f0f6
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0056469a
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], 0x5cdc81
call sub.cygwin1.dll_setenv
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.00565a17
lea edx, [ebp - 0x50]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x38]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00560053
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0055bae9
test eax, eax
je 0x566701
mov dword [esp + 8], 1
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov dword [esp], 0x5cdc81
call sub.cygwin1.dll_setenv
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0055bae9
test eax, eax
je 0x56678f
cmp dword [ebp - 0x1c], 0
jns 0x56678f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.005619d5
mov esi, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.005619fb
mov ebx, eax
mov dword [esp], str.Could_not_execute_the_todo_command_n_n_____.s_nIt_has_been_rescheduled__To_edit_the_command_before_continuing__please_nedit_the_todo_list_first:_n_n____git_rebase___edit_todo_n____git_rebase___continue_n
call fcn.0055aea9
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004c9457
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
lea edx, [eax - 1]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], edx
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.005636d2
test eax, eax
je 0x56678f
mov eax, 0xffffffff
jmp 0x5672f5
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp eax, 2
jne 0x566843
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 4]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x1c], 0
jne 0x5667ff
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x5667bb
call fcn.004426d3
mov eax, dword [ebp - 0x38]
mov edi, dword [eax + 0xc]
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call fcn.0055bf07
mov esi, eax
mov dword [esp], str.Stopped_at__s...___.s_n
call fcn.0055aea9
mov ebx, eax
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], edi
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
cmp dword [ebp - 0x1c], 0
sete al
movzx edx, al
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov dword [esp + 0x18], edx
mov edx, dword [ebp - 0x1c]
mov dword [esp + 0x14], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00563f03
jmp 0x5672f5
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0055bae9
test eax, eax
je 0x566880
cmp dword [ebp - 0x1c], 0
jne 0x566880
mov dword [esp + 4], 1
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.00565ab3
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 4]
add edx, 4
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0055ffaa
cmp dword [ebp - 0x1c], 0
je 0x5668d4
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0055f159
test eax, eax
je 0x5668d4
cmp dword [ebp - 0x1c], 1
jne 0x5668a2
call fcn.00563e81
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x3c]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov edx, dword [ebp + 0x10]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00564073
jmp 0x5672f5
cmp dword [ebp - 0x1c], 0
je 0x566bd8
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0055bae9
test eax, eax
je 0x566bd8
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 4]
test eax, eax
je 0x566bd8
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp eax, 3
jne 0x566982
mov eax, dword [0x62f280]
lea edx, [ebp - 0x940]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x5cd14e
mov dword [esp], eax
call fcn.0043973e
test eax, eax
jne 0x566982
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 4]
lea edx, [eax + 4]
lea eax, [ebp - 0x940]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0055ad8a
test eax, eax
jne 0x56697b
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x98]
test eax, eax
je 0x566982
mov eax, dword [ebp + 0x10]
lea edx, [eax + 0x74]
lea eax, [ebp - 0x940]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0055ad8a
test eax, eax
je 0x566982
mov dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 4]
mov ecx, dword [ebp - 0x24]
mov dword [esp + 0x18], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x3c]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00563f03
or eax, dword [ebp - 0x1c]
jmp 0x5672f5
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp eax, 6
jne 0x566a42
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov edx, eax
mov eax, dword [ebp - 0x3c]
add eax, edx
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
movsx eax, al
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x5669fa
call fcn.004426d3
mov eax, dword [ebp - 0x44]
mov byte [eax], 0
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00564185
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x48]
mov edx, eax
mov eax, dword [ebp - 0x44]
mov byte [eax], dl
cmp dword [ebp - 0x1c], 0
je 0x566a36
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x566a36
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x50], 1
jmp 0x566bd8
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp eax, 8
jne 0x566a81
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0056445f
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x566bd8
mov dword [ebp - 0x20], 1
jmp 0x566bd8
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp eax, 9
jne 0x566ac7
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp + 0x10]
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0056474b
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x566bd8
mov dword [ebp - 0x20], 1
jmp 0x566bd8
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp eax, 0xa
jne 0x566ba0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 8]
mov ebx, eax
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 4]
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x18], ecx
lea ecx, [ebp - 0x50]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x3c]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00564cdd
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jns 0x566b27
mov dword [ebp - 0x20], 1
jmp 0x566b59
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 4]
test eax, eax
je 0x566b59
mov dword [esp + 4], 1
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.00565ab3
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 4]
add edx, 4
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0055ffaa
cmp dword [ebp - 0x1c], 0
jle 0x566bd8
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], 0
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x3c]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00563f03
jmp 0x5672f5
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0055f14a
test eax, eax
jne 0x566bd8
mov eax, dword [ebp - 0x38]
mov ebx, dword [eax]
mov dword [esp], str.unknown_command__d
call fcn.0055aea9
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004ae2ca
call fcn.0055a95c
jmp 0x5672f5
cmp dword [ebp - 0x20], 0
je 0x566caa
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.005619d5
mov esi, eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.005619fb
mov ebx, eax
mov dword [esp], str.Could_not_execute_the_todo_command_n_n_____.s_nIt_has_been_rescheduled__To_edit_the_command_before_continuing__please_nedit_the_todo_list_first:_n_n____git_rebase___edit_todo_n____git_rebase___continue_n
call fcn.0055aea9
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004c9457
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
lea edx, [eax - 1]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], edx
mov eax, dword [ebp + 0x10]
mov dword [esp + 4], eax
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.005636d2
test eax, eax
je 0x566c5b
mov eax, 0xffffffff
jmp 0x5672f5
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 4]
test eax, eax
je 0x566ced
mov eax, dword [ebp - 0x38]
mov edx, dword [eax + 0xc]
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 4]
mov dword [esp + 0x18], 0
mov ecx, dword [ebp - 0x1c]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebp + 0x10]
mov dword [esp + 0x10], ecx
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x3c]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00563f03
jmp 0x5672f5
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0055bae9
test eax, eax
je 0x566ced
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x566ced
cmp dword [ebp - 0x1c], 0
jne 0x566ced
mov eax, dword [ebp + 0x10]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0056629f
test eax, eax
je 0x566ced
mov eax, 0xffffffff
jmp 0x5672f5
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x18]
lea edx, [eax + 1]
mov eax, dword [ebp + 0xc]
mov dword [eax + 0x18], edx
cmp dword [ebp - 0x1c], 0
je 0x566d0a
mov eax, dword [ebp - 0x1c]
jmp 0x5672f5
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
cmp edx, eax
jl 0x56646d
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0055bae9
test eax, eax
je 0x5672ea
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x54], 0x62f624
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x60], 0x62f624
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
cmp edx, eax
jge 0x566d83
mov eax, 0
jmp 0x5672f5
call fcn.0055b6ff
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call fcn.0055c254
test eax, eax
je 0x566fd6
mov eax, dword [ebp - 0x54]
mov dword [esp + 4], 0x5cf074
mov dword [esp], eax
call fcn.0048a6ba
test eax, eax
je 0x566fd6
mov eax, dword [0x62f280]
lea edx, [ebp - 0x990]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x5cd14e
mov dword [esp], eax
call fcn.0043973e
test eax, eax
je 0x566e1f
mov dword [esp], str.cannot_read_HEAD
call fcn.0055aea9
mov dword [esp], eax
call fcn.004ae2ca
call fcn.0055a95c
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call fcn.0048a820
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.0048a820
mov eax, dword [ebp - 0x28]
jmp 0x5672f5
call fcn.0055b663
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.0055c254
test eax, eax
je 0x566e58
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x940]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0042b9f1
test eax, eax
je 0x566e76
mov dword [esp], str.could_not_read_orig_head
call fcn.0055aea9
mov dword [esp], eax
call fcn.004ae2ca
call fcn.0055a95c
mov dword [ebp - 0x28], eax
jmp 0x566e01
mov dword [esp + 4], 0
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.0055ab9d
call fcn.0055b726
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.0055c254
test eax, eax
jne 0x566eca
mov dword [esp], str.could_not_read_onto
call fcn.0055aea9
mov dword [esp], eax
call fcn.004ae2ca
call fcn.0055a95c
mov dword [ebp - 0x28], eax
jmp 0x566e01
mov edx, dword [ebp - 0x60]
mov eax, dword [ebp - 0x54]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov dword [esp + 8], str._s_onto__s
mov dword [esp + 4], str.finish
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0056469a
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 1
lea edx, [ebp - 0x940]
mov dword [esp + 0xc], edx
lea edx, [ebp - 0x990]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.0045cd13
test eax, eax
je 0x566f58
mov ebx, dword [ebp - 0x54]
mov dword [esp], str.could_not_update__s
call fcn.0055aea9
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004ae2ca
call fcn.0055a95c
mov dword [ebp - 0x28], eax
jmp 0x566e01
mov eax, dword [ebp - 0x54]
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.returning_to__s
mov dword [esp + 4], str.finish
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0056469a
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x54]
mov edx, dword [ebp - 0x30]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], 0x5cd14e
call fcn.0045e5a4
test eax, eax
je 0x566fc3
mov ebx, dword [ebp - 0x54]
mov dword [esp], str.could_not_update_HEAD_to__s
call fcn.0055aea9
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004ae2ca
call fcn.0055a95c
mov dword [ebp - 0x28], eax
jmp 0x566e01
mov dword [esp + 4], 0
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.0055ab9d
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x5670ef
mov dword [esp + 8], 0x8d8
mov dword [esp + 4], 0
lea eax, [ebp - 0x940]
mov dword [esp], eax
call sub.cygwin1.dll_memset
mov dword [esp + 8], 0
lea eax, [ebp - 0x940]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00476cb5
movzx eax, byte [ebp - 0x8a7]
or eax, 8
mov byte [ebp - 0x8a7], al
mov dword [ebp - 0x3b0], 2
movzx eax, byte [ebp - 0x89f]
or eax, 0xffffff80
mov byte [ebp - 0x89f], al
call fcn.0055b663
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.0055c254
test eax, eax
je 0x5670ef
mov edx, dword [ebp - 0x60]
mov eax, dword [0x62f280]
lea ecx, [ebp - 0x9e0]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0043973e
test eax, eax
jne 0x5670ef
mov eax, dword [0x62f280]
lea edx, [ebp - 0x990]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x5cd14e
mov dword [esp], eax
call fcn.0043973e
test eax, eax
jne 0x5670ef
lea eax, [ebp - 0x940]
add eax, 0x4a4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x5cc894
lea eax, [ebp - 0x990]
mov dword [esp + 4], eax
lea eax, [ebp - 0x9e0]
mov dword [esp], eax
call fcn.004a938c
lea eax, [ebp - 0x940]
mov dword [esp], eax
call fcn.00526e4e
call fcn.0055fe87
call fcn.0055b552
lea edx, [ebp - 0x940]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygwin1.dll__stat64
test eax, eax
jne 0x567285
mov eax, dword [ebp - 0x918]
mov edx, dword [ebp - 0x914]
mov ebx, 0
mov ecx, 0
cmp ebx, eax
sbb ecx, edx
jge 0x567285
lea edx, [ebp - 0x9e0]
mov eax, 0
mov ecx, 0x14
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x9e0], 0x62f62c
mov dword [ebp - 0x9d4], 0x62f62c
mov dword [esp], str.post_rewrite
call fcn.0051b071
mov dword [ebp - 0x34], eax
call fcn.0055b552
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.cygwin1.dll__open64
mov dword [ebp - 0x9b0], eax
movzx eax, byte [ebp - 0x9a0]
or eax, 8
mov byte [ebp - 0x9a0], al
mov dword [esp + 4], str.notes
lea eax, [ebp - 0x9e0]
mov dword [esp], eax
call fcn.0048ee3c
mov dword [esp + 4], 0x5cf0ed
lea eax, [ebp - 0x9e0]
mov dword [esp], eax
call fcn.0048ee3c
mov dword [esp + 4], str.__for_rewriterebase
lea eax, [ebp - 0x9e0]
mov dword [esp], eax
call fcn.0048ee3c
lea eax, [ebp - 0x9e0]
mov dword [esp], eax
call fcn.0047fb8c
cmp dword [ebp - 0x34], 0
je 0x567285
lea edx, [ebp - 0x990]
mov eax, 0
mov ecx, 0x14
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x990], 0x62f62c
mov dword [ebp - 0x984], 0x62f62c
call fcn.0055b552
mov dword [esp + 4], 0
mov dword [esp], eax
call sub.cygwin1.dll__open64
mov dword [ebp - 0x960], eax
movzx eax, byte [ebp - 0x950]
or eax, 0xffffff80
mov byte [ebp - 0x950], al
mov dword [ebp - 0x964], str.post_rewrite
mov eax, dword [ebp - 0x34]
mov dword [esp + 4], eax
lea eax, [ebp - 0x990]
mov dword [esp], eax
call fcn.0048ee3c
mov dword [esp + 4], str.rebase
lea eax, [ebp - 0x990]
mov dword [esp], eax
call fcn.0048ee3c
lea eax, [ebp - 0x990]
mov dword [esp], eax
call fcn.0047fb8c
call fcn.0055b74d
mov dword [esp], eax
call fcn.005660d9
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x30]
test eax, eax
jne 0x5672d4
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x5672ab
call fcn.004426d3
mov esi, dword [ebp - 0x54]
mov dword [esp], str.Successfully_rebased_and_updated__s._n
call fcn.0055aea9
mov ebx, eax
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.0048a820
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call fcn.0048a820
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0055bcc9
add esp, 0xa0c
pop ebx
pop esi
pop edi
pop ebp
ret