Function at 0x5ad580
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xe8
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
shl eax, 7
movups xmm0, xmmword [eax + edx - 0x40]
movups xmmword [ebp - 0xe8], xmm0
movups xmm0, xmmword [eax + edx - 0x30]
movups xmmword [ebp - 0xd8], xmm0
movups xmm0, xmmword [eax + edx - 0x20]
movups xmmword [ebp - 0xc8], xmm0
movups xmm0, xmmword [eax + edx - 0x10]
mov eax, dword [ebp + 0x10]
shld ecx, eax, 1
movups xmmword [ebp - 0xb8], xmm0
add eax, eax
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 0xa8], eax
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
test ecx, ecx
jb 0x5ad975
ja 0x5ad5f4
test eax, eax
je 0x5ad975
mov eax, dword [ebp - 0x2c]
push ebx
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x30]
push esi
mov dword [ebp - 0x44], eax
push edi
xorps xmm0, xmm0
movlpd qword [ebp - 0x30], xmm0
mov esi, dword [ebp - 0x2c]
mov eax, dword [ebp - 0x30]
mov ecx, dword [edx]
add edx, 4
xor dword [ebp + eax*4 - 0xe8], ecx
add eax, 1
adc esi, 0
jne 0x5ad62a
cmp eax, 0x10
jb 0x5ad611
movups xmm4, xmmword [ebp - 0xb8]
mov dword [ebp + 0xc], edx
movups xmm3, xmmword [ebp - 0xc8]
mov dword [ebp - 0x40], 4
movups xmm2, xmmword [ebp - 0xd8]
movups xmm1, xmmword [ebp - 0xe8]
movups xmmword [ebp - 0x58], xmm4
mov eax, dword [ebp - 0x50]
mov edi, dword [ebp - 0x4c]
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 4], eax
movups xmmword [ebp - 0x68], xmm3
mov eax, dword [ebp - 0x64]
mov esi, dword [ebp - 0x5c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x68]
movups xmmword [ebp - 0x78], xmm2
mov ecx, dword [ebp - 0x74]
mov ebx, dword [ebp - 0x70]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x78]
movups xmmword [ebp - 0x88], xmm1
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x60]
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x88]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x24], edi
mov edi, dword [ebp - 0x84]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x34], eax
mov dword [ebp - 8], ecx
lea eax, [ecx + edx]
rol eax, 7
xor eax, dword [ebp - 0xc]
add ecx, eax
mov dword [ebp - 0xc], eax
rol ecx, 9
xor ecx, dword [ebp - 0x14]
add eax, ecx
mov dword [ebp - 0x90], ecx
rol eax, 0xd
xor eax, edx
mov dword [ebp - 0x98], eax
add eax, ecx
mov ecx, dword [ebp - 0x20]
ror eax, 0xe
xor eax, dword [ebp - 8]
mov dword [ebp - 8], eax
lea eax, [edi + ecx]
rol eax, 7
xor eax, dword [ebp - 0x18]
add ecx, eax
mov dword [ebp - 0x8c], eax
rol ecx, 9
xor ecx, dword [ebp - 4]
mov dword [ebp - 0x9c], ecx
lea edx, [eax + ecx]
rol edx, 0xd
xor edx, edi
lea eax, [edx + ecx]
mov ecx, dword [ebp - 0x24]
ror eax, 0xe
xor eax, dword [ebp - 0x20]
mov dword [ebp - 0x18], eax
lea eax, [ebx + ecx]
rol eax, 7
xor eax, dword [ebp - 0x1c]
add ecx, eax
mov dword [ebp - 0x94], eax
rol ecx, 9
xor ecx, dword [ebp - 0x34]
lea edi, [eax + ecx]
rol edi, 0xd
xor edi, ebx
mov ebx, dword [ebp - 0x28]
mov dword [ebp - 0x1c], edi
lea eax, [edi + ecx]
ror eax, 0xe
xor eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
lea eax, [esi + ebx]
rol eax, 7
xor eax, dword [ebp - 0x38]
lea esi, [eax + ebx]
rol esi, 9
xor esi, dword [ebp - 0x3c]
lea ebx, [eax + esi]
rol ebx, 0xd
xor ebx, dword [ebp - 0x10]
mov dword [ebp - 0x10], ebx
lea edi, [ebx + esi]
mov ebx, edi
mov dword [ebp - 4], edi
ror ebx, 0xe
xor ebx, dword [ebp - 0x28]
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
add ebx, eax
rol ebx, 7
xor ebx, edx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x84], ebx
lea edi, [ebx + edx]
rol edi, 9
xor edi, ecx
mov dword [ebp - 0x34], edi
mov dword [ebp - 0x80], edi
lea ecx, [edi + ebx]
rol ecx, 0xd
xor ecx, eax
mov dword [ebp - 0x38], ecx
lea eax, [edi + ecx]
mov dword [ebp - 0x7c], ecx
mov ecx, dword [ebp - 0xc]
ror eax, 0xe
xor eax, edx
mov dword [ebp - 8], eax
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x18]
lea edx, [ecx + eax]
rol edx, 7
xor edx, dword [ebp - 0x1c]
mov dword [ebp - 0xa0], edx
mov dword [ebp - 0x70], edx
lea ebx, [eax + edx]
rol ebx, 9
xor ebx, esi
add edx, ebx
mov dword [ebp - 0x3c], ebx
rol edx, 0xd
xor edx, ecx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0xc], edx
mov dword [ebp - 0x78], edx
lea ecx, [edx + ebx]
ror ecx, 0xe
xor ecx, eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x74], ecx
mov ecx, dword [ebp - 0x8c]
lea esi, [ecx + eax]
rol esi, 7
xor esi, dword [ebp - 0x10]
mov dword [ebp - 0x10], esi
mov dword [ebp - 0x5c], esi
lea edx, [eax + esi]
rol edx, 9
xor edx, dword [ebp - 0x90]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x68], edx
lea ebx, [edx + esi]
rol ebx, 0xd
xor ebx, ecx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x64], ebx
lea ecx, [ebx + edx]
ror ecx, 0xe
xor ecx, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x60], ecx
mov ecx, dword [ebp - 0x94]
lea edx, [ecx + eax]
rol edx, 7
xor edx, dword [ebp - 0x98]
lea ebx, [eax + edx]
rol ebx, 9
xor ebx, dword [ebp - 0x9c]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x54], ebx
lea edi, [ebx + edx]
rol edi, 0xd
xor edi, ecx
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x50], edi
lea ecx, [edi + ebx]
mov ebx, dword [ebp - 0xa0]
mov edi, dword [ebp - 0x2c]
ror ecx, 0xe
xor ecx, eax
sub dword [ebp - 0x40], 1
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x4c], ecx
mov ecx, dword [ebp - 8]
jne 0x5ad6c0
movups xmm0, xmmword [ebp - 0x88]
mov dword [ebp - 0x58], edx
lea eax, [ebp - 0x88]
push 0x40
paddd xmm1, xmm0
movups xmm0, xmmword [ebp - 0x78]
push eax
movups xmmword [ebp - 0xe8], xmm1
paddd xmm0, xmm2
movups xmmword [ebp - 0xd8], xmm0
movups xmm0, xmmword [ebp - 0x68]
paddd xmm0, xmm3
movups xmmword [ebp - 0xc8], xmm0
movups xmm0, xmmword [ebp - 0x58]
paddd xmm0, xmm4
movups xmmword [ebp - 0xb8], xmm0
call fcn.00432da0
mov ebx, dword [ebp - 0x44]
add esp, 8
mov edi, dword [ebp - 0x48]
mov edx, ebx
movups xmm0, xmmword [ebp - 0xe8]
and edx, 1
mov ecx, ebx
imul edx, dword [ebp + 0x10]
mov eax, edi
shrd ecx, eax, 1
add edx, ecx
shl edx, 6
add edx, dword [ebp + 8]
add ebx, 1
mov dword [ebp - 0x44], ebx
adc edi, 0
mov dword [ebp - 0x48], edi
movups xmmword [edx], xmm0
movups xmm0, xmmword [ebp - 0xd8]
movups xmmword [edx + 0x10], xmm0
movups xmm0, xmmword [ebp - 0xc8]
movups xmmword [edx + 0x20], xmm0
movups xmm0, xmmword [ebp - 0xb8]
movups xmmword [edx + 0x30], xmm0
mov edx, dword [ebp + 0xc]
cmp edi, dword [ebp - 0xa4]
jb 0x5ad603
ja 0x5ad972
cmp ebx, dword [ebp - 0xa8]
jb 0x5ad603
pop edi
pop esi
pop ebx
lea eax, [ebp - 0xe8]
push 0x40
push eax
call fcn.00432da0
add esp, 8
mov esp, ebp
pop ebp
ret