Function at 0x406817
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
push 0x10
pop ecx
lea edi, [ebp - 0x74]
mov dword [ebp - 0x34], 0xa
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x4c]
mov edi, dword [ebp - 0x44]
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x3c]
mov esi, dword [ebp - 0x40]
mov ebx, dword [ebp - 0x48]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x6c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x74]
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
rol eax, 0x12
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
rol eax, 0x12
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]
rol eax, 0x12
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]
rol eax, 0x12
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 - 0x70], eax
add eax, dword [ebp - 0x18]
rol eax, 9
xor dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x6c], 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
rol eax, 0x12
mov dword [ebp - 0x68], 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 - 0x5c], eax
add eax, dword [ebp - 0x1c]
rol eax, 9
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x74], 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 - 0x64], eax
add eax, edi
rol eax, 0x12
mov dword [ebp - 0x58], edi
mov edi, dword [ebp - 0x1c]
xor edi, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x60], 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 - 0x54], 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 - 0x50], eax
add eax, dword [ebp - 0x14]
rol eax, 0x12
xor dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x4c], eax
lea eax, [ecx + edx]
rol eax, 7
xor edi, eax
mov dword [ebp - 0x30], edi
mov dword [ebp - 0x44], 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]
rol eax, 0x12
xor ecx, eax
sub dword [ebp - 0x34], 1
mov eax, dword [ebp - 0x18]
jne 0x406886
mov dword [ebp - 0x48], ebx
lea eax, [ebp - 0x74]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x3c], edx
xor edx, edx
mov dword [ebp - 0x38], ecx
sub ebx, eax
mov dword [ebp - 0x40], esi
lea eax, [ebx + edx*4]
mov eax, dword [ebp + eax - 0x74]
add dword [ebp + edx*4 - 0x74], eax
inc edx
cmp edx, 0x10
jl 0x406a52
mov edi, dword [ebp + 8]
lea esi, [ebp - 0x74]
push 0x10
pop ecx
rep movsd dword es:[edi], dword [esi]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret