Function at 0x40a310
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
push ebx
movups xmm0, xmmword [eax]
mov ebx, dword [ebp + 0x10]
shrd ebx, edx, 6
movups xmmword [ebp - 0x90], xmm0
shr edx, 6
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], edx
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ebp - 0x80], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ebp - 0x70], xmm0
movups xmm0, xmmword [eax + 0x30]
movups xmmword [ebp - 0x60], xmm0
cmp ecx, 0x40
jb 0x40a617
mov eax, dword [ebp + 8]
add eax, 8
shr ecx, 6
push esi
mov dword [ebp - 0x40], eax
mov dword [ebp + 0x18], ecx
push edi
nop
mov eax, dword [ebp - 0x8c]
mov edi, dword [ebp - 0x88]
mov ecx, dword [ebp - 0x90]
mov esi, dword [ebp - 0x60]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp + 0xc], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], edi
mov edi, dword [ebp - 0x58]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0x5c]
mov dword [ebp - 0xc], ebx
mov ebx, dword [ebp - 4]
mov dword [ebp + 0x14], ecx
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x30], 0xa
lea eax, [esi + ecx]
rol eax, 7
xor eax, dword [ebp - 8]
add ecx, eax
mov dword [ebp - 8], eax
rol ecx, 9
xor ecx, dword [ebp - 0xc]
add eax, ecx
mov dword [ebp - 0xc], ecx
rol eax, 0xd
xor eax, esi
mov dword [ebp - 0x4c], eax
add eax, ecx
ror eax, 0xe
xor eax, dword [ebp + 0x14]
mov dword [ebp + 0x14], eax
lea eax, [edx + ebx]
rol eax, 7
xor eax, dword [ebp - 0x10]
mov dword [ebp - 0x10], eax
lea ecx, [ebx + eax]
rol ecx, 9
xor ecx, dword [ebp - 0x18]
mov dword [ebp - 0x50], ecx
lea esi, [ecx + eax]
rol esi, 0xd
xor esi, edx
lea eax, [ecx + esi]
mov ecx, dword [ebp - 0x14]
ror eax, 0xe
xor eax, ebx
mov dword [ebp - 4], eax
lea eax, [edi + ecx]
rol eax, 7
xor eax, dword [ebp - 0x1c]
mov dword [ebp - 0x48], eax
lea edx, [ecx + eax]
rol edx, 9
xor edx, dword [ebp - 0x20]
lea ebx, [eax + edx]
rol ebx, 0xd
xor ebx, edi
mov dword [ebp - 0x1c], ebx
lea eax, [ebx + edx]
mov ebx, dword [ebp + 0xc]
ror eax, 0xe
xor eax, ecx
mov ecx, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
lea ecx, [ecx + ebx]
rol ecx, 7
xor ecx, dword [ebp - 0x28]
lea edi, [ebx + ecx]
rol edi, 9
xor edi, dword [ebp - 0x2c]
lea eax, [edi + ecx]
rol eax, 0xd
xor eax, dword [ebp - 0x24]
mov dword [ebp - 0x14], eax
add eax, edi
ror eax, 0xe
xor eax, ebx
mov dword [ebp - 0x44], eax
mov dword [ebp + 0xc], eax
mov eax, dword [ebp + 0x14]
add eax, ecx
rol eax, 7
xor eax, esi
mov esi, dword [ebp + 0x14]
mov dword [ebp - 0x34], eax
lea ebx, [esi + eax]
rol ebx, 9
xor ebx, edx
add eax, ebx
mov dword [ebp - 0x20], ebx
rol eax, 0xd
xor eax, ecx
mov dword [ebp - 0x28], eax
add eax, ebx
ror eax, 0xe
xor eax, esi
mov ecx, dword [ebp - 8]
mov dword [ebp + 0x14], eax
mov eax, dword [ebp - 4]
lea edx, [ecx + eax]
rol edx, 7
xor edx, dword [ebp - 0x1c]
mov dword [ebp - 4], edx
lea ebx, [eax + edx]
rol ebx, 9
xor ebx, edi
mov edi, dword [ebp - 4]
add edx, ebx
mov dword [ebp - 0x2c], ebx
rol edx, 0xd
xor edx, ecx
mov ecx, dword [ebp - 0x10]
add ebx, edx
mov dword [ebp - 8], edx
ror ebx, 0xe
xor ebx, eax
mov eax, dword [ebp - 0x18]
lea edx, [eax + ecx]
rol edx, 7
xor edx, dword [ebp - 0x14]
mov dword [ebp - 0x24], edx
lea esi, [eax + edx]
rol esi, 9
xor esi, dword [ebp - 0xc]
add edx, esi
mov dword [ebp - 0xc], esi
rol edx, 0xd
xor edx, ecx
mov dword [ebp - 0x10], edx
lea ecx, [edx + esi]
ror ecx, 0xe
xor ecx, eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x48]
lea esi, [eax + ecx]
rol esi, 7
xor esi, dword [ebp - 0x4c]
add eax, esi
rol eax, 9
xor eax, dword [ebp - 0x50]
mov dword [ebp - 0x18], eax
lea edx, [eax + esi]
rol edx, 0xd
xor edx, ecx
mov dword [ebp - 0x1c], edx
lea ecx, [eax + edx]
mov edx, dword [ebp - 0x34]
ror ecx, 0xe
xor dword [ebp + 0xc], ecx
sub dword [ebp - 0x30], 1
mov ecx, dword [ebp + 0x14]
jne 0x40a3d7
add ecx, dword [ebp - 0x90]
mov eax, dword [ebp - 0x40]
xor dword [eax - 8], ecx
mov ecx, dword [ebp - 0x5c]
add ecx, edx
mov edx, dword [ebp - 0x3c]
xor dword [eax - 4], ecx
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x68]
xor dword [eax], ecx
mov ecx, dword [ebp - 0x74]
add ecx, dword [ebp - 0x28]
xor dword [eax + 4], ecx
mov ecx, dword [ebp - 8]
add ecx, dword [ebp - 0x80]
xor dword [eax + 8], ecx
mov ecx, dword [ebp - 0x8c]
add ecx, ebx
mov ebx, dword [ebp - 0x38]
xor dword [eax + 0xc], ecx
mov ecx, dword [ebp - 0x58]
add ecx, edi
xor dword [eax + 0x10], ecx
mov ecx, dword [ebp - 0x64]
add ecx, dword [ebp - 0x2c]
xor dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0xc]
add ecx, ebx
xor dword [eax + 0x18], ecx
mov ecx, dword [ebp - 0x10]
add ecx, edx
xor dword [eax + 0x1c], ecx
mov ecx, dword [ebp - 0x88]
add ecx, dword [ebp - 0x14]
xor dword [eax + 0x20], ecx
mov ecx, dword [ebp - 0x24]
add ecx, dword [ebp - 0x54]
xor dword [eax + 0x24], ecx
mov ecx, dword [ebp - 0x60]
add ecx, esi
xor dword [eax + 0x28], ecx
mov ecx, dword [ebp - 0x6c]
add ecx, dword [ebp - 0x18]
xor dword [eax + 0x2c], ecx
mov ecx, dword [ebp - 0x1c]
add ecx, dword [ebp - 0x78]
xor dword [eax + 0x30], ecx
mov ecx, dword [ebp + 0xc]
add ecx, dword [ebp - 0x84]
xor dword [eax + 0x34], ecx
add ebx, 1
mov dword [ebp - 0x38], ebx
jne 0x40a605
inc edx
mov dword [ebp - 0x3c], edx
add eax, 0x40
sub dword [ebp + 0x18], 1
mov dword [ebp - 0x40], eax
jne 0x40a370
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret