Function at 0x4a0be0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
cmp esi, edi
jne 0x4a0c0a
push 0x2f3
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_bn_bn_lib.c
push str.a___b
call fcn.005502fe
add esp, 0xc
mov eax, dword [ebp + 8]
lea ebx, [eax - 1]
test eax, ebx
je 0x4a0c2b
push 0x2f4
push str.c:_cygwin_home_shachar_zon_new_pkg_lib_openssl_crypto_bn_bn_lib.c
push str._condition___condition___1____0
call fcn.005502fe
add esp, 0xc
mov ecx, dword [esi + 4]
mov eax, dword [edi + 4]
xor eax, ecx
shr ebx, 0x1f
dec ebx
and eax, ebx
mov dword [ebp + 8], ebx
xor ecx, eax
mov dword [esi + 4], ecx
xor dword [edi + 4], eax
mov ecx, dword [esi + 0xc]
mov eax, dword [edi + 0xc]
xor eax, ecx
movd xmm0, ebx
and eax, ebx
pshufd xmm3, xmm0, 0
xor ecx, eax
mov dword [esi + 0xc], ecx
xor dword [edi + 0xc], eax
mov ecx, dword [esi + 0x10]
mov eax, dword [edi + 0x10]
xor eax, ecx
and eax, ebx
and eax, 4
xor ecx, eax
mov dword [esi + 0x10], ecx
xor dword [edi + 0x10], eax
mov eax, dword [ebp + 0x14]
lea ecx, [eax - 1]
mov dword [ebp - 8], ecx
cmp ecx, 9
ja case.default.0x4a0c82
jmp dword [ecx*4 + 0x4a0e88]
mov ebx, 0xa
lea edx, [eax - 0xa]
cmp eax, ebx
jle 0x4a0d75
cmp edx, 4
jb 0x4a0d4d
mov ecx, dword [edi]
mov eax, dword [esi]
mov esi, dword [ebp - 8]
mov dword [ebp - 0x14], eax
lea eax, [ecx + 0x28]
mov dword [ebp - 0x18], ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
lea eax, [ecx + eax*4]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
lea eax, [ecx + 0x28]
mov dword [ebp - 0x10], eax
lea eax, [ecx + esi*4]
cmp dword [ebp - 4], eax
mov esi, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x14]
ja 0x4a0ce0
cmp ecx, dword [ebp - 0x10]
jae 0x4a0d4d
cmp dword [ebp - 4], edi
ja 0x4a0ce9
cmp ecx, edi
jae 0x4a0d4d
cmp dword [ebp - 4], esi
ja 0x4a0cf2
cmp ecx, esi
jae 0x4a0d4d
mov ecx, dword [ebp - 0x10]
cmp ecx, edi
ja 0x4a0cfe
cmp dword [ebp - 8], edi
jae 0x4a0d4d
cmp ecx, esi
ja 0x4a0d07
cmp dword [ebp - 8], esi
jae 0x4a0d4d
and edx, reloc.WS2_32.dll_closesocket
jns 0x4a0d14
dec edx
or edx, 0xfffffffc
inc edx
mov edi, dword [ebp - 0x14]
mov ecx, eax
sub ecx, edx
mov edx, dword [ebp - 0x18]
nop
movups xmm2, xmmword [edx + ebx*4]
movups xmm1, xmmword [edi + ebx*4]
movaps xmm0, xmm2
pxor xmm0, xmm1
pand xmm0, xmm3
pxor xmm1, xmm0
pxor xmm2, xmm0
movups xmmword [edi + ebx*4], xmm1
movups xmmword [edx + ebx*4], xmm2
add ebx, 4
cmp ebx, ecx
jl 0x4a0d20
mov edi, dword [ebp + 0x10]
cmp ebx, eax
jge 0x4a0d75
mov eax, dword [esi]
mov ecx, dword [eax + ebx*4]
lea edx, [eax + ebx*4]
mov eax, dword [edi]
mov esi, dword [eax + ebx*4]
xor esi, ecx
and esi, dword [ebp + 8]
xor ecx, esi
mov dword [edx], ecx
mov eax, dword [edi]
xor dword [eax + ebx*4], esi
inc ebx
mov esi, dword [ebp + 0xc]
cmp ebx, dword [ebp + 0x14]
jl 0x4a0d51
mov ebx, dword [ebp + 8]
mov eax, dword [edi]
mov esi, dword [esi]
mov edx, dword [eax + 0x24]
mov ecx, dword [esi + 0x24]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x24], ecx
mov eax, dword [edi]
mov esi, dword [ebp + 0xc]
xor dword [eax + 0x24], edx
mov eax, dword [edi]
mov esi, dword [esi]
mov edx, dword [eax + 0x20]
mov ecx, dword [esi + 0x20]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x20], ecx
mov eax, dword [edi]
mov esi, dword [ebp + 0xc]
xor dword [eax + 0x20], edx
mov eax, dword [edi]
mov esi, dword [esi]
mov edx, dword [eax + 0x1c]
mov ecx, dword [esi + 0x1c]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x1c], ecx
mov eax, dword [edi]
mov esi, dword [ebp + 0xc]
xor dword [eax + 0x1c], edx
mov eax, dword [edi]
mov esi, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, dword [esi + 0x18]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x18], ecx
mov eax, dword [edi]
mov esi, dword [ebp + 0xc]
xor dword [eax + 0x18], edx
mov eax, dword [edi]
mov esi, dword [esi]
mov edx, dword [eax + 0x14]
mov ecx, dword [esi + 0x14]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x14], ecx
mov eax, dword [edi]
mov esi, dword [ebp + 0xc]
xor dword [eax + 0x14], edx
mov eax, dword [edi]
mov esi, dword [esi]
mov edx, dword [eax + 0x10]
mov ecx, dword [esi + 0x10]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0x10], ecx
mov eax, dword [edi]
mov esi, dword [ebp + 0xc]
xor dword [eax + 0x10], edx
mov eax, dword [edi]
mov esi, dword [esi]
mov edx, dword [eax + 0xc]
mov ecx, dword [esi + 0xc]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 0xc], ecx
mov eax, dword [edi]
mov esi, dword [ebp + 0xc]
xor dword [eax + 0xc], edx
mov eax, dword [edi]
mov esi, dword [esi]
mov edx, dword [eax + 8]
mov ecx, dword [esi + 8]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 8], ecx
mov eax, dword [edi]
mov esi, dword [ebp + 0xc]
xor dword [eax + 8], edx
mov eax, dword [edi]
mov esi, dword [esi]
mov edx, dword [eax + 4]
mov ecx, dword [esi + 4]
xor edx, ecx
and edx, ebx
xor ecx, edx
mov dword [esi + 4], ecx
mov eax, dword [edi]
mov esi, dword [ebp + 0xc]
xor dword [eax + 4], edx
mov eax, dword [edi]
mov esi, dword [esi]
mov ecx, dword [eax]
mov edx, dword [esi]
xor ecx, edx
and ecx, ebx
xor edx, ecx
mov dword [esi], edx
mov eax, dword [edi]
pop edi
pop esi
pop ebx
xor dword [eax], ecx
mov esp, ebp
pop ebp
ret