Function at 0x1000f257
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 0x1000f73d
test ecx, ecx
je 0x1000f73d
test edx, edx
je 0x1000f73d
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 + 0x10024f08]
and edi, eax
mov edi, dword [edi*4 + 0x10024f08]
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 + 0x10024f08]
ror edi, 0x18
xor edx, edi
mov edi, ebx
shr edi, 0x18
xor edx, dword [edi*4 + 0x10024f08]
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 + 0x10024f08]
mov edx, dword [ebp - 0x14]
shr edx, 0x10
and edx, eax
mov edx, dword [edx*4 + 0x10024f08]
ror edi, 0x10
ror edx, 8
xor edi, edx
mov edx, ebx
and edx, eax
mov edx, dword [edx*4 + 0x10024f08]
ror edx, 0x18
xor edi, edx
mov edx, dword [ebp - 0x10]
shr edx, 0x18
xor edi, dword [edx*4 + 0x10024f08]
mov edx, dword [ebp - 4]
xor edi, dword [esi + 4]
shr edx, 0x10
shr ebx, 8
and edx, eax
mov edx, dword [edx*4 + 0x10024f08]
and ebx, eax
mov ebx, dword [ebx*4 + 0x10024f08]
ror edx, 8
ror ebx, 0x10
xor edx, ebx
mov ebx, dword [ebp - 0x10]
and ebx, eax
mov ebx, dword [ebx*4 + 0x10024f08]
ror ebx, 0x18
xor edx, ebx
mov ebx, dword [ebp - 0x14]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x10024f08]
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 + 0x10024f08]
and ebx, eax
mov ebx, dword [ebx*4 + 0x10024f08]
ror edx, 0x10
ror ebx, 8
xor edx, ebx
mov ebx, dword [ebp - 0x14]
and ebx, eax
mov ebx, dword [ebx*4 + 0x10024f08]
ror ebx, 0x18
xor edx, ebx
mov ebx, dword [ebp - 4]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x10024f08]
xor edx, dword [esi + 0xc]
mov dword [ebp - 4], edx
mov edx, dword [ebp - 0x1c]
add edx, 0xfffffffe
je 0x1000f589
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 + 0x10024f08]
add esi, 0x10
ror edx, 0x10
mov ebx, edi
shr ebx, 0x10
and ebx, eax
mov ebx, dword [ebx*4 + 0x10024f08]
ror ebx, 8
xor edx, ebx
mov ebx, dword [ebp - 4]
and ebx, eax
mov ebx, dword [ebx*4 + 0x10024f08]
ror ebx, 0x18
xor edx, ebx
mov ebx, dword [ebp - 0xc]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x10024f08]
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 + 0x10024f08]
ror edx, 0x10
and ebx, eax
mov ebx, dword [ebx*4 + 0x10024f08]
ror ebx, 8
xor edx, ebx
mov ebx, dword [ebp - 0x18]
and ebx, eax
mov ebx, dword [ebx*4 + 0x10024f08]
ror ebx, 0x18
xor edx, ebx
mov ebx, dword [ebp - 0x18]
mov dword [ebp - 0x10], edi
shr edi, 0x18
xor edx, dword [edi*4 + 0x10024f08]
shr ebx, 8
xor edx, dword [esi + 4]
and ebx, eax
mov ebx, dword [ebx*4 + 0x10024f08]
mov edi, edx
mov edx, dword [ebp - 4]
shr edx, 0x10
and edx, eax
mov edx, dword [edx*4 + 0x10024f08]
ror edx, 8
ror ebx, 0x10
xor edx, ebx
mov ebx, dword [ebp - 0x10]
and ebx, eax
mov ebx, dword [ebx*4 + 0x10024f08]
ror ebx, 0x18
xor edx, ebx
mov ebx, dword [ebp - 8]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x10024f08]
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 + 0x10024f08]
mov edx, dword [ebp - 0x18]
shr edx, 0x10
and edx, eax
mov edx, dword [edx*4 + 0x10024f08]
ror ebx, 0x10
ror edx, 8
xor ebx, edx
mov edx, dword [ebp - 0x14]
and edx, eax
mov edx, dword [edx*4 + 0x10024f08]
ror edx, 0x18
xor ebx, edx
mov edx, dword [ebp - 4]
shr edx, 0x18
xor ebx, dword [edx*4 + 0x10024f08]
xor ebx, dword [esi + 0xc]
dec dword [ebp - 0x1c]
mov dword [ebp - 4], ebx
jne 0x1000f44f
mov ebx, dword [ebp - 8]
shr ebx, 8
and ebx, eax
mov ebx, dword [ebx*4 + 0x10025308]
and ebx, 0xff00
mov edx, edi
shr edx, 0x10
and edx, eax
mov edx, dword [edx*4 + 0x10025308]
and edx, 0xff0000
xor edx, ebx
mov ebx, dword [ebp - 0xc]
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x10025308]
and ebx, 0xff000000
xor edx, ebx
mov ebx, dword [ebp - 4]
and ebx, eax
movzx ebx, byte [ebx*4 + 0x10025308]
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 + 0x10025308]
and ebx, 0xff00
shr edx, 0x10
and edx, eax
mov edx, dword [edx*4 + 0x10025308]
and edx, 0xff0000
xor edx, ebx
mov ebx, edi
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x10025308]
and ebx, 0xff000000
xor edx, ebx
mov ebx, dword [ebp - 0xc]
and ebx, eax
movzx ebx, byte [ebx*4 + 0x10025308]
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 + 0x10025308]
shr edx, 0x10
and edx, eax
mov edx, dword [edx*4 + 0x10025308]
and ebx, 0xff00
and edx, 0xff0000
xor edx, ebx
mov ebx, dword [ebp - 8]
shr ebx, 0x18
mov ebx, dword [ebx*4 + 0x10025308]
and ebx, 0xff000000
xor edx, ebx
mov ebx, edi
and ebx, eax
movzx ebx, byte [ebx*4 + 0x10025308]
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 + 0x10025308]
mov edx, dword [edx*4 + 0x10025308]
and edi, 0xff00
and edx, 0xff0000
xor edx, edi
mov edi, dword [ebp - 4]
shr edi, 0x18
mov edi, dword [edi*4 + 0x10025308]
and edi, 0xff000000
xor edx, edi
mov edi, dword [ebp - 8]
and edi, eax
movzx eax, byte [edi*4 + 0x10025308]
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