Function at 0x4ed52d
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
mov esi, dword [ebp + 0x10]
push edi
push 8
push dword [esi]
call fcn.0053e7d0
push 8
push dword [esi]
mov edi, eax
and edi, 0xff00ff00
call fcn.0053e7be
mov ebx, 0xff00ff
and eax, ebx
or eax, edi
mov edi, dword [ebp + 8]
xor eax, dword [edi]
push 8
push dword [esi + 4]
mov dword [ebp + 0x10], eax
call fcn.0053e7d0
push 8
push dword [esi + 4]
mov dword [ebp + 8], eax
and dword [ebp + 8], 0xff00ff00
call fcn.0053e7be
and eax, ebx
or eax, dword [ebp + 8]
push 8
xor eax, dword [edi + 4]
push dword [esi + 8]
mov dword [ebp + 8], eax
call fcn.0053e7d0
push 8
push dword [esi + 8]
mov dword [ebp - 0x10], eax
and dword [ebp - 0x10], 0xff00ff00
call fcn.0053e7be
and eax, ebx
or eax, dword [ebp - 0x10]
push 8
xor eax, dword [edi + 8]
push dword [esi + 0xc]
mov dword [ebp - 0xc], eax
call fcn.0053e7d0
push 8
push dword [esi + 0xc]
mov dword [ebp - 0x10], eax
and dword [ebp - 0x10], 0xff00ff00
call fcn.0053e7be
mov edx, dword [ebp - 0xc]
and eax, ebx
or eax, dword [ebp - 0x10]
shr edx, 8
xor eax, dword [edi + 0xc]
mov esi, 0xff
mov ecx, eax
shr ecx, 0x10
and edx, esi
and ecx, esi
mov ecx, dword [ecx*4 + 0x58a018]
xor ecx, dword [edx*4 + 0x58a418]
mov edx, dword [ebp + 0x10]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x589c18]
mov edx, dword [ebp + 8]
and edx, esi
xor ecx, dword [edx*4 + 0x58a818]
mov edx, dword [ebp + 0x10]
xor ecx, dword [edi + 0x10]
mov dword [ebp - 8], eax
shr eax, 8
and eax, esi
mov ebx, dword [eax*4 + 0x58a418]
mov eax, dword [ebp + 8]
shr edx, 0x10
and edx, esi
xor ebx, dword [edx*4 + 0x58a018]
add esp, 0x40
mov dword [ebp - 0x10], ecx
shr eax, 0x18
xor ebx, dword [eax*4 + 0x589c18]
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp + 0x10]
and eax, esi
xor ebx, dword [eax*4 + 0x58a818]
mov eax, dword [ebp + 8]
shr eax, 0x10
shr edx, 8
and eax, esi
mov eax, dword [eax*4 + 0x58a018]
and edx, esi
xor eax, dword [edx*4 + 0x58a418]
mov edx, dword [ebp - 0xc]
shr edx, 0x18
xor eax, dword [edx*4 + 0x589c18]
mov edx, dword [ebp - 8]
and edx, esi
xor eax, dword [edx*4 + 0x58a818]
mov edx, dword [ebp + 8]
xor eax, dword [edi + 0x18]
xor ebx, dword [edi + 0x14]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xc]
shr eax, 0x10
shr edx, 8
and eax, esi
mov eax, dword [eax*4 + 0x58a018]
and edx, esi
xor eax, dword [edx*4 + 0x58a418]
mov edx, dword [ebp - 8]
shr edx, 0x18
xor eax, dword [edx*4 + 0x589c18]
mov edx, dword [ebp + 0x10]
and edx, esi
xor eax, dword [edx*4 + 0x58a818]
mov edx, dword [ebp + 0xc]
xor eax, dword [edi + 0x1c]
sar edx, 1
add edi, 0x20
dec edx
mov dword [ebp - 8], eax
mov dword [ebp + 0xc], edx
je 0x4ed8bf
mov edx, dword [ebp - 4]
shr edx, 8
and edx, esi
shr eax, 0x10
and eax, esi
mov eax, dword [eax*4 + 0x58a018]
xor eax, dword [edx*4 + 0x58a418]
mov edx, ecx
shr edx, 0x18
xor eax, dword [edx*4 + 0x589c18]
mov edx, ebx
and edx, esi
xor eax, dword [edx*4 + 0x58a818]
mov edx, ecx
xor eax, dword [edi]
shr edx, 0x10
mov dword [ebp + 0x10], eax
mov eax, dword [ebp - 8]
and edx, esi
shr eax, 8
and eax, esi
mov eax, dword [eax*4 + 0x58a418]
xor eax, dword [edx*4 + 0x58a018]
mov edx, ebx
shr edx, 0x18
xor eax, dword [edx*4 + 0x589c18]
mov edx, dword [ebp - 4]
and edx, esi
xor eax, dword [edx*4 + 0x58a818]
mov edx, ecx
xor eax, dword [edi + 4]
shr edx, 8
mov dword [ebp + 8], eax
mov eax, ebx
and edx, esi
shr eax, 0x10
and eax, esi
mov eax, dword [eax*4 + 0x58a018]
xor eax, dword [edx*4 + 0x58a418]
mov edx, dword [ebp - 4]
shr edx, 0x18
xor eax, dword [edx*4 + 0x589c18]
mov edx, dword [ebp - 8]
and edx, esi
xor eax, dword [edx*4 + 0x58a818]
mov edx, dword [ebp - 4]
xor eax, dword [edi + 8]
shr edx, 0x10
shr ebx, 8
and ebx, esi
and edx, esi
mov edx, dword [edx*4 + 0x58a018]
xor edx, dword [ebx*4 + 0x58a418]
mov ebx, dword [ebp - 8]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x589c18]
and ecx, esi
xor edx, dword [ecx*4 + 0x58a818]
mov ebx, eax
xor edx, dword [edi + 0xc]
shr ebx, 8
mov ecx, edx
shr ecx, 0x10
and ecx, esi
mov ecx, dword [ecx*4 + 0x58a018]
and ebx, esi
xor ecx, dword [ebx*4 + 0x58a418]
mov ebx, dword [ebp + 0x10]
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x589c18]
mov ebx, dword [ebp + 8]
and ebx, esi
xor ecx, dword [ebx*4 + 0x58a818]
mov dword [ebp - 8], edx
xor ecx, dword [edi + 0x10]
shr edx, 8
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp + 0x10]
shr ecx, 0x10
and edx, esi
and ecx, esi
mov ebx, dword [edx*4 + 0x58a418]
xor ebx, dword [ecx*4 + 0x58a018]
mov ecx, dword [ebp + 8]
mov edx, dword [ebp + 0x10]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x589c18]
mov ecx, eax
and ecx, esi
xor ebx, dword [ecx*4 + 0x58a818]
mov ecx, dword [ebp + 8]
shr ecx, 0x10
shr edx, 8
and ecx, esi
mov ecx, dword [ecx*4 + 0x58a018]
and edx, esi
xor ecx, dword [edx*4 + 0x58a418]
mov edx, eax
shr edx, 0x18
xor ecx, dword [edx*4 + 0x589c18]
mov edx, dword [ebp - 8]
xor ebx, dword [edi + 0x14]
and edx, esi
xor ecx, dword [edx*4 + 0x58a818]
shr eax, 0x10
xor ecx, dword [edi + 0x18]
and eax, esi
mov edx, dword [eax*4 + 0x58a018]
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
shr ecx, 8
and ecx, esi
xor edx, dword [ecx*4 + 0x58a418]
mov ecx, dword [ebp - 0x10]
shr eax, 0x18
xor edx, dword [eax*4 + 0x589c18]
mov eax, dword [ebp + 0x10]
and eax, esi
xor edx, dword [eax*4 + 0x58a818]
add edi, 0x20
xor edx, dword [edi - 4]
dec dword [ebp + 0xc]
mov dword [ebp - 8], edx
mov eax, edx
jne 0x4ed6e6
mov edx, dword [ebp - 4]
shr eax, 0x10
and eax, esi
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
shr edx, 8
shr ecx, 0x18
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and edx, esi
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff0000
and ecx, 0xff000000
and edx, 0xff00
xor eax, edx
xor eax, ecx
mov ecx, ebx
and ecx, esi
movzx ecx, byte [ecx*4 + str.RRRR_t_t_t_tjjjj]
xor eax, ecx
xor eax, dword [edi]
push 8
push eax
mov dword [ebp + 0x10], eax
call fcn.0053e7d0
push 8
push dword [ebp + 0x10]
mov dword [ebp + 8], eax
and dword [ebp + 8], 0xff00ff00
call fcn.0053e7be
mov ecx, dword [ebp + 0x14]
and eax, 0xff00ff
or eax, dword [ebp + 8]
push 8
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 8]
shr ecx, 8
shr eax, 0x10
and ecx, esi
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and eax, esi
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff00
and eax, 0xff0000
xor eax, ecx
mov ecx, ebx
shr ecx, 0x18
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff000000
xor eax, ecx
mov ecx, dword [ebp - 4]
and ecx, esi
movzx ecx, byte [ecx*4 + str.RRRR_t_t_t_tjjjj]
xor eax, ecx
xor eax, dword [edi + 4]
push eax
mov dword [ebp + 8], eax
call fcn.0053e7d0
push 8
push dword [ebp + 8]
mov dword [ebp + 0x10], eax
and dword [ebp + 0x10], 0xff00ff00
call fcn.0053e7be
mov ecx, dword [ebp + 0x14]
and eax, 0xff00ff
or eax, dword [ebp + 0x10]
mov dword [ecx + 4], eax
mov ecx, dword [ebp - 0x10]
shr ecx, 8
and ecx, esi
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
mov eax, ebx
shr eax, 0x10
and eax, esi
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff00
and eax, 0xff0000
xor eax, ecx
mov ecx, dword [ebp - 4]
shr ecx, 0x18
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff000000
xor eax, ecx
mov ecx, dword [ebp - 8]
and ecx, esi
movzx ecx, byte [ecx*4 + str.RRRR_t_t_t_tjjjj]
xor eax, ecx
xor eax, dword [edi + 8]
push 8
push eax
mov dword [ebp - 0xc], eax
call fcn.0053e7d0
push 8
push dword [ebp - 0xc]
mov dword [ebp + 0x10], eax
and dword [ebp + 0x10], 0xff00ff00
call fcn.0053e7be
mov ecx, dword [ebp + 0x14]
and eax, 0xff00ff
or eax, dword [ebp + 0x10]
shr ebx, 8
mov dword [ecx + 8], eax
mov eax, dword [ebp - 4]
shr eax, 0x10
and eax, esi
mov eax, dword [eax*4 + str.RRRR_t_t_t_tjjjj]
and eax, 0xff0000
and ebx, esi
mov ecx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff00
xor eax, ecx
mov ecx, dword [ebp - 8]
shr ecx, 0x18
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and ecx, 0xff000000
xor eax, ecx
mov ecx, dword [ebp - 0x10]
and ecx, esi
movzx ecx, byte [ecx*4 + str.RRRR_t_t_t_tjjjj]
xor eax, ecx
xor eax, dword [edi + 0xc]
push 8
push eax
mov dword [ebp - 8], eax
call fcn.0053e7d0
push 8
push dword [ebp - 8]
mov esi, eax
and esi, 0xff00ff00
call fcn.0053e7be
mov ecx, dword [ebp + 0x14]
add esp, 0x40
and eax, 0xff00ff
pop edi
or eax, esi
pop esi
mov dword [ecx + 0xc], eax
pop ebx
leave
ret