Function at 0x49a7a0
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
push ebp
push esi
push edi
mov edi, dword [esp + 0x28]
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [esp + 0x20]
xor ecx, dword [eax]
mov esi, edx
ror esi, 8
and esi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or esi, edx
mov edx, dword [edi + 8]
xor esi, dword [eax + 4]
mov edi, dword [edi + 0xc]
mov ebx, edx
ror ebx, 8
and ebx, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or ebx, edx
xor ebx, dword [eax + 8]
mov edx, edi
ror edx, 8
and edx, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or edx, edi
xor edx, dword [eax + 0xc]
mov dword [esp + 0x28], ecx
shr ecx, 0x18
mov edi, edx
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x4ed5d0]
movzx ebp, bh
xor edi, dword [ebp*4 + 0x4ed9d0]
mov dword [esp + 0x14], esi
xor edi, dword [ecx*4 + 0x4ed1d0]
mov ecx, esi
and ecx, 0xff
xor edi, dword [ecx*4 + 0x4eddd0]
movzx ecx, dh
xor edi, dword [eax + 0x10]
mov ecx, dword [ecx*4 + 0x4ed9d0]
mov dword [esp + 0x20], edi
mov edi, dword [esp + 0x28]
shr edi, 0x10
and edi, 0xff
xor ecx, dword [edi*4 + 0x4ed5d0]
mov edi, esi
shr edi, 0x18
xor ecx, dword [edi*4 + 0x4ed1d0]
mov edi, ebx
and edi, 0xff
xor ecx, dword [edi*4 + 0x4eddd0]
movzx edi, byte [esp + 0x29]
xor ecx, dword [eax + 0x14]
shr esi, 0x10
mov dword [esp + 0x10], ecx
and esi, 0xff
mov ecx, dword [esi*4 + 0x4ed5d0]
xor ecx, dword [edi*4 + 0x4ed9d0]
mov esi, ebx
shr esi, 0x18
xor ecx, dword [esi*4 + 0x4ed1d0]
mov dword [esp + 0x18], edx
and edx, 0xff
xor ecx, dword [edx*4 + 0x4eddd0]
shr ebx, 0x10
xor ecx, dword [eax + 0x18]
and ebx, 0xff
movzx edx, byte [esp + 0x15]
mov ebx, dword [ebx*4 + 0x4ed5d0]
xor ebx, dword [edx*4 + 0x4ed9d0]
mov edx, dword [esp + 0x18]
mov edi, dword [esp + 0x24]
shr edx, 0x18
xor ebx, dword [edx*4 + 0x4ed1d0]
mov edx, dword [esp + 0x28]
and edx, 0xff
xor ebx, dword [edx*4 + 0x4eddd0]
sar edi, 1
xor ebx, dword [eax + 0x1c]
add eax, 0x20
sub edi, 1
mov dword [esp + 0x18], ebx
je 0x49ab45
mov ebp, dword [esp + 0x10]
mov edx, ebx
shr edx, 0x10
and edx, 0xff
movzx esi, ch
mov dword [esp + 0x28], esi
mov esi, dword [edx*4 + 0x4ed5d0]
mov edx, dword [esp + 0x28]
xor esi, dword [edx*4 + 0x4ed9d0]
mov edx, dword [esp + 0x20]
shr edx, 0x18
xor esi, dword [edx*4 + 0x4ed1d0]
mov edx, ebp
and edx, 0xff
xor esi, dword [edx*4 + 0x4eddd0]
movzx edx, bh
xor esi, dword [eax]
mov edx, dword [edx*4 + 0x4ed9d0]
mov dword [esp + 0x28], esi
mov esi, dword [esp + 0x20]
shr esi, 0x10
and esi, 0xff
xor edx, dword [esi*4 + 0x4ed5d0]
mov esi, ebp
shr esi, 0x18
xor edx, dword [esi*4 + 0x4ed1d0]
mov esi, ecx
and esi, 0xff
xor edx, dword [esi*4 + 0x4eddd0]
movzx esi, byte [esp + 0x21]
xor edx, dword [eax + 4]
shr ebp, 0x10
mov dword [esp + 0x14], edx
and ebp, 0xff
mov edx, dword [ebp*4 + 0x4ed5d0]
xor edx, dword [esi*4 + 0x4ed9d0]
mov esi, ecx
shr esi, 0x18
xor edx, dword [esi*4 + 0x4ed1d0]
movzx esi, byte [esp + 0x11]
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x4ed5d0]
xor ecx, dword [esi*4 + 0x4ed9d0]
mov esi, dword [esp + 0x18]
shr esi, 0x18
xor ecx, dword [esi*4 + 0x4ed1d0]
mov esi, dword [esp + 0x20]
and esi, 0xff
xor ecx, dword [esi*4 + 0x4eddd0]
and ebx, 0xff
xor edx, dword [ebx*4 + 0x4eddd0]
xor ecx, dword [eax + 0xc]
xor edx, dword [eax + 8]
mov esi, ecx
shr esi, 0x10
and esi, 0xff
mov esi, dword [esi*4 + 0x4ed5d0]
movzx ebx, dh
xor esi, dword [ebx*4 + 0x4ed9d0]
mov ebx, dword [esp + 0x28]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x4ed1d0]
mov ebx, dword [esp + 0x14]
and ebx, 0xff
xor esi, dword [ebx*4 + 0x4eddd0]
mov ebx, dword [esp + 0x28]
xor esi, dword [eax + 0x10]
shr ebx, 0x10
mov dword [esp + 0x20], esi
and ebx, 0xff
movzx esi, ch
mov esi, dword [esi*4 + 0x4ed9d0]
xor esi, dword [ebx*4 + 0x4ed5d0]
mov ebx, dword [esp + 0x14]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x4ed1d0]
mov ebx, edx
and ebx, 0xff
xor esi, dword [ebx*4 + 0x4eddd0]
mov dword [esp + 0x18], ecx
xor esi, dword [eax + 0x14]
movzx ebx, byte [esp + 0x29]
mov dword [esp + 0x10], esi
mov esi, dword [esp + 0x14]
shr esi, 0x10
and esi, 0xff
mov esi, dword [esi*4 + 0x4ed5d0]
xor esi, dword [ebx*4 + 0x4ed9d0]
mov ebx, edx
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x4ed1d0]
and ecx, 0xff
xor esi, dword [ecx*4 + 0x4eddd0]
shr edx, 0x10
xor esi, dword [eax + 0x18]
and edx, 0xff
mov ebx, dword [edx*4 + 0x4ed5d0]
mov edx, dword [esp + 0x18]
mov ecx, esi
movzx esi, byte [esp + 0x15]
xor ebx, dword [esi*4 + 0x4ed9d0]
shr edx, 0x18
xor ebx, dword [edx*4 + 0x4ed1d0]
mov edx, dword [esp + 0x28]
and edx, 0xff
xor ebx, dword [edx*4 + 0x4eddd0]
add eax, 0x20
xor ebx, dword [eax - 4]
sub edi, 1
mov dword [esp + 0x18], ebx
jne 0x49a930
mov edx, ebx
shr edx, 0x10
and edx, 0xff
mov esi, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and esi, 0xff0000
movzx edx, ch
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff00
xor esi, edx
mov edx, dword [esp + 0x20]
shr edx, 0x18
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff000000
xor esi, edx
mov edx, dword [esp + 0x10]
and edx, 0xff
movzx edx, byte [edx*4 + str.RRRR_t_t_t_tjjjj]
xor esi, edx
xor esi, dword [eax]
mov edi, dword [esp + 0x2c]
mov edx, esi
ror edx, 8
and edx, 0xff00ff00
rol esi, 8
and esi, 0xff00ff
or edx, esi
mov dword [edi], edx
mov edx, dword [esp + 0x20]
shr edx, 0x10
and edx, 0xff
mov esi, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and esi, 0xff0000
movzx edx, bh
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff00
xor esi, edx
mov edx, dword [esp + 0x10]
shr edx, 0x18
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff000000
xor esi, edx
mov edx, ecx
and edx, 0xff
movzx edx, byte [edx*4 + str.RRRR_t_t_t_tjjjj]
xor esi, edx
xor esi, dword [eax + 4]
mov edx, esi
ror edx, 8
and edx, 0xff00ff00
rol esi, 8
and esi, 0xff00ff
or edx, esi
mov dword [edi + 4], edx
mov edx, dword [esp + 0x10]
shr edx, 0x10
and edx, 0xff
mov esi, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
mov edx, dword [esp + 0x20]
and esi, 0xff0000
movzx ebp, dh
mov ebp, dword [ebp*4 + str.RRRR_t_t_t_tjjjj]
and ebp, 0xff00
xor esi, ebp
mov ebp, ecx
shr ebp, 0x18
mov ebp, dword [ebp*4 + str.RRRR_t_t_t_tjjjj]
and ebp, 0xff000000
xor esi, ebp
mov ebp, ebx
and ebp, 0xff
movzx ebp, byte [ebp*4 + str.RRRR_t_t_t_tjjjj]
xor esi, ebp
xor esi, dword [eax + 8]
mov ebp, esi
ror ebp, 8
and ebp, 0xff00ff00
rol esi, 8
and esi, 0xff00ff
or ebp, esi
mov dword [edi + 8], ebp
shr ecx, 0x10
movzx esi, byte [esp + 0x11]
mov esi, dword [esi*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff0000
and esi, 0xff00
xor ecx, esi
shr ebx, 0x18
mov esi, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff
movzx edx, byte [edx*4 + str.RRRR_t_t_t_tjjjj]
and esi, 0xff000000
xor ecx, esi
xor ecx, edx
xor ecx, dword [eax + 0xc]
mov eax, ecx
ror eax, 8
and eax, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or eax, ecx
mov dword [edi + 0xc], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret