Function at 0x56570a
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.0055b233
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov dword [esp], 0x5cbc81
call sub.cygwin1.dll_setenv
mov dword [esp], 0x5cbc81
call sub.cygwin1.dll_getenv
mov dword [esp], eax
call fcn.004ba79d
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x5657cd
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x10]
test eax, eax
jne 0x5657a9
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0xc]
test eax, eax
jne 0x5657a9
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 8]
test eax, eax
jne 0x5657a9
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0055f398
test eax, eax
jne 0x5657a9
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x38]
test eax, eax
jne 0x5657a9
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x3c]
test eax, eax
je 0x5657cd
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.0056023f
test eax, eax
je 0x56608e
mov eax, 0xffffffff
jmp 0x566679
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.0056049d
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.00562a56
test eax, eax
je 0x565849
mov eax, 0xffffffff
jmp 0x566679
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0055ae6d
test eax, eax
je 0x5659d0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp eax, 0xd
je 0x565929
call fcn.0055a777
mov dword [esp + 4], 0x5cc250
mov dword [esp], eax
call fcn.004ceb4c
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 0x5658bf
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5cc252
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 0x565929
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x5658df
mov dword [ebp - 0x9ec], 0x5cb0a5
jmp 0x5658e9
mov dword [ebp - 0x9ec], 0x5cd034
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.0055a22d
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.0055a7c5
mov dword [esp], eax
call sub.cygwin1.dll_unlink
call fcn.0055a861
mov dword [esp], eax
call sub.cygwin1.dll_unlink
call fcn.0055a8af
mov dword [esp], eax
call sub.cygwin1.dll_unlink
call fcn.0055a888
mov dword [esp], eax
call sub.cygwin1.dll_unlink
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0044e6b5
mov dword [esp], eax
call sub.cygwin1.dll_unlink
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0044e717
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.0046338d
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp eax, 7
jne 0x5659d0
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x5659c0
call fcn.0044b1b3
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.00565547
jmp 0x566679
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp eax, 5
ja 0x565d49
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0055ae6d
test eax, eax
je 0x565a29
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0055e47a
mov dword [esp + 8], 0
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.00563a1e
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], 0x5cbc81
call sub.cygwin1.dll_setenv
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.00564d9b
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.0055f3d7
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0055ae6d
test eax, eax
je 0x565a85
mov dword [esp + 8], 1
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov dword [esp], 0x5cbc81
call sub.cygwin1.dll_setenv
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0055ae6d
test eax, eax
je 0x565b13
cmp dword [ebp - 0x1c], 0
jns 0x565b13
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.00560d59
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.00560d7f
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.0055a22d
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004cf9f3
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.00562a56
test eax, eax
je 0x565b13
mov eax, 0xffffffff
jmp 0x566679
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp eax, 2
jne 0x565bc7
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 4]
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x1c], 0
jne 0x565b83
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x565b3f
call fcn.0044b1b3
mov eax, dword [ebp - 0x38]
mov edi, dword [eax + 0xc]
mov eax, dword [ebp - 0x4c]
mov dword [esp], eax
call fcn.0055b28b
mov esi, eax
mov dword [esp], str.Stopped_at__s...___.s_n
call fcn.0055a22d
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.00563287
jmp 0x566679
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0055ae6d
test eax, eax
je 0x565c04
cmp dword [ebp - 0x1c], 0
jne 0x565c04
mov dword [esp + 4], 1
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.00564e37
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 4]
add edx, 4
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0055f32e
cmp dword [ebp - 0x1c], 0
je 0x565c58
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0055e4dd
test eax, eax
je 0x565c58
cmp dword [ebp - 0x1c], 1
jne 0x565c26
call fcn.00563205
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.005633f7
jmp 0x566679
cmp dword [ebp - 0x1c], 0
je 0x565f5c
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0055ae6d
test eax, eax
je 0x565f5c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 4]
test eax, eax
je 0x565f5c
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp eax, 3
jne 0x565d06
mov eax, dword [0x61cf40]
lea edx, [ebp - 0x940]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x5cb14e
mov dword [esp], eax
call fcn.00441116
test eax, eax
jne 0x565d06
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.0055a10e
test eax, eax
jne 0x565cff
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x98]
test eax, eax
je 0x565d06
mov eax, dword [ebp + 0x10]
lea edx, [eax + 0x74]
lea eax, [ebp - 0x940]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0055a10e
test eax, eax
je 0x565d06
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.00563287
or eax, dword [ebp - 0x1c]
jmp 0x566679
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp eax, 6
jne 0x565dc6
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 0x565d7e
call fcn.0044b1b3
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.00563509
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 0x565dba
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x34]
test eax, eax
je 0x565dba
mov dword [ebp - 0x20], 1
mov dword [ebp - 0x50], 1
jmp 0x565f5c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp eax, 8
jne 0x565e05
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.005637e3
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x565f5c
mov dword [ebp - 0x20], 1
jmp 0x565f5c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp eax, 9
jne 0x565e4b
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.00563acf
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x565f5c
mov dword [ebp - 0x20], 1
jmp 0x565f5c
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
cmp eax, 0xa
jne 0x565f24
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.00564061
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jns 0x565eab
mov dword [ebp - 0x20], 1
jmp 0x565edd
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 4]
test eax, eax
je 0x565edd
mov dword [esp + 4], 1
mov eax, dword [ebp + 0xc]
mov dword [esp], eax
call fcn.00564e37
mov edx, dword [ebp - 0x38]
mov edx, dword [edx + 4]
add edx, 4
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0055f32e
cmp dword [ebp - 0x1c], 0
jle 0x565f5c
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.00563287
jmp 0x566679
mov eax, dword [ebp - 0x38]
mov eax, dword [eax]
mov dword [esp], eax
call fcn.0055e4ce
test eax, eax
jne 0x565f5c
mov eax, dword [ebp - 0x38]
mov ebx, dword [eax]
mov dword [esp], str.unknown_command__d
call fcn.0055a22d
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004b5782
call fcn.00559ce0
jmp 0x566679
cmp dword [ebp - 0x20], 0
je 0x56602e
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.00560d59
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.00560d7f
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.0055a22d
mov dword [esp + 8], esi
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004cf9f3
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.00562a56
test eax, eax
je 0x565fdf
mov eax, 0xffffffff
jmp 0x566679
mov eax, dword [ebp - 0x38]
mov eax, dword [eax + 4]
test eax, eax
je 0x566071
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.00563287
jmp 0x566679
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0055ae6d
test eax, eax
je 0x566071
mov eax, dword [ebp - 0x50]
test eax, eax
je 0x566071
cmp dword [ebp - 0x1c], 0
jne 0x566071
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.00565623
test eax, eax
je 0x566071
mov eax, 0xffffffff
jmp 0x566679
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 0x56608e
mov eax, dword [ebp - 0x1c]
jmp 0x566679
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
cmp edx, eax
jl 0x5657f1
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0055ae6d
test eax, eax
je 0x56666e
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0
mov dword [ebp - 0x54], 0x61d2e4
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x60], 0x61d2e4
mov eax, dword [ebp + 0xc]
mov edx, dword [eax + 0x18]
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 0x10]
cmp edx, eax
jge 0x566107
mov eax, 0
jmp 0x566679
call fcn.0055aa83
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call fcn.0055b5d8
test eax, eax
je 0x56635a
mov eax, dword [ebp - 0x54]
mov dword [esp + 4], 0x5cd074
mov dword [esp], eax
call fcn.00491b72
test eax, eax
je 0x56635a
mov eax, dword [0x61cf40]
lea edx, [ebp - 0x990]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x5cb14e
mov dword [esp], eax
call fcn.00441116
test eax, eax
je 0x5661a3
mov dword [esp], str.cannot_read_HEAD
call fcn.0055a22d
mov dword [esp], eax
call fcn.004b5782
call fcn.00559ce0
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call fcn.00491cd8
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.00491cd8
mov eax, dword [ebp - 0x28]
jmp 0x566679
call fcn.0055a9e7
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.0055b5d8
test eax, eax
je 0x5661dc
mov eax, dword [ebp - 0x60]
lea edx, [ebp - 0x940]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00431bb9
test eax, eax
je 0x5661fa
mov dword [esp], str.could_not_read_orig_head
call fcn.0055a22d
mov dword [esp], eax
call fcn.004b5782
call fcn.00559ce0
mov dword [ebp - 0x28], eax
jmp 0x566185
mov dword [esp + 4], 0
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.00559f21
call fcn.0055aaaa
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.0055b5d8
test eax, eax
jne 0x56624e
mov dword [esp], str.could_not_read_onto
call fcn.0055a22d
mov dword [esp], eax
call fcn.004b5782
call fcn.00559ce0
mov dword [ebp - 0x28], eax
jmp 0x566185
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.00563a1e
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.0046414f
test eax, eax
je 0x5662dc
mov ebx, dword [ebp - 0x54]
mov dword [esp], str.could_not_update__s
call fcn.0055a22d
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004b5782
call fcn.00559ce0
mov dword [ebp - 0x28], eax
jmp 0x566185
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.00563a1e
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], 0x5cb14e
call fcn.004659e0
test eax, eax
je 0x566347
mov ebx, dword [ebp - 0x54]
mov dword [esp], str.could_not_update_HEAD_to__s
call fcn.0055a22d
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004b5782
call fcn.00559ce0
mov dword [ebp - 0x28], eax
jmp 0x566185
mov dword [esp + 4], 0
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.00559f21
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x566473
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.0047eb0d
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.0055a9e7
mov dword [esp + 8], 0
mov dword [esp + 4], eax
lea eax, [ebp - 0x68]
mov dword [esp], eax
call fcn.0055b5d8
test eax, eax
je 0x566473
mov edx, dword [ebp - 0x60]
mov eax, dword [0x61cf40]
lea ecx, [ebp - 0x9e0]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00441116
test eax, eax
jne 0x566473
mov eax, dword [0x61cf40]
lea edx, [ebp - 0x990]
mov dword [esp + 8], edx
mov dword [esp + 4], 0x5cb14e
mov dword [esp], eax
call fcn.00441116
test eax, eax
jne 0x566473
lea eax, [ebp - 0x940]
add eax, 0x4a4
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x5ca894
lea eax, [ebp - 0x990]
mov dword [esp + 4], eax
lea eax, [ebp - 0x9e0]
mov dword [esp], eax
call fcn.004b0844
lea eax, [ebp - 0x940]
mov dword [esp], eax
call fcn.00526856
call fcn.0055f20b
call fcn.0055a8d6
lea edx, [ebp - 0x940]
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygwin1.dll__stat64
test eax, eax
jne 0x566609
mov eax, dword [ebp - 0x918]
mov edx, dword [ebp - 0x914]
mov ebx, 0
mov ecx, 0
cmp ebx, eax
sbb ecx, edx
jge 0x566609
lea edx, [ebp - 0x9e0]
mov eax, 0
mov ecx, 0x14
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x9e0], 0x61d2ec
mov dword [ebp - 0x9d4], 0x61d2ec
mov dword [esp], str.post_rewrite
call fcn.00431e95
mov dword [ebp - 0x34], eax
call fcn.0055a8d6
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.004962f4
mov dword [esp + 4], 0x5cd0ed
lea eax, [ebp - 0x9e0]
mov dword [esp], eax
call fcn.004962f4
mov dword [esp + 4], str.__for_rewriterebase
lea eax, [ebp - 0x9e0]
mov dword [esp], eax
call fcn.004962f4
lea eax, [ebp - 0x9e0]
mov dword [esp], eax
call fcn.004879e4
cmp dword [ebp - 0x34], 0
je 0x566609
lea edx, [ebp - 0x990]
mov eax, 0
mov ecx, 0x14
mov edi, edx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x990], 0x61d2ec
mov dword [ebp - 0x984], 0x61d2ec
call fcn.0055a8d6
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.004962f4
mov dword [esp + 4], str.rebase
lea eax, [ebp - 0x990]
mov dword [esp], eax
call fcn.004962f4
lea eax, [ebp - 0x990]
mov dword [esp], eax
call fcn.004879e4
call fcn.0055aad1
mov dword [esp], eax
call fcn.0056545d
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x30]
test eax, eax
jne 0x566658
mov eax, dword [ebp + 0x10]
mov eax, dword [eax + 0x2c]
test eax, eax
jne 0x56662f
call fcn.0044b1b3
mov esi, dword [ebp - 0x54]
mov dword [esp], str.Successfully_rebased_and_updated__s._n
call fcn.0055a22d
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.00491cd8
lea eax, [ebp - 0x5c]
mov dword [esp], eax
call fcn.00491cd8
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.0055b04d
add esp, 0xa0c
pop ebx
pop esi
pop edi
pop ebp
ret