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

Disassembly:
push ebx
push edi
mov edi, ecx
test edi, edi
je 0x1000d07d
mov ebx, dword [esp + 0xc]
test ebx, ebx
je 0x1000d07d
mov dword [ebx + 0xf0], 0xe
movzx eax, byte [edi + 1]
push esi
movzx esi, byte [edi]
shl esi, 8
xor esi, eax
movzx eax, byte [edi + 2]
shl esi, 8
xor esi, eax
movzx eax, byte [edi + 3]
shl esi, 8
xor esi, eax
mov dword [ebx], esi
movzx ecx, byte [edi + 4]
shl ecx, 8
movzx eax, byte [edi + 5]
xor ecx, eax
movzx eax, byte [edi + 6]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edi + 7]
shl ecx, 8
xor ecx, eax
mov dword [ebx + 4], ecx
movzx ecx, byte [edi + 8]
movzx eax, byte [edi + 9]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edi + 0xa]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edi + 0xb]
shl ecx, 8
xor ecx, eax
mov dword [ebx + 8], ecx
movzx ecx, byte [edi + 0xc]
movzx eax, byte [edi + 0xd]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edi + 0xe]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edi + 0xf]
shl ecx, 8
xor ecx, eax
mov dword [ebx + 0xc], ecx
movzx ecx, byte [edi + 0x10]
movzx eax, byte [edi + 0x11]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edi + 0x12]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edi + 0x13]
shl ecx, 8
xor ecx, eax
mov dword [ebx + 0x10], ecx
movzx ecx, byte [edi + 0x14]
movzx eax, byte [edi + 0x15]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edi + 0x16]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edi + 0x17]
shl ecx, 8
xor ecx, eax
mov dword [ebx + 0x14], ecx
movzx ecx, byte [edi + 0x18]
movzx eax, byte [edi + 0x19]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edi + 0x1a]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edi + 0x1b]
shl ecx, 8
xor ecx, eax
mov dword [ebx + 0x18], ecx
movzx edx, byte [edi + 0x1c]
shl edx, 8
movzx eax, byte [edi + 0x1d]
xor edx, eax
movzx eax, byte [edi + 0x1e]
shl edx, 8
xor edx, eax
movzx eax, byte [edi + 0x1f]
shl edx, 8
mov edi, 0x10029d24
xor edx, eax
mov eax, edx
mov dword [ebx + 0x1c], edx
shr eax, 0x10
movzx eax, al
mov ecx, dword [eax*4 + str.ccccwwww]
mov eax, edx
shr eax, 8
xor ecx, 0x1000000
movzx eax, al
and ecx, 0xff000000
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff0000
xor ecx, eax
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, eax
movzx eax, dl
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff00
xor ecx, eax
mov eax, dword [ebx + 4]
xor ecx, esi
xor eax, ecx
mov dword [ebx + 0x20], ecx
mov ecx, dword [ebx + 8]
xor ecx, eax
mov dword [ebx + 0x24], eax
mov eax, dword [ebx + 0xc]
xor eax, ecx
mov dword [ebx + 0x28], ecx
mov dword [ebx + 0x2c], eax
lea eax, [ebx + 0x30]
mov edx, dword [eax - 4]
lea eax, [eax + 0x20]
mov ecx, edx
shr ecx, 0x10
movzx ecx, cl
mov esi, dword [ecx*4 + str.ccccwwww]
mov ecx, edx
shr ecx, 8
and esi, 0xff0000
movzx ecx, cl
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff00
xor esi, ecx
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff000000
xor esi, ecx
movzx ecx, dl
mov edx, dword [eax - 0x38]
movzx ecx, byte [ecx*4 + str.ccccwwww]
xor esi, ecx
mov ecx, dword [eax - 0x3c]
xor esi, dword [eax - 0x40]
xor ecx, esi
mov dword [eax - 0x20], esi
mov dword [eax - 0x1c], ecx
xor edx, ecx
mov ecx, dword [eax - 0x34]
xor ecx, edx
mov dword [eax - 0x18], edx
mov dword [eax - 0x14], ecx
mov edx, dword [eax - 0x14]
mov ecx, edx
shr ecx, 8
movzx ecx, cl
mov esi, dword [ecx*4 + str.ccccwwww]
mov ecx, edx
shr ecx, 0x10
and esi, 0xff0000
movzx ecx, cl
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff000000
xor esi, ecx
mov ecx, edx
shr ecx, 0x18
movzx ecx, byte [ecx*4 + str.ccccwwww]
xor esi, ecx
movzx ecx, dl
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff00
xor esi, ecx
xor esi, dword [eax - 0x30]
xor esi, dword [edi]
add edi, 4
mov dword [eax - 0x10], esi
mov ecx, dword [eax - 0x2c]
xor ecx, esi
mov dword [eax - 0xc], ecx
mov edx, dword [eax - 0x28]
xor edx, ecx
mov dword [eax - 8], edx
mov ecx, dword [eax - 0x24]
xor ecx, edx
mov dword [eax - 4], ecx
cmp edi, 0x10029d3c
jne 0x1000cf87
pop esi
pop edi
xor eax, eax
pop ebx
ret
pop edi
or eax, 0xffffffff
pop ebx
ret