Function at 0x40acd8
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push ebx
sub esp, 0x950
mov ecx, 0
mov eax, 0x1c
and eax, 0xfffffffc
mov edx, eax
mov eax, 0
mov dword [ebp + eax - 0x60], ecx
add eax, 4
cmp eax, edx
jb 0x40acf7
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [esp + 4], 0x20
mov dword [esp], 1
call fcn.004baa20
mov dword [0x61c318], eax
add dword [ebp + 0xc], 4
mov dword [ebp - 0x20], 1
jmp 0x40af62
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
cmp al, 0x2d
jne 0x40ae9c
mov dword [esp + 4], 0x5a08c3
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x40ad8a
mov dword [0x61c304], 1
jmp 0x40af5a
mov dword [esp + 4], 0x5a08c9
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x40adb0
mov dword [0x61c308], 1
jmp 0x40af5a
mov dword [esp + 4], 0x5a08d1
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x40add6
mov dword [0x61c30c], 1
jmp 0x40af5a
mov dword [esp + 4], str.__helper_status
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x40adfc
mov dword [0x61c310], 1
jmp 0x40af5a
mov dword [esp + 4], str.__verbose
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x40ae2c
mov dword [0x61c300], 1
mov dword [0x61c028], 1
jmp 0x40af5a
mov dword [esp + 4], 0x5a08f5
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x40ae4f
mov dword [ebp - 0x14], 1
jmp 0x40af5a
mov dword [esp + 4], 0x5a08f8
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x40ae79
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x18], 1
jmp 0x40af5a
mov dword [esp + 4], 0x5a08fb
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x40ae9c
mov dword [esp], 0x59fd60
call fcn.004b54ae
mov eax, dword [0x61c318]
mov eax, dword [eax]
test eax, eax
jne 0x40af3b
mov dword [esp + 4], 0x5a02fa
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call sub.cygwin1.dll_strstr
mov dword [ebp - 0x34], eax
mov eax, dword [0x61c318]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.004b3c8f
mov eax, dword [0x61c318]
mov eax, dword [eax]
mov dword [esp], eax
call sub.cygwin1.dll_strlen
mov edx, eax
mov eax, dword [0x61c318]
mov dword [eax + 8], edx
cmp dword [ebp - 0x34], 0
je 0x40af59
mov eax, dword [ebp - 0x34]
add eax, 2
mov ebx, dword [0x61c318]
mov dword [esp + 4], 0x2f
mov dword [esp], eax
call sub.cygwin1.dll_strchr
mov dword [ebx + 4], eax
mov eax, dword [0x61c318]
mov eax, dword [eax + 4]
test eax, eax
je 0x40af59
mov eax, dword [0x61c318]
mov eax, dword [eax + 4]
mov dword [esp], eax
call sub.cygwin1.dll_strlen
mov edx, eax
mov eax, dword [0x61c318]
mov dword [eax + 8], edx
jmp 0x40af59
mov eax, dword [ebp + 8]
sub eax, dword [ebp - 0x20]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0x60]
mov dword [esp], eax
call fcn.00472313
jmp 0x40af6e
nop
add dword [ebp - 0x20], 1
add dword [ebp + 0xc], 4
mov eax, dword [ebp - 0x20]
cmp eax, dword [ebp + 8]
jl 0x40ad4e
mov eax, dword [0x61c318]
mov eax, dword [eax]
test eax, eax
jne 0x40af85
mov dword [esp], 0x59fd60
call fcn.004b54ae
cmp dword [ebp - 0x14], 0
je 0x40af9f
mov eax, dword [ebp - 0x58]
cmp eax, 1
je 0x40af9f
mov dword [esp], str.You_must_specify_only_one_branch_name_when_deleting_a_remote_branch
call fcn.004b54c7
call fcn.0048c6d8
mov dword [esp + 8], 0x100
mov dword [esp + 4], 0xffffffff
mov dword [esp], 0x61c200
call sub.cygwin1.dll_memset
mov eax, dword [0x61c318]
mov eax, dword [eax]
mov dword [esp + 8], 1
mov dword [esp + 4], eax
mov dword [esp], 0
call fcn.0040397c
mov dword [0x61c320], 0
call fcn.00409a4f
test eax, eax
jne 0x40affe
mov dword [ebp - 0x1c], 1
jmp 0x40b87d
mov dword [esp], 0x4092a6
call fcn.0048f350
mov eax, dword [0x61c318]
mov dword [eax + 0x10], 0
mov ebx, dword [0x61c318]
mov dword [esp], str.info_refs
call fcn.0040a66a
mov dword [ebx + 0xc], eax
mov ebx, dword [0x61c318]
mov dword [esp], str.objects_info_packs
call fcn.0040a66a
mov dword [ebx + 0x14], eax
mov eax, dword [0x61c318]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40b094
mov dword [esp + 4], 0x258
mov dword [esp], str.info_refs
call fcn.00408bb2
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x40b077
mov eax, dword [0x61c318]
mov dword [eax + 0x10], 1
jmp 0x40b094
mov dword [esp], str.cannot_lock_existing_info_refs
call fcn.004b5782
call fcn.00406cd4
mov dword [ebp - 0x1c], 1
jmp 0x40b87d
mov eax, dword [0x61c318]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x40b0a5
call fcn.004086aa
call fcn.00478187
mov dword [ebp - 0x38], eax
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x19
mov dword [esp + 4], 1
mov dword [esp], str.Fetching_remote_heads..._n
call sub.cygwin1.dll_fwrite
call fcn.0040a373
call fcn.0040ac86
cmp dword [ebp - 0x14], 0
je 0x40b15b
mov ecx, dword [ebp - 0x60]
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 [ebp - 0x40], eax
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x40]
mov dword [esp], eax
call fcn.0040a882
cmp eax, 0xffffffff
jne 0x40b879
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x40]
mov dword [esp + 8], edx
mov dword [esp + 4], str.Unable_to_delete_remote_branch__s_n
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov eax, dword [0x61c310]
test eax, eax
je 0x40b879
mov eax, dword [ebp - 0x40]
mov dword [esp + 4], eax
mov dword [esp], str.error__s_cannot_remove_n
call sub.cygwin1.dll_printf
jmp 0x40b879
mov eax, dword [0x61c304]
mov dword [esp + 0xc], eax
lea eax, [ebp - 0x60]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x61c324
mov eax, dword [ebp - 0x38]
mov dword [esp], eax
call fcn.0047693e
test eax, eax
je 0x40b18e
mov dword [ebp - 0x1c], 0xffffffff
jmp 0x40b87d
mov eax, dword [0x61c324]
test eax, eax
jne 0x40b1e0
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x35
mov dword [esp + 4], 1
mov dword [esp], str.No_refs_in_common_and_none_specified__doing_nothing._n
call sub.cygwin1.dll_fwrite
mov eax, dword [0x61c310]
test eax, eax
je 0x40b1d4
mov dword [esp], str.error_null_no_match
call sub.cygwin1.dll_puts
mov dword [ebp - 0x1c], 0
jmp 0x40b87d
mov dword [ebp - 0x24], 0
mov eax, dword [0x61c324]
mov dword [ebp - 0x28], eax
jmp 0x40b7df
mov dword [ebp - 0x944], 0
mov dword [ebp - 0x940], 0
mov dword [ebp - 0x93c], 0
mov dword [ebp - 0x944], 0x61d2ec
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x90]
test eax, eax
je 0x40b7d0
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x90]
add eax, 0x28
mov dword [esp], eax
call fcn.00406ef6
test eax, eax
je 0x40b2d7
mov eax, dword [ebp - 0x28]
add eax, 0x94
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.0040a882
cmp eax, 0xffffffff
jne 0x40b2ad
mov eax, dword [ebp - 0x28]
add eax, 0x94
mov dword [esp + 4], eax
mov dword [esp], str.Could_not_remove__s
call fcn.004b5782
call fcn.00406cd4
mov eax, dword [0x61c310]
test eax, eax
je 0x40b2a4
mov eax, dword [ebp - 0x28]
add eax, 0x94
mov dword [esp + 4], eax
mov dword [esp], str.error__s_cannot_remove_n
call sub.cygwin1.dll_printf
mov dword [ebp - 0x1c], 0xfffffffc
jmp 0x40b2ce
mov eax, dword [0x61c310]
test eax, eax
je 0x40b2ce
mov eax, dword [ebp - 0x28]
add eax, 0x94
mov dword [esp + 4], eax
mov dword [esp], str.ok__s_n
call sub.cygwin1.dll_printf
add dword [ebp - 0x24], 1
jmp 0x40b7d7
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x90]
lea edx, [eax + 0x28]
mov eax, dword [ebp - 0x28]
add eax, 4
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00406eaa
test eax, eax
je 0x40b351
mov eax, dword [0x61c300]
test eax, eax
je 0x40b327
mov eax, dword [ebp - 0x28]
lea ebx, [eax + 0x94]
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 8], ebx
mov dword [esp + 4], str._s:_up_to_date_n
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov eax, dword [0x61c310]
test eax, eax
je 0x40b7d3
mov eax, dword [ebp - 0x28]
add eax, 0x94
mov dword [esp + 4], eax
mov dword [esp], str.ok__s_up_to_date_n
call sub.cygwin1.dll_printf
jmp 0x40b7d3
mov eax, dword [0x61c308]
test eax, eax
jne 0x40b420
mov eax, dword [ebp - 0x28]
add eax, 4
mov dword [esp], eax
call fcn.00406ef6
test eax, eax
jne 0x40b420
mov eax, dword [ebp - 0x28]
movzx eax, byte [eax + 0x78]
and eax, 1
test al, al
jne 0x40b420
mov eax, dword [ebp - 0x28]
lea edx, [eax + 4]
mov eax, dword [0x61cf40]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0043c0bc
test eax, eax
je 0x40b3c3
mov eax, dword [ebp - 0x28]
lea edx, [eax + 4]
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x90]
add eax, 0x28
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0040f85d
test eax, eax
jne 0x40b420
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x90]
lea edx, [eax + 0x94]
mov eax, dword [ebp - 0x28]
add eax, 0x94
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], str.remote__s_is_not_an_ancestor_of_nlocal__s._nMaybe_you_are_not_up_to_date_and_need_to_pull_first_
call fcn.004b5782
call fcn.00406cd4
mov eax, dword [0x61c310]
test eax, eax
je 0x40b414
mov eax, dword [ebp - 0x28]
add eax, 0x94
mov dword [esp + 4], eax
mov dword [esp], str.error__s_non_fast_forward_n
call sub.cygwin1.dll_printf
mov dword [ebp - 0x1c], 0xfffffffe
jmp 0x40b7d7
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x90]
lea edx, [eax + 0x28]
mov eax, dword [ebp - 0x28]
add eax, 0x28
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00406f12
add dword [ebp - 0x24], 1
mov eax, dword [ebp - 0x28]
lea ebx, [eax + 0x94]
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.updating__s
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x90]
lea edx, [eax + 0x94]
mov eax, dword [ebp - 0x28]
add eax, 0x94
mov dword [esp + 4], edx
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
je 0x40b4b9
mov eax, dword [ebp - 0x28]
mov eax, dword [eax + 0x90]
lea ebx, [eax + 0x94]
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 8], ebx
mov dword [esp + 4], str._using__s
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov eax, dword [ebp - 0x28]
add eax, 0x28
mov dword [esp], eax
call fcn.00431daa
mov esi, eax
mov eax, dword [ebp - 0x28]
add eax, 4
mov dword [esp], eax
call fcn.00431daa
mov ebx, eax
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], esi
mov dword [esp + 8], ebx
mov dword [esp + 4], str._n__from__s_n__to____s_n
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov eax, dword [0x61c30c]
test eax, eax
je 0x40b52c
mov eax, dword [0x61c310]
test eax, eax
je 0x40b7d6
mov eax, dword [ebp - 0x28]
add eax, 0x94
mov dword [esp + 4], eax
mov dword [esp], str.ok__s_n
call sub.cygwin1.dll_printf
jmp 0x40b7d6
mov eax, dword [ebp - 0x28]
add eax, 0x94
mov dword [esp + 4], 0x258
mov dword [esp], eax
call fcn.00408bb2
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x40b59f
mov eax, dword [ebp - 0x28]
lea ebx, [eax + 0x94]
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 8], ebx
mov dword [esp + 4], str.Unable_to_lock_remote_branch__s_n
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov eax, dword [0x61c310]
test eax, eax
je 0x40b593
mov eax, dword [ebp - 0x28]
add eax, 0x94
mov dword [esp + 4], eax
mov dword [esp], str.error__s_lock_error_n
call sub.cygwin1.dll_printf
mov dword [ebp - 0x1c], 1
jmp 0x40b7d7
mov dword [esp + 4], 0x5a0b4e
lea eax, [ebp - 0x944]
mov dword [esp], eax
call fcn.004962f4
mov dword [esp + 4], 0x5a0b4f
lea eax, [ebp - 0x944]
mov dword [esp], eax
call fcn.004962f4
mov eax, dword [ebp - 0x28]
add eax, 0x28
mov dword [esp], eax
call fcn.00431daa
mov dword [esp + 4], eax
lea eax, [ebp - 0x944]
mov dword [esp], eax
call fcn.004962f4
mov eax, dword [0x61c304]
test eax, eax
jne 0x40b62e
mov eax, dword [ebp - 0x28]
add eax, 4
mov dword [esp], eax
call fcn.00406ef6
test eax, eax
jne 0x40b62e
mov eax, dword [ebp - 0x28]
add eax, 4
mov dword [esp], eax
call fcn.00431daa
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5a0b59
lea eax, [ebp - 0x944]
mov dword [esp], eax
call fcn.0049632d
call fcn.0048c6d8
mov edx, dword [0x61cf40]
mov dword [esp + 8], eax
lea eax, [ebp - 0x938]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0047eb0d
mov eax, dword [ebp - 0x944]
mov edx, dword [ebp - 0x940]
mov ecx, edx
mov dword [esp + 0xc], 0
lea edx, [ebp - 0x938]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov dword [esp], ecx
call fcn.00482237
movzx eax, byte [ebp - 0x8a2]
and eax, 0xfffffffd
mov byte [ebp - 0x8a2], al
mov dword [0x61c1e0], 0
lea eax, [ebp - 0x938]
mov dword [esp], eax
call fcn.00484331
test eax, eax
je 0x40b6b3
mov dword [esp], 0x5a0b5d
call fcn.004b54c7
mov dword [esp + 8], 0
mov dword [esp + 4], 0
lea eax, [ebp - 0x938]
mov dword [esp], eax
call fcn.004342c0
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
lea eax, [ebp - 0x938]
mov dword [esp], eax
call fcn.00409f30
mov dword [ebp - 0x3c], eax
call fcn.004047ce
mov dword [0x61c1e0], 1
cmp dword [ebp - 0x3c], 0
je 0x40b71d
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0x3c]
mov dword [esp + 8], edx
mov dword [esp + 4], str.____sending__d_objects_n
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
call fcn.0040ac86
mov eax, dword [0x61c1e4]
test eax, eax
jne 0x40b744
mov eax, dword [ebp - 0x28]
lea edx, [eax + 0x28]
mov eax, dword [ebp - 0x2c]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0040a111
test eax, eax
jne 0x40b74b
mov dword [ebp - 0x1c], 1
cmp dword [ebp - 0x1c], 0
jne 0x40b779
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 9
mov dword [esp + 4], 1
mov dword [esp], str.____done_n
call sub.cygwin1.dll_fwrite
mov eax, dword [0x61c310]
test eax, eax
je 0x40b7b0
mov eax, dword [ebp - 0x28]
add eax, 0x94
cmp dword [ebp - 0x1c], 0
jne 0x40b797
mov edx, 0x5a0b9a
jmp 0x40b79c
mov edx, 0x5a0b9d
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], 0x5a0ba3
call sub.cygwin1.dll_printf
mov eax, dword [ebp - 0x2c]
mov dword [esp], eax
call fcn.004090c4
call fcn.00407f19
lea eax, [ebp - 0x944]
mov dword [esp], eax
call fcn.0049651f
jmp 0x40b7d7
nop
jmp 0x40b7d7
nop
jmp 0x40b7d7
nop
mov eax, dword [ebp - 0x28]
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x40b1f4
mov eax, dword [0x61c318]
mov eax, dword [eax + 0xc]
test eax, eax
je 0x40b87c
cmp dword [ebp - 0x24], 0
je 0x40b87c
cmp dword [ebp - 0x10], 0
je 0x40b84f
mov eax, dword [0x61c318]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x40b84f
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1c
mov dword [esp + 4], 1
mov dword [esp], str.Updating_remote_server_info_n
call sub.cygwin1.dll_fwrite
mov eax, dword [0x61c30c]
test eax, eax
jne 0x40b87d
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.0040a53f
jmp 0x40b87d
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1d
mov dword [esp + 4], 1
mov dword [esp], str.Unable_to_update_server_info_n
call sub.cygwin1.dll_fwrite
jmp 0x40b87d
nop
jmp 0x40b87d
nop
cmp dword [ebp - 0x10], 0
je 0x40b88e
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.004090c4
mov eax, dword [0x61c318]
mov dword [esp], eax
call sub.cygwin1.dll_free
call fcn.00403e4b
mov eax, dword [0x61c31c]
mov dword [ebp - 0xc], eax
jmp 0x40b8c7
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x13c]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.00407fb0
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
jne 0x40b8aa
mov eax, dword [ebp - 0x1c]
add esp, 0x950
pop ebx
pop esi
pop ebp
ret