Function at 0x56c930
Capabilities:
Terminate process
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
sub esp, 0x44
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x24], 0x62f624
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
test eax, eax
je 0x56c971
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
jmp 0x56cf21
mov dword [esp], 0x50
call fcn.004b42bb
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.0047defb
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x30], 0xffffffff
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x34], 0xffffffff
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x38], 0
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [esp + 8], edx
mov dword [esp + 4], str.remote__s
mov dword [esp], eax
call fcn.0048ee75
mov eax, dword [ebp + 8]
mov eax, dword [eax + 4]
mov edx, dword [eax + 8]
mov eax, dword [ebp - 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0048ee3c
mov eax, dword [ebp + 8]
mov eax, dword [eax + 8]
mov dword [esp], eax
call fcn.0056c8ae
mov edx, dword [ebp - 0x18]
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0048ee3c
mov eax, dword [ebp - 0x18]
movzx edx, byte [eax + 0x40]
or edx, 8
mov byte [eax + 0x40], dl
mov eax, dword [ebp - 0x18]
movzx edx, byte [eax + 0x40]
or edx, 0x10
mov byte [eax + 0x40], dl
call fcn.00426aef
test eax, eax
je 0x56ca44
call fcn.00426b16
mov edx, dword [ebp - 0x18]
add edx, 0xc
mov dword [esp + 0xc], eax
mov dword [esp + 8], str.GIT_DIR
mov dword [esp + 4], 0x5cf935
mov dword [esp], edx
call fcn.0048ee75
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
mov edx, dword [eax]
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x28], edx
mov eax, dword [ebp - 0x18]
mov dword [esp], eax
call fcn.0047f211
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jns 0x56ca8e
call sub.cygwin1.dll___errno
mov eax, dword [eax]
cmp eax, 2
jne 0x56ca8e
mov eax, dword [ebp - 0x14]
mov ebx, dword [eax]
mov dword [esp], str.unable_to_find_remote_helper_for__s
call fcn.0056c696
mov dword [esp + 4], ebx
mov dword [esp], eax
call fcn.004ae00f
cmp dword [ebp - 0x1c], 0
je 0x56cab7
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], eax
mov dword [esp + 4], 0x93
mov dword [esp], str.transport_helper.c
call fcn.00499d7f
mov dword [esp], eax
call sub.cygwin1.dll_exit
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [eax + 4], edx
mov eax, dword [ebp - 0x14]
movzx edx, byte [eax + 0xd]
and edx, 0xfffffffb
mov byte [eax + 0xd], dl
mov eax, dword [ebp - 0x14]
add eax, 0x18
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.00558690
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x34]
mov dword [esp], eax
call sub.cygwin1.dll_dup
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
jns 0x56cb0e
mov dword [esp], str.cant_dup_helper_output_fd
call fcn.0056c696
mov dword [esp], eax
call fcn.004ae15c
mov dword [esp + 4], 0x5cf990
mov eax, dword [ebp - 0x20]
mov dword [esp], eax
call fcn.004b4a61
mov edx, dword [ebp - 0x14]
mov dword [edx + 8], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0x30]
mov dword [esp + 4], str.capabilities_n
mov dword [esp], eax
call fcn.0056c844
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x2c]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x14]
mov dword [esp], eax
call fcn.0056c827
test eax, eax
je 0x56cb7e
mov dword [esp + 8], pe_nt_image_headers32
mov dword [esp + 4], 0xaa
mov dword [esp], str.transport_helper.c
call fcn.00499d7f
mov dword [esp], eax
call sub.cygwin1.dll_exit
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test al, al
jne 0x56cb9b
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x56ce96
jmp 0x56ced4
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
cmp al, 0x2a
jne 0x56cbb7
mov eax, dword [ebp - 0x24]
add eax, 1
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 1
jmp 0x56cbbd
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0xc], eax
mov eax, dword [0x6300ec]
test eax, eax
je 0x56cbe5
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
mov dword [esp + 8], edx
mov dword [esp + 4], str.Debug:_Got_cap__s_n
mov dword [esp], eax
call sub.cygwin1.dll_fprintf
mov dword [esp + 4], str.fetch
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x56cc0e
mov eax, dword [ebp - 0x14]
movzx edx, byte [eax + 0xc]
or edx, 1
mov byte [eax + 0xc], dl
jmp 0x56cb3d
mov dword [esp + 4], 0x5cf9b9
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x56cc37
mov eax, dword [ebp - 0x14]
movzx edx, byte [eax + 0xc]
or edx, 0x10
mov byte [eax + 0xc], dl
jmp 0x56cb3d
mov dword [esp + 4], 0x5cf9c0
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x56cc60
mov eax, dword [ebp - 0x14]
movzx edx, byte [eax + 0xc]
or edx, 0x20
mov byte [eax + 0xc], dl
jmp 0x56cb3d
mov dword [esp + 4], str.import
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x56cc89
mov eax, dword [ebp - 0x14]
movzx edx, byte [eax + 0xc]
or edx, 2
mov byte [eax + 0xc], dl
jmp 0x56cb3d
mov dword [esp + 4], str.bidi_import
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x56ccb2
mov eax, dword [ebp - 0x14]
movzx edx, byte [eax + 0xc]
or edx, 4
mov byte [eax + 0xc], dl
jmp 0x56cb3d
mov dword [esp + 4], str.export
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x56ccdb
mov eax, dword [ebp - 0x14]
movzx edx, byte [eax + 0xc]
or edx, 8
mov byte [eax + 0xc], dl
jmp 0x56cb3d
mov dword [esp + 4], str.check_connectivity
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x56cd04
mov eax, dword [ebp - 0x14]
movzx edx, byte [eax + 0xd]
or edx, 2
mov byte [eax + 0xd], dl
jmp 0x56cb3d
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], str.refspec
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.0056c472
test eax, eax
je 0x56cd3c
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x14]
add edx, 0x18
mov dword [esp + 4], eax
mov dword [esp], edx
call fcn.0055885c
jmp 0x56cb3d
mov dword [esp + 4], str.connect
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x56cd65
mov eax, dword [ebp - 0x14]
movzx edx, byte [eax + 0xc]
or edx, 0x40
mov byte [eax + 0xc], dl
jmp 0x56cb3d
mov dword [esp + 4], str.stateless_connect
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x56cd8e
mov eax, dword [ebp - 0x14]
movzx edx, byte [eax + 0xc]
or edx, 0xffffff80
mov byte [eax + 0xc], dl
jmp 0x56cb3d
mov dword [esp + 4], str.signed_tags
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call sub.cygwin1.dll_strcmp
test eax, eax
jne 0x56cdb7
mov eax, dword [ebp - 0x14]
movzx edx, byte [eax + 0xd]
or edx, 1
mov byte [eax + 0xd], dl
jmp 0x56cb3d
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], str.export_marks
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.0056c472
test eax, eax
je 0x56cdeb
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.004b4201
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x10], eax
jmp 0x56cb3d
lea eax, [ebp - 0x30]
mov dword [esp + 8], eax
mov dword [esp + 4], str.import_marks
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.0056c472
test eax, eax
je 0x56ce1f
mov eax, dword [ebp - 0x30]
mov dword [esp], eax
call fcn.004b4201
mov edx, dword [ebp - 0x14]
mov dword [edx + 0x14], eax
jmp 0x56cb3d
mov dword [esp + 4], str.no_private_update
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.0048a6ba
test eax, eax
je 0x56ce48
mov eax, dword [ebp - 0x14]
movzx edx, byte [eax + 0xd]
or edx, 8
mov byte [eax + 0xd], dl
jmp 0x56cb3d
mov dword [esp + 4], str.object_format
mov eax, dword [ebp - 0xc]
mov dword [esp], eax
call fcn.0048a6ba
test eax, eax
je 0x56ce71
mov eax, dword [ebp - 0x14]
movzx edx, byte [eax + 0xd]
or edx, 0x10
mov byte [eax + 0xd], dl
jmp 0x56cb3d
cmp dword [ebp - 0x10], 0
je 0x56cb3d
mov dword [esp], str.unknown_mandatory_capability__s__this_remote_helper_probably_needs_newer_version_of_Git
call fcn.0056c696
mov edx, dword [ebp - 0xc]
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.004ae00f
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0xc]
and eax, 2
test al, al
jne 0x56cec0
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0xc]
and eax, 4
test al, al
jne 0x56cec0
mov eax, dword [ebp - 0x14]
movzx eax, byte [eax + 0xc]
and eax, 8
test al, al
je 0x56ced4
mov dword [esp], str.this_remote_helper_should_implement_refspec_capability
call fcn.0056c696
mov dword [esp], eax
call fcn.004ae342
lea eax, [ebp - 0x2c]
mov dword [esp], eax
call fcn.0048a820
mov eax, dword [0x6300ec]
test eax, eax
je 0x56cf10
call sub.cygwin1.dll___getreent
mov eax, dword [eax + 0xc]
mov dword [esp + 0xc], eax
mov dword [esp + 8], 0x1e
mov dword [esp + 4], 1
mov dword [esp], str.Debug:_Capabilities_complete._n
call sub.cygwin1.dll_fwrite
mov eax, dword [ebp + 8]
mov dword [esp], eax
call fcn.0056d3a1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 4]
mov ebx, dword [ebp - 4]
leave
ret