Function at 0x408aa0
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0xc
push ebx
mov ebx, ecx
mov ecx, dword [ebx]
mov edx, ecx
push ebp
ror edx, 8
and edx, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or edx, ecx
mov ecx, dword [ebx + 4]
xor edx, dword [eax]
push esi
push edi
mov edi, ecx
ror edi, 8
and edi, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or edi, ecx
mov ecx, dword [ebx + 8]
xor edi, dword [eax + 4]
mov ebx, dword [ebx + 0xc]
mov esi, ecx
ror esi, 8
and esi, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or esi, ecx
xor esi, dword [eax + 8]
mov ecx, ebx
ror ecx, 8
and ecx, 0xff00ff00
rol ebx, 8
and ebx, 0xff00ff
or ecx, ebx
xor ecx, dword [eax + 0xc]
mov ebp, esi
shr ebp, 8
and ebp, 0xff
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x41bcd0]
xor ebx, dword [ebp*4 + 0x41c0d0]
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x41b8d0]
mov dword [esp + 0x10], ecx
shr ecx, 8
mov ebp, edi
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x41c4d0]
mov ebp, edx
shr ebp, 0x10
and ebp, 0xff
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x41c0d0]
xor ecx, dword [ebp*4 + 0x41bcd0]
xor ebx, dword [eax + 0x10]
mov ebp, edi
shr ebp, 0x18
xor ecx, dword [ebp*4 + 0x41b8d0]
mov ebp, esi
and ebp, 0xff
xor ecx, dword [ebp*4 + 0x41c4d0]
mov dword [esp + 0x14], edx
xor ecx, dword [eax + 0x14]
shr edx, 8
mov ebp, edi
shr ebp, 0x10
and ebp, 0xff
and edx, 0xff
mov dword [esp + 0x18], edx
mov edx, dword [ebp*4 + 0x41bcd0]
mov ebp, dword [esp + 0x18]
xor edx, dword [ebp*4 + 0x41c0d0]
mov ebp, esi
shr ebp, 0x18
xor edx, dword [ebp*4 + 0x41b8d0]
mov ebp, dword [esp + 0x10]
shr esi, 0x10
and esi, 0xff
mov esi, dword [esi*4 + 0x41bcd0]
shr edi, 8
and edi, 0xff
xor esi, dword [edi*4 + 0x41c0d0]
mov edi, dword [esp + 0x10]
shr edi, 0x18
xor esi, dword [edi*4 + 0x41b8d0]
mov edi, dword [esp + 0x14]
and edi, 0xff
xor esi, dword [edi*4 + 0x41c4d0]
and ebp, 0xff
xor edx, dword [ebp*4 + 0x41c4d0]
xor esi, dword [eax + 0x1c]
xor edx, dword [eax + 0x18]
mov dword [esp + 0x10], esi
add eax, 0x20
mov dword [esp + 0x18], 6
lea esp, [esp]
mov edi, esi
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x41bcd0]
mov ebp, edx
shr ebp, 8
and ebp, 0xff
xor edi, dword [ebp*4 + 0x41c0d0]
mov ebp, ebx
shr ebp, 0x18
xor edi, dword [ebp*4 + 0x41b8d0]
mov ebp, ecx
and ebp, 0xff
xor edi, dword [ebp*4 + 0x41c4d0]
shr esi, 8
xor edi, dword [eax]
and esi, 0xff
mov esi, dword [esi*4 + 0x41c0d0]
mov dword [esp + 0x14], edi
mov edi, ebx
shr edi, 0x10
and edi, 0xff
xor esi, dword [edi*4 + 0x41bcd0]
mov edi, ecx
shr edi, 0x18
xor esi, dword [edi*4 + 0x41b8d0]
mov edi, edx
and edi, 0xff
xor esi, dword [edi*4 + 0x41c4d0]
mov edi, ecx
mov ebp, ebx
shr ebp, 8
and ebp, 0xff
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x41bcd0]
xor edi, dword [ebp*4 + 0x41c0d0]
mov ebp, edx
shr ebp, 0x18
xor edi, dword [ebp*4 + 0x41b8d0]
mov ebp, dword [esp + 0x10]
and ebp, 0xff
xor edi, dword [ebp*4 + 0x41c4d0]
shr edx, 0x10
xor edi, dword [eax + 8]
mov ebp, ecx
shr ebp, 8
and edx, 0xff
mov ecx, dword [edx*4 + 0x41bcd0]
mov edx, dword [esp + 0x10]
xor esi, dword [eax + 4]
and ebp, 0xff
xor ecx, dword [ebp*4 + 0x41c0d0]
and ebx, 0xff
shr edx, 0x18
xor ecx, dword [edx*4 + 0x41b8d0]
xor ecx, dword [ebx*4 + 0x41c4d0]
mov ebx, edi
xor ecx, dword [eax + 0xc]
shr ebx, 8
mov edx, ecx
shr edx, 0x10
and ebx, 0xff
and edx, 0xff
mov ebp, dword [edx*4 + 0x41bcd0]
xor ebp, dword [ebx*4 + 0x41c0d0]
mov edx, dword [esp + 0x14]
mov ebx, edx
shr ebx, 0x18
xor ebp, dword [ebx*4 + 0x41b8d0]
mov ebx, esi
and ebx, 0xff
xor ebp, dword [ebx*4 + 0x41c4d0]
mov dword [esp + 0x10], ecx
xor ebp, dword [eax + 0x10]
shr ecx, 8
mov ebx, ebp
mov ebp, edx
shr ebp, 0x10
and ecx, 0xff
and ebp, 0xff
mov ecx, dword [ecx*4 + 0x41c0d0]
xor ecx, dword [ebp*4 + 0x41bcd0]
mov ebp, esi
shr ebp, 0x18
xor ecx, dword [ebp*4 + 0x41b8d0]
mov ebp, edi
and ebp, 0xff
xor ecx, dword [ebp*4 + 0x41c4d0]
mov ebp, esi
xor ecx, dword [eax + 0x14]
shr ebp, 0x10
shr edx, 8
and ebp, 0xff
mov ebp, dword [ebp*4 + 0x41bcd0]
and edx, 0xff
xor ebp, dword [edx*4 + 0x41c0d0]
mov edx, edi
shr edi, 0x10
shr esi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x41bcd0]
and esi, 0xff
xor edi, dword [esi*4 + 0x41c0d0]
mov esi, dword [esp + 0x10]
shr edx, 0x18
xor ebp, dword [edx*4 + 0x41b8d0]
mov edx, dword [esp + 0x10]
shr esi, 0x18
xor edi, dword [esi*4 + 0x41b8d0]
mov esi, dword [esp + 0x14]
and edx, 0xff
xor ebp, dword [edx*4 + 0x41c4d0]
and esi, 0xff
xor edi, dword [esi*4 + 0x41c4d0]
xor ebp, dword [eax + 0x18]
xor edi, dword [eax + 0x1c]
add eax, 0x20
sub dword [esp + 0x18], 1
mov edx, ebp
mov esi, edi
mov dword [esp + 0x10], edi
jne 0x408c40
shr ebp, 8
and ebp, 0xff
mov ebp, dword [ebp*4 + str.RRRR_t_t_t_tjjjj]
and ebp, 0xff00
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + str.RRRR_t_t_t_tjjjj]
and edi, 0xff0000
xor edi, ebp
mov ebp, ebx
shr ebp, 0x18
mov ebp, dword [ebp*4 + str.RRRR_t_t_t_tjjjj]
and ebp, 0xff000000
xor edi, ebp
mov ebp, ecx
and ebp, 0xff
movzx ebp, byte [ebp*4 + str.RRRR_t_t_t_tjjjj]
xor edi, ebp
xor edi, dword [eax]
mov ebp, edi
ror ebp, 8
and ebp, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or ebp, edi
mov edi, dword [esp + 0x20]
mov dword [edi], ebp
mov edi, ebx
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + str.RRRR_t_t_t_tjjjj]
and edi, 0xff0000
mov ebp, esi
shr ebp, 8
and ebp, 0xff
mov ebp, dword [ebp*4 + str.RRRR_t_t_t_tjjjj]
and ebp, 0xff00
xor edi, ebp
mov ebp, ecx
shr ebp, 0x18
mov ebp, dword [ebp*4 + str.RRRR_t_t_t_tjjjj]
and ebp, 0xff000000
xor edi, ebp
mov ebp, edx
and ebp, 0xff
movzx ebp, byte [ebp*4 + str.RRRR_t_t_t_tjjjj]
xor edi, ebp
xor edi, dword [eax + 4]
mov ebp, edi
ror ebp, 8
and ebp, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or ebp, edi
mov edi, dword [esp + 0x20]
mov dword [edi + 4], ebp
mov edi, ecx
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + str.RRRR_t_t_t_tjjjj]
mov ebp, ebx
shr ebp, 8
and ebp, 0xff
mov ebp, dword [ebp*4 + str.RRRR_t_t_t_tjjjj]
and ebp, 0xff00
and edi, 0xff0000
xor edi, ebp
mov ebp, edx
shr ebp, 0x18
mov ebp, dword [ebp*4 + str.RRRR_t_t_t_tjjjj]
and ebp, 0xff000000
xor edi, ebp
mov ebp, esi
and ebp, 0xff
movzx ebp, byte [ebp*4 + str.RRRR_t_t_t_tjjjj]
xor edi, ebp
xor edi, dword [eax + 8]
mov ebp, edi
ror ebp, 8
and ebp, 0xff00ff00
rol edi, 8
shr edx, 0x10
shr ecx, 8
and edi, 0xff00ff
and edx, 0xff
or ebp, edi
mov edi, dword [esp + 0x20]
and ecx, 0xff
mov dword [edi + 8], ebp
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff0000
and ecx, 0xff00
xor edx, ecx
shr esi, 0x18
mov ecx, dword [esi*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff000000
xor edx, ecx
and ebx, 0xff
movzx ecx, byte [ebx*4 + str.RRRR_t_t_t_tjjjj]
xor edx, ecx
xor edx, dword [eax + 0xc]
mov eax, edx
ror eax, 8
and eax, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or eax, edx
mov dword [edi + 0xc], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret