Function at 0x417060
Capabilities:
Send data
Send data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a95d
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x4bd008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd8], ecx
push 6
push str.unauth
lea ecx, [ebp - 0xb4]
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0xa0], 0xf
mov byte [ebp - 0xb4], 0
call fcn.00403320
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x8c]
push 0xc
push str._RSYNCD:_31_n
mov dword [ebp - 0x90], 0x1f4
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
call fcn.00403320
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0044a330
mov ebx, 0xf
mov dword [ebp - 0xbc], 0
add esp, 0xc
mov dword [ebp - 0xb8], ebx
mov byte [ebp - 0xcc], 0
mov byte [ebp - 4], 2
call fcn.0043a6b0
test eax, eax
jne 0x417305
push eax
push 1
push 2
call dword [sym.imp.WS2_32.dll_socket]
mov esi, dword [sym.imp.WS2_32.dll_setsockopt]
mov edi, eax
push 4
lea eax, [ebp - 0x90]
mov dword [ebp - 0xd0], edi
push eax
push 0x1006
push 0xffff
push edi
call esi
push 4
lea eax, [ebp - 0x90]
push eax
push 0x1005
push 0xffff
push edi
call esi
cmp edi, 0xffffffff
je 0x41730b
mov esi, dword [ebp - 0xd8]
sub esp, 0x18
mov ecx, esp
lea eax, [esi + 0x1c]
push eax
call fcn.00403180
push dword [esi + 0x34]
lea eax, [ebp - 0xd0]
push eax
call fcn.0043a6f0
test eax, eax
jne 0x417496
cmp dword [ebp - 0x78], 0x10
lea eax, [ebp - 0x8c]
mov edi, dword [ebp - 0xd0]
cmovae eax, dword [ebp - 0x8c]
push 0
push dword [ebp - 0x7c]
push eax
push edi
call dword [sym.imp.WS2_32.dll_send]
cmp eax, 0xffffffff
je 0x41730b
lea eax, [ebp - 0xd4]
push eax
lea eax, [ebp - 0xcc]
push eax
lea eax, [ebp - 0xd0]
push eax
call fcn.0043a7d0
test eax, eax
jne 0x4172ff
push 1
xorps xmm0, xmm0
mov dword [ebp - 0x94], eax
push 0x4aa278
lea ecx, [ebp - 0xf0]
movq qword [ebp - 0x9c], xmm0
mov dword [ebp - 0xe0], eax
mov dword [ebp - 0xdc], ebx
mov byte [ebp - 0xf0], al
call fcn.00403320
lea eax, [ebp - 0xf0]
mov byte [ebp - 4], 3
push eax
lea edx, [ebp - 0xcc]
lea ecx, [ebp - 0x9c]
call fcn.00442790
add esp, 4
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0xdc]
cmp edx, 0x10
jb 0x417290
mov ecx, dword [ebp - 0xf0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417286
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41753c
push edx
push ecx
call fcn.004449d2
add esp, 8
mov ecx, dword [ebp - 0x98]
mov eax, 0x2aaaaaab
mov esi, dword [ebp - 0x9c]
xor edi, edi
sub ecx, esi
imul ecx
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [ebp - 0xd4], eax
je 0x4172f4
nop dword [eax]
cmp dword [esi + 0x14], 0x10
mov ecx, esi
jb 0x4172ca
mov ecx, dword [esi]
mov ebx, dword [esi + 0x10]
mov edx, ebx
push 0xd
push str._RSYNCD:_EXIT
push ecx
call fcn.00409ed0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x4172e8
test ebx, ebx
jne 0x417349
inc edi
add esi, 0x18
cmp edi, dword [ebp - 0xd4]
jb 0x4172c0
lea ecx, [ebp - 0x9c]
call fcn.0040ab50
mov ebx, dword [ebp - 0xb8]
mov edi, dword [ebp - 0xd0]
push edi
call dword [sym.imp.WS2_32.dll_closesocket]
cmp ebx, 0x10
jb 0x417496
mov ecx, dword [ebp - 0xcc]
inc ebx
mov eax, ecx
cmp ebx, 0x1000
jb 0x417510
mov ecx, dword [ecx - 4]
add ebx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417541
jmp 0x417510
push 0x64
lea eax, [ebp - 0x74]
push 0
push eax
call fcn.0044a330
mov ebx, dword [ebp - 0xd8]
lea ecx, [ebp - 0xb4]
add esp, 0xc
lea esi, [ebx + 4]
cmp dword [ebp - 0xa0], 0x10
mov edx, esi
cmovae ecx, dword [ebp - 0xb4]
cmp dword [esi + 0x14], 0x10
jb 0x417380
mov edx, dword [esi]
cmp dword [ebx + 0x30], 0x10
lea eax, [ebx + 0x1c]
jb 0x41738b
mov eax, dword [eax]
push ecx
push edx
push eax
lea eax, [ebp - 0x74]
push str._s__s__s
push eax
call fcn.00401410
push 0x4c0f64
call fcn.0044684a
add esp, 0x18
test eax, eax
je 0x4173b6
push eax
call fcn.004463ca
add esp, 4
sub esp, 0x18
lea ecx, [ebp - 0x74]
mov edx, esp
mov dword [ebp - 0xd4], esp
lea edi, [ecx + 1]
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0xf
mov byte [edx], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4173d8
sub ecx, edi
lea eax, [ebp - 0x74]
push ecx
push eax
mov ecx, edx
call fcn.00403320
mov byte [ebp - 4], 6
push dword [ebx + 0x34]
push 1
push 1
sub esp, 0x18
mov ecx, esp
push esi
call fcn.00403180
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 5
call fcn.00419430
push eax
mov byte [ebp - 4], 7
call fcn.00409b20
lea ecx, [ebp - 0x12c]
mov byte [ebp - 4], 5
call fcn.00419570
push 0x4c0f64
call fcn.0044686f
add esp, 4
test eax, eax
je 0x417445
push eax
call fcn.004463ca
add esp, 4
push dword [ebp - 0xd0]
call dword [sym.imp.WS2_32.dll_closesocket]
lea ecx, [ebp - 0x9c]
call fcn.0040ab50
mov edx, dword [ebp - 0xb8]
cmp edx, 0x10
jb 0x417496
mov ecx, dword [ebp - 0xcc]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41748c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417546
push edx
push ecx
call fcn.004449d2
add esp, 8
mov edx, dword [ebp - 0x78]
cmp edx, 0x10
jb 0x4174cd
mov ecx, dword [ebp - 0x8c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4174c3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41754b
push edx
push ecx
call fcn.004449d2
add esp, 8
mov edx, dword [ebp - 0xa0]
mov dword [ebp - 0x7c], 0
mov dword [ebp - 0x78], 0xf
mov byte [ebp - 0x8c], 0
cmp edx, 0x10
jb 0x417520
mov ecx, dword [ebp - 0xb4]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x417516
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x417550
jmp 0x417516
push ebx
jmp 0x41748d
push edx
push ecx
call fcn.004449d2
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00444991
mov esp, ebp
pop ebp
ret
call fcn.0045abc1
call fcn.0045abc1
call fcn.0045abc1
call fcn.0045abc1
call fcn.0045abc1
int3