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

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, eax
mov eax, dword [edx]
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
mov eax, dword [edx + 4]
xor ecx, dword [edi]
mov esi, eax
ror esi, 8
and esi, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or esi, eax
mov eax, dword [edx + 8]
xor esi, dword [edi + 4]
mov ebx, eax
ror ebx, 8
and ebx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ebx, eax
mov eax, dword [edx + 0xc]
xor ebx, dword [edi + 8]
mov edx, eax
ror edx, 8
and edx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or edx, eax
xor edx, dword [edi + 0xc]
mov ebp, esi
shr ebp, 0x10
mov dword [esp + 0x18], edx
and edx, 0xff
movzx eax, bh
mov eax, dword [eax*4 + 0x429b78]
and ebp, 0xff
xor eax, dword [ebp*4 + 0x429778]
mov ebp, ecx
shr ebp, 0x18
xor eax, dword [ebp*4 + 0x429378]
mov ebp, ebx
xor eax, dword [edx*4 + 0x429f78]
movzx edx, byte [esp + 0x19]
mov edx, dword [edx*4 + 0x429b78]
mov dword [esp + 0x14], esi
shr esi, 0x18
shr ebp, 0x10
and ebp, 0xff
xor edx, dword [ebp*4 + 0x429778]
xor eax, dword [edi + 0x10]
xor edx, dword [esi*4 + 0x429378]
mov esi, ecx
and esi, 0xff
xor edx, dword [esi*4 + 0x429f78]
movzx esi, ch
xor edx, dword [edi + 0x14]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x18]
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x429778]
xor edx, dword [esi*4 + 0x429b78]
mov esi, dword [esp + 0x14]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x429378]
and esi, 0xff
xor edx, dword [esi*4 + 0x429f78]
movzx esi, byte [esp + 0x15]
xor edx, dword [edi + 0x18]
mov ebx, dword [esi*4 + 0x429b78]
shr ecx, 0x10
and ecx, 0xff
xor ebx, dword [ecx*4 + 0x429778]
mov ecx, dword [esp + 0x18]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x429378]
mov ecx, dword [esp + 0x1c]
and ecx, 0xff
xor ebx, dword [ecx*4 + 0x429f78]
lea esi, [edi + 0x20]
xor ebx, dword [edi + 0x1c]
mov edi, dword [edi + 0xf0]
sar edi, 1
sub edi, 1
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], esi
je 0x40d9cc
jmp 0x40d7b0
mov ebp, dword [esp + 0x10]
shr ebp, 0x10
and ebp, 0xff
movzx ecx, dh
mov ecx, dword [ecx*4 + 0x429b78]
xor ecx, dword [ebp*4 + 0x429778]
and ebx, 0xff
mov ebp, eax
shr ebp, 0x18
xor ecx, dword [ebp*4 + 0x429378]
xor ecx, dword [ebx*4 + 0x429f78]
mov ebx, edx
xor ecx, dword [esi]
movzx esi, byte [esp + 0x19]
mov esi, dword [esi*4 + 0x429b78]
shr ebx, 0x10
and ebx, 0xff
xor esi, dword [ebx*4 + 0x429778]
mov ebx, dword [esp + 0x10]
shr ebx, 0x18
mov dword [esp + 0x1c], esi
xor esi, dword [ebx*4 + 0x429378]
mov ebx, eax
and ebx, 0xff
xor esi, dword [ebx*4 + 0x429f78]
mov ebx, dword [esp + 0x20]
xor esi, dword [ebx + 4]
movzx ebx, ah
mov dword [esp + 0x14], esi
mov esi, dword [esp + 0x18]
shr esi, 0x10
and esi, 0xff
mov esi, dword [esi*4 + 0x429778]
xor esi, dword [ebx*4 + 0x429b78]
mov ebx, edx
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x429378]
mov ebx, dword [esp + 0x10]
and ebx, 0xff
mov ebp, dword [esp + 0x14]
mov dword [esp + 0x1c], esi
xor esi, dword [ebx*4 + 0x429f78]
mov ebx, dword [esp + 0x20]
xor esi, dword [ebx + 8]
shr eax, 0x10
and eax, 0xff
mov dword [esp + 0x1c], esi
movzx esi, byte [esp + 0x11]
mov ebx, dword [esi*4 + 0x429b78]
xor ebx, dword [eax*4 + 0x429778]
mov eax, dword [esp + 0x18]
mov esi, dword [esp + 0x20]
shr eax, 0x18
xor ebx, dword [eax*4 + 0x429378]
and edx, 0xff
xor ebx, dword [edx*4 + 0x429f78]
mov edx, dword [esp + 0x1c]
xor ebx, dword [esi + 0xc]
shr ebp, 0x10
movzx eax, dh
mov eax, dword [eax*4 + 0x429b78]
and ebp, 0xff
xor eax, dword [ebp*4 + 0x429778]
mov ebp, ecx
shr ebp, 0x18
xor eax, dword [ebp*4 + 0x429378]
mov ebp, ebx
and ebp, 0xff
xor eax, dword [ebp*4 + 0x429f78]
shr edx, 0x10
xor eax, dword [esi + 0x10]
movzx ebp, bh
mov ebp, dword [ebp*4 + 0x429b78]
and edx, 0xff
xor ebp, dword [edx*4 + 0x429778]
mov edx, dword [esp + 0x14]
shr edx, 0x18
xor ebp, dword [edx*4 + 0x429378]
mov edx, ecx
mov dword [esp + 0x18], ebx
and edx, 0xff
xor ebp, dword [edx*4 + 0x429f78]
shr ebx, 0x10
xor ebp, dword [esi + 0x14]
and ebx, 0xff
movzx edx, ch
mov dword [esp + 0x10], ebp
mov ebp, dword [ebx*4 + 0x429778]
xor ebp, dword [edx*4 + 0x429b78]
mov edx, dword [esp + 0x1c]
mov ebx, dword [esp + 0x14]
shr edx, 0x18
xor ebp, dword [edx*4 + 0x429378]
mov edx, ebx
movzx ebx, bh
mov ebx, dword [ebx*4 + 0x429b78]
shr ecx, 0x10
and ecx, 0xff
xor ebx, dword [ecx*4 + 0x429778]
mov ecx, dword [esp + 0x18]
shr ecx, 0x18
xor ebx, dword [ecx*4 + 0x429378]
mov ecx, dword [esp + 0x1c]
and edx, 0xff
xor ebp, dword [edx*4 + 0x429f78]
and ecx, 0xff
xor ebx, dword [ecx*4 + 0x429f78]
xor ebp, dword [esi + 0x18]
xor ebx, dword [esi + 0x1c]
add esi, 0x20
sub edi, 1
mov edx, ebp
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], esi
jne 0x40d7b0
mov ecx, dword [esp + 0x10]
shr ecx, 0x10
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff0000
movzx edi, dh
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff00
xor ecx, edi
mov edi, eax
shr edi, 0x18
mov edi, dword [edi*4 + str.ccccwwww]
and edi, 0xff000000
xor ecx, edi
mov ebp, dword [esp + 0x28]
mov edi, ebx
and edi, 0xff
movzx edi, byte [edi*4 + str.ccccwwww]
xor ecx, edi
xor ecx, dword [esi]
mov edi, ecx
ror edi, 8
and edi, 0xff00ff00
rol ecx, 8
and ecx, 0xff00ff
or edi, ecx
mov dword [ebp], edi
mov ecx, edx
shr ecx, 0x10
and ecx, 0xff
mov edi, dword [ecx*4 + str.ccccwwww]
and edi, 0xff0000
movzx ecx, bh
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff00
xor edi, ecx
mov ecx, dword [esp + 0x10]
shr ecx, 0x18
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff000000
xor edi, ecx
mov ecx, eax
and ecx, 0xff
movzx ecx, byte [ecx*4 + str.ccccwwww]
xor edi, ecx
xor edi, dword [esi + 4]
mov ecx, edi
ror ecx, 8
and ecx, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or ecx, edi
mov dword [ebp + 4], ecx
mov ecx, ebx
shr ecx, 0x10
and ecx, 0xff
mov edi, dword [ecx*4 + str.ccccwwww]
movzx ecx, ah
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff00
and edi, 0xff0000
xor edi, ecx
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff000000
xor edi, ecx
mov ecx, dword [esp + 0x10]
and ecx, 0xff
movzx ecx, byte [ecx*4 + str.ccccwwww]
xor edi, ecx
xor edi, dword [esi + 8]
shr eax, 0x10
mov ecx, edi
ror ecx, 8
and ecx, 0xff00ff00
rol edi, 8
and edi, 0xff00ff
or ecx, edi
mov dword [ebp + 8], ecx
and eax, 0xff
mov eax, dword [eax*4 + str.ccccwwww]
movzx ecx, byte [esp + 0x11]
mov ecx, dword [ecx*4 + str.ccccwwww]
and eax, 0xff0000
and ecx, 0xff00
xor eax, ecx
shr ebx, 0x18
mov ecx, dword [ebx*4 + str.ccccwwww]
and ecx, 0xff000000
xor eax, ecx
and edx, 0xff
movzx edx, byte [edx*4 + str.ccccwwww]
xor eax, edx
xor eax, dword [esi + 0xc]
pop edi
mov ecx, eax
ror ecx, 8
and ecx, 0xff00ff00
rol eax, 8
and eax, 0xff00ff
or ecx, eax
pop esi
mov dword [ebp + 0xc], ecx
pop ebp
pop ebx
add esp, 0x14
ret