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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov ecx, dword [ebp + 8]
movzx edx, byte [ecx + 1]
push ebx
movzx ebx, byte [ecx + 4]
push esi
movzx esi, byte [ecx + 8]
push edi
movzx edi, byte [ecx]
shl edi, 8
or edi, edx
movzx edx, byte [ecx + 2]
shl edi, 8
or edi, edx
movzx edx, byte [ecx + 3]
mov eax, dword [ebp + 0x10]
shl edi, 8
or edi, edx
movzx edx, byte [ecx + 5]
shl ebx, 8
or ebx, edx
movzx edx, byte [ecx + 6]
shl esi, 8
shl ebx, 8
or ebx, edx
movzx edx, byte [ecx + 7]
shl ebx, 8
or ebx, edx
movzx edx, byte [ecx + 9]
or esi, edx
movzx edx, byte [ecx + 0xa]
shl esi, 8
or esi, edx
movzx edx, byte [ecx + 0xb]
shl esi, 8
or esi, edx
xor esi, dword [eax + 0xf8]
movzx edx, byte [ecx + 0xd]
mov dword [ebp - 0xc], esi
movzx esi, byte [ecx + 0xc]
xor edi, dword [eax + 0xf0]
shl esi, 8
or esi, edx
movzx edx, byte [ecx + 0xe]
movzx ecx, byte [ecx + 0xf]
xor ebx, dword [eax + 0xf4]
shl esi, 8
or esi, edx
shl esi, 8
or esi, ecx
xor esi, dword [eax + 0xfc]
mov dword [ebp + 8], edi
mov edx, esi
shr edx, 0x10
movzx ecx, dl
mov ecx, dword [ecx*4 + 0xbd9af0]
mov edx, dword [ebp - 0xc]
shr edx, 8
movzx edx, dl
xor ecx, dword [edx*4 + 0xbd9ef0]
mov edx, edi
shr edx, 0x18
xor ecx, dword [edx*4 + 0xbd76f0]
movzx edx, bl
xor ecx, dword [edx*4 + 0xbda2f0]
mov dword [ebp - 0x10], esi
xor ecx, dword [eax + 0x100]
mov dword [ebp - 4], ecx
mov ecx, esi
shr ecx, 8
movzx edx, cl
mov edx, dword [edx*4 + 0xbd9ef0]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0xbd76f0]
mov ecx, edi
shr ecx, 0x10
movzx ecx, cl
xor edx, dword [ecx*4 + 0xbd9af0]
mov ecx, dword [ebp - 0xc]
movzx esi, cl
xor edx, dword [esi*4 + 0xbda2f0]
xor edx, dword [eax + 0x104]
shr ecx, 0x18
mov esi, dword [ecx*4 + 0xbd76f0]
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x18], edx
mov edx, ebx
mov ecx, edi
shr ecx, 8
movzx ecx, cl
shr edx, 0x10
movzx edx, dl
xor esi, dword [edx*4 + 0xbd9af0]
mov edx, dword [ebp - 0x18]
xor esi, dword [ecx*4 + 0xbd9ef0]
mov ecx, dword [ebp - 0x10]
movzx edi, cl
xor esi, dword [edi*4 + 0xbda2f0]
shr ecx, 0x18
xor esi, dword [eax + 0x108]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ebp - 0xc]
shr ecx, 0x10
mov dword [ebp - 8], esi
movzx esi, cl
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0xbd76f0]
xor ecx, dword [esi*4 + 0xbd9af0]
shr ebx, 8
movzx esi, bl
xor ecx, dword [esi*4 + 0xbd9ef0]
movzx esi, byte [ebp + 8]
xor ecx, dword [esi*4 + 0xbda2f0]
mov esi, dword [ebp + 0x10]
xor ecx, dword [eax + 0x10c]
mov edi, dword [esi + 0x1e0]
sar edi, 1
add eax, 0x110
dec edi
mov dword [ebp - 0x10], ecx
je 0xb90244
mov ebx, ecx
shr ebx, 0x10
movzx esi, bl
mov esi, dword [esi*4 + 0xbd9af0]
mov ebx, dword [ebp - 8]
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0xbd9ef0]
mov ebx, dword [ebp - 4]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0xbd76f0]
movzx ebx, dl
xor esi, dword [ebx*4 + 0xbda2f0]
mov ebx, dword [ebp - 4]
xor esi, dword [eax]
shr ebx, 0x10
mov dword [ebp + 8], esi
shr ecx, 8
movzx ecx, cl
mov ecx, dword [ecx*4 + 0xbd9ef0]
mov esi, edx
shr esi, 0x18
xor ecx, dword [esi*4 + 0xbd76f0]
movzx esi, bl
xor ecx, dword [esi*4 + 0xbd9af0]
mov ebx, dword [ebp - 8]
movzx esi, bl
xor ecx, dword [esi*4 + 0xbda2f0]
shr ebx, 0x18
xor ecx, dword [eax + 4]
shr edx, 0x10
movzx esi, dl
mov edx, dword [ebx*4 + 0xbd76f0]
xor edx, dword [esi*4 + 0xbd9af0]
mov ebx, dword [ebp - 4]
shr ebx, 8
movzx esi, bl
xor edx, dword [esi*4 + 0xbd9ef0]
mov ebx, dword [ebp - 0x10]
movzx esi, bl
xor edx, dword [esi*4 + 0xbda2f0]
shr ebx, 0x18
mov esi, dword [ebx*4 + 0xbd76f0]
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 8]
xor edx, dword [eax + 8]
shr ebx, 8
shr ecx, 0x10
movzx ecx, cl
xor esi, dword [ecx*4 + 0xbd9af0]
mov ecx, dword [ebp - 0x18]
mov dword [ebp + 0x10], esi
movzx esi, bl
mov esi, dword [esi*4 + 0xbd9ef0]
xor dword [ebp + 0x10], esi
movzx ebx, byte [ebp - 4]
mov esi, dword [ebp + 0x10]
xor esi, dword [ebx*4 + 0xbda2f0]
xor esi, dword [eax + 0xc]
mov ebx, esi
shr ebx, 0x10
mov dword [ebp - 0x10], esi
movzx esi, bl
mov esi, dword [esi*4 + 0xbd9af0]
mov ebx, edx
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0xbd9ef0]
mov ebx, dword [ebp + 8]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0xbd76f0]
movzx ebx, cl
xor esi, dword [ebx*4 + 0xbda2f0]
mov ebx, dword [ebp - 0x10]
xor esi, dword [eax + 0x10]
shr ebx, 8
mov dword [ebp - 4], esi
movzx esi, bl
mov ebx, ecx
shr ebx, 0x18
mov esi, dword [esi*4 + 0xbd9ef0]
xor esi, dword [ebx*4 + 0xbd76f0]
mov ebx, dword [ebp + 8]
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0xbd9af0]
movzx ebx, dl
xor esi, dword [ebx*4 + 0xbda2f0]
mov ebx, ecx
xor esi, dword [eax + 0x14]
shr ebx, 0x10
mov dword [ebp - 0x14], esi
mov esi, edx
shr esi, 0x18
mov esi, dword [esi*4 + 0xbd76f0]
movzx ebx, bl
xor esi, dword [ebx*4 + 0xbd9af0]
mov ebx, dword [ebp + 8]
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0xbd9ef0]
movzx ebx, byte [ebp - 0x10]
xor esi, dword [ebx*4 + 0xbda2f0]
shr edx, 0x10
xor esi, dword [eax + 0x18]
movzx edx, dl
mov dword [ebp - 8], esi
mov esi, dword [ebp - 0x10]
shr esi, 0x18
mov esi, dword [esi*4 + 0xbd76f0]
xor esi, dword [edx*4 + 0xbd9af0]
movzx edx, byte [ebp + 8]
shr ecx, 8
movzx ecx, cl
xor esi, dword [ecx*4 + 0xbd9ef0]
add eax, 0x20
xor esi, dword [edx*4 + 0xbda2f0]
mov edx, dword [ebp - 0x14]
xor esi, dword [eax - 4]
dec edi
mov ecx, esi
mov dword [ebp - 0x10], ecx
jne 0xb90055
mov ebx, ecx
shr ebx, 0x10
movzx esi, bl
mov esi, dword [esi*4 + str.RRRR_t_t_t_tjjjj]
mov ebx, dword [ebp - 8]
and esi, 0xff0000
mov dword [ebp + 0x10], esi
shr ebx, 8
movzx esi, bl
mov esi, dword [esi*4 + str.RRRR_t_t_t_tjjjj]
and esi, 0xff00
xor dword [ebp + 0x10], esi
mov esi, dword [ebp - 4]
shr esi, 0x18
mov edi, dword [esi*4 + str.RRRR_t_t_t_tjjjj]
mov esi, dword [ebp + 0x10]
and edi, 0xff000000
xor esi, edi
movzx edi, dl
movzx edi, byte [edi*4 + str.RRRR_t_t_t_tjjjj]
xor esi, edi
xor esi, dword [eax]
mov dword [ebp + 8], esi
mov ebx, esi
mov esi, dword [ebp + 0xc]
shr ebx, 0x18
mov byte [esi], bl
mov ebx, dword [ebp + 8]
shr ebx, 0x10
mov byte [esi + 1], bl
mov ebx, dword [ebp + 8]
shr ebx, 8
mov byte [esi + 2], bl
movzx ebx, byte [ebp + 8]
mov byte [esi + 3], bl
mov ebx, dword [ebp - 4]
shr ebx, 0x10
movzx esi, bl
mov esi, dword [esi*4 + str.RRRR_t_t_t_tjjjj]
and esi, 0xff0000
mov dword [ebp + 0x10], esi
mov ebx, ecx
shr ebx, 8
movzx esi, bl
mov edi, dword [esi*4 + str.RRRR_t_t_t_tjjjj]
mov esi, dword [ebp + 0x10]
and edi, 0xff00
xor esi, edi
mov edi, edx
shr edi, 0x18
mov edi, dword [edi*4 + str.RRRR_t_t_t_tjjjj]
and edi, 0xff000000
xor esi, edi
mov dword [ebp + 0x10], esi
movzx esi, byte [ebp - 8]
movzx edi, byte [esi*4 + str.RRRR_t_t_t_tjjjj]
mov esi, dword [ebp + 0x10]
xor esi, edi
xor esi, dword [eax + 4]
mov dword [ebp + 0x10], esi
mov ebx, esi
mov esi, dword [ebp + 0xc]
shr ebx, 0x18
mov byte [esi + 4], bl
mov ebx, dword [ebp + 0x10]
shr ebx, 0x10
mov byte [esi + 5], bl
mov ebx, dword [ebp + 0x10]
shr ebx, 8
mov byte [esi + 6], bl
movzx ebx, byte [ebp + 0x10]
mov byte [esi + 7], bl
mov ebx, edx
shr ebx, 0x10
movzx esi, bl
mov esi, dword [esi*4 + str.RRRR_t_t_t_tjjjj]
and esi, 0xff0000
mov dword [ebp + 0x10], esi
mov esi, dword [ebp - 8]
shr esi, 0x18
mov esi, dword [esi*4 + str.RRRR_t_t_t_tjjjj]
mov ebx, dword [ebp - 4]
shr ebx, 8
and esi, 0xff000000
xor dword [ebp + 0x10], esi
movzx esi, bl
mov edi, dword [esi*4 + str.RRRR_t_t_t_tjjjj]
mov esi, dword [ebp + 0x10]
and edi, 0xff00
xor esi, edi
movzx edi, cl
movzx edi, byte [edi*4 + str.RRRR_t_t_t_tjjjj]
xor esi, edi
xor esi, dword [eax + 8]
shr ecx, 0x18
mov dword [ebp - 0xc], esi
mov ebx, esi
mov esi, dword [ebp + 0xc]
shr ebx, 0x18
mov byte [esi + 8], bl
mov ebx, dword [ebp - 0xc]
shr ebx, 0x10
mov byte [esi + 9], bl
mov ebx, dword [ebp - 0xc]
shr ebx, 8
mov byte [esi + 0xa], bl
movzx ebx, byte [ebp - 0xc]
mov byte [esi + 0xb], bl
mov ecx, dword [ecx*4 + str.RRRR_t_t_t_tjjjj]
mov ebx, dword [ebp - 8]
shr ebx, 0x10
movzx esi, bl
mov ebx, dword [esi*4 + str.RRRR_t_t_t_tjjjj]
shr edx, 8
and ecx, 0xff000000
movzx edx, dl
and ebx, 0xff0000
xor ebx, ecx
mov ecx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
movzx edx, byte [ebp - 4]
and ecx, 0xff00
xor ebx, ecx
movzx ecx, byte [edx*4 + str.RRRR_t_t_t_tjjjj]
xor ebx, ecx
xor ebx, dword [eax + 0xc]
mov eax, dword [ebp + 0xc]
mov edx, ebx
shr edx, 0x18
mov byte [eax + 0xc], dl
mov ecx, ebx
mov edx, ebx
pop edi
shr ecx, 0x10
shr edx, 8
mov byte [eax + 0xf], bl
pop esi
mov byte [eax + 0xd], cl
mov byte [eax + 0xe], dl
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret