Function at 0x408a52
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, eax
mov eax, dword [ecx + 4]
mov dword [ebp - 4], eax
mov eax, ebx
shr eax, 3
push edi
mov edi, edx
mov edx, dword [ecx]
mov dword [ebp - 0x14], eax
mov eax, 0xff
je 0x408ca1
inc edx
and edx, eax
mov ebx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
and edx, eax
mov ebx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov ebx, dword [ebp - 4]
mov byte [esi], dl
mov edx, dword [ebp - 8]
inc esi
inc edi
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov ebx, dword [ebp - 4]
mov byte [esi], dl
mov edx, dword [ebp - 8]
inc esi
inc edi
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov ebx, dword [ebp - 4]
mov byte [esi], dl
mov edx, dword [ebp - 8]
inc esi
inc edi
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
and edx, eax
mov ebx, dword [ebp - 8]
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov ebx, dword [ebp - 4]
mov byte [esi], dl
mov edx, dword [ebp - 8]
inc esi
inc edi
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov ebx, dword [ebp - 4]
mov byte [esi], dl
mov edx, dword [ebp - 8]
inc esi
inc edi
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov ebx, dword [ebp - 4]
mov byte [esi], dl
mov edx, dword [ebp - 8]
inc esi
inc edi
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0x10], edx
mov dword [ecx + ebx*4 + 8], edx
mov edx, dword [ebp - 0xc]
mov ebx, dword [ebp - 4]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov ebx, dword [ebp - 4]
mov byte [esi], dl
mov edx, dword [ebp - 8]
inc esi
inc edi
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov byte [esi], dl
mov edx, dword [ebp - 8]
inc esi
inc edi
dec dword [ebp - 0x14]
jne 0x408a7d
mov ebx, dword [ebp + 8]
and ebx, 7
mov dword [ebp - 0x14], ebx
je 0x408ec5
jmp 0x408e79
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov byte [esi], dl
inc esi
inc edi
dec dword [ebp - 0x14]
je 0x408ec2
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov byte [esi], dl
inc esi
inc edi
dec dword [ebp - 0x14]
je 0x408ec2
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov byte [esi], dl
inc esi
inc edi
dec dword [ebp - 0x14]
je 0x408ec2
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov byte [esi], dl
inc esi
inc edi
dec dword [ebp - 0x14]
je 0x408ec2
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov byte [esi], dl
inc esi
inc edi
dec dword [ebp - 0x14]
je 0x408ec2
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov byte [esi], dl
inc esi
inc edi
dec dword [ebp - 0x14]
je 0x408ec2
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
inc edx
and edx, eax
mov dword [ebp - 8], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ebp - 0xc], edx
add edx, ebx
mov ebx, dword [ebp - 8]
and edx, eax
mov dword [ebp - 4], edx
mov edx, dword [ecx + edx*4 + 8]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 4]
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
mov dword [ecx + ebx*4 + 8], edx
mov ebx, dword [ebp - 0x10]
add ebx, edx
and ebx, eax
mov dl, byte [ecx + ebx*4 + 8]
xor dl, byte [edi]
mov byte [esi], dl
inc esi
inc edi
dec dword [ebp - 0x14]
jne 0x408cb2
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
pop edi
pop esi
mov dword [ecx], edx
mov dword [ecx + 4], eax
pop ebx
leave
ret