Function at 0x4ab260
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x10
mov eax, dword [esp + 0x3c]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
mov ebp, dword [esp + 0x24]
mov esi, dword [eax]
test edx, edx
je 0x4ab2ab
nop word cs:[eax + eax]
nop dword [eax + eax]
test esi, esi
je 0x4ab2ab
movzx eax, byte [ecx + esi]
inc esi
and esi, 0xf
xor al, byte [ebp]
inc ebp
mov byte [ebx], al
inc ebx
cmp edx, 1
lea edx, [edx - 1]
jne 0x4ab290
mov ecx, dword [esp + 0x40]
mov edi, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
cmp edx, 0x10
jb 0x4ab3c6
push eax
mov eax, dword [esp + 0x3c]
push eax
push edi
mov esi, edx
call dword [esp + 0x4c]
mov edx, esi
add esp, 0xc
movzx eax, byte [edi + 0xf]
mov esi, dword [esp + 0x38]
add edx, 0xfffffff0
inc eax
mov byte [edi + 0xf], al
shr eax, 8
movzx ecx, byte [edi + 0xe]
add ecx, eax
mov byte [edi + 0xe], cl
shr ecx, 8
movzx eax, byte [edi + 0xd]
add eax, ecx
mov byte [edi + 0xd], al
shr eax, 8
movzx ecx, byte [edi + 0xc]
add ecx, eax
mov byte [edi + 0xc], cl
shr ecx, 8
movzx eax, byte [edi + 0xb]
add eax, ecx
mov byte [edi + 0xb], al
shr eax, 8
movzx ecx, byte [edi + 0xa]
add ecx, eax
mov byte [edi + 0xa], cl
shr ecx, 8
movzx eax, byte [edi + 9]
add eax, ecx
mov byte [edi + 9], al
shr eax, 8
movzx ecx, byte [edi + 8]
add ecx, eax
mov byte [edi + 8], cl
shr ecx, 8
movzx eax, byte [edi + 7]
add eax, ecx
mov byte [edi + 7], al
shr eax, 8
movzx ecx, byte [edi + 6]
add ecx, eax
mov byte [edi + 6], cl
shr ecx, 8
movzx eax, byte [edi + 5]
add eax, ecx
mov byte [edi + 5], al
shr eax, 8
movzx ecx, byte [edi + 4]
add ecx, eax
mov byte [edi + 4], cl
shr ecx, 8
movzx eax, byte [edi + 3]
add eax, ecx
mov byte [edi + 3], al
shr eax, 8
movzx ecx, byte [edi + 2]
add ecx, eax
mov byte [edi + 2], cl
shr ecx, 8
movzx eax, byte [edi + 1]
add eax, ecx
mov ecx, dword [esp + 0x40]
mov byte [edi + 1], al
add byte [edi], ah
mov eax, dword [esi]
xor eax, dword [ebp]
mov dword [ebx], eax
mov eax, dword [esi + 4]
xor eax, dword [ebp + 4]
mov dword [ebx + 4], eax
mov eax, dword [esi + 8]
xor eax, dword [ebp + 8]
mov dword [ebx + 8], eax
mov eax, dword [esi + 0xc]
xor eax, dword [ebp + 0xc]
add ebp, 0x10
mov dword [ebx + 0xc], eax
mov eax, dword [esp + 0x30]
add ebx, 0x10
cmp edx, 0xf
ja 0x4ab2c0
xor esi, esi
test edx, edx
je 0x4ab4a8
push eax
mov eax, dword [esp + 0x3c]
push eax
push edi
mov dword [esp + 0x10], edx
call ecx
mov edx, dword [esp + 0x10]
add esp, 0xc
movzx eax, byte [edi + 0xf]
inc eax
mov byte [edi + 0xf], al
shr eax, 8
movzx ecx, byte [edi + 0xe]
add ecx, eax
mov byte [edi + 0xe], cl
shr ecx, 8
movzx eax, byte [edi + 0xd]
add eax, ecx
mov byte [edi + 0xd], al
shr eax, 8
movzx ecx, byte [edi + 0xc]
add ecx, eax
mov byte [edi + 0xc], cl
shr ecx, 8
movzx eax, byte [edi + 0xb]
add eax, ecx
mov byte [edi + 0xb], al
shr eax, 8
movzx ecx, byte [edi + 0xa]
add ecx, eax
mov byte [edi + 0xa], cl
shr ecx, 8
movzx eax, byte [edi + 9]
add eax, ecx
mov byte [edi + 9], al
shr eax, 8
movzx ecx, byte [edi + 8]
add ecx, eax
mov byte [edi + 8], cl
shr ecx, 8
movzx eax, byte [edi + 7]
add eax, ecx
mov byte [edi + 7], al
shr eax, 8
movzx ecx, byte [edi + 6]
add ecx, eax
mov byte [edi + 6], cl
shr ecx, 8
movzx eax, byte [edi + 5]
add eax, ecx
mov byte [edi + 5], al
shr eax, 8
movzx ecx, byte [edi + 4]
add ecx, eax
mov byte [edi + 4], cl
shr ecx, 8
movzx eax, byte [edi + 3]
add eax, ecx
mov byte [edi + 3], al
shr eax, 8
movzx ecx, byte [edi + 2]
add ecx, eax
mov byte [edi + 2], cl
shr ecx, 8
movzx eax, byte [edi + 1]
add eax, ecx
mov byte [edi + 1], al
add byte [edi], ah
cmp edx, 0x20
jae 0x4ab4b1
mov eax, edx
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
jmp 0x4ab570
mov edx, dword [esp + 0x3c]
jmp 0x4ab581
lea ecx, [edx + esi]
lea eax, [ebx + esi]
lea edi, [ebp + ecx]
lea edx, [ebx + ecx]
mov dword [esp], edi
mov edi, dword [esp + 0x38]
add ecx, edi
cmp eax, dword [esp]
lea edi, [ebp + esi]
setb byte [esp]
cmp edi, edx
mov edi, dword [esp + 0x38]
setb byte [esp + 8]
cmp eax, ecx
mov ah, byte [esp + 8]
setb al
lea ecx, [edi + esi]
cmp ecx, edx
setb cl
test byte [esp], ah
jne 0x4ab564
and al, cl
jne 0x4ab564
mov eax, dword [esp + 4]
lea ecx, [ebp + esi + 0x10]
mov dword [esp + 8], ecx
lea ecx, [edi + esi + 0x10]
mov dword [esp + 0xc], ecx
lea ecx, [ebx + esi + 0x10]
mov edx, eax
and eax, 0x1f
and edx, 0xffffffe0
mov dword [esp], edx
add esi, edx
xor edx, edx
nop
mov edi, dword [esp + 8]
movups xmm0, xmmword [edi + edx - 0x10]
movups xmm1, xmmword [edi + edx]
mov edi, dword [esp + 0xc]
movups xmm2, xmmword [edi + edx - 0x10]
movups xmm3, xmmword [edi + edx]
xorps xmm2, xmm0
xorps xmm3, xmm1
movups xmmword [ecx + edx - 0x10], xmm2
movups xmmword [ecx + edx], xmm3
add edx, 0x20
cmp dword [esp], edx
jne 0x4ab520
mov ecx, dword [esp]
mov edx, dword [esp + 0x3c]
mov edi, dword [esp + 0x38]
cmp dword [esp + 4], ecx
jne 0x4ab570
jmp 0x4ab581
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x3c]
nop dword [eax]
movzx ecx, byte [edi + esi]
xor cl, byte [ebp + esi]
dec eax
mov byte [ebx + esi], cl
lea esi, [esi + 1]
jne 0x4ab570
mov dword [edx], esi
add esp, 0x10
pop esi
pop edi
pop ebx
pop ebp
ret