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

Disassembly:
sub esp, 0xc
movzx ecx, byte [eax]
movzx edx, byte [eax + 1]
push ebx
movzx ebx, byte [eax + 0xc]
push ebp
movzx ebp, byte [eax + 4]
push esi
movzx esi, byte [eax + 5]
shl ebp, 8
xor ebp, esi
movzx esi, byte [eax + 6]
shl ebp, 8
xor ebp, esi
movzx esi, byte [eax + 7]
push edi
movzx edi, byte [eax + 9]
shl ebp, 8
xor ebp, esi
movzx esi, byte [eax + 8]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 0xa]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 0xb]
shl ecx, 8
xor ecx, edx
movzx edx, byte [eax + 2]
shl esi, 8
xor esi, edi
movzx edi, byte [eax + 0xd]
shl ecx, 8
xor ecx, edx
movzx edx, byte [eax + 3]
shl ebx, 8
xor ebx, edi
movzx edi, byte [eax + 0xe]
movzx eax, byte [eax + 0xf]
shl ecx, 8
xor ecx, edx
mov edx, dword [esp + 0x20]
xor ebp, dword [edx + 4]
xor esi, dword [edx + 8]
xor ecx, dword [edx]
shl ebx, 8
xor ebx, edi
shl ebx, 8
xor ebx, eax
xor ebx, dword [edx + 0xc]
mov edi, ebp
shr edi, 0x10
and edi, 0xff
mov eax, esi
shr eax, 8
and eax, 0xff
mov dword [esp + 0x14], edi
mov edi, dword [eax*4 + 0x569a60]
mov eax, dword [esp + 0x14]
xor edi, dword [eax*4 + 0x569660]
mov eax, ecx
shr eax, 0x18
xor edi, dword [eax*4 + 0x569260]
mov eax, ebx
and eax, 0xff
xor edi, dword [eax*4 + 0x569e60]
mov eax, esi
xor edi, dword [edx + 0x10]
shr eax, 0x10
mov edx, ebx
shr edx, 8
and edx, 0xff
mov edx, dword [edx*4 + 0x569a60]
and eax, 0xff
xor edx, dword [eax*4 + 0x569660]
mov eax, ebp
shr eax, 0x18
xor edx, dword [eax*4 + 0x569260]
mov eax, ecx
and eax, 0xff
xor edx, dword [eax*4 + 0x569e60]
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x20]
xor edx, dword [eax + 0x14]
shr ebx, 0x10
mov eax, ecx
shr eax, 8
and eax, 0xff
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x569660]
xor ebx, dword [eax*4 + 0x569a60]
mov eax, esi
shr eax, 0x18
xor ebx, dword [eax*4 + 0x569260]
mov eax, ebp
shr ebp, 8
and ebp, 0xff
mov ebp, dword [ebp*4 + 0x569a60]
shr ecx, 0x10
and ecx, 0xff
xor ebp, dword [ecx*4 + 0x569660]
mov ecx, dword [esp + 0x18]
shr ecx, 0x18
xor ebp, dword [ecx*4 + 0x569260]
and eax, 0xff
xor ebx, dword [eax*4 + 0x569e60]
mov eax, dword [esp + 0x20]
xor ebx, dword [eax + 0x18]
and esi, 0xff
xor ebp, dword [esi*4 + 0x569e60]
lea ecx, [eax + 0x20]
xor ebp, dword [eax + 0x1c]
movzx eax, byte [eax + 0x1f0]
shr eax, 1
sub eax, 1
mov dword [esp + 0x10], edx
mov dword [esp + 0x20], ecx
mov dword [esp + 0x14], eax
je 0x418737
mov eax, ebx
mov ecx, edx
shr ecx, 0x10
and ecx, 0xff
shr eax, 8
and eax, 0xff
mov eax, dword [eax*4 + 0x569a60]
xor eax, dword [ecx*4 + 0x569660]
mov ecx, edi
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x569260]
mov ecx, ebp
and ecx, 0xff
xor eax, dword [ecx*4 + 0x569e60]
mov ecx, dword [esp + 0x20]
xor eax, dword [ecx]
mov ecx, ebp
mov esi, ebx
shr esi, 0x10
and esi, 0xff
shr ecx, 8
shr edx, 0x18
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x569a60]
xor ecx, dword [esi*4 + 0x569660]
mov esi, edi
xor ecx, dword [edx*4 + 0x569260]
mov edx, edi
and edx, 0xff
xor ecx, dword [edx*4 + 0x569e60]
mov edx, dword [esp + 0x20]
xor ecx, dword [edx + 4]
mov edx, ebp
shr esi, 8
and esi, 0xff
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x569660]
xor edx, dword [esi*4 + 0x569a60]
mov esi, ebx
shr esi, 0x18
xor edx, dword [esi*4 + 0x569260]
mov esi, dword [esp + 0x10]
and esi, 0xff
xor edx, dword [esi*4 + 0x569e60]
mov esi, dword [esp + 0x20]
xor edx, dword [esi + 8]
mov esi, dword [esp + 0x10]
shr esi, 8
and esi, 0xff
mov esi, dword [esi*4 + 0x569a60]
shr ebp, 0x18
and ebx, 0xff
shr edi, 0x10
and edi, 0xff
xor esi, dword [edi*4 + 0x569660]
mov edi, dword [esp + 0x20]
xor esi, dword [ebp*4 + 0x569260]
mov ebp, ecx
xor esi, dword [ebx*4 + 0x569e60]
shr ebp, 0x10
xor esi, dword [edi + 0xc]
mov ebx, edx
shr ebx, 8
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x569a60]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x569660]
mov ebp, eax
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x569260]
mov ebp, esi
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x569e60]
mov ebp, edx
xor ebx, dword [edi + 0x10]
mov edi, ebx
mov ebx, esi
shr ebx, 8
and ebx, 0xff
shr ebp, 0x10
mov ebx, dword [ebx*4 + 0x569a60]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x569660]
mov ebp, ecx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x569260]
mov ebp, eax
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x569e60]
mov ebp, dword [esp + 0x20]
xor ebx, dword [ebp + 0x14]
mov ebp, eax
mov dword [esp + 0x10], ebx
shr ebp, 8
mov ebx, esi
shr ebx, 0x10
and ebx, 0xff
mov ebx, dword [ebx*4 + 0x569660]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x569a60]
mov ebp, edx
shr ebp, 0x18
xor ebx, dword [ebp*4 + 0x569260]
mov ebp, ecx
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x569a60]
shr eax, 0x10
and eax, 0xff
xor ecx, dword [eax*4 + 0x569660]
shr esi, 0x18
xor ecx, dword [esi*4 + 0x569260]
and ebp, 0xff
xor ebx, dword [ebp*4 + 0x569e60]
mov ebp, dword [esp + 0x20]
xor ebx, dword [ebp + 0x18]
add dword [esp + 0x20], 0x20
and edx, 0xff
xor ecx, dword [edx*4 + 0x569e60]
mov edx, dword [esp + 0x10]
xor ecx, dword [ebp + 0x1c]
sub dword [esp + 0x14], 1
mov ebp, ecx
jne 0x418502
mov esi, dword [esp + 0x24]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff0000
mov ecx, ebx
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff00
xor eax, ecx
mov ecx, edi
shr ecx, 0x18
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff000000
xor eax, ecx
mov ecx, ebp
and ecx, 0xff
movzx ecx, byte [ecx*4 + str.ccccwwww]
xor eax, ecx
mov ecx, dword [esp + 0x20]
xor eax, dword [ecx]
mov ecx, eax
shr ecx, 0x18
mov byte [esi], cl
mov ecx, eax
shr ecx, 0x10
mov byte [esi + 1], cl
mov ecx, eax
shr ecx, 8
mov byte [esi + 2], cl
mov byte [esi + 3], al
mov eax, ebx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + str.ccccwwww]
and eax, 0xff0000
mov ecx, ebp
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff00
xor eax, ecx
mov ecx, edx
shr ecx, 0x18
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff000000
xor eax, ecx
mov ecx, edi
and ecx, 0xff
movzx ecx, byte [ecx*4 + str.ccccwwww]
xor eax, ecx
mov ecx, dword [esp + 0x20]
xor eax, dword [ecx + 4]
mov ecx, eax
shr ecx, 0x18
mov byte [esi + 4], cl
mov ecx, eax
shr ecx, 0x10
mov byte [esi + 5], cl
mov ecx, eax
shr ecx, 8
mov byte [esi + 6], cl
mov byte [esi + 7], al
mov eax, ebp
shr eax, 0x10
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + str.ccccwwww]
and eax, 0xff
mov eax, dword [eax*4 + str.ccccwwww]
and ecx, 0xff00
and eax, 0xff0000
xor eax, ecx
mov ecx, ebx
shr ecx, 0x18
mov ecx, dword [ecx*4 + str.ccccwwww]
and ecx, 0xff000000
xor eax, ecx
mov ecx, edx
and ecx, 0xff
movzx ecx, byte [ecx*4 + str.ccccwwww]
xor eax, ecx
mov ecx, dword [esp + 0x20]
xor eax, dword [ecx + 8]
shr edx, 8
mov ecx, eax
shr ecx, 0x18
mov byte [esi + 8], cl
mov ecx, eax
shr ecx, 0x10
mov byte [esi + 9], cl
mov ecx, eax
mov byte [esi + 0xb], al
shr ecx, 8
mov byte [esi + 0xa], cl
and edx, 0xff
mov edx, dword [edx*4 + str.ccccwwww]
shr edi, 0x10
and edi, 0xff
mov eax, dword [edi*4 + str.ccccwwww]
and edx, 0xff00
and eax, 0xff0000
xor eax, edx
shr ebp, 0x18
mov ecx, dword [ebp*4 + str.ccccwwww]
and ecx, 0xff000000
and ebx, 0xff
movzx edx, byte [ebx*4 + str.ccccwwww]
xor eax, ecx
mov ecx, dword [esp + 0x20]
xor eax, edx
xor eax, dword [ecx + 0xc]
pop edi
mov edx, eax
shr edx, 0x18
mov byte [esi + 0xc], dl
mov ecx, eax
shr ecx, 0x10
mov edx, eax
shr edx, 8
mov byte [esi + 0xd], cl
mov byte [esi + 0xe], dl
mov byte [esi + 0xf], al
pop esi
pop ebp
pop ebx
add esp, 0xc
ret