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

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 0xc]
mov edx, 0xff00ff00
push esi
mov esi, dword [ebp + 8]
push edi
mov eax, dword [ebx]
mov ecx, eax
rol eax, 8
and eax, 0xff00ff
ror ecx, 8
and ecx, edx
lea edi, [esi + 4]
or ecx, eax
mov dword [esi], ecx
mov ecx, dword [ebx + 4]
mov eax, ecx
ror eax, 8
and eax, edx
rol ecx, 8
and ecx, 0xff00ff
or eax, ecx
mov dword [edi], eax
mov ecx, dword [ebx + 8]
mov eax, ecx
ror eax, 8
and eax, edx
rol ecx, 8
and ecx, 0xff00ff
or eax, ecx
mov dword [esi + 8], eax
mov eax, dword [ebx + 0xc]
mov edx, eax
ror edx, 8
rol eax, 8
and edx, 0xff00ff00
and eax, 0xff00ff
or edx, eax
cmp dword [ebp + 0x10], 0x80
mov dword [esi + 0xc], edx
jne 0x408226
mov eax, edx
mov ebx, 0xff000000
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, ebx
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 [edi]
xor ecx, dword [esi]
xor eax, ecx
mov dword [esi + 0x10], ecx
mov ecx, dword [esi + 8]
mov dword [esi + 0x14], eax
xor ecx, eax
mov eax, edx
mov dword [esi + 0x18], ecx
xor eax, ecx
mov dword [esi + 0x1c], eax
mov esi, 0x40e9e4
lea edi, [edi + 0x10]
mov ecx, dword [edi + 8]
mov eax, ecx
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + str.ccccwwww]
mov eax, ecx
shr eax, 0x10
and edx, 0xff0000
movzx eax, al
mov eax, dword [eax*4 + str.ccccwwww]
and eax, ebx
xor edx, eax
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax*4 + str.ccccwwww]
xor edx, eax
movzx eax, cl
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff00
xor edx, eax
xor edx, dword [edi - 4]
xor edx, dword [esi]
add esi, 4
mov dword [edi + 0xc], edx
mov eax, dword [edi]
xor eax, edx
mov dword [edi + 0x10], eax
mov ecx, dword [edi + 4]
xor ecx, eax
mov dword [edi + 0x14], ecx
mov eax, dword [edi + 8]
xor eax, ecx
mov dword [edi + 0x18], eax
cmp esi, 0x40ea08
jne 0x4081a6
push 0xa
pop eax
jmp 0x408531
mov ecx, dword [ebx + 0x10]
mov eax, ecx
ror eax, 8
and eax, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or eax, ecx
mov dword [esi + 0x10], eax
mov eax, dword [ebx + 0x14]
mov edx, eax
ror edx, 8
rol eax, 8
and edx, 0xff00ff00
and eax, 0xff00ff
or edx, eax
cmp dword [ebp + 0x10], 0xc0
mov dword [esi + 0x14], edx
jne 0x408373
mov eax, edx
mov ebx, 0xff000000
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, ebx
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 [edi]
xor ecx, dword [esi]
mov edi, 0x40e9e4
xor eax, ecx
mov dword [esi + 0x18], ecx
mov ecx, dword [esi + 8]
xor ecx, eax
mov dword [esi + 0x1c], eax
mov eax, dword [esi + 0xc]
xor eax, ecx
mov dword [esi + 0x20], ecx
mov dword [esi + 0x24], eax
add esi, 0x28
mov ecx, dword [esi - 0x18]
xor ecx, dword [esi - 4]
mov eax, dword [esi - 0x14]
xor eax, ecx
mov dword [esi], ecx
mov dword [esi + 4], eax
lea esi, [esi + 0x18]
mov ecx, dword [esi - 0x14]
mov eax, ecx
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + str.ccccwwww]
mov eax, ecx
shr eax, 0x10
and edx, 0xff0000
movzx eax, al
mov eax, dword [eax*4 + str.ccccwwww]
and eax, ebx
xor edx, eax
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax*4 + str.ccccwwww]
xor edx, eax
movzx eax, cl
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff00
xor edx, eax
xor edx, dword [esi - 0x28]
xor edx, dword [edi]
add edi, 4
mov dword [esi - 0x10], edx
mov eax, dword [esi - 0x24]
xor eax, edx
mov dword [esi - 0xc], eax
mov ecx, dword [esi - 0x20]
xor ecx, eax
mov dword [esi - 8], ecx
mov eax, dword [esi - 0x1c]
xor eax, ecx
mov dword [esi - 4], eax
cmp edi, 0x40ea00
jne 0x4082df
push 0xc
jmp 0x408220
mov ecx, dword [ebx + 0x18]
mov edx, 0xff00ff00
mov eax, ecx
rol ecx, 8
ror eax, 8
and ecx, 0xff00ff
and eax, edx
or eax, ecx
mov dword [esi + 0x18], eax
mov ecx, dword [ebx + 0x1c]
mov eax, ecx
ror eax, 8
rol ecx, 8
and eax, edx
and ecx, 0xff00ff
or eax, ecx
cmp dword [ebp + 0x10], 0x100
mov dword [esi + 0x1c], eax
jne 0x40852f
mov ecx, eax
mov dword [ebp + 0xc], 0x40e9e4
shr eax, 0x10
mov ebx, 0xff000000
movzx eax, al
mov edx, dword [eax*4 + str.ccccwwww]
mov eax, ecx
shr eax, 8
xor edx, 0x1000000
movzx eax, al
and edx, ebx
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff0000
xor edx, eax
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax*4 + str.ccccwwww]
xor edx, eax
movzx eax, cl
mov ecx, dword [esi + 8]
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff00
xor edx, eax
mov eax, dword [edi]
xor edx, dword [esi]
mov edi, 0xff00
xor eax, edx
mov dword [esi + 0x20], edx
mov dword [esi + 0x24], eax
lea edx, [esi + 0x30]
xor ecx, eax
mov dword [ebp + 0x10], edx
mov eax, dword [esi + 0xc]
xor eax, ecx
mov dword [esi + 0x28], ecx
mov dword [esi + 0x2c], eax
mov esi, 0xff0000
mov ecx, dword [edx - 4]
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov edx, dword [eax*4 + str.ccccwwww]
mov eax, ecx
shr eax, 8
and edx, esi
movzx eax, al
mov eax, dword [eax*4 + str.ccccwwww]
and eax, edi
xor edx, eax
mov eax, ecx
shr eax, 0x18
mov eax, dword [eax*4 + str.ccccwwww]
and eax, ebx
xor edx, eax
movzx eax, cl
movzx eax, byte [eax*4 + str.ccccwwww]
xor edx, eax
mov eax, dword [ebp + 0x10]
xor edx, dword [eax - 0x20]
mov dword [eax], edx
mov eax, dword [eax - 0x1c]
xor eax, edx
mov edx, dword [ebp + 0x10]
mov ecx, dword [edx - 0x18]
mov dword [edx + 4], eax
xor ecx, eax
mov eax, dword [edx - 0x14]
xor eax, ecx
mov dword [edx + 8], ecx
mov dword [edx + 0xc], eax
add edx, 0x20
mov dword [ebp + 0x10], edx
mov ecx, dword [edx - 0x14]
mov eax, ecx
shr eax, 8
movzx eax, al
mov edx, dword [eax*4 + str.ccccwwww]
mov eax, ecx
shr eax, 0x10
and edx, esi
movzx eax, al
mov eax, dword [eax*4 + str.ccccwwww]
and eax, ebx
xor edx, eax
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax*4 + str.ccccwwww]
xor edx, eax
movzx eax, cl
mov ecx, dword [ebp + 0xc]
mov eax, dword [eax*4 + str.ccccwwww]
and eax, edi
xor edx, eax
mov eax, dword [ebp + 0x10]
xor edx, dword [eax - 0x30]
xor edx, dword [ecx]
mov dword [eax - 0x10], edx
mov eax, dword [eax - 0x2c]
xor eax, edx
mov edx, dword [ebp + 0x10]
mov dword [edx - 0xc], eax
mov ecx, dword [edx - 0x28]
xor ecx, eax
mov dword [edx - 8], ecx
mov eax, dword [edx - 0x24]
xor eax, ecx
mov dword [edx - 4], eax
mov eax, dword [ebp + 0xc]
add eax, 4
mov dword [ebp + 0xc], eax
cmp eax, 0x40e9fc
jne 0x40843a
push 0xe
jmp 0x408220
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret