Function at 0x40aad0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, dword [0x6121d4]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, edx
mov dword [ebp - 0x80], ecx
mov dword [ebp - 0x84], edi
mov dword [ebp - 0x70], 0xa
movups xmm0, xmmword [edi]
movups xmmword [ebp - 0x44], xmm0
movups xmm0, xmmword [edi + 0x10]
movups xmmword [ebp - 0x34], xmm0
movups xmm0, xmmword [edi + 0x20]
movups xmmword [ebp - 0x24], xmm0
mov eax, dword [ebp - 0x1c]
movups xmm0, xmmword [edi + 0x30]
mov edi, dword [ebp - 0x18]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x3c]
movups xmmword [ebp - 0x14], xmm0
mov ecx, dword [ebp - 0xc]
mov ebx, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x6c], ecx
mov ecx, dword [ebp - 0x10]
mov dword [ebp - 0x54], edi
mov edi, dword [ebp - 0x28]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x44]
add eax, dword [ebp - 0x68]
xor edx, eax
mov dword [ebp - 0x5c], eax
rol edx, 0x10
add esi, edx
mov eax, esi
xor eax, dword [ebp - 0x68]
rol eax, 0xc
add dword [ebp - 0x5c], eax
xor edx, dword [ebp - 0x5c]
rol edx, 8
add esi, edx
mov dword [ebp - 0x68], edx
mov edx, dword [ebp - 0x60]
mov dword [ebp - 0x64], esi
xor esi, eax
mov eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x74]
xor ecx, eax
mov dword [ebp - 0x4c], eax
rol ecx, 0x10
add edx, ecx
rol esi, 7
mov eax, edx
xor eax, dword [ebp - 0x74]
rol eax, 0xc
add dword [ebp - 0x4c], eax
xor ecx, dword [ebp - 0x4c]
rol ecx, 8
add edx, ecx
mov dword [ebp - 0x7c], ecx
mov ecx, edx
mov dword [ebp - 0x60], edx
mov edx, dword [ebp - 0x6c]
xor ecx, eax
mov eax, dword [ebp - 0x50]
add eax, dword [ebp - 0x78]
xor edx, eax
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 0x48]
rol edx, 0x10
add eax, edx
rol ecx, 7
mov dword [ebp - 0x48], eax
xor eax, dword [ebp - 0x78]
rol eax, 0xc
add dword [ebp - 0x50], eax
xor edx, dword [ebp - 0x50]
rol edx, 8
add dword [ebp - 0x48], edx
mov dword [ebp - 0x6c], edx
mov edx, dword [ebp - 0x48]
xor edx, eax
mov eax, dword [ebp - 0x58]
add eax, edi
rol edx, 7
xor ebx, eax
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x54]
rol ebx, 0x10
add eax, ebx
mov dword [ebp - 0x54], eax
xor eax, edi
mov edi, dword [ebp - 0x58]
rol eax, 0xc
add edi, eax
xor ebx, edi
mov dword [ebp - 0x58], edi
mov edi, dword [ebp - 0x54]
rol ebx, 8
add edi, ebx
mov dword [ebp - 0x54], edi
xor edi, eax
mov eax, dword [ebp - 0x5c]
add eax, ecx
rol edi, 7
xor ebx, eax
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x48]
rol ebx, 0x10
add eax, ebx
mov dword [ebp - 0x48], eax
xor eax, ecx
mov ecx, dword [ebp - 0x5c]
rol eax, 0xc
add ecx, eax
xor ebx, ecx
mov dword [ebp - 0x5c], ecx
mov dword [ebp - 0x44], ecx
mov ecx, dword [ebp - 0x48]
rol ebx, 8
add ecx, ebx
mov dword [ebp - 0x48], ecx
mov dword [ebp - 0x1c], ecx
xor ecx, eax
mov eax, dword [ebp - 0x4c]
add eax, edx
rol ecx, 7
mov dword [ebp - 0x4c], eax
xor eax, dword [ebp - 0x68]
rol eax, 0x10
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x54]
add ecx, eax
mov dword [ebp - 0x54], ecx
xor ecx, edx
mov edx, dword [ebp - 0x4c]
rol ecx, 0xc
add edx, ecx
mov dword [ebp - 0x4c], edx
mov dword [ebp - 0x40], edx
xor edx, eax
mov eax, dword [ebp - 0x54]
rol edx, 8
add eax, edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x18], eax
xor eax, ecx
mov ecx, dword [ebp - 0x64]
rol eax, 7
mov dword [ebp - 0x78], eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x50]
add eax, edi
mov dword [ebp - 0x50], eax
xor eax, dword [ebp - 0x7c]
rol eax, 0x10
add ecx, eax
xor edi, ecx
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp - 0x50]
rol edi, 0xc
add ecx, edi
mov dword [ebp - 0x50], ecx
mov dword [ebp - 0x3c], ecx
xor ecx, eax
mov eax, dword [ebp - 0x64]
rol ecx, 8
add eax, ecx
mov dword [ebp - 0x7c], ecx
xor edi, eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x58]
add eax, esi
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0x60]
mov dword [ebp - 0x58], eax
xor eax, dword [ebp - 0x6c]
rol eax, 0x10
add ecx, eax
rol edi, 7
mov dword [ebp - 0x60], ecx
xor ecx, esi
mov esi, dword [ebp - 0x58]
rol ecx, 0xc
add esi, ecx
mov dword [ebp - 0x58], esi
mov dword [ebp - 0x38], esi
xor esi, eax
mov eax, dword [ebp - 0x60]
rol esi, 8
add eax, esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x20], eax
xor eax, ecx
mov ecx, dword [ebp - 0x7c]
rol eax, 7
sub dword [ebp - 0x70], 1
mov dword [ebp - 0xc], esi
mov esi, dword [ebp - 0x64]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x5c]
jne 0x40ab65
mov ecx, dword [ebp - 0x80]
xor esi, esi
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x84]
mov dword [ebp - 8], ebx
lea ebx, [ebp - 0x44]
lea eax, [ecx + 4]
sub ebx, ecx
lea edx, [edi + 0xc]
sub edi, ecx
lea ecx, [ebp - 0x40]
sub ecx, dword [ebp - 0x80]
mov dword [ebp - 0x84], ecx
lea ecx, [ebp - 0x3c]
sub ecx, dword [ebp - 0x80]
mov dword [ebp - 0x70], ecx
nop
mov ecx, dword [ebp + esi*4 - 0x44]
lea eax, [eax + 0x10]
add ecx, dword [edx - 0xc]
lea edx, [edx + 0x10]
mov dword [eax - 0x14], ecx
add esi, 4
mov ecx, dword [ebx + eax - 0x10]
add ecx, dword [edi + eax - 0x10]
mov dword [eax - 0x10], ecx
mov ecx, dword [ebp - 0x84]
mov ecx, dword [ecx + eax - 0x10]
add ecx, dword [edx - 0x14]
mov dword [eax - 0xc], ecx
mov ecx, dword [ebp - 0x70]
mov ecx, dword [ecx + eax - 0x10]
add ecx, dword [edx - 0x10]
mov dword [eax - 8], ecx
cmp esi, 0x10
jl 0x40ad80
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00540c56
mov esp, ebp
pop ebp
ret