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

Disassembly:
mov ecx, dword [esp + 8]
push ebx
push ebp
push esi
mov eax, dword [ecx]
push edi
mov edx, eax
ror edx, 8
and edx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or edx, eax
mov eax, dword [esp + 0x14]
mov dword [eax], edx
mov edx, dword [ecx + 4]
mov esi, edx
ror esi, 8
and esi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or esi, edx
mov dword [eax + 4], esi
mov edx, dword [ecx + 8]
mov esi, edx
ror esi, 8
and esi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or esi, edx
mov dword [eax + 8], esi
mov edx, dword [ecx + 0xc]
mov esi, edx
ror esi, 8
and esi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or esi, edx
mov dword [eax + 0xc], esi
mov esi, dword [esp + 0x1c]
cmp esi, 0x80
jne 0x413051
mov edi, dword [eax + 0xc]
xor ecx, ecx
mov edx, edi
xor ebx, ebx
mov dword [esp + 0x18], edx
mov cl, dh
mov bl, byte [esp + 0x1a]
mov ebp, dword [eax + 4]
mov ecx, dword [ecx*4 + str.ccccwwww]
mov esi, dword [ebx*4 + str.ccccwwww]
and ecx, 0xff0000
and esi, 0xff000000
mov ebx, dword [eax + 8]
xor ecx, esi
mov esi, edx
shr esi, 0x18
and edx, 0xff
mov esi, dword [esi*4 + str.ccccwwww]
mov edx, dword [edx*4 + str.ccccwwww]
and esi, 0xff
xor ecx, esi
mov esi, dword [eax]
and edx, 0xff00
xor ecx, edx
mov edx, dword [0x418d30]
xor ecx, esi
lea esi, [eax + 0x10]
xor ecx, edx
mov dword [esi], ecx
xor ecx, ebp
mov dword [eax + 0x14], ecx
xor ecx, ebx
mov dword [eax + 0x18], ecx
xor ecx, edi
mov dword [eax + 0x1c], ecx
mov edi, 0x418d34
mov ecx, esi
xor eax, eax
xor ebx, ebx
add edi, 4
mov ebp, dword [ecx + 0xc]
mov edx, ebp
mov dword [esp + 0x18], edx
mov al, dh
mov bl, byte [esp + 0x1a]
mov eax, dword [eax*4 + str.ccccwwww]
mov esi, dword [ebx*4 + str.ccccwwww]
and eax, 0xff0000
and esi, 0xff000000
xor eax, esi
mov esi, edx
shr esi, 0x18
and edx, 0xff
mov esi, dword [esi*4 + str.ccccwwww]
mov edx, dword [edx*4 + str.ccccwwww]
and esi, 0xff
xor eax, esi
mov esi, dword [ecx]
and edx, 0xff00
xor eax, edx
mov edx, dword [edi - 4]
xor eax, esi
lea esi, [ecx + 0x10]
xor eax, edx
mov edx, dword [ecx + 4]
mov dword [esi], eax
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx + 0x14], edx
xor eax, edx
mov dword [ecx + 0x18], eax
xor eax, ebp
cmp edi, 0x418d58
mov dword [ecx + 0x1c], eax
jne 0x412fbc
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
ret
mov edx, dword [ecx + 0x10]
mov edi, edx
ror edi, 8
and edi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or edi, edx
mov dword [eax + 0x10], edi
mov edx, dword [ecx + 0x14]
mov edi, edx
ror edi, 8
and edi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or edi, edx
cmp esi, 0xc0
mov dword [eax + 0x14], edi
jne 0x4131bf
mov edx, edi
xor ecx, ecx
mov dword [esp + 0x18], edx
xor ebx, ebx
mov bl, byte [esp + 0x1a]
mov cl, dh
mov ebp, dword [eax]
mov edi, dword [eax + 4]
mov ecx, dword [ecx*4 + str.ccccwwww]
mov esi, dword [ebx*4 + str.ccccwwww]
and ecx, 0xff0000
and esi, 0xff000000
xor ecx, esi
mov esi, edx
shr esi, 0x18
and edx, 0xff
mov ebx, dword [0x418d30]
mov esi, dword [esi*4 + str.ccccwwww]
mov edx, dword [edx*4 + str.ccccwwww]
and esi, 0xff
xor ecx, esi
and edx, 0xff00
xor ecx, edx
mov esi, dword [eax + 8]
xor ecx, ebp
mov edx, dword [eax + 0xc]
xor ecx, ebx
mov dword [eax + 0x18], ecx
xor ecx, edi
mov dword [eax + 0x1c], ecx
xor ecx, esi
mov dword [eax + 0x20], ecx
xor ecx, edx
mov dword [eax + 0x24], ecx
mov esi, 0x418d34
mov ecx, dword [eax + 0x10]
mov edi, dword [eax + 0x24]
mov edx, dword [eax + 0x14]
xor ecx, edi
mov dword [eax + 0x28], ecx
xor ecx, edx
mov dword [eax + 0x2c], ecx
mov edx, dword [eax + 0x2c]
add eax, 0x18
mov dword [esp + 0x18], edx
xor ecx, ecx
xor ebx, ebx
mov bl, byte [esp + 0x1a]
mov cl, dh
add esi, 4
mov ecx, dword [ecx*4 + str.ccccwwww]
mov edi, dword [ebx*4 + str.ccccwwww]
and ecx, 0xff0000
and edi, 0xff000000
xor ecx, edi
mov edi, edx
shr edi, 0x18
and edx, 0xff
mov edi, dword [edi*4 + str.ccccwwww]
mov edx, dword [edx*4 + str.ccccwwww]
and edi, 0xff
xor ecx, edi
mov edi, dword [esi - 4]
and edx, 0xff00
xor ecx, edx
mov edx, dword [eax]
xor ecx, edi
xor ecx, edx
mov edx, dword [eax + 4]
mov dword [eax + 0x18], ecx
xor edx, ecx
mov ecx, dword [eax + 8]
mov dword [eax + 0x1c], edx
xor ecx, edx
mov edx, dword [eax + 0xc]
xor edx, ecx
cmp esi, 0x418d50
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], edx
jne 0x413116
pop edi
pop esi
pop ebp
mov eax, 0xc
pop ebx
ret
mov edx, dword [ecx + 0x18]
mov edi, edx
ror edi, 8
and edi, 0xff00ff00
rol edx, 8
and edx, 0xff00ff
or edi, edx
mov dword [eax + 0x18], edi
mov ecx, dword [ecx + 0x1c]
mov edx, ecx
ror edx, 8
and edx, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or edx, ecx
cmp esi, 0x100
mov dword [eax + 0x1c], edx
jne 0x41338e
mov dword [esp + 0x18], edx
xor ecx, ecx
xor ebx, ebx
mov cl, dh
mov bl, byte [esp + 0x1a]
mov ebp, dword [eax]
mov ecx, dword [ecx*4 + str.ccccwwww]
mov edi, dword [eax + 4]
mov esi, dword [ebx*4 + str.ccccwwww]
and ecx, 0xff0000
and esi, 0xff000000
mov ebx, dword [0x418d30]
xor ecx, esi
mov esi, edx
shr esi, 0x18
and edx, 0xff
mov esi, dword [esi*4 + str.ccccwwww]
mov edx, dword [edx*4 + str.ccccwwww]
and esi, 0xff
xor ecx, esi
and edx, 0xff00
xor ecx, edx
mov edx, dword [eax + 8]
xor ecx, ebp
xor ecx, ebx
mov dword [eax + 0x20], ecx
xor ecx, edi
mov dword [eax + 0x24], ecx
xor edx, ecx
mov ecx, dword [eax + 0xc]
mov dword [eax + 0x28], edx
xor edx, ecx
mov edi, 0x418d34
mov dword [eax + 0x2c], edx
mov ecx, dword [eax + 0x2c]
xor edx, edx
mov dword [esp + 0x18], ecx
mov ebp, dword [eax + 0x10]
mov dl, byte [esp + 0x1a]
add eax, 0x20
xor ebx, ebx
add edi, 4
mov esi, dword [edx*4 + str.ccccwwww]
xor edx, edx
mov dl, ch
and esi, 0xff0000
mov edx, dword [edx*4 + str.ccccwwww]
and edx, 0xff00
xor esi, edx
mov edx, ecx
shr edx, 0x18
and ecx, 0xff
mov edx, dword [edx*4 + str.ccccwwww]
mov ecx, dword [ecx*4 + str.ccccwwww]
and edx, 0xff000000
xor esi, edx
mov edx, dword [eax - 0xc]
and ecx, 0xff
xor esi, ecx
mov ecx, dword [eax - 8]
xor esi, ebp
xor edx, esi
mov dword [eax + 0x10], esi
mov dword [eax + 0x14], edx
xor ecx, edx
mov edx, dword [eax - 4]
mov dword [eax + 0x18], ecx
xor ecx, edx
mov dword [eax + 0x1c], ecx
mov edx, dword [eax + 0x1c]
mov dword [esp + 0x18], edx
xor ecx, ecx
mov bl, byte [esp + 0x1a]
mov cl, dh
mov ecx, dword [ecx*4 + str.ccccwwww]
mov esi, dword [ebx*4 + str.ccccwwww]
and ecx, 0xff0000
and esi, 0xff000000
xor ecx, esi
mov esi, edx
shr esi, 0x18
and edx, 0xff
mov esi, dword [esi*4 + str.ccccwwww]
mov edx, dword [edx*4 + str.ccccwwww]
and esi, 0xff
xor ecx, esi
mov esi, dword [eax]
and edx, 0xff00
xor ecx, edx
mov edx, dword [edi - 4]
xor ecx, esi
xor ecx, edx
mov edx, dword [eax + 4]
mov dword [eax + 0x20], ecx
xor edx, ecx
mov ecx, dword [eax + 8]
mov dword [eax + 0x24], edx
xor ecx, edx
mov edx, dword [eax + 0xc]
xor edx, ecx
cmp edi, 0x418d4c
mov dword [eax + 0x28], ecx
mov dword [eax + 0x2c], edx
jne 0x413282
pop edi
pop esi
pop ebp
mov eax, 0xe
pop ebx
ret
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret