Function at 0x10011e93
Capabilities:
Encode data using xor
Encrypt data using aes

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 8]
sub esp, 0x1c
test eax, eax
je 0x10012379
test ecx, ecx
je 0x10012379
test edx, edx
je 0x10012379
push ebx
movzx ebx, byte [eax]
push esi
mov esi, dword [edx + 0x200]
mov dword [ebp - 0x1c], esi
movzx esi, byte [eax + 1]
shl ebx, 8
or ebx, esi
movzx esi, byte [eax + 2]
push edi
movzx edi, byte [eax + 4]
shl edi, 8
shl ebx, 8
or ebx, esi
movzx esi, byte [eax + 3]
shl ebx, 8
or ebx, esi
xor ebx, dword [edx]
movzx esi, byte [eax + 5]
or edi, esi
movzx esi, byte [eax + 6]
shl edi, 8
or edi, esi
movzx esi, byte [eax + 7]
shl edi, 8
or edi, esi
xor edi, dword [edx + 4]
movzx edx, byte [eax + 8]
movzx esi, byte [eax + 9]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 0xa]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 0xb]
shl edx, 8
or edx, esi
mov esi, dword [ebp + 8]
xor edx, dword [esi + 8]
movzx esi, byte [eax + 0xd]
mov dword [ebp - 0x14], edx
movzx edx, byte [eax + 0xc]
shl edx, 8
or edx, esi
movzx esi, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl edx, 8
or edx, esi
mov esi, dword [ebp + 8]
shl edx, 8
or edx, eax
xor edx, dword [esi + 0xc]
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x14]
shr edx, 8
shr edi, 0x10
mov eax, 0xff
and edx, eax
mov edx, dword [edx*4 + 0x1001dae0]
and edi, eax
mov edi, dword [edi*4 + 0x1001dae0]
add esi, 0x10
ror edx, 0x10
ror edi, 8
xor edx, edi
mov edi, dword [ebp - 4]
and edi, eax
mov edi, dword [edi*4 + 0x1001dae0]
ror edi, 0x18
xor edx, edi
mov edi, ebx
shr edi, 0x18
xor edx, dword [edi*4 + 0x1001dae0]
mov dword [ebp - 0x18], ebx
xor edx, dword [esi]
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
shr edx, 8
and edx, eax
mov edi, dword [edx*4 + 0x1001dae0]
mov edx, dword [ebp - 0x14]
shr edx, 0x10
and edx, eax
mov edx, dword [edx*4 + 0x1001dae0]
ror edi, 0x10
ror edx, 8
xor edi, edx
mov edx, ebx
and edx, eax
mov edx, dword [edx*4 + 0x1001dae0]
ror edx, 0x18
xor edi, edx
mov edx, dword [ebp - 0x10]
shr edx, 0x18
xor edi, dword [edx*4 + 0x1001dae0]
mov edx, dword [ebp - 4]
xor edi, dword [esi + 4]
shr edx, 0x10
shr ebx, 8
and edx, eax
mov edx, dword [edx*4 + 0x1001dae0]
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001dae0]
ror edx, 8
ror ebx, 0x10
xor edx, ebx
mov ebx, dword [ebp - 0x10]
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001dae0]
ror ebx, 0x18
xor edx, ebx
mov ebx, dword [ebp - 0x14]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x1001dae0]
mov ebx, dword [ebp - 0x18]
xor edx, dword [esi + 8]
shr ebx, 0x10
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0x10]
shr edx, 8
and edx, eax
mov edx, dword [edx*4 + 0x1001dae0]
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001dae0]
ror edx, 0x10
ror ebx, 8
xor edx, ebx
mov ebx, dword [ebp - 0x14]
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001dae0]
ror ebx, 0x18
xor edx, ebx
mov ebx, dword [ebp - 4]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x1001dae0]
xor edx, dword [esi + 0xc]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffffe
je 0x100121c5
mov dword [ebp - 0x1c], edx
mov edx, dword [ebp - 0xc]
mov dword [ebp - 0x18], edx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x14], edx
shr edx, 8
and edx, eax
mov edx, dword [edx*4 + 0x1001dae0]
add esi, 0x10
ror edx, 0x10
mov ebx, edi
shr ebx, 0x10
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001dae0]
ror ebx, 8
xor edx, ebx
mov ebx, dword [ebp - 4]
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001dae0]
ror ebx, 0x18
xor edx, ebx
mov ebx, dword [ebp - 0xc]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x1001dae0]
mov ebx, dword [ebp - 8]
xor edx, dword [esi]
shr ebx, 0x10
mov dword [ebp - 0xc], edx
mov edx, dword [ebp - 4]
shr edx, 8
and edx, eax
mov edx, dword [edx*4 + 0x1001dae0]
ror edx, 0x10
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001dae0]
ror ebx, 8
xor edx, ebx
mov ebx, dword [ebp - 0x18]
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001dae0]
ror ebx, 0x18
xor edx, ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edi
shr edi, 0x18
xor edx, dword [edi*4 + 0x1001dae0]
shr ebx, 8
xor edx, dword [esi + 4]
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001dae0]
mov edi, edx
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, eax
mov edx, dword [edx*4 + 0x1001dae0]
ror edx, 8
ror ebx, 0x10
xor edx, ebx
mov ebx, dword [ebp - 0x10]
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001dae0]
ror ebx, 0x18
xor edx, ebx
mov ebx, dword [ebp - 8]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x1001dae0]
xor edx, dword [esi + 8]
mov dword [ebp - 8], edx
mov edx, dword [ebp - 0x10]
shr edx, 8
and edx, eax
mov ebx, dword [edx*4 + 0x1001dae0]
mov edx, dword [ebp - 0x18]
shr edx, 0x10
and edx, eax
mov edx, dword [edx*4 + 0x1001dae0]
ror ebx, 0x10
ror edx, 8
xor ebx, edx
mov edx, dword [ebp - 0x14]
and edx, eax
mov edx, dword [edx*4 + 0x1001dae0]
ror edx, 0x18
xor ebx, edx
mov edx, dword [ebp - 4]
shr edx, 0x18
xor ebx, dword [edx*4 + 0x1001dae0]
xor ebx, dword [esi + 0xc]
dec dword [ebp - 0x1c]
mov dword [ebp - 4], ebx
jne 0x1001208b
mov ebx, dword [ebp - 8]
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001dee0]
and ebx, 0xff00
mov edx, edi
shr edx, 0x10
and edx, eax
mov edx, dword [edx*4 + 0x1001dee0]
and edx, 0xff0000
xor edx, ebx
mov ebx, dword [ebp - 0xc]
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x1001dee0]
and ebx, 0xff000000
xor edx, ebx
mov ebx, dword [ebp - 4]
and ebx, eax
movzx ebx, byte [ebx*4 + 0x1001dee0]
xor edx, ebx
xor edx, dword [esi + 0x10]
mov ebx, edx
shr ebx, 0x18
mov byte [ecx], bl
mov ebx, edx
shr ebx, 0x10
mov byte [ecx + 1], bl
mov byte [ecx + 3], dl
mov ebx, edx
shr ebx, 8
mov byte [ecx + 2], bl
mov edx, dword [ebp - 8]
mov ebx, dword [ebp - 4]
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001dee0]
and ebx, 0xff00
shr edx, 0x10
and edx, eax
mov edx, dword [edx*4 + 0x1001dee0]
and edx, 0xff0000
xor edx, ebx
mov ebx, edi
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x1001dee0]
and ebx, 0xff000000
xor edx, ebx
mov ebx, dword [ebp - 0xc]
and ebx, eax
movzx ebx, byte [ebx*4 + 0x1001dee0]
xor edx, ebx
xor edx, dword [esi + 0x14]
mov ebx, edx
shr ebx, 0x18
mov byte [ecx + 4], bl
mov ebx, edx
shr ebx, 0x10
mov byte [ecx + 5], bl
mov ebx, edx
shr ebx, 8
mov byte [ecx + 6], bl
mov ebx, dword [ebp - 0xc]
mov byte [ecx + 7], dl
mov edx, dword [ebp - 4]
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + 0x1001dee0]
shr edx, 0x10
and edx, eax
mov edx, dword [edx*4 + 0x1001dee0]
and ebx, 0xff00
and edx, 0xff0000
xor edx, ebx
mov ebx, dword [ebp - 8]
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x1001dee0]
and ebx, 0xff000000
xor edx, ebx
mov ebx, edi
and ebx, eax
movzx ebx, byte [ebx*4 + 0x1001dee0]
xor edx, ebx
xor edx, dword [esi + 0x18]
shr edi, 8
mov ebx, edx
shr ebx, 0x18
mov byte [ecx + 8], bl
mov ebx, edx
mov byte [ecx + 0xb], dl
and edi, eax
shr ebx, 0x10
mov byte [ecx + 9], bl
mov ebx, edx
mov edx, dword [ebp - 0xc]
shr edx, 0x10
and edx, eax
shr ebx, 8
mov byte [ecx + 0xa], bl
mov edi, dword [edi*4 + 0x1001dee0]
mov edx, dword [edx*4 + 0x1001dee0]
and edi, 0xff00
and edx, 0xff0000
xor edx, edi
mov edi, dword [ebp - 4]
shr edi, 0x18
mov edi, dword [edi*4 + 0x1001dee0]
and edi, 0xff000000
xor edx, edi
mov edi, dword [ebp - 8]
and edi, eax
movzx eax, byte [edi*4 + 0x1001dee0]
xor edx, eax
xor edx, dword [esi + 0x1c]
pop edi
mov eax, edx
shr eax, 0x18
mov byte [ecx + 0xc], al
mov eax, edx
shr eax, 0x10
mov byte [ecx + 0xd], al
mov eax, edx
shr eax, 8
pop esi
mov byte [ecx + 0xe], al
mov byte [ecx + 0xf], dl
pop ebx
leave
ret