Function at 0x4a58e0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, dword [0x5095c0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x44]
mov dword [ebp - 0x68], ecx
lea eax, [ecx + 0x3c]
cmp edx, eax
ja 0x4a5906
lea eax, [ebp - 8]
movups xmm0, xmmword [ecx]
push ebx
push esi
movups xmmword [ebp - 0x44], xmm0
push edi
movups xmm0, xmmword [ecx + 0x10]
mov dword [ebp - 0x64], 0xa
movups xmmword [ebp - 0x34], xmm0
mov edx, dword [ebp - 0x34]
movups xmm0, xmmword [ecx + 0x20]
movups xmmword [ebp - 0x24], xmm0
movups xmm0, xmmword [ecx + 0x30]
movups xmmword [ebp - 0x14], xmm0
mov eax, dword [ebp - 8]
mov ebx, dword [ebp - 0x10]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x48], eax
mov esi, dword [ebp - 0x44]
mov edi, dword [ebp - 0x24]
add esi, edx
mov eax, esi
xor eax, ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, edx
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov esi, dword [ebp - 0x40]
mov dword [ebp - 0x6c], eax
xor eax, ecx
mov ecx, eax
add esi, dword [ebp - 0x48]
shl eax, 8
xor ebx, esi
shr ecx, 0x18
or ecx, eax
mov dword [ebp - 0x54], ecx
lea eax, [edi + ecx]
mov edi, dword [ebp - 0x20]
mov dword [ebp - 0x80], eax
xor eax, edx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov dword [ebp - 0x88], ecx
mov ecx, ebx
shr ecx, 0x10
shl ebx, 0x10
or ecx, ebx
add edi, ecx
mov eax, edi
xor eax, dword [ebp - 0x48]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov esi, dword [ebp - 0x3c]
add esi, dword [ebp - 0x60]
mov dword [ebp - 0x70], eax
xor eax, ecx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [ebp - 0x7c], ecx
lea eax, [edi + ecx]
mov edi, dword [ebp - 0x1c]
mov dword [ebp - 0x58], eax
xor eax, edx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov eax, dword [ebp - 0x50]
xor eax, esi
mov dword [ebp - 0x48], ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, dword [ebp - 0x60]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov dword [ebp - 0x78], eax
xor eax, ecx
mov esi, dword [ebp - 0x38]
mov ecx, eax
add esi, dword [ebp - 0x4c]
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [ebp - 0x8c], ecx
lea ebx, [edi + ecx]
mov edi, dword [ebp - 0x18]
mov eax, ebx
xor eax, edx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov eax, dword [ebp - 0x5c]
xor eax, esi
mov dword [ebp - 0x50], ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, dword [ebp - 0x4c]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov dword [ebp - 0x84], eax
xor eax, ecx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
lea eax, [edi + ecx]
mov dword [ebp - 0x4c], eax
xor eax, edx
mov edx, eax
shl eax, 7
shr edx, 0x19
or edx, eax
mov dword [ebp - 0x74], edx
mov edx, dword [ebp - 0x6c]
add edx, dword [ebp - 0x48]
mov eax, edx
xor eax, ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
lea esi, [ebx + ecx]
mov eax, esi
xor eax, dword [ebp - 0x48]
mov edi, eax
shl eax, 0xc
shr edi, 0x14
or edi, eax
lea eax, [edx + edi]
mov dword [ebp - 0x44], eax
xor eax, ecx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 8], ecx
lea eax, [esi + ecx]
mov ecx, dword [ebp - 0x70]
add ecx, dword [ebp - 0x50]
mov dword [ebp - 0x1c], eax
xor eax, edi
ror eax, 0x19
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x30], eax
mov eax, ecx
xor eax, dword [ebp - 0x54]
mov edx, eax
shr edx, 0x10
shl eax, 0x10
or edx, eax
mov esi, dword [ebp - 0x4c]
add esi, edx
mov eax, esi
xor eax, dword [ebp - 0x50]
mov edi, eax
shl eax, 0xc
shr edi, 0x14
or edi, eax
lea eax, [ecx + edi]
mov dword [ebp - 0x40], eax
xor eax, edx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [ebp - 0x54], ecx
mov dword [ebp - 0x14], ecx
lea eax, [esi + ecx]
mov ecx, dword [ebp - 0x78]
add ecx, dword [ebp - 0x74]
mov dword [ebp - 0x18], eax
xor eax, edi
ror eax, 0x19
mov esi, dword [ebp - 0x80]
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x2c], eax
mov eax, ecx
xor eax, dword [ebp - 0x7c]
mov edx, eax
shl eax, 0x10
shr edx, 0x10
or edx, eax
add esi, edx
mov eax, esi
xor eax, dword [ebp - 0x74]
mov edi, eax
shl eax, 0xc
shr edi, 0x14
or edi, eax
lea eax, [ecx + edi]
mov ecx, dword [ebp - 0x84]
add ecx, dword [ebp - 0x88]
mov dword [ebp - 0x3c], eax
xor eax, edx
mov ebx, eax
shl eax, 8
shr ebx, 0x18
or ebx, eax
lea eax, [esi + ebx]
mov esi, dword [ebp - 0x58]
mov dword [ebp - 0x24], eax
xor eax, edi
ror eax, 0x19
mov dword [ebp - 0x4c], eax
mov dword [ebp - 0x28], eax
mov eax, ecx
xor eax, dword [ebp - 0x8c]
mov edx, eax
shl eax, 0x10
shr edx, 0x10
or edx, eax
add esi, edx
mov eax, esi
xor eax, dword [ebp - 0x88]
mov edi, eax
shl eax, 0xc
shr edi, 0x14
or edi, eax
lea eax, [ecx + edi]
mov dword [ebp - 0x38], eax
xor eax, edx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0xc], ecx
lea eax, [esi + ecx]
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x54]
mov edx, eax
xor edx, edi
ror edx, 0x19
sub dword [ebp - 0x64], 1
jne 0x4a5956
mov dword [ebp - 0x34], edx
lea edi, [ebp - 0x44]
mov edx, dword [ebp - 0x68]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x10], ebx
sub edi, edx
lea ebx, [ebp - 0x40]
xor esi, esi
sub ebx, edx
sub ecx, edx
lea eax, [edx + 4]
mov edx, ecx
mov ecx, dword [ebp + esi*4 - 0x44]
lea eax, [eax + 0x10]
add ecx, dword [eax - 0x14]
add esi, 4
mov dword [eax + 0x2c], ecx
mov ecx, dword [edi + eax - 0x10]
add ecx, dword [eax - 0x10]
mov dword [eax + 0x30], ecx
mov ecx, dword [ebx + eax - 0x10]
add ecx, dword [eax - 0xc]
mov dword [eax + 0x34], ecx
mov ecx, dword [edx + eax - 0x10]
add ecx, dword [eax - 8]
mov dword [eax + 0x38], ecx
cmp esi, 0x10
jb 0x4a5c14
mov edx, dword [ebp - 0x68]
pop edi
pop esi
pop ebx
add dword [edx + 0x30], 1
mov dword [edx + 0x80], 0x10
jne 0x4a5c66
add dword [edx + 0x34], 1
jne 0x4a5c66
inc dword [edx + 0x38]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004a818a
mov esp, ebp
pop ebp
ret