Function at 0x43a1f0
Capabilities:
Read file on windows

Disassembly:
push ebp
push edi
mov edi, eax
push esi
push ebx
mov esi, edx
mov ebx, ecx
sub esp, 0x3c
mov eax, dword [0x452f10]
mov dword [esp + 0xc], 0
mov dword [esp + 4], str._RSYNCD:__d._d_n
mov dword [esp], edx
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 8], eax
call fcn.0042cfa0
mov eax, dword [esp + 0x54]
test eax, eax
je 0x43a275
mov eax, dword [esp + 0x50]
mov dword [esp + 0xc], 0
mov dword [esp + 4], ebx
mov dword [esp], edi
mov dword [esp + 8], eax
call fcn.0042ad30
test eax, eax
jne 0x43a330
mov dword [esp + 4], str.rsync:_did_not_see_server_greeting_n
mov dword [esp], 3
mov edi, 0xffffffff
call fcn.00420340
add esp, 0x3c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
call fcn.004392e0
test eax, eax
je 0x43a287
cmp byte [eax], 0
jne 0x43a380
mov eax, dword [esp + 0x50]
mov dword [esp], edi
mov edi, 0xffffffff
mov dword [esp + 0xc], 0
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
call fcn.0042ad30
test eax, eax
je 0x43a26b
lea eax, [esp + 0x2c]
mov dword [esp + 8], 0x47dcc0
mov dword [esp + 4], str._RSYNCD:__d._d
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call sub.cygwin1.dll_sscanf
test eax, eax
jle 0x43a440
mov ebp, dword [esp + 0x2c]
mov edx, dword [0x47dcc0]
test ebp, ebp
js 0x43a400
mov eax, dword [0x452f10]
cmp eax, edx
jle 0x43a412
mov ebx, dword [esp + 0x2c]
mov dword [0x452f10], edx
mov eax, edx
test ebx, ebx
jne 0x43a431
xor edi, edi
cmp eax, 0x1d
jle 0x43a26b
mov dword [0x47e2cc], 1
add esp, 0x3c
mov eax, edi
pop ebx
pop esi
pop edi
pop ebp
ret
lea eax, [esp + 0x2c]
mov dword [esp + 8], 0x47dcc0
mov dword [esp + 4], str._RSYNCD:__d._d
mov dword [esp], ebx
mov dword [esp + 0xc], eax
call sub.cygwin1.dll_sscanf
test eax, eax
jg 0x43a2d4
mov dword [esp + 8], ebx
mov dword [esp + 4], str.rsync:_server_sent___s__rather_than_greeting_n
mov edi, 0xffffffff
mov dword [esp], 3
call fcn.00420340
jmp 0x43a26b
mov dword [esp + 4], 0x45fad0
mov dword [esp], eax
call sub.cygwin1.dll__fopen64
mov ebp, eax
mov eax, dword [esp + 0x50]
mov dword [esp + 0x1c], edi
mov edi, ebp
sub eax, 1
mov ebp, eax
test edi, edi
jne 0x43a3d0
jmp 0x43a4af
mov dword [esp + 0xc], edi
mov dword [esp + 8], ebp
mov dword [esp + 4], 1
mov dword [esp], ebx
call sub.cygwin1.dll_fread
test eax, eax
jg 0x43a480
test byte [edi + 0xc], 0x20
je 0x43a3b0
mov ebp, edi
mov edi, dword [esp + 0x1c]
mov dword [esp], ebp
call sub.cygwin1.dll_fclose
mov dword [esp + 4], 0x45fad2
mov dword [esp], esi
call fcn.0042cf70
jmp 0x43a287
cmp edx, 0x1e
je 0x43a455
mov dword [esp + 0x2c], 0
jmp 0x43a2e6
jne 0x43a307
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x43a307
lea eax, [edx - 1]
mov dword [0x452f10], eax
jmp 0x43a307
sub eax, 1
mov dword [0x452f10], eax
jmp 0x43a307
mov dword [esp + 4], str._ERROR:_protocol_startup_error_n
mov dword [esp], esi
call fcn.0042cfa0
jmp 0x43a26b
mov edi, dword [esp + 0x54]
test edi, edi
je 0x43a495
mov dword [esp + 4], str.rsync:_server_is_speaking_an_incompatible_beta_of_protocol_30_n
mov dword [esp], 3
mov edi, 0xffffffff
call fcn.00420340
jmp 0x43a26b
mov dword [esp + 8], eax
mov dword [esp + 4], ebx
mov dword [esp], esi
call fcn.0042bb30
jmp 0x43a3a1
mov dword [esp + 4], str._ERROR:_your_client_is_speaking_an_incompatible_beta_of_protocol_30_n
mov dword [esp], esi
mov edi, 0xffffffff
call fcn.0042cfa0
jmp 0x43a26b
mov edi, dword [esp + 0x1c]
jmp 0x43a3e4