Function at 0x408040
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
push esi
push edi
mov edx, dword [ecx]
mov esi, edx
ror esi, 8
and esi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or esi, edx
mov edx, dword [ecx + 4]
mov dword [eax], esi
mov esi, edx
ror esi, 8
and esi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or esi, edx
mov edx, dword [ecx + 8]
mov dword [eax + 4], esi
mov esi, edx
ror esi, 8
and esi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or esi, edx
mov edx, dword [ecx + 0xc]
mov dword [eax + 8], esi
mov esi, edx
ror esi, 8
and esi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or esi, edx
mov edx, dword [ecx + 0x10]
mov dword [eax + 0xc], esi
mov esi, edx
ror esi, 8
and esi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or esi, edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x10], esi
mov esi, edx
ror esi, 8
and esi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or esi, edx
mov edx, dword [ecx + 0x18]
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0x14], esi
mov esi, edx
ror esi, 8
and esi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or esi, edx
mov edx, ecx
ror edx, 8
and edx, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or edx, ecx
mov dword [eax + 0x18], esi
mov ecx, edx
shr ecx, 0x10
and ecx, 0xff
mov esi, edx
shr esi, 8
and esi, 0xff
mov dword [eax + 0x1c], edx
mov ecx, dword [ecx*4 + str.ccccwwww]
mov esi, dword [esi*4 + str.ccccwwww]
xor ecx, 0x1000000
and esi, 0xff0000
and ecx, 0xff000000
xor ecx, esi
mov esi, edx
shr esi, 0x18
movzx esi, byte [esi*4 + str.ccccwwww]
and edx, 0xff
mov edx, dword [edx*4 + str.ccccwwww]
xor ecx, esi
and edx, 0xff00
xor ecx, edx
xor ecx, dword [eax]
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [eax + 0x20], ecx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x24], edx
mov edx, dword [eax + 0xc]
xor edx, ecx
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], edx
mov esi, 0x41ccd4
mov edi, edi
mov edx, dword [eax + 0x2c]
mov ecx, edx
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
mov edi, edx
shr edi, 8
and ecx, 0xff0000
and edi, 0xff
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff00
xor ecx, edi
mov edi, edx
and edx, 0xff
movzx edx, byte [edx*4 + str.ccccwwww]
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff000000
xor ecx, edi
xor ecx, edx
xor ecx, dword [eax + 0x10]
mov edx, dword [eax + 0x14]
xor edx, ecx
mov dword [eax + 0x30], ecx
mov ecx, dword [eax + 0x18]
xor ecx, edx
mov dword [eax + 0x34], edx
mov edx, dword [eax + 0x1c]
xor edx, ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], edx
mov edx, dword [eax + 0x3c]
add eax, 0x20
mov ecx, edx
shr ecx, 8
mov edi, edx
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + str.ccccwwww]
and ecx, 0xff0000
and edi, 0xff000000
xor ecx, edi
mov edi, edx
and edx, 0xff
mov edx, dword [edx*4 + str.ccccwwww]
shr edi, 0x18
movzx edi, byte [edi*4 + str.ccccwwww]
xor ecx, edi
and edx, 0xff00
xor ecx, edx
xor ecx, dword [eax]
add esi, 4
xor ecx, dword [esi - 4]
mov dword [eax + 0x20], ecx
mov edx, dword [eax + 4]
xor edx, ecx
mov dword [eax + 0x24], edx
mov ecx, dword [eax + 8]
xor ecx, edx
mov dword [eax + 0x28], ecx
mov edx, dword [eax + 0xc]
xor edx, ecx
mov dword [eax + 0x2c], edx
cmp esi, 0x41ccec
jne 0x4081a0
pop edi
mov eax, 0xe
pop esi
ret