Function at 0x4012d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x8c
mov eax, edx
mov dword [ebp - 0x8c], ecx
mov dword [ebp - 0x88], eax
push ebx
push esi
movups xmm0, xmmword [eax]
push edi
mov dword [ebp - 0x1c], 0xc
movups xmmword [ebp - 0x5c], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x4c], xmm0
mov edx, dword [ebp - 0x4c]
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x3c], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ebp - 0x2c], xmm0
mov eax, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 0x18], eax
mov esi, dword [ebp - 0x5c]
mov edi, dword [ebp - 0x3c]
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 - 0x58]
mov dword [ebp - 0x60], eax
xor eax, ecx
mov ecx, eax
add esi, dword [ebp - 0x18]
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [ebp - 0x10], ecx
lea eax, [ecx + edi]
mov edi, dword [ebp - 0x38]
mov dword [ebp - 0x74], eax
xor eax, edx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov eax, esi
xor eax, dword [ebp - 8]
mov dword [ebp - 0x7c], ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, dword [ebp - 0x18]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov esi, dword [ebp - 0x54]
add esi, dword [ebp - 4]
mov dword [ebp - 0x64], eax
xor eax, ecx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [ebp - 0x70], ecx
lea eax, [ecx + edi]
mov edi, dword [ebp - 0x34]
mov dword [ebp - 0x84], eax
xor eax, edx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov eax, esi
xor eax, ebx
mov dword [ebp - 8], ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, dword [ebp - 4]
mov edx, eax
shl eax, 0xc
shr edx, 0x14
or edx, eax
lea eax, [edx + esi]
mov dword [ebp - 0x6c], eax
xor eax, ecx
mov ecx, eax
mov esi, dword [ebp - 0x50]
shl eax, 8
shr ecx, 0x18
or ecx, eax
add esi, dword [ebp - 0xc]
mov dword [ebp - 0x80], ecx
lea ebx, [ecx + edi]
mov edi, dword [ebp - 0x30]
mov eax, ebx
xor eax, edx
mov ecx, eax
shl eax, 7
shr ecx, 0x19
or ecx, eax
mov eax, dword [ebp - 0x14]
xor eax, esi
mov dword [ebp - 4], ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
add edi, ecx
mov eax, edi
xor eax, dword [ebp - 0xc]
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 ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
lea eax, [ecx + edi]
mov dword [ebp - 0xc], eax
xor eax, edx
mov edx, eax
shl eax, 7
shr edx, 0x19
or edx, eax
mov dword [ebp - 0x68], edx
mov edx, dword [ebp - 0x60]
add edx, dword [ebp - 8]
mov eax, edx
xor eax, ecx
mov ecx, eax
shl eax, 0x10
shr ecx, 0x10
or ecx, eax
lea esi, [ecx + ebx]
mov eax, esi
xor eax, dword [ebp - 8]
mov edi, eax
shl eax, 0xc
shr edi, 0x14
or edi, eax
lea eax, [edi + edx]
mov dword [ebp - 0x5c], eax
xor eax, ecx
mov ecx, eax
shl eax, 8
shr ecx, 0x18
or ecx, eax
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x20], ecx
lea eax, [ecx + esi]
mov ecx, dword [ebp - 0x64]
add ecx, dword [ebp - 4]
mov dword [ebp - 0x34], eax
xor eax, edi
ror eax, 0x19
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x10]
xor eax, ecx
mov edi, eax
shl eax, 0x10
mov edx, dword [ebp - 0xc]
shr edi, 0x10
or edi, eax
add edx, edi
mov eax, edx
xor eax, dword [ebp - 4]
mov esi, eax
shl eax, 0xc
shr esi, 0x14
or esi, eax
lea eax, [esi + ecx]
mov ecx, dword [ebp - 0x6c]
xor edi, eax
mov dword [ebp - 0x58], eax
add ecx, dword [ebp - 0x68]
mov eax, edi
shr eax, 0x18
shl edi, 8
or eax, edi
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x2c], eax
add eax, edx
mov dword [ebp - 0x30], eax
xor eax, esi
ror eax, 0x19
mov edx, dword [ebp - 0x74]
mov dword [ebp - 4], eax
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x70]
xor eax, ecx
mov edi, eax
shl eax, 0x10
shr edi, 0x10
or edi, eax
add edx, edi
mov eax, edx
xor eax, dword [ebp - 0x68]
mov esi, eax
shl eax, 0xc
shr esi, 0x14
or esi, eax
lea eax, [esi + ecx]
mov ecx, dword [ebp - 0x78]
xor edi, eax
add ecx, dword [ebp - 0x7c]
mov dword [ebp - 0x54], eax
mov eax, edi
shr eax, 0x18
shl edi, 8
or eax, edi
mov dword [ebp - 8], eax
mov dword [ebp - 0x28], eax
add eax, edx
mov edx, dword [ebp - 0x84]
mov dword [ebp - 0x3c], eax
xor eax, esi
ror eax, 0x19
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x80]
xor eax, ecx
mov edi, eax
shl eax, 0x10
shr edi, 0x10
or edi, eax
add edx, edi
mov eax, edx
xor eax, dword [ebp - 0x7c]
mov esi, eax
shl eax, 0xc
shr esi, 0x14
or esi, eax
lea eax, [esi + ecx]
xor edi, eax
mov dword [ebp - 0x50], eax
mov ebx, edi
shl edi, 8
shr ebx, 0x18
or ebx, edi
lea eax, [ebx + edx]
mov ecx, dword [ebp - 0x10]
mov edx, eax
xor edx, esi
mov dword [ebp - 0x38], eax
ror edx, 0x19
sub dword [ebp - 0x1c], 2
jne 0x401337
mov ecx, dword [ebp - 0x88]
lea esi, [ebp - 0x5c]
mov dword [ebp - 0x4c], edx
lea edi, [ebp - 0x58]
xor edx, edx
mov dword [ebp - 0x24], ebx
sub esi, ecx
sub edi, ecx
lea eax, [ecx + 8]
mov ecx, dword [eax - 8]
lea eax, [eax + 0x10]
add dword [ebp + edx*4 - 0x5c], ecx
mov ecx, dword [eax - 0x14]
add dword [ebp + edx*4 - 0x58], ecx
add edx, 4
mov ecx, dword [eax - 0x10]
add dword [eax + esi - 0x10], ecx
mov ecx, dword [eax - 0xc]
add dword [eax + edi - 0x10], ecx
cmp edx, 0x10
jb 0x4015e2
mov edx, dword [ebp - 0x8c]
xor esi, esi
add edx, 2
mov al, byte [ebp + esi*4 - 0x5c]
lea edx, [edx + 4]
mov ecx, dword [ebp + esi*4 - 0x5c]
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 0x401614
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret