Function at 0x4e3a10
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 ecx, dword [esp + 0x18]
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [edi]
mov ebp, eax
ror ebp, 8
and ebp, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ebp, eax
xor ebp, dword [ecx]
mov eax, dword [edi + 4]
mov edx, eax
ror edx, 8
and edx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or edx, eax
mov eax, dword [edi + 8]
xor edx, dword [ecx + 4]
mov edi, dword [edi + 0xc]
mov esi, eax
ror esi, 8
and esi, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or esi, eax
xor esi, dword [ecx + 8]
mov eax, edi
ror eax, 8
and eax, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or eax, edi
xor eax, dword [ecx + 0xc]
mov ebx, esi
shr ebx, 8
and ebx, 0xff
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x569500]
xor edi, dword [ebx*4 + 0x569900]
mov ebx, ebp
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x569100]
mov dword [esp + 0x10], eax
shr eax, 8
mov ebx, edx
and ebx, 0xff
xor edi, dword [ebx*4 + 0x569d00]
and eax, 0xff
mov eax, dword [eax*4 + 0x569900]
xor edi, dword [ecx + 0x10]
mov ebx, ebp
shr ebx, 0x10
and ebx, 0xff
xor eax, dword [ebx*4 + 0x569500]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x569100]
mov ebx, esi
and ebx, 0xff
xor eax, dword [ebx*4 + 0x569d00]
mov ebx, ebp
xor eax, dword [ecx + 0x14]
mov ecx, edx
shr ecx, 0x10
shr ebx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x569500]
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x569900]
mov ebx, esi
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x569100]
mov ebx, dword [esp + 0x10]
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x569d00]
mov ebx, dword [esp + 0x24]
xor ecx, dword [ebx + 0x18]
shr edx, 8
shr esi, 0x10
and edx, 0xff
and esi, 0xff
mov ebx, dword [esi*4 + 0x569500]
xor ebx, dword [edx*4 + 0x569900]
mov edx, dword [esp + 0x10]
shr edx, 0x18
xor ebx, dword [edx*4 + 0x569100]
mov edx, dword [esp + 0x24]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x569d00]
lea esi, [edx + 0x20]
xor ebx, dword [edx + 0x1c]
mov edx, dword [edx + 0xf0]
sar edx, 1
sub edx, 1
mov dword [esp + 0x24], esi
mov dword [esp + 0x14], edx
je 0x4e3de3
mov edx, ebx
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x569500]
mov ebp, ecx
shr ebp, 8
and ebp, 0xff
xor edx, dword [ebp*4 + 0x569900]
mov ebp, edi
shr ebp, 0x18
xor edx, dword [ebp*4 + 0x569100]
mov ebp, eax
and ebp, 0xff
xor edx, dword [ebp*4 + 0x569d00]
mov ebp, edi
xor edx, dword [esi]
shr ebp, 0x10
and ebp, 0xff
mov dword [esp + 0x10], edx
mov edx, ebx
shr edx, 8
and edx, 0xff
mov edx, dword [edx*4 + 0x569900]
xor edx, dword [ebp*4 + 0x569500]
mov ebp, eax
shr ebp, 0x18
xor edx, dword [ebp*4 + 0x569100]
mov ebp, ecx
and ebp, 0xff
xor edx, dword [ebp*4 + 0x569d00]
mov ebp, edi
xor edx, dword [esi + 4]
shr ebp, 8
mov esi, eax
and ebp, 0xff
shr esi, 0x10
and esi, 0xff
mov esi, dword [esi*4 + 0x569500]
xor esi, dword [ebp*4 + 0x569900]
mov ebp, ecx
shr ebp, 0x18
xor esi, dword [ebp*4 + 0x569100]
mov ebp, ebx
and ebp, 0xff
xor esi, dword [ebp*4 + 0x569d00]
mov ebp, dword [esp + 0x24]
xor esi, dword [ebp + 8]
shr ecx, 0x10
and ecx, 0xff
mov ebp, dword [ecx*4 + 0x569500]
shr eax, 8
and eax, 0xff
xor ebp, dword [eax*4 + 0x569900]
mov eax, dword [esp + 0x24]
shr ebx, 0x18
xor ebp, dword [ebx*4 + 0x569100]
and edi, 0xff
xor ebp, dword [edi*4 + 0x569d00]
mov edi, esi
xor ebp, dword [eax + 0xc]
shr edi, 8
mov ecx, ebp
shr ecx, 0x10
and edi, 0xff
and ecx, 0xff
mov ebx, dword [ecx*4 + 0x569500]
xor ebx, dword [edi*4 + 0x569900]
mov ecx, dword [esp + 0x10]
mov edi, ecx
shr edi, 0x18
xor ebx, dword [edi*4 + 0x569100]
mov edi, edx
and edi, 0xff
xor ebx, dword [edi*4 + 0x569d00]
xor ebx, dword [eax + 0x10]
mov eax, ebp
mov edi, ebx
shr eax, 8
mov ebx, ecx
and eax, 0xff
shr ebx, 0x10
mov eax, dword [eax*4 + 0x569900]
and ebx, 0xff
xor eax, dword [ebx*4 + 0x569500]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x569100]
mov ebx, esi
and ebx, 0xff
xor eax, dword [ebx*4 + 0x569d00]
mov ebx, dword [esp + 0x24]
xor eax, dword [ebx + 0x14]
mov ebx, edx
shr ebx, 0x10
shr ecx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x569500]
and ecx, 0xff
xor ebx, dword [ecx*4 + 0x569900]
mov ecx, esi
shr esi, 0x10
and esi, 0xff
mov esi, dword [esi*4 + 0x569500]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x569100]
shr edx, 8
and edx, 0xff
xor esi, dword [edx*4 + 0x569900]
mov edx, dword [esp + 0x10]
mov ecx, ebp
and ecx, 0xff
xor ebx, dword [ecx*4 + 0x569d00]
shr ebp, 0x18
xor esi, dword [ebp*4 + 0x569100]
and edx, 0xff
xor esi, dword [edx*4 + 0x569d00]
mov ecx, ebx
mov ebx, dword [esp + 0x24]
xor esi, dword [ebx + 0x1c]
xor ecx, dword [ebx + 0x18]
add dword [esp + 0x24], 0x20
sub dword [esp + 0x14], 1
mov ebx, esi
mov esi, dword [esp + 0x24]
jne 0x4e3bb2
mov edx, ebx
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff0000
mov ebp, ecx
shr ebp, 8
and ebp, 0xff
mov ebp, dword [ebp*4 + str.RRRR_t_t_t_tjjjj]
and ebp, 0xff00
xor edx, ebp
mov ebp, edi
shr ebp, 0x18
mov ebp, dword [ebp*4 + str.RRRR_t_t_t_tjjjj]
and ebp, 0xff000000
xor edx, ebp
mov ebp, eax
and ebp, 0xff
movzx ebp, byte [ebp*4 + str.RRRR_t_t_t_tjjjj]
xor edx, ebp
xor edx, dword [esi]
mov ebp, edx
ror ebp, 8
and ebp, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or ebp, edx
mov edx, dword [esp + 0x20]
mov dword [edx], ebp
mov edx, edi
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff0000
mov ebp, ebx
shr ebp, 8
and ebp, 0xff
mov ebp, dword [ebp*4 + str.RRRR_t_t_t_tjjjj]
and ebp, 0xff00
xor edx, ebp
mov ebp, eax
shr ebp, 0x18
mov ebp, dword [ebp*4 + str.RRRR_t_t_t_tjjjj]
and ebp, 0xff000000
xor edx, ebp
mov ebp, ecx
and ebp, 0xff
movzx ebp, byte [ebp*4 + str.RRRR_t_t_t_tjjjj]
xor edx, ebp
xor edx, dword [esi + 4]
mov ebp, edx
ror ebp, 8
and ebp, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or ebp, edx
mov edx, dword [esp + 0x20]
mov dword [edx + 4], ebp
mov edx, eax
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
mov ebp, edi
shr ebp, 8
and ebp, 0xff
mov ebp, dword [ebp*4 + str.RRRR_t_t_t_tjjjj]
and ebp, 0xff00
and edx, 0xff0000
xor edx, ebp
mov ebp, ecx
shr ebp, 0x18
mov ebp, dword [ebp*4 + str.RRRR_t_t_t_tjjjj]
and ebp, 0xff000000
xor edx, ebp
mov ebp, ebx
and ebp, 0xff
movzx ebp, byte [ebp*4 + str.RRRR_t_t_t_tjjjj]
xor edx, ebp
xor edx, dword [esi + 8]
mov ebp, edx
ror ebp, 8
and ebp, 0xff00ff00
shr ecx, 0x10
shr eax, 8
rol edx, 8
and ecx, 0xff
and eax, 0xff
and edx, 0xff00ff
or ebp, edx
mov edx, dword [esp + 0x20]
mov dword [edx + 8], ebp
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff00
and ecx, 0xff0000
xor ecx, eax
shr ebx, 0x18
mov eax, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff000000
xor ecx, eax
and edi, 0xff
movzx eax, byte [edi*4 + str.RRRR_t_t_t_tjjjj]
xor ecx, eax
xor ecx, dword [esi + 0xc]
pop edi
mov eax, ecx
ror eax, 8
and eax, 0xff00ff00
rol ecx, 8
pop esi
and ecx, 0xff00ff
or eax, ecx
pop ebp
mov dword [edx + 0xc], eax
pop ebx
add esp, 0xc
ret