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

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x14]
movzx edx, byte [ecx + 1]
push ebx
push ebp
push esi
movzx esi, byte [ecx]
movzx ebp, byte [ecx + 8]
shl esi, 8
xor esi, edx
movzx edx, byte [ecx + 2]
push edi
movzx edi, byte [ecx + 5]
shl esi, 8
xor esi, edx
movzx edx, byte [ecx + 3]
movzx ebx, byte [ecx + 0xd]
shl esi, 8
xor esi, edx
movzx edx, byte [ecx + 4]
shl edx, 8
xor edx, edi
movzx edi, byte [ecx + 6]
shl edx, 8
xor edx, edi
movzx edi, byte [ecx + 7]
shl edx, 8
xor edx, edi
movzx edi, byte [ecx + 9]
mov eax, dword [esp + 0x20]
shl ebp, 8
xor ebp, edi
movzx edi, byte [ecx + 0xa]
shl ebp, 8
xor ebp, edi
movzx edi, byte [ecx + 0xb]
xor esi, dword [eax + 0xf0]
shl ebp, 8
xor ebp, edi
movzx edi, byte [ecx + 0xc]
xor ebp, dword [eax + 0xf8]
shl edi, 8
xor edi, ebx
movzx ebx, byte [ecx + 0xe]
movzx ecx, byte [ecx + 0xf]
xor edx, dword [eax + 0xf4]
shl edi, 8
xor edi, ebx
shl edi, 8
xor edi, ecx
xor edi, dword [eax + 0xfc]
add eax, 0xf0
mov ecx, edi
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x102572f8]
mov ebx, ebp
shr ebx, 8
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x102576f8]
mov ebx, esi
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x10256ef8]
mov dword [esp + 0x18], edi
mov ebx, edx
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x10257af8]
shr edi, 8
xor ecx, dword [eax + 0x10]
and edi, 0xff
mov edi, dword [edi*4 + 0x102576f8]
mov ebx, esi
shr ebx, 0x10
and ebx, 0xff
xor edi, dword [ebx*4 + 0x102572f8]
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x10256ef8]
mov ebx, ebp
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], ecx
and ebx, 0xff
xor edi, dword [ebx*4 + 0x10257af8]
mov ebx, edx
shr ebx, 0x10
xor edi, dword [eax + 0x14]
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x102572f8]
shr esi, 8
and esi, 0xff
xor ebx, dword [esi*4 + 0x102576f8]
mov esi, ebp
shr ebp, 0x10
shr edx, 8
and edx, 0xff
and ebp, 0xff
mov ebp, dword [ebp*4 + 0x102572f8]
xor ebp, dword [edx*4 + 0x102576f8]
mov edx, dword [esp + 0x18]
shr edx, 0x18
xor ebp, dword [edx*4 + 0x10256ef8]
mov edx, dword [esp + 0x10]
shr esi, 0x18
xor ebx, dword [esi*4 + 0x10256ef8]
mov esi, dword [esp + 0x18]
and edx, 0xff
xor ebp, dword [edx*4 + 0x10257af8]
mov edx, dword [esp + 0x20]
mov edx, dword [edx + 0x1e0]
xor ebp, dword [eax + 0x1c]
and esi, 0xff
xor ebx, dword [esi*4 + 0x10257af8]
sar edx, 1
xor ebx, dword [eax + 0x18]
add eax, 0x20
sub edx, 1
mov dword [esp + 0x14], edi
mov dword [esp + 0x20], edx
je 0x1020d4c3
lea esp, [esp]
mov esi, ebx
mov edx, ebp
shr edx, 0x10
and edx, 0xff
shr esi, 8
and esi, 0xff
mov dword [esp + 0x18], esi
mov esi, dword [edx*4 + 0x102572f8]
mov edx, dword [esp + 0x18]
xor esi, dword [edx*4 + 0x102576f8]
mov edx, ecx
shr edx, 0x18
xor esi, dword [edx*4 + 0x10256ef8]
mov edx, edi
and edx, 0xff
xor esi, dword [edx*4 + 0x10257af8]
mov edx, ebp
shr edx, 8
and edx, 0xff
shr ecx, 0x10
and ecx, 0xff
mov dword [esp + 0x18], ecx
mov ecx, dword [edx*4 + 0x102576f8]
mov edx, dword [esp + 0x18]
xor ecx, dword [edx*4 + 0x102572f8]
mov edx, edi
shr edx, 0x18
xor ecx, dword [edx*4 + 0x10256ef8]
mov edx, ebx
and edx, 0xff
xor ecx, dword [edx*4 + 0x10257af8]
mov edx, dword [esp + 0x24]
shr edi, 0x10
and edi, 0xff
shr edx, 8
and edx, 0xff
mov dword [esp + 0x18], edx
mov edx, dword [edi*4 + 0x102572f8]
mov edi, dword [esp + 0x18]
xor edx, dword [edi*4 + 0x102576f8]
mov edi, ebx
shr edi, 0x18
xor edx, dword [edi*4 + 0x10256ef8]
mov edi, ebp
and edi, 0xff
xor edx, dword [edi*4 + 0x10257af8]
mov edi, dword [esp + 0x14]
xor edx, dword [eax + 8]
shr ebx, 0x10
and ebx, 0xff
xor esi, dword [eax]
shr edi, 8
and edi, 0xff
xor ecx, dword [eax + 4]
mov dword [esp + 0x18], edi
mov edi, dword [ebx*4 + 0x102572f8]
mov ebx, dword [esp + 0x18]
xor edi, dword [ebx*4 + 0x102576f8]
mov ebx, dword [esp + 0x24]
shr ebp, 0x18
xor edi, dword [ebp*4 + 0x10256ef8]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x10257af8]
mov ebp, edx
xor edi, dword [eax + 0xc]
shr ebp, 8
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x102572f8]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x102576f8]
mov ebp, esi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x10256ef8]
mov ebp, ecx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x10257af8]
xor ebx, dword [eax + 0x10]
mov dword [esp + 0x24], ebx
mov ebx, edi
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x102576f8]
mov ebp, esi
shr ebp, 0x10
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x102572f8]
mov ebp, ecx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x10256ef8]
mov ebp, edx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x10257af8]
mov ebp, esi
xor ebx, dword [eax + 0x14]
shr ebp, 8
mov dword [esp + 0x14], ebx
and ebp, 0xff
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x102572f8]
xor ebx, dword [ebp*4 + 0x102576f8]
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x10256ef8]
mov ebp, edi
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x10257af8]
shr edx, 0x10
xor ebx, dword [eax + 0x18]
shr ecx, 8
and edx, 0xff
mov ebp, dword [edx*4 + 0x102572f8]
and ecx, 0xff
xor ebp, dword [ecx*4 + 0x102576f8]
mov ecx, dword [esp + 0x24]
shr edi, 0x18
xor ebp, dword [edi*4 + 0x10256ef8]
mov edi, dword [esp + 0x14]
and esi, 0xff
xor ebp, dword [esi*4 + 0x10257af8]
add eax, 0x20
xor ebp, dword [eax - 4]
sub dword [esp + 0x20], 1
jne 0x1020d280
mov edx, ebp
shr edx, 0x10
and edx, 0xff
mov esi, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and esi, 0xff0000
mov edx, ebx
shr edx, 8
and edx, 0xff
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff00
xor esi, edx
mov edx, ecx
shr edx, 0x18
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff000000
xor esi, edx
mov edx, edi
and edx, 0xff
movzx edx, byte [edx*4 + str.RRRR_t_t_t_tjjjj]
xor esi, edx
xor esi, dword [eax]
mov dword [esp + 0x10], esi
mov edx, esi
shr edx, 0x18
mov esi, dword [esp + 0x28]
mov byte [esi], dl
mov edx, dword [esp + 0x10]
shr edx, 0x10
mov byte [esi + 1], dl
mov edx, dword [esp + 0x10]
shr edx, 8
mov byte [esi + 2], dl
movzx edx, byte [esp + 0x10]
mov byte [esi + 3], dl
mov edx, ecx
shr edx, 0x10
and edx, 0xff
mov esi, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and esi, 0xff0000
mov edx, ebp
shr edx, 8
and edx, 0xff
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff00
xor esi, edx
mov edx, edi
shr edx, 0x18
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff000000
xor esi, edx
mov edx, ebx
and edx, 0xff
movzx edx, byte [edx*4 + str.RRRR_t_t_t_tjjjj]
xor esi, edx
xor esi, dword [eax + 4]
mov dword [esp + 0x20], esi
mov edx, esi
mov esi, dword [esp + 0x28]
shr edx, 0x18
mov byte [esi + 4], dl
mov edx, dword [esp + 0x20]
shr edx, 0x10
mov byte [esi + 5], dl
mov edx, dword [esp + 0x20]
shr edx, 8
mov byte [esi + 6], dl
movzx edx, byte [esp + 0x20]
mov byte [esi + 7], dl
mov edx, edi
shr edx, 0x10
and edx, 0xff
mov esi, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
mov edx, ecx
shr edx, 8
and edx, 0xff
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff00
and esi, 0xff0000
xor esi, edx
mov edx, ebx
shr edx, 0x18
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff000000
xor esi, edx
mov edx, ebp
and edx, 0xff
movzx edx, byte [edx*4 + str.RRRR_t_t_t_tjjjj]
xor esi, edx
xor esi, dword [eax + 8]
shr ebx, 0x10
mov dword [esp + 0x20], esi
mov edx, esi
mov esi, dword [esp + 0x28]
shr edx, 0x18
mov byte [esi + 8], dl
mov edx, dword [esp + 0x20]
shr edx, 0x10
mov byte [esi + 9], dl
mov edx, dword [esp + 0x20]
shr edx, 8
mov byte [esi + 0xa], dl
movzx edx, byte [esp + 0x20]
mov byte [esi + 0xb], dl
and ebx, 0xff
mov ebx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
shr edi, 8
and edi, 0xff
mov edx, dword [edi*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff00
and ebx, 0xff0000
xor ebx, edx
shr ebp, 0x18
mov edx, dword [ebp*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff
movzx ecx, byte [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff000000
xor ebx, edx
xor ebx, ecx
xor ebx, dword [eax + 0xc]
mov eax, esi
mov edx, ebx
shr edx, 0x18
pop edi
mov byte [eax + 0xc], dl
mov ecx, ebx
mov edx, ebx
pop esi
shr ecx, 0x10
shr edx, 8
pop ebp
mov byte [eax + 0xf], bl
mov byte [eax + 0xd], cl
mov byte [eax + 0xe], dl
pop ebx
add esp, 0xc
ret