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

Disassembly:
mov edx, dword [esp + 4]
push edi
test edx, edx
je 0x472dd5
mov edi, dword [esp + 0x10]
test edi, edi
je 0x472dd5
push ebx
mov ebx, dword [esp + 0x10]
cmp ebx, 0x80
je 0x472906
cmp ebx, 0xc0
je 0x4728fe
cmp ebx, 0x100
je 0x4728fe
pop ebx
mov eax, 0xfffffffe
pop edi
ret
cmp ebx, 0x80
jne 0x472912
mov dword [edi + 0xf0], 0xa
jmp 0x47292a
xor eax, eax
cmp ebx, 0xc0
setne al
lea eax, [eax*2 + 0xc]
mov dword [edi + 0xf0], eax
movzx ecx, byte [edx + 0xc]
movzx eax, byte [edx + 0xd]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edx + 0xe]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edx + 0xf]
shl ecx, 8
xor ecx, eax
mov dword [edi + 0xc], ecx
movzx ecx, byte [edx + 8]
movzx eax, byte [edx + 9]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edx + 0xa]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edx + 0xb]
shl ecx, 8
xor ecx, eax
mov dword [edi + 8], ecx
movzx ecx, byte [edx + 4]
movzx eax, byte [edx + 5]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edx + 6]
push ebp
shl ecx, 8
xor ecx, eax
movzx eax, byte [edx + 7]
shl ecx, 8
xor ecx, eax
push esi
mov dword [edi + 4], ecx
lea esi, [edi + 4]
movzx ebp, byte [edx]
movzx eax, byte [edx + 1]
shl ebp, 8
xor ebp, eax
movzx eax, byte [edx + 2]
shl ebp, 8
xor ebp, eax
movzx eax, byte [edx + 3]
shl ebp, 8
xor ebp, eax
mov dword [edi], ebp
cmp ebx, 0x80
jne 0x472ab8
mov ecx, dword [edi + 0xc]
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov edx, dword [eax*4 + str.ccccwwww]
mov eax, ecx
shr eax, 8
xor edx, 0x1000000
movzx eax, al
and edx, 0xff000000
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 [edi + 8]
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff00
xor edx, eax
mov eax, dword [esi]
xor edx, ebp
xor eax, edx
mov dword [edi + 0x10], edx
mov dword [edi + 0x14], eax
xor ecx, eax
mov eax, dword [edi + 0xc]
xor eax, ecx
mov dword [edi + 0x18], ecx
mov dword [edi + 0x1c], eax
mov edi, 0x4acce4
mov ecx, dword [esi + 0x18]
lea esi, [esi + 0x10]
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, 0xff000000
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 - 4]
xor edx, dword [edi]
add 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, 0x4acd08
jne 0x472a36
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
ret
movzx ecx, byte [edx + 0x14]
movzx eax, byte [edx + 0x15]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edx + 0x16]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edx + 0x17]
shl ecx, 8
xor ecx, eax
mov dword [edi + 0x14], ecx
movzx ecx, byte [edx + 0x10]
movzx eax, byte [edx + 0x11]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edx + 0x12]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edx + 0x13]
shl ecx, 8
xor ecx, eax
mov dword [edi + 0x10], ecx
cmp ebx, 0xc0
jne 0x472c1a
mov ecx, dword [edi + 0x14]
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov edx, dword [eax*4 + str.ccccwwww]
mov eax, ecx
shr eax, 8
xor edx, 0x1000000
movzx eax, al
and edx, 0xff000000
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 [edi + 8]
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff00
xor edx, eax
mov eax, dword [esi]
xor edx, ebp
xor eax, edx
mov dword [edi + 0x18], edx
mov dword [edi + 0x1c], eax
xor ecx, eax
mov eax, dword [edi + 0xc]
xor eax, ecx
mov dword [edi + 0x20], ecx
mov dword [edi + 0x24], eax
lea eax, [edi + 0x28]
mov edi, 0x4acce4
mov edx, dword [eax - 0x18]
lea eax, [eax + 0x18]
xor edx, dword [eax - 0x1c]
mov ecx, dword [eax - 0x2c]
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 - 0x28]
xor esi, dword [edi]
add 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, 0x4acd00
jne 0x472b80
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
ret
movzx ecx, byte [edx + 0x1c]
movzx eax, byte [edx + 0x1d]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edx + 0x1e]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edx + 0x1f]
shl ecx, 8
xor ecx, eax
mov dword [edi + 0x1c], ecx
movzx ecx, byte [edx + 0x18]
movzx eax, byte [edx + 0x19]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edx + 0x1a]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edx + 0x1b]
shl ecx, 8
xor ecx, eax
mov dword [edi + 0x18], ecx
cmp ebx, 0x100
jne 0x472ab1
mov ecx, dword [edi + 0x1c]
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov edx, dword [eax*4 + str.ccccwwww]
mov eax, ecx
shr eax, 8
xor edx, 0x1000000
movzx eax, al
and edx, 0xff000000
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 [edi + 8]
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff00
xor edx, eax
mov eax, dword [esi]
xor edx, ebp
mov esi, 0x4acce4
xor eax, edx
mov dword [edi + 0x20], edx
xor ecx, eax
mov dword [edi + 0x24], eax
mov eax, dword [edi + 0xc]
xor eax, ecx
mov dword [edi + 0x28], ecx
mov dword [edi + 0x2c], eax
add edi, 0x30
mov ecx, dword [edi - 4]
lea edi, [edi + 0x20]
mov eax, ecx
shr eax, 0x10
movzx eax, al
mov edx, dword [eax*4 + str.ccccwwww]
mov eax, ecx
shr eax, 8
and edx, 0xff0000
movzx eax, al
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff00
xor edx, eax
mov eax, ecx
shr eax, 0x18
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff000000
xor edx, eax
movzx eax, cl
mov ecx, dword [edi - 0x38]
movzx eax, byte [eax*4 + str.ccccwwww]
xor edx, eax
mov eax, dword [edi - 0x3c]
xor edx, dword [edi - 0x40]
xor eax, edx
mov dword [edi - 0x20], edx
mov dword [edi - 0x1c], eax
xor ecx, eax
mov eax, dword [edi - 0x34]
xor eax, ecx
mov dword [edi - 0x18], ecx
mov dword [edi - 0x14], eax
mov ecx, dword [edi - 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, 0xff000000
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 - 0x30]
xor edx, dword [esi]
add esi, 4
mov dword [edi - 0x10], edx
mov eax, dword [edi - 0x2c]
xor eax, edx
mov dword [edi - 0xc], eax
mov ecx, dword [edi - 0x28]
xor ecx, eax
mov dword [edi - 8], ecx
mov eax, dword [edi - 0x24]
xor eax, ecx
mov dword [edi - 4], eax
cmp esi, 0x4accfc
jne 0x472ce2
pop esi
pop ebp
pop ebx
xor eax, eax
pop edi
ret
or eax, 0xffffffff
pop edi
ret