Function at 0x5591b9
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0
mov dword [ebp - 0x58], 0
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x68], 0
mov dword [ebp - 0x68], 0x61d2e4
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x74], 0x61d2e4
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x3c], 0
cmp dword [ebp + 0x14], 0
jne 0x5592ce
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x5a
mov dword [esp + 4], 1
mov dword [esp], 0x5ca4bc
call sub.cygwin1.dll_fwrite
mov eax, 0
jmp 0x559cdb
lea eax, [ebp - 0x84]
mov dword [esp + 4], eax
mov dword [esp], str.push.negotiate
call fcn.0041af86
mov eax, dword [ebp - 0x84]
test eax, eax
je 0x559309
mov eax, dword [ebp + 8]
mov eax, dword [eax]
lea edx, [ebp - 0x64]
mov dword [esp + 8], edx
mov edx, dword [ebp + 0x14]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.00558ffb
lea eax, [ebp - 0x80]
mov dword [esp + 4], eax
mov dword [esp], str.transfer.advertisesid
call fcn.0041af86
mov dword [esp], str.report_status_v2
call fcn.004e97fd
test eax, eax
je 0x559335
mov dword [ebp - 0x1c], 2
jmp 0x55934c
mov dword [esp], str.report_status
call fcn.004e97fd
test eax, eax
je 0x55934c
mov dword [ebp - 0x1c], 1
mov dword [esp], str.delete_refs
call fcn.004e97fd
test eax, eax
je 0x559363
mov dword [ebp - 0x18], 1
mov dword [esp], str.ofs_delta
call fcn.004e97fd
test eax, eax
je 0x559380
mov eax, dword [ebp + 8]
movzx edx, byte [eax + 4]
or edx, 0xffffff80
mov byte [eax + 4], dl
mov dword [esp], str.side_band_64k
call fcn.004e97fd
test eax, eax
je 0x559397
mov dword [ebp - 0x20], 1
mov dword [esp], 0x5ca57f
call fcn.004e97fd
test eax, eax
je 0x5593ae
mov dword [ebp - 0x24], 1
mov dword [esp], str.agent
call fcn.004e97fd
test eax, eax
je 0x5593c5
mov dword [ebp - 0x28], 1
mov dword [esp], str.session_id
call fcn.004e97fd
test eax, eax
jne 0x5593dc
mov dword [ebp - 0x80], 0
mov dword [esp], str.no_thin
call fcn.004e97fd
test eax, eax
je 0x5593f9
mov eax, dword [ebp + 8]
movzx edx, byte [eax + 4]
and edx, 0xffffffbf
mov byte [eax + 4], dl
mov dword [esp], 0x5ca59e
call fcn.004e97fd
test eax, eax
je 0x559410
mov dword [ebp - 0x2c], 1
mov dword [esp], str.push_options
call fcn.004e97fd
test eax, eax
je 0x559427
mov dword [ebp - 0x30], 1
mov eax, dword [0x61cf40]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax]
lea edx, [ebp - 0x88]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004e96cb
test eax, eax
jne 0x55945e
mov dword [esp], str.the_receiving_end_does_not_support_this_repositorys_hash_algorithm
call fcn.0055811a
mov dword [esp], eax
call fcn.004b54c7
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 5]
and eax, 6
test al, al
je 0x559502
lea eax, [ebp - 0xe0]
mov dword [esp + 4], eax
mov dword [esp], str.push_cert
call fcn.004e97d2
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0
je 0x5594be
mov eax, dword [ebp - 0xe0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.00558f46
mov eax, dword [ebp - 0xe0]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x3c]
mov dword [esp], eax
call fcn.004ba90c
mov dword [ebp - 0x3c], eax
jmp 0x559502
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 5]
and eax, 6
cmp al, 4
jne 0x5594e0
mov dword [esp], str.the_receiving_end_does_not_support___signed_push
call fcn.0055811a
mov dword [esp], eax
call fcn.004b54c7
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 5]
and eax, 6
cmp al, 2
jne 0x559502
mov dword [esp], str.not_sending_a_push_certificate_since_the_receiving_end_does_not_support___signed_push
call fcn.0055811a
mov dword [esp], eax
call fcn.004b57fa
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 5]
and eax, 0x10
test al, al
je 0x55952a
cmp dword [ebp - 0x2c], 0
jne 0x55952a
mov dword [esp], str.the_receiving_end_does_not_support___atomic_push
call fcn.0055811a
mov dword [esp], eax
call fcn.004b54c7
cmp dword [ebp - 0x2c], 0
je 0x559545
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 5]
and eax, 0x10
test al, al
je 0x559545
mov eax, 1
jmp 0x55954a
mov eax, 0
mov dword [ebp - 0x48], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
test eax, eax
je 0x559571
cmp dword [ebp - 0x30], 0
jne 0x559571
mov dword [esp], str.the_receiving_end_does_not_support_push_options
call fcn.0055811a
mov dword [esp], eax
call fcn.004b54c7
cmp dword [ebp - 0x30], 0
je 0x559588
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
test eax, eax
je 0x559588
mov eax, 1
jmp 0x55958d
mov eax, 0
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x1c], 1
jne 0x5595ab
mov dword [esp + 4], str._report_status
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.00557fd4
jmp 0x5595c4
cmp dword [ebp - 0x1c], 2
jne 0x5595c4
mov dword [esp + 4], str._report_status_v2
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.00557fd4
cmp dword [ebp - 0x20], 0
je 0x5595dd
mov dword [esp + 4], str._side_band_64k
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.00557fd4
cmp dword [ebp - 0x24], 0
je 0x559612
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 4]
and eax, 2
test al, al
jne 0x5595ff
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 4]
and eax, 8
test al, al
jne 0x559612
mov dword [esp + 4], str._quiet
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.00557fd4
cmp dword [ebp - 0x48], 0
je 0x55962b
mov dword [esp + 4], str._atomic
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.00557fd4
cmp dword [ebp - 0x4c], 0
je 0x559644
mov dword [esp + 4], str._push_options
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.00557fd4
mov eax, dword [ebp - 0x88]
test eax, eax
je 0x559672
mov eax, dword [0x61cf40]
mov eax, dword [eax + 0x8c]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 4], str._object_format_s
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.00492911
cmp dword [ebp - 0x28], 0
je 0x559694
call fcn.004b745c
mov dword [esp + 8], eax
mov dword [esp + 4], str._agent_s
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.00492911
mov eax, dword [ebp - 0x80]
test eax, eax
je 0x5596b7
call fcn.004a25ef
mov dword [esp + 8], eax
mov dword [esp + 4], str._session_id_s
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.00492911
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
jmp 0x5596e8
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x78]
and eax, 0x10
test al, al
je 0x5596e0
cmp dword [ebp - 0x18], 0
jne 0x5596e0
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x84], 4
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5596bf
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
jmp 0x5597f9
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00558be1
cmp eax, 0xfffffffe
je 0x55971d
test eax, eax
jne 0x5597f0
jmp 0x5597a9
cmp dword [ebp - 0x48], 0
je 0x5597f0
lea eax, [ebp - 0x70]
mov dword [esp], eax
call fcn.00491cd8
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.00491cd8
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 4]
shr al, 4
and eax, 1
movzx eax, al
mov dword [esp + 4], eax
mov eax, dword [ebp + 0x14]
mov dword [esp], eax
call fcn.0056fc46
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x84]
mov edx, dword [ebp - 0x10]
add edx, 0x94
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], str.atomic_push_failed_for_ref__s._status:__d_n
call fcn.004b5782
call fcn.00557ee8
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 4]
and eax, 4
test al, al
je 0x55979f
mov eax, 0
jmp 0x559cdb
mov eax, 0xffffffff
jmp 0x559cdb
mov eax, dword [ebp - 0x10]
movzx eax, byte [eax + 0x78]
and eax, 0x10
test al, al
jne 0x5597be
mov dword [ebp - 0x14], 1
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 5]
and eax, 1
test al, al
jne 0x5597d2
cmp dword [ebp - 0x1c], 0
jne 0x5597e1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x84], 1
jmp 0x5597f1
mov eax, dword [ebp - 0x10]
mov dword [eax + 0x84], 0xc
jmp 0x5597f1
nop
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x5596f9
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 5]
and eax, 1
test al, al
jne 0x55981c
lea eax, [ebp - 0x70]
mov dword [esp], eax
call fcn.00558bb2
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 5]
and eax, 1
test al, al
jne 0x55985f
cmp dword [ebp - 0x3c], 0
je 0x55985f
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x3c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 8]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
lea eax, [ebp - 0x70]
mov dword [esp], eax
call fcn.00558c7a
mov dword [ebp - 0x34], eax
jmp 0x559946
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 5]
and eax, 1
test al, al
jne 0x559946
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
jmp 0x55993c
mov eax, dword [ebp + 8]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x10]
mov dword [esp], eax
call fcn.00558be1
test eax, eax
js 0x559933
mov eax, dword [ebp - 0x10]
add eax, 4
mov dword [esp], eax
call fcn.00431daa
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x10]
add eax, 0x28
mov dword [esp], eax
call fcn.00431daa
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x34], 0
jne 0x559904
mov eax, dword [ebp - 0x74]
mov edx, dword [ebp - 0x10]
add edx, 0x94
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], edx
mov eax, dword [ebp - 0x54]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 8], eax
mov dword [esp + 4], str._s__s__s_c_s
lea eax, [ebp - 0x70]
mov dword [esp], eax
call fcn.00554948
mov dword [ebp - 0x34], 1
jmp 0x559934
mov eax, dword [ebp - 0x10]
add eax, 0x94
mov dword [esp + 0x10], eax
mov eax, dword [ebp - 0x54]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0x50]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5ca7a4
lea eax, [ebp - 0x70]
mov dword [esp], eax
call fcn.00554948
jmp 0x559934
nop
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x55987c
cmp dword [ebp - 0x4c], 0
je 0x5599a5
lea eax, [ebp - 0x70]
mov dword [esp], eax
call fcn.0055439b
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax]
mov dword [ebp - 0x40], eax
jmp 0x559984
mov eax, dword [ebp - 0x40]
mov eax, dword [eax]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x5ca7ad
lea eax, [ebp - 0x70]
mov dword [esp], eax
call fcn.00554948
add dword [ebp - 0x40], 8
cmp dword [ebp - 0x40], 0
je 0x5599a5
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov edx, dword [eax]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov eax, dword [eax + 4]
shl eax, 3
add eax, edx
cmp dword [ebp - 0x40], eax
jb 0x559964
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 5]
and eax, 8
test al, al
je 0x559a10
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 5]
and eax, 1
test al, al
jne 0x559a34
cmp dword [ebp - 0x34], 0
jne 0x5599d8
mov eax, dword [0x61cf40]
mov dword [esp], eax
call fcn.0048cef3
test eax, eax
je 0x559a34
lea eax, [ebp - 0x70]
mov dword [esp], eax
call fcn.0055439b
mov eax, dword [ebp - 0x6c]
mov edx, eax
mov eax, dword [ebp - 0x68]
mov dword [esp + 0x10], 0xfff0
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
mov dword [esp + 4], 0xffffffff
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call fcn.0056ae90
jmp 0x559a34
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 0x68]
mov dword [esp + 8], edx
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call fcn.004bbd0b
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call fcn.00554230
lea eax, [ebp - 0x70]
mov dword [esp], eax
call fcn.00491cd8
lea eax, [ebp - 0x7c]
mov dword [esp], eax
call fcn.00491cd8
cmp dword [ebp - 0x20], 0
je 0x559ac2
cmp dword [ebp - 0x34], 0
je 0x559ac2
mov dword [esp + 8], 0x20
mov dword [esp + 4], 0
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call sub.cygwin1.dll_memset
mov dword [ebp - 0xa8], 0x558b1e
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0xa4], eax
mov dword [ebp - 0x9c], 0xffffffff
mov dword [ebp - 0x8c], 1
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call fcn.00487e45
test eax, eax
je 0x559ab9
mov dword [esp], str.send_pack:_unable_to_fork_off_sideband_demultiplexer
call fcn.004b54c7
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0xc], eax
mov dword [esp + 0x10], 6
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov eax, dword [ebp - 0xc]
mov dword [esp + 4], eax
lea eax, [ebp - 0xdc]
mov dword [esp], eax
call fcn.00555325
cmp dword [ebp - 0x14], 0
je 0x559bdc
cmp dword [ebp - 0x34], 0
je 0x559bdc
mov eax, dword [ebp + 8]
mov dword [esp + 0x10], eax
lea eax, [ebp - 0x64]
mov dword [esp + 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call fcn.0055825a
test eax, eax
jns 0x559bc2
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 5]
and eax, 8
test al, al
je 0x559b4b
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call sub.cygwin1.dll_close
mov eax, dword [ebp + 0x10]
mov dword [esp], eax
call fcn.004e9e8b
test eax, eax
je 0x559b6f
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [esp + 4], 1
mov dword [esp], eax
call sub.cygwin1.dll_shutdown
cmp dword [ebp - 0x1c], 0
je 0x559b8a
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
lea eax, [ebp - 0xdc]
mov dword [esp], eax
call fcn.005586b9
cmp dword [ebp - 0x20], 0
je 0x559bac
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
call sub.cygwin1.dll_close
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call fcn.004880bc
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [eax], 0xffffffff
mov eax, 0xffffffff
jmp 0x559cdb
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 5]
and eax, 8
test al, al
jne 0x559bdc
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [eax], 0xffffffff
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 5]
and eax, 8
test al, al
je 0x559bfb
cmp dword [ebp - 0x34], 0
je 0x559bfb
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call fcn.00554230
cmp dword [ebp - 0x1c], 0
je 0x559c21
cmp dword [ebp - 0x34], 0
je 0x559c21
mov eax, dword [ebp + 0x14]
mov dword [esp + 4], eax
lea eax, [ebp - 0xdc]
mov dword [esp], eax
call fcn.005586b9
mov dword [ebp - 0x38], eax
jmp 0x559c28
mov dword [ebp - 0x38], 0
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 5]
and eax, 8
test al, al
je 0x559c41
mov eax, dword [ebp - 0x44]
mov dword [esp], eax
call fcn.00554230
cmp dword [ebp - 0x20], 0
je 0x559c85
cmp dword [ebp - 0x34], 0
je 0x559c85
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
call sub.cygwin1.dll_close
lea eax, [ebp - 0xa8]
mov dword [esp], eax
call fcn.004880bc
test eax, eax
je 0x559c85
mov dword [esp], str.error_in_sideband_demultiplexer
call fcn.004b5782
call fcn.00557ee8
mov dword [ebp - 0x38], 0xffffffff
cmp dword [ebp - 0x38], 0
jns 0x559c90
mov eax, dword [ebp - 0x38]
jmp 0x559cdb
mov eax, dword [ebp + 8]
movzx eax, byte [eax + 4]
and eax, 4
test al, al
je 0x559ca5
mov eax, 0
jmp 0x559cdb
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x10], eax
jmp 0x559cd0
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0x84]
cmp eax, 1
jbe 0x559cc7
cmp eax, 0xa
je 0x559cc7
mov eax, 0xffffffff
jmp 0x559cdb
nop
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x559cad
mov eax, 0
leave
ret