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

Disassembly:
mov edx, dword [esp + 8]
movzx ecx, byte [edx]
movzx eax, byte [edx + 1]
push esi
shl ecx, 8
xor ecx, eax
movzx eax, byte [edx + 2]
shl ecx, 8
xor ecx, eax
movzx eax, byte [edx + 3]
shl ecx, 8
push edi
xor ecx, eax
mov eax, dword [esp + 0xc]
mov dword [eax], ecx
movzx esi, byte [edx + 4]
movzx edi, byte [edx + 5]
shl esi, 8
xor esi, edi
movzx edi, byte [edx + 6]
shl esi, 8
xor esi, edi
movzx edi, byte [edx + 7]
shl esi, 8
xor esi, edi
mov dword [eax + 4], esi
movzx esi, byte [edx + 8]
movzx edi, byte [edx + 9]
shl esi, 8
xor esi, edi
movzx edi, byte [edx + 0xa]
lea ecx, [eax + 4]
shl esi, 8
xor esi, edi
movzx edi, byte [edx + 0xb]
shl esi, 8
xor esi, edi
mov dword [eax + 8], esi
movzx esi, byte [edx + 0xc]
movzx edi, byte [edx + 0xd]
shl esi, 8
xor esi, edi
movzx edi, byte [edx + 0xe]
shl esi, 8
xor esi, edi
movzx edi, byte [edx + 0xf]
shl esi, 8
xor esi, edi
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x14]
cmp esi, 0x80
jne 0x417573
mov esi, dword [eax + 0xc]
mov edx, esi
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + str.ccccwwww]
mov edi, esi
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff0000
xor edx, 0x1000000
and edx, 0xff000000
xor edx, edi
mov edi, esi
shr edi, 0x18
movzx edi, byte [edi*4 + str.ccccwwww]
xor edx, edi
mov edi, esi
and edi, 0xff
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff00
xor edx, edi
xor edx, dword [eax]
mov edi, dword [ecx]
xor edi, edx
mov dword [eax + 0x10], edx
mov edx, dword [eax + 8]
xor edx, edi
xor esi, edx
mov dword [eax + 0x1c], esi
mov dword [eax + 0x14], edi
mov dword [eax + 0x18], edx
mov esi, 0x41fd54
mov edx, dword [ecx + 0x18]
add ecx, 0x10
mov eax, edx
shr eax, 8
mov edi, edx
and eax, 0xff
mov eax, dword [eax*4 + str.ccccwwww]
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + str.ccccwwww]
and eax, 0xff0000
and edi, 0xff000000
xor eax, edi
mov edi, edx
and edx, 0xff
mov edx, dword [edx*4 + str.ccccwwww]
shr edi, 0x18
movzx edi, byte [edi*4 + str.ccccwwww]
xor eax, edi
and edx, 0xff00
xor eax, edx
xor eax, dword [ecx - 4]
add esi, 4
xor eax, dword [esi - 4]
mov dword [ecx + 0xc], eax
mov edx, dword [ecx]
xor edx, eax
mov dword [ecx + 0x10], edx
mov eax, dword [ecx + 4]
xor eax, edx
mov dword [ecx + 0x14], eax
mov edx, dword [ecx + 8]
xor edx, eax
mov dword [ecx + 0x18], edx
cmp esi, 0x41fd78
jne 0x4174e2
pop edi
mov eax, 0xa
pop esi
ret
movzx edi, byte [edx + 0x10]
shl edi, 8
push ebx
movzx ebx, byte [edx + 0x11]
xor edi, ebx
movzx ebx, byte [edx + 0x12]
shl edi, 8
xor edi, ebx
movzx ebx, byte [edx + 0x13]
shl edi, 8
xor edi, ebx
mov dword [eax + 0x10], edi
movzx edi, byte [edx + 0x14]
movzx ebx, byte [edx + 0x15]
shl edi, 8
xor edi, ebx
movzx ebx, byte [edx + 0x16]
shl edi, 8
xor edi, ebx
movzx ebx, byte [edx + 0x17]
shl edi, 8
xor edi, ebx
mov dword [eax + 0x14], edi
cmp esi, 0xc0
jne 0x4176e9
mov esi, edi
mov ecx, dword [ecx]
mov edx, esi
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + str.ccccwwww]
shr edi, 8
xor edx, 0x1000000
and edi, 0xff
mov edi, dword [edi*4 + str.ccccwwww]
and edx, 0xff000000
and edi, 0xff0000
xor edx, edi
mov edi, esi
shr edi, 0x18
movzx edi, byte [edi*4 + str.ccccwwww]
and esi, 0xff
mov esi, dword [esi*4 + str.ccccwwww]
xor edx, edi
and esi, 0xff00
xor edx, esi
xor edx, dword [eax]
mov esi, 0x41fd54
xor ecx, edx
mov dword [eax + 0x18], edx
mov edx, dword [eax + 8]
xor edx, ecx
mov dword [eax + 0x1c], ecx
mov ecx, dword [eax + 0xc]
xor ecx, edx
mov dword [eax + 0x20], edx
mov dword [eax + 0x24], ecx
add eax, 0x28
mov ecx, dword [eax - 0x18]
xor ecx, dword [eax - 4]
mov edx, dword [eax - 0x14]
xor edx, ecx
mov dword [eax], ecx
mov dword [eax + 4], edx
mov edx, dword [eax + 4]
add eax, 0x18
mov ecx, edx
shr ecx, 8
mov edi, edx
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + str.ccccwwww]
and ecx, 0xff0000
and edi, 0xff000000
xor ecx, edi
mov edi, edx
and edx, 0xff
mov edx, dword [edx*4 + str.ccccwwww]
shr edi, 0x18
movzx edi, byte [edi*4 + str.ccccwwww]
xor ecx, edi
and edx, 0xff00
xor ecx, edx
xor ecx, dword [eax - 0x28]
add esi, 4
xor ecx, dword [esi - 4]
mov dword [eax - 0x10], ecx
mov edx, dword [eax - 0x24]
xor edx, ecx
mov dword [eax - 0xc], edx
mov ecx, dword [eax - 0x20]
xor ecx, edx
mov dword [eax - 8], ecx
mov edx, dword [eax - 0x1c]
xor edx, ecx
mov dword [eax - 4], edx
cmp esi, 0x41fd70
jne 0x417644
pop ebx
pop edi
mov eax, 0xc
pop esi
ret
movzx edi, byte [edx + 0x18]
movzx ebx, byte [edx + 0x19]
shl edi, 8
xor edi, ebx
movzx ebx, byte [edx + 0x1a]
shl edi, 8
xor edi, ebx
movzx ebx, byte [edx + 0x1b]
shl edi, 8
xor edi, ebx
mov dword [eax + 0x18], edi
movzx edi, byte [edx + 0x1c]
movzx ebx, byte [edx + 0x1d]
shl edi, 8
xor edi, ebx
movzx ebx, byte [edx + 0x1e]
movzx edx, byte [edx + 0x1f]
shl edi, 8
xor edi, ebx
shl edi, 8
xor edi, edx
mov dword [eax + 0x1c], edi
cmp esi, 0x100
jne 0x4178cb
mov esi, edi
mov ecx, dword [ecx]
mov edx, esi
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + str.ccccwwww]
shr edi, 8
xor edx, 0x1000000
and edi, 0xff
mov edi, dword [edi*4 + str.ccccwwww]
and edx, 0xff000000
and edi, 0xff0000
xor edx, edi
mov edi, esi
shr edi, 0x18
movzx edi, byte [edi*4 + str.ccccwwww]
and esi, 0xff
mov esi, dword [esi*4 + str.ccccwwww]
xor edx, edi
and esi, 0xff00
xor edx, esi
xor edx, dword [eax]
mov esi, 0x41fd54
xor ecx, edx
mov dword [eax + 0x20], edx
mov edx, dword [eax + 8]
xor edx, ecx
mov dword [eax + 0x24], ecx
mov ecx, dword [eax + 0xc]
xor ecx, edx
mov dword [eax + 0x28], edx
mov dword [eax + 0x2c], ecx
add eax, 0x30
lea esp, [esp]
mov edx, dword [eax - 4]
mov ecx, edx
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
mov edi, edx
shr edi, 8
and ecx, 0xff0000
and edi, 0xff
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff00
xor ecx, edi
mov edi, edx
and edx, 0xff
movzx edx, byte [edx*4 + str.ccccwwww]
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff000000
xor ecx, edi
xor ecx, edx
xor ecx, dword [eax - 0x20]
mov edx, dword [eax - 0x1c]
xor edx, ecx
mov dword [eax], ecx
mov ecx, dword [eax - 0x18]
xor ecx, edx
mov dword [eax + 4], edx
mov edx, dword [eax - 0x14]
xor edx, ecx
mov dword [eax + 8], ecx
mov dword [eax + 0xc], edx
mov edx, dword [eax + 0xc]
add eax, 0x20
mov ecx, edx
shr ecx, 8
mov edi, edx
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + str.ccccwwww]
and ecx, 0xff0000
and edi, 0xff000000
xor ecx, edi
mov edi, edx
and edx, 0xff
mov edx, dword [edx*4 + str.ccccwwww]
shr edi, 0x18
movzx edi, byte [edi*4 + str.ccccwwww]
xor ecx, edi
and edx, 0xff00
xor ecx, edx
xor ecx, dword [eax - 0x30]
add esi, 4
xor ecx, dword [esi - 4]
mov dword [eax - 0x10], ecx
mov edx, dword [eax - 0x2c]
xor edx, ecx
mov dword [eax - 0xc], edx
mov ecx, dword [eax - 0x28]
xor ecx, edx
mov dword [eax - 8], ecx
mov edx, dword [eax - 0x24]
xor edx, ecx
mov dword [eax - 4], edx
cmp esi, 0x41fd6c
jne 0x4177c0
pop ebx
pop edi
mov eax, 0xe
pop esi
ret
pop ebx
pop edi
xor eax, eax
pop esi
ret