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

Disassembly:
sub esp, 0x10
movzx edx, byte [ecx + 1]
push ebx
push ebp
push esi
movzx esi, byte [ecx]
movzx ebp, byte [ecx + 8]
push edi
movzx edi, byte [ecx + 5]
shl esi, 8
xor esi, edx
movzx edx, byte [ecx + 2]
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]
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]
shl ebp, 8
xor ebp, edi
movzx edi, byte [ecx + 0xc]
xor ebp, dword [eax + 8]
shl edi, 8
xor edi, ebx
movzx ebx, byte [ecx + 0xe]
movzx ecx, byte [ecx + 0xf]
xor edx, dword [eax + 4]
shl edi, 8
xor edi, ebx
shl edi, 8
xor edi, ecx
xor edi, dword [eax + 0xc]
mov ebx, ebp
shr ebx, 8
mov ecx, edi
and ebx, 0xff
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x436c00]
xor ecx, dword [ebx*4 + 0x437000]
mov ebx, esi
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x436800]
mov dword [esp + 0x1c], edi
mov ebx, edx
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x437400]
shr edi, 8
xor ecx, dword [eax + 0x10]
and edi, 0xff
mov edi, dword [edi*4 + 0x437000]
mov ebx, esi
shr ebx, 0x10
and ebx, 0xff
xor edi, dword [ebx*4 + 0x436c00]
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x436800]
mov ebx, ebp
and ebx, 0xff
xor edi, dword [ebx*4 + 0x437400]
mov dword [esp + 0x14], esi
xor edi, dword [eax + 0x14]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x18], edi
mov ebx, edx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x436c00]
shr esi, 8
and esi, 0xff
xor ebx, dword [esi*4 + 0x437000]
mov esi, ebp
shr ebp, 0x10
shr edx, 8
and ebp, 0xff
mov ebp, dword [ebp*4 + 0x436c00]
and edx, 0xff
xor ebp, dword [edx*4 + 0x437000]
mov edx, dword [esp + 0x1c]
shr edx, 0x18
xor ebp, dword [edx*4 + 0x436800]
mov edx, dword [esp + 0x14]
shr esi, 0x18
xor ebx, dword [esi*4 + 0x436800]
mov esi, dword [esp + 0x1c]
and edx, 0xff
xor ebp, dword [edx*4 + 0x437400]
mov edx, dword [esp + 0x24]
xor ebp, dword [eax + 0x1c]
and esi, 0xff
xor ebx, dword [esi*4 + 0x437400]
sar edx, 1
xor ebx, dword [eax + 0x18]
add eax, 0x20
dec edx
mov dword [esp + 0x24], edx
je 0x41a589
mov esi, ebx
mov edx, ebp
shr edx, 0x10
and edx, 0xff
shr esi, 8
and esi, 0xff
mov dword [esp + 0x1c], esi
mov esi, dword [edx*4 + 0x436c00]
mov edx, dword [esp + 0x1c]
xor esi, dword [edx*4 + 0x437000]
mov edx, ecx
shr edx, 0x18
xor esi, dword [edx*4 + 0x436800]
mov edx, edi
and edx, 0xff
xor esi, dword [edx*4 + 0x437400]
mov edx, ebp
shr edx, 8
and edx, 0xff
shr ecx, 0x10
and ecx, 0xff
mov dword [esp + 0x1c], ecx
mov ecx, dword [edx*4 + 0x437000]
mov edx, dword [esp + 0x1c]
xor ecx, dword [edx*4 + 0x436c00]
mov edx, edi
shr edx, 0x18
xor ecx, dword [edx*4 + 0x436800]
mov edx, ebx
and edx, 0xff
xor ecx, dword [edx*4 + 0x437400]
mov edx, dword [esp + 0x10]
shr edi, 0x10
and edi, 0xff
shr edx, 8
and edx, 0xff
mov dword [esp + 0x1c], edx
mov edx, dword [edi*4 + 0x436c00]
mov edi, dword [esp + 0x1c]
xor edx, dword [edi*4 + 0x437000]
mov edi, ebx
shr edi, 0x18
xor edx, dword [edi*4 + 0x436800]
mov edi, ebp
and edi, 0xff
xor edx, dword [edi*4 + 0x437400]
mov edi, dword [esp + 0x18]
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 + 0x1c], edi
mov edi, dword [ebx*4 + 0x436c00]
mov ebx, dword [esp + 0x1c]
xor edi, dword [ebx*4 + 0x437000]
mov ebx, dword [esp + 0x10]
shr ebp, 0x18
xor edi, dword [ebp*4 + 0x436800]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x437400]
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 + 0x436c00]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x437000]
mov ebp, esi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x436800]
mov ebp, ecx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x437400]
xor ebx, dword [eax + 0x10]
mov dword [esp + 0x10], ebx
mov ebx, edi
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x437000]
mov ebp, esi
shr ebp, 0x10
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x436c00]
mov ebp, ecx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x436800]
mov ebp, edx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x437400]
mov ebp, esi
xor ebx, dword [eax + 0x14]
shr ebp, 8
mov dword [esp + 0x18], ebx
and ebp, 0xff
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x436c00]
xor ebx, dword [ebp*4 + 0x437000]
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x436800]
mov ebp, edi
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x437400]
shr edx, 0x10
xor ebx, dword [eax + 0x18]
shr ecx, 8
and edx, 0xff
mov ebp, dword [edx*4 + 0x436c00]
and ecx, 0xff
xor ebp, dword [ecx*4 + 0x437000]
mov ecx, dword [esp + 0x10]
shr edi, 0x18
xor ebp, dword [edi*4 + 0x436800]
mov edi, dword [esp + 0x18]
and esi, 0xff
xor ebp, dword [esi*4 + 0x437400]
add eax, 0x20
xor ebp, dword [eax - 4]
dec dword [esp + 0x24]
jne 0x41a347
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 + 0x14], esi
mov edx, esi
shr edx, 0x18
mov esi, dword [esp + 0x28]
mov byte [esi], dl
mov edx, dword [esp + 0x14]
shr edx, 0x10
mov byte [esi + 1], dl
mov edx, dword [esp + 0x14]
shr edx, 8
mov byte [esi + 2], dl
movzx edx, byte [esp + 0x14]
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 + 0x24], esi
mov edx, esi
mov esi, dword [esp + 0x28]
shr edx, 0x18
mov byte [esi + 4], dl
mov edx, dword [esp + 0x24]
shr edx, 0x10
mov byte [esi + 5], dl
mov edx, dword [esp + 0x24]
shr edx, 8
mov byte [esi + 6], dl
movzx edx, byte [esp + 0x24]
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 + 0x24], esi
mov edx, esi
mov esi, dword [esp + 0x28]
shr edx, 0x18
mov byte [esi + 8], dl
mov edx, dword [esp + 0x24]
shr edx, 0x10
mov byte [esi + 9], dl
mov edx, dword [esp + 0x24]
shr edx, 8
mov byte [esi + 0xa], dl
movzx edx, byte [esp + 0x24]
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, 0x10
ret