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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0x10]
movzx edx, byte [eax]
movzx ecx, byte [eax + 1]
push ebx
push esi
movzx esi, byte [eax + 4]
push edi
movzx edi, byte [eax + 5]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 6]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 7]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 8]
shl edx, 8
xor edx, ecx
movzx ecx, byte [eax + 2]
shl edx, 8
movzx ebx, byte [eax + 0xd]
xor edx, ecx
movzx ecx, byte [eax + 3]
shl edi, 8
shl edx, 8
xor edx, ecx
mov ecx, dword [ebp + 8]
xor esi, dword [ecx + 4]
xor edx, dword [ecx]
mov dword [ebp - 0x10], esi
movzx esi, byte [eax + 9]
xor edi, esi
movzx esi, byte [eax + 0xa]
shl edi, 8
xor edi, esi
movzx esi, byte [eax + 0xb]
shl edi, 8
xor edi, esi
movzx esi, byte [eax + 0xc]
xor edi, dword [ecx + 8]
shl esi, 8
xor esi, ebx
movzx ebx, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl esi, 8
xor esi, ebx
shl esi, 8
xor esi, eax
xor esi, dword [ecx + 0xc]
mov dword [ebp - 8], edi
shr edi, 8
mov ebx, esi
shr ebx, 0x10
mov eax, 0xff
and edi, eax
and ebx, eax
mov ebx, dword [ebx*4 + 0x10042598]
xor ebx, dword [edi*4 + 0x10042998]
mov edi, edx
shr edi, 0x18
xor ebx, dword [edi*4 + 0x10042198]
mov edi, dword [ebp - 0x10]
and edi, eax
xor ebx, dword [edi*4 + 0x10042d98]
mov dword [ebp - 4], esi
xor ebx, dword [ecx + 0x10]
shr esi, 8
mov edi, edx
shr edi, 0x10
and esi, eax
and edi, eax
mov dword [ebp + 8], edi
mov edi, dword [esi*4 + 0x10042998]
mov esi, dword [ebp + 8]
xor edi, dword [esi*4 + 0x10042598]
mov esi, dword [ebp - 0x10]
shr esi, 0x18
xor edi, dword [esi*4 + 0x10042198]
mov dword [ebp + 0x10], edx
mov dword [ebp - 0xc], ebx
mov esi, dword [ebp - 8]
and esi, eax
xor edi, dword [esi*4 + 0x10042d98]
mov esi, dword [ebp - 0x10]
shr esi, 0x10
shr edx, 8
and esi, eax
and edx, eax
mov dword [ebp + 8], edx
mov edx, dword [esi*4 + 0x10042598]
mov esi, dword [ebp + 8]
xor edx, dword [esi*4 + 0x10042998]
mov esi, dword [ebp - 8]
shr esi, 0x18
xor edx, dword [esi*4 + 0x10042198]
mov esi, dword [ebp - 4]
and esi, eax
xor edx, dword [esi*4 + 0x10042d98]
mov esi, dword [ebp - 0x10]
xor edx, dword [ecx + 0x18]
xor edi, dword [ecx + 0x14]
mov dword [ebp + 8], edx
mov edx, dword [ebp - 8]
shr edx, 0x10
shr esi, 8
and edx, eax
mov edx, dword [edx*4 + 0x10042598]
and esi, eax
xor edx, dword [esi*4 + 0x10042998]
mov esi, dword [ebp - 4]
shr esi, 0x18
xor edx, dword [esi*4 + 0x10042198]
mov esi, dword [ebp + 0x10]
and esi, eax
xor edx, dword [esi*4 + 0x10042d98]
mov esi, dword [ebp + 0xc]
xor edx, dword [ecx + 0x1c]
sar esi, 1
add ecx, 0x20
dec esi
mov dword [ebp - 4], edx
mov dword [ebp + 0xc], esi
je 0x10015848
mov esi, dword [ebp + 8]
shr esi, 8
and esi, eax
shr edx, 0x10
and edx, eax
mov edx, dword [edx*4 + 0x10042598]
xor edx, dword [esi*4 + 0x10042998]
mov esi, ebx
shr esi, 0x18
xor edx, dword [esi*4 + 0x10042198]
mov esi, edi
and esi, eax
xor edx, dword [esi*4 + 0x10042d98]
mov esi, ebx
xor edx, dword [ecx]
shr esi, 0x10
mov dword [ebp + 0x10], edx
mov edx, dword [ebp - 4]
and esi, eax
shr edx, 8
and edx, eax
mov edx, dword [edx*4 + 0x10042998]
xor edx, dword [esi*4 + 0x10042598]
mov esi, edi
shr esi, 0x18
xor edx, dword [esi*4 + 0x10042198]
mov esi, dword [ebp + 8]
shr ebx, 8
and ebx, eax
and esi, eax
xor edx, dword [esi*4 + 0x10042d98]
mov esi, edi
shr esi, 0x10
and esi, eax
mov esi, dword [esi*4 + 0x10042598]
xor esi, dword [ebx*4 + 0x10042998]
mov ebx, dword [ebp + 8]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x10042198]
mov ebx, dword [ebp - 4]
and ebx, eax
xor esi, dword [ebx*4 + 0x10042d98]
mov ebx, dword [ebp + 8]
shr edi, 8
shr ebx, 0x10
and edi, eax
xor esi, dword [ecx + 8]
and ebx, eax
mov dword [ebp + 8], edi
mov edi, dword [ebx*4 + 0x10042598]
mov ebx, dword [ebp + 8]
xor edi, dword [ebx*4 + 0x10042998]
mov ebx, dword [ebp - 4]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x10042198]
mov ebx, dword [ebp - 0xc]
xor edx, dword [ecx + 4]
and ebx, eax
xor edi, dword [ebx*4 + 0x10042d98]
mov ebx, esi
xor edi, dword [ecx + 0xc]
shr ebx, 8
mov dword [ebp - 4], edi
shr edi, 0x10
and edi, eax
mov edi, dword [edi*4 + 0x10042598]
and ebx, eax
xor edi, dword [ebx*4 + 0x10042998]
mov ebx, dword [ebp + 0x10]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x10042198]
mov ebx, edx
and ebx, eax
xor edi, dword [ebx*4 + 0x10042d98]
mov ebx, dword [ebp + 0x10]
xor edi, dword [ecx + 0x10]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
mov edi, dword [ebp - 4]
shr edi, 8
and edi, eax
mov edi, dword [edi*4 + 0x10042998]
shr ebx, 0x10
and ebx, eax
xor edi, dword [ebx*4 + 0x10042598]
and esi, eax
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x10042198]
mov ebx, dword [ebp + 0x10]
xor edi, dword [esi*4 + 0x10042d98]
mov esi, edx
shr esi, 0x10
and esi, eax
mov esi, dword [esi*4 + 0x10042598]
shr ebx, 8
and ebx, eax
xor esi, dword [ebx*4 + 0x10042998]
mov ebx, dword [ebp - 8]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x10042198]
mov ebx, dword [ebp - 4]
xor edi, dword [ecx + 0x14]
and ebx, eax
xor esi, dword [ebx*4 + 0x10042d98]
mov ebx, dword [ebp - 0xc]
xor esi, dword [ecx + 0x18]
shr edx, 8
mov dword [ebp + 8], esi
mov esi, dword [ebp - 8]
shr esi, 0x10
and esi, eax
mov esi, dword [esi*4 + 0x10042598]
and edx, eax
xor esi, dword [edx*4 + 0x10042998]
mov edx, dword [ebp - 4]
shr edx, 0x18
xor esi, dword [edx*4 + 0x10042198]
mov edx, dword [ebp + 0x10]
and edx, eax
xor esi, dword [edx*4 + 0x10042d98]
add ecx, 0x20
xor esi, dword [ecx - 4]
dec dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov edx, esi
jne 0x1001566b
shr edx, 0x10
and edx, eax
mov esi, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
mov edx, dword [ebp + 8]
shr edx, 8
and edx, eax
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
shr ebx, 0x10
mov edx, edi
and edx, eax
movzx edx, byte [edx*4 + str.RRRR_t_t_t_tjjjj]
xor esi, edx
xor esi, dword [ecx]
and ebx, eax
mov dword [ebp + 0x10], esi
mov edx, esi
mov esi, dword [ebp + 0x14]
shr edx, 0x18
mov byte [esi], dl
mov edx, dword [ebp + 0x10]
shr edx, 0x10
mov byte [esi + 1], dl
mov edx, dword [ebp + 0x10]
shr edx, 8
mov byte [esi + 2], dl
mov dl, byte [ebp + 0x10]
mov byte [esi + 3], dl
mov edx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
mov ebx, dword [ebp - 4]
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
and ebx, 0xff00
and edx, 0xff0000
xor edx, ebx
mov ebx, edi
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
and ebx, 0xff000000
xor edx, ebx
mov ebx, dword [ebp + 8]
and ebx, eax
movzx ebx, byte [ebx*4 + str.RRRR_t_t_t_tjjjj]
xor edx, ebx
xor edx, dword [ecx + 4]
mov ebx, edx
shr ebx, 0x18
mov byte [esi + 4], bl
mov ebx, edx
shr ebx, 0x10
mov byte [esi + 5], bl
mov ebx, edx
shr ebx, 8
mov byte [esi + 6], bl
mov ebx, dword [ebp - 0xc]
mov byte [esi + 7], dl
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
mov edx, edi
shr edx, 0x10
and edx, eax
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and ebx, 0xff00
and edx, 0xff0000
xor edx, ebx
mov ebx, dword [ebp + 8]
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
and ebx, 0xff000000
xor edx, ebx
mov ebx, dword [ebp - 4]
and ebx, eax
movzx ebx, byte [ebx*4 + str.RRRR_t_t_t_tjjjj]
xor edx, ebx
xor edx, dword [ecx + 8]
shr edi, 8
mov ebx, edx
shr ebx, 0x18
mov byte [esi + 8], bl
mov ebx, edx
mov byte [esi + 0xb], dl
and edi, eax
shr ebx, 0x10
mov byte [esi + 9], bl
mov ebx, edx
mov edx, dword [ebp + 8]
shr edx, 0x10
and edx, eax
shr ebx, 8
mov byte [esi + 0xa], bl
mov edi, dword [edi*4 + str.RRRR_t_t_t_tjjjj]
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
and edi, 0xff00
and edx, 0xff0000
xor edx, edi
mov edi, dword [ebp - 4]
shr edi, 0x18
mov edi, dword [edi*4 + str.RRRR_t_t_t_tjjjj]
and edi, 0xff000000
xor edx, edi
mov edi, dword [ebp - 0xc]
and edi, eax
movzx eax, byte [edi*4 + str.RRRR_t_t_t_tjjjj]
xor edx, eax
xor edx, dword [ecx + 0xc]
pop edi
mov eax, edx
shr eax, 0x18
mov byte [esi + 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [esi + 0xd], al
mov eax, edx
shr eax, 8
mov byte [esi + 0xe], al
mov byte [esi + 0xf], dl
pop esi
pop ebx
leave
ret