Function at 0x564500
Capabilities:
Encode data using add xor sub operations
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x1c]
push ebx
mov ebx, dword [ecx + 0x14]
push ebp
xor ebx, dword [eax + 4]
mov ebp, edx
mov edx, dword [ecx + 0x10]
xor edx, dword [eax]
mov dword [esp + 0xc], edx
mov edx, dword [ecx + 0x18]
xor edx, dword [eax + 8]
mov dword [esp + 8], edx
mov edx, dword [ecx + 0x1c]
xor edx, dword [eax + 0xc]
mov eax, ebx
sar eax, 8
movzx eax, al
push esi
lea esi, [ecx + 0x20]
mov dword [esp + 0x18], edx
push edi
mov edi, dword [ecx]
mov ecx, dword [esp + 0x10]
sar ecx, 0x10
movzx ecx, cl
mov dword [esp + 0x24], ebp
mov ecx, dword [ecx*4 + 0x5b6800]
xor ecx, dword [eax*4 + 0x5b6400]
mov eax, edx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5b6c00]
mov eax, dword [esp + 0x14]
movzx eax, al
xor ecx, dword [eax*4 + 0x5b6000]
xor ecx, dword [esi]
mov eax, dword [esp + 0x10]
sar eax, 8
mov dword [esp + 0x20], ecx
movzx ecx, al
mov eax, edx
shr eax, 0x10
movzx eax, al
mov edx, dword [ecx*4 + 0x5b6400]
xor edx, dword [eax*4 + 0x5b6800]
mov eax, dword [esp + 0x14]
shr eax, 0x18
xor edx, dword [eax*4 + 0x5b6c00]
movzx eax, bl
xor edx, dword [eax*4 + 0x5b6000]
xor edx, dword [esi + 4]
mov eax, dword [esp + 0x14]
sar eax, 0x10
mov dword [esp + 0x2c], edx
movzx edx, al
mov eax, dword [esp + 0x1c]
shr eax, 8
movzx ecx, al
mov eax, dword [edx*4 + 0x5b6800]
xor eax, dword [ecx*4 + 0x5b6400]
mov ecx, ebx
shr ecx, 0x18
sar ebx, 0x10
xor eax, dword [ecx*4 + 0x5b6c00]
mov ecx, dword [esp + 0x10]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5b6000]
mov ecx, dword [esp + 0x14]
xor eax, dword [esi + 8]
sar ecx, 8
movzx edx, cl
movzx ecx, bl
mov edx, dword [edx*4 + 0x5b6400]
xor edx, dword [ecx*4 + 0x5b6800]
mov ecx, dword [esp + 0x10]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x5b6c00]
mov ecx, dword [esp + 0x1c]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x5b6000]
xor edx, dword [esi + 0xc]
mov dword [esp + 0x10], edx
sub edi, 1
je 0x56484e
mov ebp, edi
mov edi, dword [esp + 0x10]
mov ecx, eax
shr ecx, 0x10
movzx edx, cl
mov ecx, dword [esp + 0x2c]
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x5b6800]
mov ebx, dword [esp + 0x20]
xor edx, dword [ecx*4 + 0x5b6400]
mov ecx, edi
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x5b6c00]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x5b6000]
mov ecx, edi
xor edx, dword [esi + 0x10]
shr ecx, 0x10
mov dword [esp + 0x18], edx
movzx edx, cl
mov ecx, eax
shr ecx, 8
movzx ecx, cl
mov edx, dword [edx*4 + 0x5b6800]
xor edx, dword [ecx*4 + 0x5b6400]
mov ecx, ebx
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x5b6c00]
mov ecx, dword [esp + 0x2c]
movzx ecx, cl
xor edx, dword [ecx*4 + 0x5b6000]
mov ecx, edi
xor edx, dword [esi + 0x14]
shr ecx, 8
mov dword [esp + 0x14], edx
movzx edx, cl
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
shr ebx, 8
mov edx, dword [edx*4 + 0x5b6400]
xor edx, dword [ecx*4 + 0x5b6800]
mov ecx, dword [esp + 0x2c]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x5b6c00]
movzx ecx, al
shr eax, 0x18
xor edx, dword [ecx*4 + 0x5b6000]
xor edx, dword [esi + 0x18]
mov ecx, dword [esp + 0x2c]
shr ecx, 0x10
mov dword [esp + 0x1c], edx
movzx edx, cl
movzx ecx, bl
mov ebx, dword [edx*4 + 0x5b6800]
xor ebx, dword [ecx*4 + 0x5b6400]
xor ebx, dword [eax*4 + 0x5b6c00]
mov eax, edi
movzx eax, al
xor ebx, dword [eax*4 + 0x5b6000]
mov eax, dword [esp + 0x1c]
xor ebx, dword [esi + 0x1c]
add esi, 0x20
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x14]
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x5b6800]
xor ecx, dword [eax*4 + 0x5b6400]
mov eax, ebx
shr eax, 0x18
xor ecx, dword [eax*4 + 0x5b6c00]
mov eax, dword [esp + 0x18]
movzx eax, al
xor ecx, dword [eax*4 + 0x5b6000]
mov eax, ebx
xor ecx, dword [esi]
shr eax, 0x10
mov dword [esp + 0x20], ecx
movzx ecx, al
mov edx, dword [ecx*4 + 0x5b6800]
mov eax, dword [esp + 0x1c]
shr eax, 8
movzx eax, al
xor edx, dword [eax*4 + 0x5b6400]
mov eax, dword [esp + 0x18]
shr eax, 0x18
xor edx, dword [eax*4 + 0x5b6c00]
mov eax, dword [esp + 0x14]
movzx eax, al
xor edx, dword [eax*4 + 0x5b6000]
mov eax, ebx
xor edx, dword [esi + 4]
shr eax, 8
mov dword [esp + 0x2c], edx
movzx edx, al
mov eax, dword [esp + 0x18]
shr eax, 0x10
movzx ecx, al
mov eax, dword [edx*4 + 0x5b6400]
mov edx, dword [esp + 0x14]
xor eax, dword [ecx*4 + 0x5b6800]
mov ecx, edx
shr ecx, 0x18
shr edx, 0x10
movzx edx, dl
xor eax, dword [ecx*4 + 0x5b6c00]
mov ecx, dword [esp + 0x1c]
mov edx, dword [edx*4 + 0x5b6800]
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5b6000]
mov ecx, dword [esp + 0x18]
xor eax, dword [esi + 8]
shr ecx, 8
movzx ecx, cl
xor edx, dword [ecx*4 + 0x5b6400]
mov ecx, dword [esp + 0x1c]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x5b6c00]
movzx ecx, bl
xor edx, dword [ecx*4 + 0x5b6000]
xor edx, dword [esi + 0xc]
mov dword [esp + 0x10], edx
sub ebp, 1
jne 0x564643
mov ebp, dword [esp + 0x24]
shr edx, 0x18
mov ecx, eax
shr ecx, 0x10
movzx ecx, cl
mov ebx, dword [esp + 0x20]
movzx edx, byte [edx + str.cw]
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [esp + 0x2c]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
movzx ecx, bl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [esp + 0x10]
xor edx, dword [esi + 0x10]
shr ecx, 0x10
movzx ecx, cl
mov dword [ebp], edx
movzx edx, byte [ecx + str.cw]
mov ecx, ebx
shr ecx, 0x18
movzx ecx, byte [ecx + str.cw]
shl ecx, 8
or edx, ecx
mov ecx, eax
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [esp + 0x2c]
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [esp + 0x2c]
xor edx, dword [esi + 0x14]
shr ecx, 0x18
mov dword [ebp + 4], edx
movzx edx, byte [ecx + str.cw]
mov ecx, ebx
shr ecx, 0x10
movzx ecx, cl
shl edx, 8
shr ebx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
mov ecx, dword [esp + 0x10]
shr ecx, 8
movzx ecx, cl
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
movzx ecx, al
shr eax, 0x18
shl edx, 8
movzx ecx, byte [ecx + str.cw]
or edx, ecx
movzx ecx, byte [eax + str.cw]
mov eax, dword [esp + 0x2c]
xor edx, dword [esi + 0x18]
shr eax, 0x10
movzx eax, al
shl ecx, 8
mov dword [ebp + 8], edx
movzx eax, byte [eax + str.cw]
or ecx, eax
movzx eax, bl
shl ecx, 8
movzx eax, byte [eax + str.cw]
or ecx, eax
mov eax, dword [esp + 0x10]
movzx eax, al
shl ecx, 8
movzx eax, byte [eax + str.cw]
pop edi
or ecx, eax
xor ecx, dword [esi + 0x1c]
pop esi
mov dword [ebp + 0xc], ecx
pop ebp
pop ebx
add esp, 0x18
ret 4