Function at 0x406c64
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x7c
push ebx
push esi
push edi
mov ebx, edx
mov dword [ebp - 0x3c], ecx
push 0x10
mov esi, ebx
mov dword [ebp - 0x38], ebx
pop ecx
lea edi, [ebp - 0x7c]
mov dword [ebp - 0x34], 0xa
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x54]
mov edi, dword [ebp - 0x4c]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 0x44]
mov esi, dword [ebp - 0x48]
mov ebx, dword [ebp - 0x50]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x78]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x18], eax
add eax, edi
mov edi, dword [ebp - 0x30]
rol eax, 7
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
add eax, dword [ebp - 0x18]
rol eax, 9
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x10]
rol eax, 0xd
xor edi, eax
mov eax, dword [ebp - 0x14]
add eax, edi
mov dword [ebp - 0x30], edi
ror eax, 0xe
xor dword [ebp - 0x18], eax
mov eax, dword [ebp - 8]
add eax, dword [ebp - 0x1c]
rol eax, 7
xor dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
add eax, dword [ebp - 0x1c]
rol eax, 9
xor esi, eax
mov edi, dword [ebp - 0x28]
mov eax, dword [ebp - 0x20]
add eax, esi
rol eax, 0xd
xor dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, esi
ror eax, 0xe
xor dword [ebp - 0x1c], eax
mov eax, dword [ebp - 4]
add eax, edi
rol eax, 7
xor edx, eax
mov eax, dword [ebp - 4]
add eax, edx
rol eax, 9
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
add eax, edx
rol eax, 0xd
xor edi, eax
mov eax, dword [ebp - 0xc]
add eax, edi
mov dword [ebp - 0x28], edi
mov edi, dword [ebp - 0x24]
ror eax, 0xe
xor dword [ebp - 4], eax
lea eax, [ebx + ecx]
rol eax, 7
xor edi, eax
mov dword [ebp - 0x24], edi
lea eax, [edi + ecx]
mov edi, dword [ebp - 0x2c]
rol eax, 9
xor edi, eax
mov eax, dword [ebp - 0x24]
add eax, edi
mov dword [ebp - 0x2c], edi
rol eax, 0xd
xor ebx, eax
lea eax, [edi + ebx]
ror eax, 0xe
xor ecx, eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x24]
rol eax, 7
xor dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x78], eax
add eax, dword [ebp - 0x18]
rol eax, 9
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x74], eax
add eax, dword [ebp - 8]
rol eax, 0xd
mov edi, dword [ebp - 0x24]
xor edi, eax
mov eax, dword [ebp - 0xc]
add eax, edi
mov dword [ebp - 0x24], edi
ror eax, 0xe
mov dword [ebp - 0x70], edi
mov edi, dword [ebp - 0x18]
xor edi, eax
mov eax, dword [ebp - 0x1c]
add eax, dword [ebp - 0x10]
rol eax, 7
xor dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x64], eax
add eax, dword [ebp - 0x1c]
rol eax, 9
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x7c], edi
mov edi, dword [ebp - 0x2c]
xor edi, eax
mov eax, dword [ebp - 0x28]
add eax, edi
mov dword [ebp - 0x2c], edi
rol eax, 0xd
xor dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x6c], eax
add eax, edi
ror eax, 0xe
mov dword [ebp - 0x60], edi
mov edi, dword [ebp - 0x1c]
xor edi, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x68], edi
mov edi, dword [ebp - 0x20]
add eax, edi
rol eax, 7
xor ebx, eax
mov eax, dword [ebp - 4]
add eax, ebx
rol eax, 9
xor dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x5c], eax
add eax, ebx
rol eax, 0xd
xor edi, eax
mov eax, edi
mov dword [ebp - 0x20], edi
mov edi, dword [ebp - 0x30]
mov dword [ebp - 0x58], eax
add eax, dword [ebp - 0x14]
ror eax, 0xe
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x54], eax
lea eax, [ecx + edx]
rol eax, 7
xor edi, eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x4c], edi
lea eax, [ecx + edi]
rol eax, 9
xor esi, eax
lea eax, [esi + edi]
rol eax, 0xd
xor edx, eax
lea eax, [edx + esi]
ror eax, 0xe
xor ecx, eax
dec dword [ebp - 0x34]
mov eax, dword [ebp - 0x18]
jne 0x406cda
mov dword [ebp - 0x50], ebx
lea eax, [ebp - 0x7c]
mov ebx, dword [ebp - 0x38]
mov dword [ebp - 0x44], edx
xor edx, edx
mov dword [ebp - 0x40], ecx
sub ebx, eax
mov dword [ebp - 0x48], esi
lea eax, [ebx + edx*4]
mov eax, dword [ebp + eax - 0x7c]
add dword [ebp + edx*4 - 0x7c], eax
inc edx
cmp edx, 0x10
jl 0x406ea5
mov edi, dword [ebp - 0x3c]
lea esi, [ebp - 0x7c]
push 0x10
pop ecx
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret