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

Disassembly:
push ebp
mov ebp, dword [esp + 8]
test ebp, ebp
je 0x10100f7c
mov edx, dword [esp + 0x10]
test edx, edx
je 0x10100f7c
push edi
mov edi, dword [esp + 0x10]
cmp edi, 0x80
je 0x10100ac6
cmp edi, 0xc0
je 0x10100abe
cmp edi, 0x100
je 0x10100abe
pop edi
mov eax, 0xfffffffe
pop ebp
ret
cmp edi, 0x80
jne 0x10100ad2
mov dword [edx + 0xf0], 0xa
jmp 0x10100aea
xor eax, eax
cmp edi, 0xc0
setne al
lea eax, [eax*2 + 0xc]
mov dword [edx + 0xf0], eax
mov ecx, dword [ebp]
mov eax, ecx
ror eax, 8
and eax, 0xff00ff00
push ebx
rol ecx, 8
and ecx, 0xff00ff
or eax, ecx
mov dword [edx], eax
mov ecx, dword [ebp + 4]
mov eax, ecx
push esi
ror eax, 8
and eax, 0xff00ff00
lea esi, [edx + 4]
rol ecx, 8
and ecx, 0xff00ff
or eax, ecx
mov dword [esi], eax
mov ecx, dword [ebp + 8]
mov eax, ecx
ror eax, 8
and eax, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or eax, ecx
mov dword [edx + 8], eax
mov eax, dword [ebp + 0xc]
mov ebx, eax
ror ebx, 8
and ebx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ebx, eax
mov dword [edx + 0xc], ebx
cmp edi, 0x80
jne 0x10100c67
mov eax, ebx
shr eax, 0x10
and eax, 0xff
mov edi, 0x101c2d84
mov ecx, dword [eax*4 + 0x101c1480]
xor ecx, 0x1000000
mov eax, ebx
shr eax, 8
and eax, 0xff
and ecx, 0xff000000
mov eax, dword [eax*4 + 0x101c1880]
and eax, 0xff0000
xor ecx, eax
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x101c1080]
xor ecx, eax
movzx eax, bl
mov eax, dword [eax*4 + 0x101c0c80]
and eax, 0xff00
xor ecx, eax
xor ecx, dword [edx]
mov eax, dword [esi]
xor eax, ecx
mov dword [edx + 0x10], ecx
mov ecx, dword [edx + 8]
xor ecx, eax
mov dword [edx + 0x14], eax
mov eax, ebx
xor eax, ecx
mov dword [edx + 0x18], ecx
mov dword [edx + 0x1c], eax
lea ebx, [ebx]
mov ecx, dword [esi + 0x18]
lea esi, [esi + 0x10]
mov eax, ecx
shr eax, 8
and eax, 0xff
add edi, 4
mov edx, dword [eax*4 + 0x101c1880]
mov eax, ecx
shr eax, 0x10
and eax, 0xff
and edx, 0xff0000
mov eax, dword [eax*4 + 0x101c1480]
and eax, 0xff000000
xor edx, eax
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x101c1080]
xor edx, eax
movzx eax, cl
mov eax, dword [eax*4 + 0x101c0c80]
and eax, 0xff00
xor edx, eax
xor edx, dword [esi - 4]
xor edx, dword [edi - 4]
mov dword [esi + 0xc], edx
mov eax, dword [esi]
xor eax, edx
mov dword [esi + 0x10], eax
mov ecx, dword [esi + 4]
xor ecx, eax
mov dword [esi + 0x14], ecx
mov eax, dword [esi + 8]
xor eax, ecx
mov dword [esi + 0x18], eax
cmp edi, 0x101c2da8
jne 0x10100be0
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov eax, ecx
ror eax, 8
and eax, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or eax, ecx
mov dword [edx + 0x10], eax
mov eax, dword [ebp + 0x14]
mov ebx, eax
ror ebx, 8
and ebx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ebx, eax
mov dword [edx + 0x14], ebx
cmp edi, 0xc0
jne 0x10100dc2
mov eax, ebx
shr eax, 0x10
and eax, 0xff
mov edi, 0x101c2d84
mov ecx, dword [eax*4 + 0x101c1480]
xor ecx, 0x1000000
mov eax, ebx
shr eax, 8
and eax, 0xff
and ecx, 0xff000000
mov eax, dword [eax*4 + 0x101c1880]
and eax, 0xff0000
xor ecx, eax
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x101c1080]
xor ecx, eax
movzx eax, bl
mov eax, dword [eax*4 + 0x101c0c80]
and eax, 0xff00
xor ecx, eax
xor ecx, dword [edx]
mov eax, dword [esi]
xor eax, ecx
mov dword [edx + 0x18], ecx
mov ecx, dword [edx + 8]
xor ecx, eax
mov dword [edx + 0x1c], eax
mov eax, dword [edx + 0xc]
xor eax, ecx
mov dword [edx + 0x24], eax
mov dword [edx + 0x20], ecx
lea eax, [edx + 0x28]
mov edx, dword [eax - 0x18]
xor edx, dword [eax - 4]
mov ecx, dword [eax - 0x14]
xor ecx, edx
mov dword [eax + 4], ecx
mov dword [eax], edx
mov edx, dword [eax + 4]
lea eax, [eax + 0x18]
mov ecx, edx
shr ecx, 8
and ecx, 0xff
add edi, 4
mov esi, dword [ecx*4 + 0x101c1880]
mov ecx, edx
shr ecx, 0x10
and ecx, 0xff
and esi, 0xff0000
mov ecx, dword [ecx*4 + 0x101c1480]
and ecx, 0xff000000
xor esi, ecx
mov ecx, edx
shr ecx, 0x18
movzx ecx, byte [ecx*4 + 0x101c1080]
xor esi, ecx
movzx ecx, dl
mov ecx, dword [ecx*4 + 0x101c0c80]
and ecx, 0xff00
xor esi, ecx
xor esi, dword [eax - 0x28]
xor esi, dword [edi - 4]
mov dword [eax - 0x10], esi
mov ecx, dword [eax - 0x24]
xor ecx, esi
mov dword [eax - 0xc], ecx
mov edx, dword [eax - 0x20]
xor edx, ecx
mov dword [eax - 8], edx
mov ecx, dword [eax - 0x1c]
xor ecx, edx
mov dword [eax - 4], ecx
cmp edi, 0x101c2da0
jne 0x10100d22
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
ret
mov ecx, dword [ebp + 0x18]
mov eax, ecx
ror eax, 8
and eax, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or eax, ecx
mov dword [edx + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov ebx, eax
ror ebx, 8
and ebx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ebx, eax
mov dword [edx + 0x1c], ebx
cmp edi, 0x100
jne 0x10100c60
mov eax, ebx
shr eax, 0x10
and eax, 0xff
mov edi, 0x101c2d84
mov ecx, dword [eax*4 + 0x101c1480]
xor ecx, 0x1000000
mov eax, ebx
shr eax, 8
and eax, 0xff
and ecx, 0xff000000
mov eax, dword [eax*4 + 0x101c1880]
and eax, 0xff0000
xor ecx, eax
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x101c1080]
xor ecx, eax
movzx eax, bl
mov eax, dword [eax*4 + 0x101c0c80]
and eax, 0xff00
xor ecx, eax
xor ecx, dword [edx]
mov eax, dword [esi]
xor eax, ecx
mov dword [edx + 0x20], ecx
mov ecx, dword [edx + 8]
xor ecx, eax
mov dword [edx + 0x24], eax
mov eax, dword [edx + 0xc]
xor eax, ecx
mov dword [edx + 0x28], ecx
mov dword [edx + 0x2c], eax
lea esi, [edx + 0x30]
lea ecx, [ecx]
mov ecx, dword [esi - 4]
mov eax, ecx
shr eax, 0x10
and eax, 0xff
lea esi, [esi + 0x20]
mov edx, dword [eax*4 + 0x101c1880]
mov eax, ecx
shr eax, 8
and eax, 0xff
and edx, 0xff0000
mov eax, dword [eax*4 + 0x101c0c80]
and eax, 0xff00
xor edx, eax
mov eax, ecx
shr eax, 0x18
add edi, 4
mov eax, dword [eax*4 + 0x101c1480]
and eax, 0xff000000
xor edx, eax
movzx eax, cl
mov ecx, dword [esi - 0x38]
movzx eax, byte [eax*4 + 0x101c1080]
xor edx, eax
xor edx, dword [esi - 0x40]
mov eax, dword [esi - 0x3c]
xor eax, edx
mov dword [esi - 0x1c], eax
xor ecx, eax
mov eax, dword [esi - 0x34]
xor eax, ecx
mov dword [esi - 0x14], eax
mov dword [esi - 0x20], edx
mov dword [esi - 0x18], ecx
mov ecx, dword [esi - 0x14]
mov eax, ecx
shr eax, 8
and eax, 0xff
mov edx, dword [eax*4 + 0x101c1880]
mov eax, ecx
shr eax, 0x10
and eax, 0xff
and edx, 0xff0000
mov eax, dword [eax*4 + 0x101c1480]
and eax, 0xff000000
xor edx, eax
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x101c1080]
xor edx, eax
movzx eax, cl
mov eax, dword [eax*4 + 0x101c0c80]
and eax, 0xff00
xor edx, eax
xor edx, dword [esi - 0x30]
xor edx, dword [edi - 4]
mov dword [esi - 0x10], edx
mov eax, dword [esi - 0x2c]
xor eax, edx
mov dword [esi - 0xc], eax
mov ecx, dword [esi - 0x28]
xor ecx, eax
mov dword [esi - 8], ecx
mov eax, dword [esi - 0x24]
xor eax, ecx
mov dword [esi - 4], eax
cmp edi, 0x101c2d9c
jne 0x10100e80
pop esi
pop ebx
pop edi
xor eax, eax
pop ebp
ret
or eax, 0xffffffff
pop ebp
ret