Function at 0x4057f0
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Encrypt data using aes

Disassembly:
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, dword [esi]
mov ebx, ecx
ror ebx, 8
and ebx, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or ebx, ecx
mov ecx, dword [esi + 4]
xor ebx, dword [eax]
push edi
mov edi, ecx
ror edi, 8
and edi, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or edi, ecx
mov ecx, dword [esi + 8]
xor edi, dword [eax + 4]
mov edx, ecx
ror edx, 8
and edx, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or edx, ecx
mov ecx, dword [esi + 0xc]
xor edx, dword [eax + 8]
mov esi, ecx
ror esi, 8
and esi, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or esi, ecx
xor esi, dword [eax + 0xc]
mov ecx, edx
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x422450]
mov ebp, edi
shr ebp, 0x10
and ebp, 0xff
xor ecx, dword [ebp*4 + 0x422050]
mov ebp, ebx
shr ebp, 0x18
xor ecx, dword [ebp*4 + 0x421c50]
mov ebp, esi
and ebp, 0xff
xor ecx, dword [ebp*4 + 0x422850]
mov dword [esp + 0x14], edx
mov ebp, esi
shr ebp, 8
and ebp, 0xff
shr edx, 0x10
and edx, 0xff
xor ecx, dword [eax + 0x10]
mov dword [esp + 0x18], edx
mov edx, dword [ebp*4 + 0x422450]
mov ebp, dword [esp + 0x18]
xor edx, dword [ebp*4 + 0x422050]
mov ebp, edi
shr ebp, 0x18
xor edx, dword [ebp*4 + 0x421c50]
mov dword [esp + 0x10], esi
mov ebp, ebx
and ebp, 0xff
xor edx, dword [ebp*4 + 0x422850]
shr esi, 0x10
xor edx, dword [eax + 0x14]
and esi, 0xff
mov esi, dword [esi*4 + 0x422050]
mov ebp, ebx
shr ebp, 8
and ebp, 0xff
xor esi, dword [ebp*4 + 0x422450]
mov ebp, dword [esp + 0x14]
shr ebp, 0x18
xor esi, dword [ebp*4 + 0x421c50]
mov ebp, edi
shr edi, 8
shr ebx, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x422450]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x422050]
mov ebx, dword [esp + 0x10]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x421c50]
mov ebx, dword [esp + 0x14]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x422850]
mov ebx, dword [esp + 0x20]
xor edi, dword [eax + 0x1c]
and ebp, 0xff
xor esi, dword [ebp*4 + 0x422850]
sar ebx, 1
xor esi, dword [eax + 0x18]
add eax, 0x20
sub ebx, 1
mov dword [esp + 0x14], ebx
je 0x405bc2
mov ebp, edx
shr ebp, 0x10
and ebp, 0xff
mov ebx, esi
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x422450]
xor ebx, dword [ebp*4 + 0x422050]
mov ebp, ecx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x421c50]
mov ebp, edi
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x422850]
mov ebp, esi
xor ebx, dword [eax]
shr ebp, 0x10
mov dword [esp + 0x18], ebx
and ebp, 0xff
mov ebx, edi
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x422450]
xor ebx, dword [ebp*4 + 0x422050]
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x421c50]
mov ebp, ecx
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x422850]
mov ebp, ecx
xor ebx, dword [eax + 4]
shr ebp, 8
mov dword [esp + 0x20], ebx
and ebp, 0xff
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x422050]
xor ebx, dword [ebp*4 + 0x422450]
mov ebp, esi
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x421c50]
mov ebp, edx
shr edx, 8
and edx, 0xff
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x422850]
mov ebp, dword [edx*4 + 0x422450]
xor ebx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xff
xor ebp, dword [ecx*4 + 0x422050]
mov ecx, dword [esp + 0x20]
shr ecx, 0x10
mov edx, ebx
shr edx, 8
and edx, 0xff
mov edx, dword [edx*4 + 0x422450]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x422050]
shr edi, 0x18
xor ebp, dword [edi*4 + 0x421c50]
mov edi, dword [esp + 0x18]
and esi, 0xff
xor ebp, dword [esi*4 + 0x422850]
mov ecx, edi
xor ebp, dword [eax + 0xc]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x421c50]
mov ecx, ebp
and ecx, 0xff
xor edx, dword [ecx*4 + 0x422850]
mov esi, ebx
xor edx, dword [eax + 0x10]
mov dword [esp + 0x10], ebp
mov ecx, edx
mov edx, ebp
shr edx, 8
and edx, 0xff
shr esi, 0x10
mov edx, dword [edx*4 + 0x422450]
and esi, 0xff
xor edx, dword [esi*4 + 0x422050]
mov esi, dword [esp + 0x20]
shr esi, 0x18
xor edx, dword [esi*4 + 0x421c50]
shr ebp, 0x10
and ebp, 0xff
mov ebp, dword [ebp*4 + 0x422050]
mov esi, edi
and esi, 0xff
xor edx, dword [esi*4 + 0x422850]
mov esi, edi
shr esi, 8
and esi, 0xff
xor ebp, dword [esi*4 + 0x422450]
mov esi, ebx
shr esi, 0x18
xor ebp, dword [esi*4 + 0x421c50]
mov esi, dword [esp + 0x20]
xor edx, dword [eax + 0x14]
and esi, 0xff
xor ebp, dword [esi*4 + 0x422850]
shr edi, 0x10
xor ebp, dword [eax + 0x18]
and edi, 0xff
mov esi, ebp
mov ebp, dword [esp + 0x20]
shr ebp, 8
and ebp, 0xff
mov ebp, dword [ebp*4 + 0x422450]
xor ebp, dword [edi*4 + 0x422050]
mov edi, dword [esp + 0x10]
shr edi, 0x18
xor ebp, dword [edi*4 + 0x421c50]
and ebx, 0xff
xor ebp, dword [ebx*4 + 0x422850]
add eax, 0x20
xor ebp, dword [eax - 4]
sub dword [esp + 0x14], 1
mov edi, ebp
jne 0x405993
mov ebx, edx
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff0000
mov ebp, esi
shr ebp, 8
and ebp, 0xff
mov ebp, dword [ebp*4 + str.ccccwwww]
and ebp, 0xff00
xor ebx, ebp
mov ebp, ecx
shr ebp, 0x18
mov ebp, dword [ebp*4 + str.ccccwwww]
and ebp, 0xff000000
xor ebx, ebp
mov ebp, edi
and ebp, 0xff
movzx ebp, byte [ebp*4 + str.ccccwwww]
xor ebx, ebp
xor ebx, dword [eax]
mov ebp, ebx
ror ebp, 8
and ebp, 0xff00ff00
rol ebx, 8
and ebx, 0xff00ff
or ebp, ebx
mov ebx, dword [esp + 0x24]
mov dword [ebx], ebp
mov ebx, esi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + str.ccccwwww]
and ebx, 0xff0000
mov ebp, edi
shr ebp, 8
and ebp, 0xff
mov ebp, dword [ebp*4 + str.ccccwwww]
and ebp, 0xff00
xor ebx, ebp
mov ebp, edx
shr ebp, 0x18
mov ebp, dword [ebp*4 + str.ccccwwww]
and ebp, 0xff000000
xor ebx, ebp
mov ebp, ecx
and ebp, 0xff
movzx ebp, byte [ebp*4 + str.ccccwwww]
xor ebx, ebp
xor ebx, dword [eax + 4]
mov ebp, ebx
ror ebp, 8
and ebp, 0xff00ff00
rol ebx, 8
and ebx, 0xff00ff
or ebp, ebx
mov ebx, dword [esp + 0x24]
mov dword [ebx + 4], ebp
mov ebx, edi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + str.ccccwwww]
mov ebp, ecx
shr ebp, 8
and ebp, 0xff
mov ebp, dword [ebp*4 + str.ccccwwww]
and ebp, 0xff00
and ebx, 0xff0000
xor ebx, ebp
mov ebp, esi
shr ebp, 0x18
mov ebp, dword [ebp*4 + str.ccccwwww]
and ebp, 0xff000000
xor ebx, ebp
mov ebp, edx
and ebp, 0xff
movzx ebp, byte [ebp*4 + str.ccccwwww]
xor ebx, ebp
xor ebx, dword [eax + 8]
mov ebp, ebx
ror ebp, 8
and ebp, 0xff00ff00
shr ecx, 0x10
rol ebx, 8
shr edx, 8
and ebx, 0xff00ff
and ecx, 0xff
or ebp, ebx
mov ebx, dword [esp + 0x24]
and edx, 0xff
mov dword [ebx + 8], ebp
mov ecx, dword [ecx*4 + str.ccccwwww]
mov edx, dword [edx*4 + str.ccccwwww]
and ecx, 0xff0000
and edx, 0xff00
xor ecx, edx
shr edi, 0x18
mov edx, dword [edi*4 + str.ccccwwww]
and edx, 0xff000000
xor ecx, edx
and esi, 0xff
movzx edx, byte [esi*4 + str.ccccwwww]
xor ecx, edx
xor ecx, dword [eax + 0xc]
pop edi
mov eax, ecx
ror eax, 8
and eax, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
pop esi
or eax, ecx
pop ebp
mov dword [ebx + 0xc], eax
pop ebx
add esp, 0xc
ret