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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
test esi, esi
je 0x1001285e
test eax, eax
je 0x1001285e
test ecx, ecx
je 0x1001285e
mov edx, dword [ecx + 0x200]
push ebx
push edi
movzx edi, byte [eax + 1]
mov dword [ebp - 0x1c], edx
movzx edx, byte [eax]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 2]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 3]
shl edx, 8
or edx, edi
xor edx, dword [ecx + 0x100]
movzx edi, byte [eax + 5]
movzx ebx, byte [eax + 9]
mov dword [ebp - 4], edx
movzx edx, byte [eax + 4]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 6]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 7]
shl edx, 8
or edx, edi
movzx edi, byte [eax + 8]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0xa]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0xb]
shl edi, 8
or edi, ebx
xor edi, dword [ecx + 0x108]
movzx ebx, byte [eax + 0xd]
mov dword [ebp - 0x14], edi
movzx edi, byte [eax + 0xc]
shl edi, 8
or edi, ebx
movzx ebx, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
xor edx, dword [ecx + 0x104]
shl edi, 8
or edi, ebx
mov ebx, dword [ebp - 0x14]
shl edi, 8
or edi, eax
xor edi, dword [ecx + 0x10c]
shr ebx, 8
mov dword [ebp - 0xc], edi
shr edi, 0x10
mov eax, 0xff
and edi, eax
mov edi, dword [edi*4 + 0x1001e2e0]
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001e2e0]
add ecx, 0x110
ror edi, 8
ror ebx, 0x10
xor edi, ebx
mov ebx, edx
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001e2e0]
ror ebx, 0x18
xor edi, ebx
mov ebx, dword [ebp - 4]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x1001e2e0]
mov ebx, dword [ebp - 4]
xor edi, dword [ecx]
shr ebx, 0x10
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 0xc]
shr edi, 8
and edi, eax
mov edi, dword [edi*4 + 0x1001e2e0]
ror edi, 0x10
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001e2e0]
ror ebx, 8
xor edi, ebx
mov ebx, dword [ebp - 0x14]
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001e2e0]
ror ebx, 0x18
xor edi, ebx
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x1001e2e0]
mov ebx, dword [ebp - 4]
xor edi, dword [ecx + 4]
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001e2e0]
mov dword [ebp - 8], edi
mov edi, edx
shr edi, 0x10
and edi, eax
mov edi, dword [edi*4 + 0x1001e2e0]
ror edi, 8
ror ebx, 0x10
xor edi, ebx
mov ebx, dword [ebp - 0xc]
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001e2e0]
ror ebx, 0x18
xor edi, ebx
mov ebx, dword [ebp - 0x14]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x1001e2e0]
mov ebx, dword [ebp - 0x14]
xor edi, dword [ecx + 8]
shr ebx, 0x10
shr edx, 8
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001e2e0]
and edx, eax
mov edx, dword [edx*4 + 0x1001e2e0]
ror ebx, 8
ror edx, 0x10
xor ebx, edx
mov edx, dword [ebp - 4]
and edx, eax
mov edx, dword [edx*4 + 0x1001e2e0]
ror edx, 0x18
xor ebx, edx
mov edx, dword [ebp - 0xc]
shr edx, 0x18
xor ebx, dword [edx*4 + 0x1001e2e0]
mov edx, dword [ebp - 0x1c]
xor ebx, dword [ecx + 0xc]
add edx, 0xfffffffe
mov dword [ebp - 0xc], ebx
je 0x100126ae
mov dword [ebp - 0x1c], edx
shr ebx, 0x10
and ebx, eax
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x18], edx
mov edx, dword [ebx*4 + 0x1001e2e0]
add ecx, 0x10
ror edx, 8
mov ebx, edi
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001e2e0]
ror ebx, 0x10
xor edx, ebx
mov ebx, dword [ebp - 8]
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001e2e0]
ror ebx, 0x18
xor edx, ebx
mov ebx, dword [ebp - 0x10]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x1001e2e0]
mov ebx, dword [ebp - 4]
xor edx, dword [ecx]
shr ebx, 0x10
mov dword [ebp - 0x10], edx
mov edx, dword [ebp - 0xc]
shr edx, 8
and edx, eax
mov edx, dword [edx*4 + 0x1001e2e0]
ror edx, 0x10
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001e2e0]
ror ebx, 8
xor edx, ebx
mov ebx, edi
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001e2e0]
ror ebx, 0x18
xor edx, ebx
mov ebx, dword [ebp - 8]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x1001e2e0]
mov ebx, dword [ebp - 4]
xor edx, dword [ecx + 4]
shr ebx, 8
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0x18]
shr edx, 0x10
and edx, eax
mov edx, dword [edx*4 + 0x1001e2e0]
ror edx, 8
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001e2e0]
ror ebx, 0x10
xor edx, ebx
mov ebx, dword [ebp - 0xc]
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001e2e0]
ror ebx, 0x18
xor edx, ebx
mov dword [ebp - 0x14], edi
shr edi, 0x18
xor edx, dword [edi*4 + 0x1001e2e0]
xor edx, dword [ecx + 8]
mov edi, edx
mov edx, dword [ebp - 0x14]
shr edx, 0x10
and edx, eax
mov ebx, dword [edx*4 + 0x1001e2e0]
mov edx, dword [ebp - 0x18]
shr edx, 8
and edx, eax
mov edx, dword [edx*4 + 0x1001e2e0]
ror ebx, 8
ror edx, 0x10
xor ebx, edx
mov edx, dword [ebp - 4]
and edx, eax
mov edx, dword [edx*4 + 0x1001e2e0]
ror edx, 0x18
xor ebx, edx
mov edx, dword [ebp - 0xc]
shr edx, 0x18
xor ebx, dword [edx*4 + 0x1001e2e0]
xor ebx, dword [ecx + 0xc]
dec dword [ebp - 0x1c]
mov dword [ebp - 0xc], ebx
jne 0x10012575
shr ebx, 0x10
and ebx, eax
mov edx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
and edx, 0xff0000
mov ebx, edi
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
and ebx, 0xff00
xor edx, ebx
mov ebx, dword [ebp - 0x10]
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 + 0x10]
mov ebx, edx
shr ebx, 0x18
mov byte [esi], bl
mov ebx, edx
shr ebx, 0x10
mov byte [esi + 1], bl
mov byte [esi + 3], dl
mov ebx, edx
shr ebx, 8
mov byte [esi + 2], bl
mov edx, dword [ebp - 0x10]
mov ebx, dword [ebp - 0xc]
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
and ebx, 0xff00
shr edx, 0x10
and edx, eax
mov edx, dword [edx*4 + str.RRRR_t_t_t_tjjjj]
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, edi
and ebx, eax
movzx ebx, byte [ebx*4 + str.RRRR_t_t_t_tjjjj]
xor edx, ebx
xor edx, dword [ecx + 0x14]
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 - 0x10]
mov byte [esi + 7], dl
mov edx, dword [ebp - 8]
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + str.RRRR_t_t_t_tjjjj]
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, 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 - 0xc]
and ebx, eax
movzx ebx, byte [ebx*4 + str.RRRR_t_t_t_tjjjj]
xor edx, ebx
xor edx, dword [ecx + 0x18]
shr edi, 0x10
mov ebx, edx
and edi, eax
shr ebx, 0x18
mov byte [esi + 8], bl
mov ebx, edx
shr ebx, 0x10
mov byte [esi + 9], bl
mov ebx, edx
mov byte [esi + 0xb], dl
shr ebx, 8
mov byte [esi + 0xa], bl
mov edx, dword [edi*4 + str.RRRR_t_t_t_tjjjj]
mov edi, dword [ebp - 8]
shr edi, 8
and edi, eax
mov edi, dword [edi*4 + str.RRRR_t_t_t_tjjjj]
and edi, 0xff00
and edx, 0xff0000
xor edx, edi
mov edi, dword [ebp - 0xc]
shr edi, 0x18
mov edi, dword [edi*4 + str.RRRR_t_t_t_tjjjj]
and edi, 0xff000000
xor edx, edi
mov edi, dword [ebp - 0x10]
and edi, eax
movzx eax, byte [edi*4 + str.RRRR_t_t_t_tjjjj]
xor edx, eax
xor edx, dword [ecx + 0x1c]
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 ebx
leave
ret