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

Disassembly:
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
cmp dword [ebp + 0x10], 0x10
push ebx
mov edx, dword [ecx]
push esi
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov dword [eax + 4], edx
mov edx, dword [ecx + 8]
mov dword [eax + 8], edx
mov edx, dword [ecx + 0xc]
push edi
mov dword [eax + 0xc], edx
jne 0x66716f08
mov ebx, edx
xor edx, edx
mov dword [ebp + 0x10], ebx
xor ecx, ecx
mov dl, byte [ebp + 0x12]
mov cl, bh
shr ebx, 0x18
mov esi, dword [edx*4 + str.ccccwwww]
mov ecx, dword [ecx*4 + str.ccccwwww]
mov edi, dword [ebx*4 + str.ccccwwww]
mov edx, 0xff000000
and ecx, 0xff0000
and esi, edx
xor ecx, esi
mov esi, 0xff
and edi, esi
mov dword [ebp + 0xc], 0x6679564c
xor ecx, edi
mov edi, dword [ebp + 0x10]
and edi, esi
mov ebx, dword [edi*4 + str.ccccwwww]
mov edi, 0xff00
and ebx, edi
xor ecx, ebx
lea ebx, [eax + 0x10]
xor ecx, dword [eax]
mov dword [ebp + 0x10], ebx
xor ecx, dword [0x66795648]
mov dword [ebx], ecx
xor ecx, dword [eax + 4]
mov dword [eax + 0x14], ecx
xor ecx, dword [eax + 8]
mov dword [eax + 0x18], ecx
xor ecx, dword [eax + 0xc]
mov dword [eax + 0x1c], ecx
mov eax, dword [ebp + 0x10]
xor ebx, ebx
mov ecx, dword [eax + 0xc]
mov bl, ch
mov dword [ebp + 8], ecx
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebx*4 + str.ccccwwww]
xor ebx, ebx
mov bl, byte [ebp + 0x12]
and ecx, 0xff0000
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, edx
xor ecx, ebx
mov ebx, dword [ebp + 0x10]
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, esi
xor ecx, ebx
mov ebx, dword [ebp + 0x10]
and ebx, esi
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, edi
xor ecx, ebx
mov ebx, dword [ebp + 0xc]
xor ecx, dword [eax]
add dword [ebp + 0xc], 4
xor ecx, dword [ebx]
lea ebx, [eax + 0x10]
mov dword [ebp + 0x10], ebx
mov dword [ebx], ecx
mov ebx, dword [eax + 4]
xor ebx, ecx
mov ecx, dword [eax + 8]
xor ecx, ebx
mov dword [eax + 0x14], ebx
mov dword [ebp - 4], ecx
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp + 8]
xor ecx, dword [ebp - 4]
cmp dword [ebp + 0xc], 0x66795670
mov dword [eax + 0x1c], ecx
jne 0x66716e77
push 0xa
jmp 0x667171ba
mov edx, dword [ecx + 0x10]
cmp dword [ebp + 0x10], 0x18
mov dword [eax + 0x10], edx
mov edx, dword [ecx + 0x14]
mov dword [eax + 0x14], edx
jne 0x66717034
mov ebx, edx
xor edx, edx
mov dword [ebp + 0x10], ebx
xor ecx, ecx
mov dl, byte [ebp + 0x12]
mov cl, bh
shr ebx, 0x18
mov esi, dword [edx*4 + str.ccccwwww]
mov ecx, dword [ecx*4 + str.ccccwwww]
mov edi, dword [ebx*4 + str.ccccwwww]
mov edx, 0xff000000
and ecx, 0xff0000
and esi, edx
xor ecx, esi
mov esi, 0xff
and edi, esi
mov dword [ebp + 0xc], 0x6679564c
xor ecx, edi
mov edi, dword [ebp + 0x10]
and edi, esi
mov ebx, dword [edi*4 + str.ccccwwww]
mov edi, 0xff00
and ebx, edi
xor ecx, ebx
lea ebx, [eax + 0x18]
xor ecx, dword [eax]
xor ecx, dword [0x66795648]
mov dword [ebx], ecx
xor ecx, dword [eax + 4]
mov dword [eax + 0x1c], ecx
xor ecx, dword [eax + 8]
mov dword [eax + 0x20], ecx
xor ecx, dword [eax + 0xc]
mov dword [eax + 0x24], ecx
jmp 0x66716f9c
mov ebx, dword [ebp + 0x10]
mov ecx, dword [eax + 0x10]
xor ecx, dword [eax + 0x24]
mov dword [eax + 0x28], ecx
xor ecx, dword [eax + 0x14]
mov dword [eax + 0x2c], ecx
mov eax, ebx
xor ebx, ebx
mov ecx, dword [eax + 0x14]
mov bl, ch
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebx*4 + str.ccccwwww]
xor ebx, ebx
mov bl, byte [ebp + 0x12]
and ecx, 0xff0000
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, edx
xor ecx, ebx
mov ebx, dword [ebp + 0x10]
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, esi
xor ecx, ebx
mov ebx, dword [ebp + 0x10]
and ebx, esi
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, edi
xor ecx, ebx
mov ebx, dword [ebp + 0xc]
add dword [ebp + 0xc], 4
xor ecx, dword [ebx]
lea ebx, [eax + 0x18]
mov dword [ebp + 0x10], ebx
xor ecx, dword [eax]
mov dword [ebx], ecx
mov ebx, dword [eax + 4]
xor ebx, ecx
mov ecx, dword [eax + 8]
mov dword [eax + 0x1c], ebx
xor ecx, ebx
mov ebx, dword [eax + 0xc]
mov dword [eax + 0x20], ecx
xor ebx, ecx
cmp dword [ebp + 0xc], 0x66795668
mov dword [eax + 0x24], ebx
jne 0x66716f99
push 0xc
jmp 0x667171ba
mov edx, dword [ecx + 0x18]
cmp dword [ebp + 0x10], 0x20
mov dword [eax + 0x18], edx
mov ecx, dword [ecx + 0x1c]
mov dword [eax + 0x1c], ecx
jne 0x667171bd
mov ebx, ecx
xor edx, edx
mov dword [ebp + 0x10], ebx
xor ecx, ecx
mov dl, byte [ebp + 0x12]
mov cl, bh
shr ebx, 0x18
mov esi, dword [edx*4 + str.ccccwwww]
mov ecx, dword [ecx*4 + str.ccccwwww]
mov edi, dword [ebx*4 + str.ccccwwww]
mov edx, 0xff000000
and ecx, 0xff0000
and esi, edx
xor ecx, esi
mov esi, 0xff
and edi, esi
mov dword [ebp + 0xc], 0x6679564c
xor ecx, edi
mov edi, dword [ebp + 0x10]
and edi, esi
mov ebx, dword [edi*4 + str.ccccwwww]
mov edi, 0xff00
and ebx, edi
xor ecx, ebx
lea ebx, [eax + 0x20]
xor ecx, dword [eax]
mov dword [ebp + 8], ebx
xor ecx, dword [0x66795648]
mov dword [ebx], ecx
xor ecx, dword [eax + 4]
mov dword [eax + 0x24], ecx
xor ecx, dword [eax + 8]
mov dword [eax + 0x28], ecx
xor ecx, dword [eax + 0xc]
mov dword [eax + 0x2c], ecx
mov ecx, dword [eax + 0x2c]
xor ebx, ebx
mov dword [ebp + 0x10], ecx
mov bl, byte [ebp + 0x12]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff0000
mov dword [ebp - 4], ebx
xor ebx, ebx
mov bl, ch
mov ecx, dword [ebp - 4]
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, edi
xor ecx, ebx
mov ebx, dword [ebp + 0x10]
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, edx
xor ecx, ebx
mov ebx, dword [ebp + 0x10]
and ebx, esi
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, esi
xor ecx, ebx
mov ebx, dword [eax + 0x14]
xor ecx, dword [eax + 0x10]
xor ebx, ecx
mov dword [eax + 0x30], ecx
mov ecx, dword [eax + 0x18]
mov dword [eax + 0x34], ebx
xor ecx, ebx
mov ebx, dword [eax + 0x1c]
xor ebx, ecx
mov dword [eax + 0x38], ecx
mov dword [eax + 0x3c], ebx
mov eax, dword [ebp + 8]
xor ebx, ebx
mov ecx, dword [eax + 0x1c]
mov bl, ch
mov dword [ebp + 0x10], ecx
mov ecx, dword [ebx*4 + str.ccccwwww]
xor ebx, ebx
mov bl, byte [ebp + 0x12]
and ecx, 0xff0000
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, edx
xor ecx, ebx
mov ebx, dword [ebp + 0x10]
shr ebx, 0x18
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, esi
xor ecx, ebx
mov ebx, dword [ebp + 0x10]
and ebx, esi
mov dword [ebp + 0x10], ebx
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, edi
xor ecx, ebx
mov ebx, dword [ebp + 0xc]
xor ecx, dword [eax]
add dword [ebp + 0xc], 4
xor ecx, dword [ebx]
lea ebx, [eax + 0x20]
mov dword [ebp + 8], ebx
mov dword [ebx], ecx
mov ebx, dword [eax + 4]
xor ebx, ecx
mov ecx, dword [eax + 8]
mov dword [eax + 0x24], ebx
xor ecx, ebx
mov ebx, dword [eax + 0xc]
mov dword [eax + 0x28], ecx
xor ebx, ecx
cmp dword [ebp + 0xc], 0x66795664
mov dword [eax + 0x2c], ebx
jne 0x667170c6
push 0xe
pop eax
jmp 0x667171bf
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret