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

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, edx
xor edx, edx
mov dh, byte [ecx]
push edi
movzx edi, byte [ecx + 1]
xor ebx, ebx
mov bh, byte [ecx + 0xc]
xor edx, edi
movzx edi, byte [ecx + 2]
shl edx, 8
xor edx, edi
movzx edi, byte [ecx + 3]
shl edx, 8
xor edx, edi
xor edx, dword [eax]
movzx edi, byte [ecx + 5]
mov dword [esp + 0x1c], edx
xor edx, edx
mov dh, byte [ecx + 4]
mov ebp, dword [esp + 0x2c]
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
xor edx, dword [eax + 4]
movzx edi, byte [ecx + 9]
mov dword [esp + 0x10], edx
xor edx, edx
mov dh, byte [ecx + 8]
xor edx, edi
movzx edi, byte [ecx + 0xa]
shl edx, 8
xor edx, edi
movzx edi, byte [ecx + 0xb]
shl edx, 8
xor edx, edi
movzx edi, byte [ecx + 0xd]
xor edx, dword [eax + 8]
xor ebx, edi
movzx edi, byte [ecx + 0xe]
movzx ecx, byte [ecx + 0xf]
shl ebx, 8
xor ebx, edi
shl ebx, 8
xor ebx, ecx
xor ebx, dword [eax + 0xc]
movzx edi, dh
mov ecx, ebx
mov dword [esp + 0x20], ecx
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x41d528]
xor ecx, dword [edi*4 + 0x41d928]
mov edi, dword [esp + 0x1c]
shr edi, 0x18
xor ecx, dword [edi*4 + 0x41d128]
mov edi, dword [esp + 0x10]
and edi, 0xff
xor ecx, dword [edi*4 + 0x41dd28]
mov edi, dword [esp + 0x1c]
xor ecx, dword [eax + 0x10]
shr edi, 0x10
mov dword [esp + 0x18], ecx
movzx ecx, byte [esp + 0x21]
mov ecx, dword [ecx*4 + 0x41d928]
and edi, 0xff
xor ecx, dword [edi*4 + 0x41d528]
mov edi, dword [esp + 0x10]
shr edi, 0x18
xor ecx, dword [edi*4 + 0x41d128]
mov edi, edx
and edi, 0xff
xor ecx, dword [edi*4 + 0x41dd28]
xor ecx, dword [eax + 0x14]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 0x10]
movzx edi, byte [esp + 0x1d]
shr ecx, 0x10
and ecx, 0xff
mov ebx, dword [ecx*4 + 0x41d528]
xor ebx, dword [edi*4 + 0x41d928]
movzx edi, byte [esp + 0x11]
mov ecx, edx
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x41d128]
mov ecx, dword [esp + 0x20]
and ecx, 0xff
xor ebx, dword [ecx*4 + 0x41dd28]
shr edx, 0x10
xor ebx, dword [eax + 0x18]
and edx, 0xff
mov ecx, dword [edx*4 + 0x41d528]
xor ecx, dword [edi*4 + 0x41d928]
mov edx, dword [esp + 0x20]
shr edx, 0x18
xor ecx, dword [edx*4 + 0x41d128]
mov edx, dword [esp + 0x1c]
and edx, 0xff
xor ecx, dword [edx*4 + 0x41dd28]
sar esi, 1
xor ecx, dword [eax + 0x1c]
add eax, 0x20
sub esi, 1
mov dword [esp + 0x24], ebx
mov dword [esp + 0x20], ecx
mov edi, esi
je 0x414739
jmp 0x414510
shr ecx, 0x10
and ecx, 0xff
mov edx, dword [ecx*4 + 0x41d528]
mov ecx, dword [esp + 0x18]
movzx esi, bh
xor edx, dword [esi*4 + 0x41d928]
mov esi, dword [esp + 0x18]
shr esi, 0x10
and esi, 0xff
mov dword [esp + 0x1c], esi
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x41d128]
mov ecx, dword [esp + 0x14]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x41dd28]
movzx ecx, byte [esp + 0x21]
mov esi, dword [ecx*4 + 0x41d928]
mov ecx, dword [esp + 0x1c]
xor esi, dword [ecx*4 + 0x41d528]
mov ecx, dword [esp + 0x14]
shr ecx, 0x18
xor esi, dword [ecx*4 + 0x41d128]
mov ecx, ebx
and ecx, 0xff
xor esi, dword [ecx*4 + 0x41dd28]
mov ecx, dword [esp + 0x14]
xor esi, dword [eax + 4]
shr ebx, 0x18
mov dword [esp + 0x10], esi
movzx esi, byte [esp + 0x19]
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x41d528]
xor ecx, dword [esi*4 + 0x41d928]
mov esi, dword [esp + 0x20]
xor ecx, dword [ebx*4 + 0x41d128]
movzx ebx, byte [esp + 0x15]
and esi, 0xff
xor ecx, dword [esi*4 + 0x41dd28]
mov esi, dword [esp + 0x24]
shr esi, 0x10
and esi, 0xff
mov esi, dword [esi*4 + 0x41d528]
xor esi, dword [ebx*4 + 0x41d928]
mov ebx, dword [esp + 0x18]
xor ecx, dword [eax + 8]
mov dword [esp + 0x24], esi
mov esi, dword [esp + 0x20]
xor edx, dword [eax]
shr esi, 0x18
mov esi, dword [esi*4 + 0x41d128]
xor dword [esp + 0x24], esi
mov esi, dword [esp + 0x24]
and ebx, 0xff
xor esi, dword [ebx*4 + 0x41dd28]
movzx ebx, ch
xor esi, dword [eax + 0xc]
mov dword [esp + 0x20], esi
shr esi, 0x10
and esi, 0xff
mov esi, dword [esi*4 + 0x41d528]
xor esi, dword [ebx*4 + 0x41d928]
mov ebx, edx
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x41d128]
mov ebx, dword [esp + 0x10]
and ebx, 0xff
xor esi, dword [ebx*4 + 0x41dd28]
mov ebx, edx
xor esi, dword [eax + 0x10]
shr ebx, 0x10
mov dword [esp + 0x18], esi
movzx esi, byte [esp + 0x21]
mov esi, dword [esi*4 + 0x41d928]
and ebx, 0xff
xor esi, dword [ebx*4 + 0x41d528]
mov ebx, dword [esp + 0x10]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x41d128]
mov ebx, ecx
and ebx, 0xff
xor esi, dword [ebx*4 + 0x41dd28]
movzx ebx, dh
xor esi, dword [eax + 0x14]
and edx, 0xff
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x10]
shr esi, 0x10
and esi, 0xff
mov esi, dword [esi*4 + 0x41d528]
xor esi, dword [ebx*4 + 0x41d928]
mov ebx, ecx
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x41d128]
mov ebx, dword [esp + 0x20]
and ebx, 0xff
xor esi, dword [ebx*4 + 0x41dd28]
shr ecx, 0x10
xor esi, dword [eax + 0x18]
and ecx, 0xff
mov ebx, dword [ecx*4 + 0x41d528]
mov ecx, dword [esp + 0x20]
mov dword [esp + 0x24], esi
movzx esi, byte [esp + 0x11]
xor ebx, dword [esi*4 + 0x41d928]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x41d128]
add eax, 0x20
xor ebx, dword [edx*4 + 0x41dd28]
xor ebx, dword [eax - 4]
sub edi, 1
mov ecx, ebx
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x20], ecx
jne 0x414510
mov edx, ecx
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 + 0x18]
shr edx, 0x18
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff000000
mov dword [esp + 0x24], esi
xor dword [esp + 0x24], edx
mov edx, dword [esp + 0x14]
and edx, 0xff
movzx edx, byte [edx*4 + str.RRRR_t_t_t_tjjjj]
mov esi, dword [esp + 0x24]
xor esi, edx
xor esi, dword [eax]
mov edx, esi
shr edx, 0x18
mov byte [ebp], dl
mov edx, esi
shr edx, 0x10
mov byte [ebp + 1], dl
mov edx, esi
shr edx, 8
mov byte [ebp + 2], dl
mov dword [esp + 0x1c], esi
movzx edx, byte [esp + 0x1c]
mov esi, ebp
mov byte [esi + 3], dl
mov edx, dword [esp + 0x18]
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 + 0x14]
shr edx, 0x18
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff000000
mov dword [esp + 0x24], esi
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 + 0x10], esi
mov edx, esi
shr edx, 0x18
mov esi, ebp
mov byte [esi + 4], dl
mov edx, dword [esp + 0x10]
shr edx, 0x10
mov byte [esi + 5], dl
mov edx, dword [esp + 0x10]
shr edx, 8
mov byte [esi + 6], dl
movzx edx, byte [esp + 0x10]
mov byte [esi + 7], dl
mov edx, dword [esp + 0x14]
shr edx, 0x10
and edx, 0xff
mov esi, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
movzx edx, byte [esp + 0x19]
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, ecx
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
shr edx, 0x18
mov esi, ebp
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
movzx edx, byte [esp + 0x15]
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and ebx, 0xff
mov ebx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
shr ecx, 0x18
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
and ebx, 0xff0000
and edx, 0xff00
xor ebx, edx
and ecx, 0xff000000
xor ebx, ecx
mov ecx, dword [esp + 0x18]
and ecx, 0xff
movzx edx, byte [ecx*4 + str.RRRR_t_t_t_tjjjj]
xor ebx, edx
xor ebx, dword [eax + 0xc]
mov eax, esi
mov ecx, ebx
shr ecx, 0x18
pop edi
mov byte [eax + 0xc], cl
mov edx, ebx
mov ecx, ebx
pop esi
shr edx, 0x10
shr ecx, 8
pop ebp
mov byte [eax + 0xf], bl
mov byte [eax + 0xd], dl
mov byte [eax + 0xe], cl
pop ebx
add esp, 0x18
ret