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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov eax, ecx
push edi
mov edi, dword [eax + 0xf0]
shr edi, 1
mov esi, edx
mov dword [ebp - 0xc], eax
cmp edi, 7
ja 0x4184d6
test edi, edi
je 0x4184d6
mov eax, dword [esi]
mov ecx, dword [esi + 4]
mov edx, dword [esi + 8]
mov esi, dword [esi + 0xc]
push ebx
mov ebx, eax
rol eax, 8
and eax, 0xff00ff
ror ebx, 8
and ebx, 0xff00ff00
or ebx, eax
mov eax, dword [ebp - 0xc]
xor ebx, dword [eax]
mov eax, ecx
mov dword [ebp - 8], ebx
ror eax, 8
and eax, 0xff00ff00
mov ebx, edx
rol ecx, 8
and ecx, 0xff00ff
or eax, ecx
rol edx, 8
mov ecx, dword [ebp - 0xc]
and edx, 0xff00ff
ror ebx, 8
xor eax, dword [ecx + 4]
and ebx, 0xff00ff00
mov dword [ebp - 0x10], eax
or ebx, edx
xor ebx, dword [ecx + 8]
mov edx, esi
ror edx, 8
and edx, 0xff00ff00
mov eax, ebx
rol esi, 8
shr eax, 8
and esi, 0xff00ff
or edx, esi
xor edx, dword [ecx + 0xc]
movzx ecx, al
mov eax, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x43c710]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x43c310]
mov eax, dword [ebp - 8]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x43bf10]
movzx eax, dl
xor ecx, dword [eax*4 + 0x43cb10]
mov eax, dword [ebp - 0xc]
xor ecx, dword [eax + 0x10]
mov eax, edx
shr eax, 8
mov dword [ebp - 0x18], ecx
movzx ecx, al
mov eax, ebx
mov ecx, dword [ecx*4 + 0x43c710]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x43c310]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x43bf10]
mov eax, dword [ebp - 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x43cb10]
mov eax, dword [ebp - 0xc]
xor ecx, dword [eax + 0x14]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x14], ecx
mov eax, dword [eax*4 + 0x43c310]
mov ecx, ebx
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x43bf10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
shr eax, 8
movzx eax, al
mov ecx, dword [ebp - 4]
xor ecx, dword [eax*4 + 0x43c710]
shr edx, 0x18
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x10]
mov esi, dword [ebp - 4]
movzx eax, cl
shr ecx, 8
xor esi, dword [eax*4 + 0x43cb10]
mov dword [ebp - 4], esi
mov eax, esi
mov esi, dword [ebp - 0xc]
add esi, 0x20
xor eax, dword [esi - 8]
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], eax
movzx eax, cl
mov ecx, dword [edx*4 + 0x43bf10]
xor ecx, dword [eax*4 + 0x43c710]
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x43c310]
movzx eax, bl
xor ecx, dword [eax*4 + 0x43cb10]
xor ecx, dword [esi - 4]
mov dword [ebp - 8], ecx
dec edi
je 0x418328
mov esi, dword [ebp - 4]
mov edx, dword [ebp - 0x18]
mov eax, esi
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x14]
mov ecx, dword [ecx*4 + 0x43c710]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x43c310]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x43bf10]
mov eax, dword [ebp - 8]
movzx eax, al
xor ecx, dword [eax*4 + 0x43cb10]
mov eax, dword [ebp - 0xc]
xor ecx, dword [eax]
mov eax, dword [ebp - 8]
shr eax, 8
mov dword [ebp - 0x10], ecx
movzx ecx, al
mov eax, esi
mov ecx, dword [ecx*4 + 0x43c710]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x43c310]
mov eax, dword [ebp - 0x14]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x43bf10]
movzx eax, dl
xor ecx, dword [eax*4 + 0x43cb10]
mov eax, dword [ebp - 0xc]
xor ecx, dword [eax + 4]
mov eax, dword [ebp - 8]
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x1c], ecx
mov ebx, dword [eax*4 + 0x43c310]
shr dword [ebp - 8], 0x18
mov ecx, esi
shr ecx, 0x18
mov esi, dword [ebp - 0xc]
xor ebx, dword [ecx*4 + 0x43bf10]
mov ecx, edx
mov edx, dword [ebp - 0x14]
mov eax, ecx
shr eax, 8
movzx eax, al
shr ecx, 0x10
xor ebx, dword [eax*4 + 0x43c710]
movzx eax, dl
shr edx, 8
xor ebx, dword [eax*4 + 0x43cb10]
movzx eax, dl
mov edx, dword [ebp - 8]
xor ebx, dword [esi + 8]
mov edx, dword [edx*4 + 0x43bf10]
xor edx, dword [eax*4 + 0x43c710]
movzx eax, cl
xor edx, dword [eax*4 + 0x43c310]
mov eax, dword [ebp - 4]
movzx eax, al
xor edx, dword [eax*4 + 0x43cb10]
mov eax, ebx
xor edx, dword [esi + 0xc]
shr eax, 8
movzx ecx, al
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ecx*4 + 0x43c710]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x43c310]
mov eax, dword [ebp - 0x10]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x43bf10]
movzx eax, dl
xor ecx, dword [eax*4 + 0x43cb10]
mov eax, esi
xor ecx, dword [eax + 0x10]
mov dword [ebp - 0x18], ecx
mov eax, edx
shr eax, 8
movzx ecx, al
mov eax, ebx
mov ecx, dword [ecx*4 + 0x43c710]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x43c310]
mov eax, dword [ebp - 0x1c]
shr eax, 0x18
xor ecx, dword [eax*4 + 0x43bf10]
mov eax, dword [ebp - 0x10]
movzx eax, al
xor ecx, dword [eax*4 + 0x43cb10]
mov eax, esi
xor ecx, dword [eax + 0x14]
mov eax, edx
shr eax, 0x10
movzx eax, al
mov dword [ebp - 0x14], ecx
mov eax, dword [eax*4 + 0x43c310]
mov ecx, ebx
shr ecx, 0x18
shr edx, 0x18
xor eax, dword [ecx*4 + 0x43bf10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
shr eax, 8
movzx eax, al
xor ecx, dword [eax*4 + 0x43c710]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x1c]
mov esi, dword [ebp - 4]
movzx eax, cl
shr ecx, 8
xor esi, dword [eax*4 + 0x43cb10]
mov dword [ebp - 4], esi
mov eax, esi
mov esi, dword [ebp - 0xc]
add esi, 0x20
xor eax, dword [esi - 8]
mov dword [ebp - 0xc], esi
mov dword [ebp - 4], eax
movzx eax, cl
mov ecx, dword [edx*4 + 0x43bf10]
xor ecx, dword [eax*4 + 0x43c710]
mov eax, dword [ebp - 0x10]
shr eax, 0x10
movzx eax, al
xor ecx, dword [eax*4 + 0x43c310]
movzx eax, bl
xor ecx, dword [eax*4 + 0x43cb10]
xor ecx, dword [esi - 4]
mov dword [ebp - 8], ecx
dec edi
jne 0x418117
mov ebx, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov ecx, dword [eax*4 + str.ccccwwww]
mov eax, dword [ebp - 4]
shr eax, 8
movzx eax, al
and ecx, 0xff0000
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff00
xor ecx, eax
mov eax, edx
shr eax, 0x18
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff000000
xor ecx, eax
mov eax, dword [ebp - 8]
movzx eax, al
movzx eax, byte [eax*4 + str.ccccwwww]
xor ecx, eax
mov eax, dword [ebp - 4]
shr eax, 0x10
movzx eax, al
xor ecx, dword [esi]
mov edi, dword [eax*4 + str.ccccwwww]
mov eax, dword [ebp - 8]
shr eax, 8
movzx eax, al
and edi, 0xff0000
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff00
xor edi, eax
mov eax, ebx
shr eax, 0x18
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff000000
xor edi, eax
movzx eax, dl
movzx eax, byte [eax*4 + str.ccccwwww]
xor edi, eax
mov eax, dword [ebp - 8]
xor edi, dword [esi + 4]
shr eax, 0x10
movzx eax, al
mov esi, dword [eax*4 + str.ccccwwww]
mov eax, dword [ebp - 4]
shr eax, 0x18
and esi, 0xff0000
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff000000
xor esi, eax
mov eax, edx
shr eax, 8
movzx eax, al
shr edx, 0x10
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff00
xor esi, eax
movzx eax, bl
shr ebx, 8
movzx eax, byte [eax*4 + str.ccccwwww]
xor esi, eax
mov eax, dword [ebp - 0xc]
xor esi, dword [eax + 8]
movzx eax, dl
mov edx, dword [eax*4 + str.ccccwwww]
mov eax, dword [ebp - 8]
shr eax, 0x18
and edx, 0xff0000
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff000000
xor edx, eax
movzx eax, bl
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff00
xor edx, eax
mov eax, dword [ebp - 4]
movzx eax, al
movzx eax, byte [eax*4 + str.ccccwwww]
xor edx, eax
mov eax, dword [ebp - 0xc]
pop ebx
xor edx, dword [eax + 0xc]
mov eax, ecx
ror eax, 8
and eax, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or eax, ecx
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov eax, edi
ror eax, 8
and eax, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or eax, edi
mov dword [ecx + 4], eax
mov eax, esi
ror eax, 8
and eax, 0xff00ff00
rol esi, 8
and esi, 0xff00ff
or eax, esi
mov dword [ecx + 8], eax
mov eax, edx
ror eax, 8
and eax, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or eax, edx
mov dword [ecx + 0xc], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret