Function at 0x4012a0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x84
mov eax, edx
mov dword [ebp - 0x84], ecx
mov dword [ebp - 0x80], eax
push ebx
push esi
movups xmm0, xmmword [eax]
push edi
mov dword [ebp - 0x18], 8
movups xmmword [ebp - 0x58], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x48], xmm0
mov edx, dword [ebp - 0x3c]
movups xmm0, xmmword [eax + 0x20]
mov edi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x48]
movups xmmword [ebp - 0x38], xmm0
mov dword [ebp - 4], edx
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ebp - 0x28], xmm0
mov eax, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x28]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x58]
add eax, ebx
mov ecx, dword [ebp - 0x38]
mov edx, eax
xor edx, esi
rol edx, 0x10
add ecx, edx
mov esi, ecx
xor esi, ebx
rol esi, 0xc
add eax, esi
mov dword [ebp - 0x5c], eax
xor eax, edx
rol eax, 8
mov dword [ebp - 0x60], eax
add eax, ecx
mov dword [ebp - 0x6c], eax
xor eax, esi
mov ecx, dword [ebp - 0x34]
rol eax, 7
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x54]
add eax, dword [ebp - 0x14]
mov edx, eax
xor edx, dword [ebp - 8]
rol edx, 0x10
add ecx, edx
mov esi, ecx
xor esi, dword [ebp - 0x14]
rol esi, 0xc
add eax, esi
mov dword [ebp - 8], eax
xor eax, edx
rol eax, 8
mov dword [ebp - 0x68], eax
add eax, ecx
mov ecx, dword [ebp - 0x30]
mov ebx, eax
mov dword [ebp - 0x7c], eax
xor ebx, esi
mov eax, dword [ebp - 0x50]
add eax, edi
rol ebx, 7
mov edx, eax
xor edx, dword [ebp - 0xc]
rol edx, 0x10
add ecx, edx
mov esi, ecx
xor esi, edi
rol esi, 0xc
add eax, esi
mov dword [ebp - 0x64], eax
xor eax, edx
mov edx, dword [ebp - 0x2c]
rol eax, 8
mov dword [ebp - 0x78], eax
lea edi, [eax + ecx]
mov ecx, dword [ebp - 0x4c]
mov eax, edi
xor eax, esi
mov esi, dword [ebp - 0x10]
rol eax, 7
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
add ecx, eax
xor esi, ecx
rol esi, 0x10
add edx, esi
xor eax, edx
rol eax, 0xc
add ecx, eax
mov dword [ebp - 0x70], ecx
xor ecx, esi
rol ecx, 8
lea esi, [ecx + edx]
mov edx, esi
xor edx, eax
mov eax, dword [ebp - 0x5c]
rol edx, 7
add eax, ebx
mov dword [ebp - 4], edx
mov edx, eax
xor edx, ecx
rol edx, 0x10
lea ecx, [edx + edi]
mov edi, ecx
xor edi, ebx
mov ebx, dword [ebp - 4]
rol edi, 0xc
add eax, edi
mov dword [ebp - 0x58], eax
xor eax, edx
rol eax, 8
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], eax
add eax, ecx
xor edi, eax
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 8]
rol edi, 7
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x44], edi
mov edi, dword [ebp - 0xc]
add eax, edi
mov ecx, eax
xor ecx, dword [ebp - 0x60]
rol ecx, 0x10
lea edx, [ecx + esi]
xor edi, edx
rol edi, 0xc
lea esi, [edi + eax]
mov dword [ebp - 0x54], esi
xor esi, ecx
rol esi, 8
lea eax, [edx + esi]
mov edx, dword [ebp - 0x6c]
xor edi, eax
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x64]
add eax, ebx
rol edi, 7
mov ecx, eax
mov dword [ebp - 0x40], edi
xor ecx, dword [ebp - 0x68]
rol ecx, 0x10
add edx, ecx
xor ebx, edx
rol ebx, 0xc
add eax, ebx
mov dword [ebp - 0x50], eax
xor eax, ecx
rol eax, 8
mov dword [ebp - 8], eax
mov dword [ebp - 0x24], eax
add eax, edx
mov edx, dword [ebp - 0x7c]
xor ebx, eax
rol ebx, 7
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 4], ebx
mov dword [ebp - 0x3c], ebx
mov ebx, dword [ebp - 0x74]
add eax, ebx
mov ecx, eax
xor ecx, dword [ebp - 0x78]
rol ecx, 0x10
add edx, ecx
xor ebx, edx
rol ebx, 0xc
add eax, ebx
mov dword [ebp - 0x4c], eax
xor eax, ecx
rol eax, 8
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x20], eax
add eax, edx
xor ebx, eax
mov dword [ebp - 0x34], eax
rol ebx, 7
sub dword [ebp - 0x18], 2
mov dword [ebp - 0x48], ebx
jne 0x401304
mov ecx, dword [ebp - 0x80]
lea edi, [ebp - 0x54]
mov dword [ebp - 0x28], esi
xor edx, edx
lea esi, [ebp - 0x58]
sub esi, ecx
sub edi, ecx
lea eax, [ecx + 8]
mov ecx, dword [eax - 8]
lea eax, [eax + 0x10]
add dword [ebp + edx*4 - 0x58], ecx
mov ecx, dword [eax - 0x14]
add dword [ebp + edx*4 - 0x54], ecx
add edx, 4
mov ecx, dword [eax - 0x10]
add dword [esi + eax - 0x10], ecx
mov ecx, dword [eax - 0xc]
add dword [edi + eax - 0x10], ecx
cmp edx, 0x10
jb 0x4014c5
mov edx, dword [ebp - 0x84]
xor esi, esi
add edx, 2
nop word [eax + eax]
mov al, byte [ebp + esi*4 - 0x58]
lea edx, [edx + 4]
mov ecx, dword [ebp + esi*4 - 0x58]
inc esi
mov byte [edx - 6], al
mov eax, ecx
shr eax, 8
mov byte [edx - 5], al
mov eax, ecx
shr eax, 0x10
shr ecx, 0x18
mov byte [edx - 4], al
mov byte [edx - 3], cl
cmp esi, 0x10
jb 0x401500
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret