Function at 0x531a80
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
sub esp, 0x18
mov eax, dword [esp + 0x20]
push ebx
mov ebx, dword [esp + 0x20]
push ebp
push esi
mov ebp, dword [esp + 0x30]
mov ecx, dword [ebx + 0x38]
xor ecx, dword [eax]
mov esi, dword [ebx + 0x24]
mov edx, dword [ebx + 0x3c]
xor edx, dword [eax + 4]
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 0x40]
xor ecx, dword [eax + 8]
mov ebx, dword [ebx + 0x44]
xor ebx, dword [eax + 0xc]
mov eax, ecx
shr eax, 0x10
mov dword [esp + 0xc], ecx
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
push edi
mov edi, dword [ecx*4 + 0x64dc78]
mov dword [esp + 0x1c], esi
xor edi, dword [eax*4 + 0x64d878]
mov eax, ebx
shr eax, 0x18
mov dword [esp + 0x18], ebp
xor edi, dword [eax*4 + 0x64e078]
mov eax, dword [esp + 0x14]
movzx eax, al
xor edi, dword [eax*4 + 0x64d478]
mov eax, dword [esp + 0x10]
shr eax, 8
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov dword [ebp], edi
mov esi, dword [ecx*4 + 0x64d878]
xor esi, dword [eax*4 + 0x64dc78]
mov eax, dword [esp + 0x14]
shr eax, 0x18
xor esi, dword [eax*4 + 0x64e078]
movzx eax, dl
xor esi, dword [eax*4 + 0x64d478]
mov eax, ebx
shr eax, 8
movzx ecx, al
mov eax, dword [esp + 0x14]
shr eax, 0x10
movzx eax, al
mov dword [ebp + 4], esi
mov ebp, dword [ecx*4 + 0x64d878]
mov ecx, dword [esp + 0x14]
xor ebp, dword [eax*4 + 0x64dc78]
mov eax, edx
shr eax, 0x18
shr ecx, 8
shr edx, 0x10
movzx ecx, cl
xor ebp, dword [eax*4 + 0x64e078]
mov eax, dword [esp + 0x10]
movzx eax, al
xor ebp, dword [eax*4 + 0x64d478]
mov eax, dword [esp + 0x18]
mov dword [eax + 8], ebp
movzx eax, dl
mov eax, dword [eax*4 + 0x64dc78]
xor eax, dword [ecx*4 + 0x64d878]
mov ecx, dword [esp + 0x10]
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x64e078]
movzx ecx, bl
mov ebx, dword [esp + 0x1c]
xor eax, dword [ecx*4 + 0x64d478]
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0xc], eax
lea ecx, [ebx - 1]
cmp ecx, 1
jbe 0x531d00
mov edx, dword [esp + 0x2c]
add edx, 0x50
dec ecx
mov dword [esp + 0x14], edx
mov dword [esp + 0x24], ecx
mov ebx, dword [edx - 8]
mov ecx, dword [edx - 4]
xor ebx, edi
mov edx, dword [edx]
xor ecx, esi
xor edx, ebp
mov dword [esp + 0x20], ecx
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x14]
mov ebp, dword [esp + 0x18]
mov edx, dword [edx + 4]
xor edx, eax
mov eax, ecx
shr eax, 8
movzx ecx, al
mov eax, dword [esp + 0x10]
shr eax, 0x10
movzx eax, al
mov edi, dword [ecx*4 + 0x64d878]
xor edi, dword [eax*4 + 0x64dc78]
mov eax, edx
shr eax, 0x18
xor edi, dword [eax*4 + 0x64e078]
movzx eax, bl
xor edi, dword [eax*4 + 0x64d478]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, dword [esp + 0x10]
shr eax, 8
movzx eax, al
mov dword [ebp], edi
mov esi, dword [ecx*4 + 0x64dc78]
xor esi, dword [eax*4 + 0x64d878]
mov eax, ebx
shr eax, 0x18
xor esi, dword [eax*4 + 0x64e078]
mov eax, dword [esp + 0x20]
movzx eax, al
xor esi, dword [eax*4 + 0x64d478]
mov eax, edx
shr eax, 8
movzx ecx, al
mov eax, ebx
shr eax, 0x10
movzx eax, al
mov dword [ebp + 4], esi
mov ebp, dword [ecx*4 + 0x64d878]
mov ecx, dword [esp + 0x20]
xor ebp, dword [eax*4 + 0x64dc78]
mov eax, ecx
shr eax, 0x18
shr ecx, 0x10
shr ebx, 8
movzx ecx, cl
xor ebp, dword [eax*4 + 0x64e078]
mov eax, dword [esp + 0x10]
movzx eax, al
xor ebp, dword [eax*4 + 0x64d478]
mov eax, dword [esp + 0x18]
mov dword [eax + 8], ebp
movzx eax, bl
mov eax, dword [eax*4 + 0x64d878]
xor eax, dword [ecx*4 + 0x64dc78]
mov ecx, dword [esp + 0x10]
shr ecx, 0x18
xor eax, dword [ecx*4 + 0x64e078]
movzx ecx, dl
mov edx, dword [esp + 0x14]
add edx, 0x10
mov dword [esp + 0x14], edx
xor eax, dword [ecx*4 + 0x64d478]
sub dword [esp + 0x24], 1
mov ecx, dword [esp + 0x18]
mov dword [ecx + 0xc], eax
jne 0x531bd1
mov ebx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
shl ebx, 4
mov dword [esp + 0x1c], ebx
mov edx, dword [ebx + ecx + 0x28]
mov ebx, dword [ebx + ecx + 0x2c]
xor edx, edi
mov edi, dword [esp + 0x18]
xor ebx, esi
mov esi, dword [esp + 0x1c]
mov ecx, dword [esi + ecx + 0x30]
xor ecx, ebp
mov ebp, dword [esp + 0x2c]
mov dword [esp + 0x10], ecx
mov ecx, dword [esi + ebp + 0x34]
xor ecx, eax
movzx eax, dl
movzx eax, byte [eax*4 + 0x64d479]
mov byte [edi], al
mov eax, ebx
shr eax, 8
movzx eax, al
movzx eax, byte [eax*4 + 0x64d479]
mov byte [edi + 1], al
mov eax, dword [esp + 0x10]
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax*4 + 0x64d479]
mov byte [edi + 2], al
mov eax, ecx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x64d479]
mov byte [edi + 3], al
movzx eax, bl
movzx eax, byte [eax*4 + 0x64d479]
mov byte [edi + 4], al
mov eax, dword [esp + 0x10]
shr eax, 8
movzx eax, al
movzx eax, byte [eax*4 + 0x64d479]
mov byte [edi + 5], al
mov eax, ecx
shr eax, 0x10
movzx eax, al
movzx eax, byte [eax*4 + 0x64d479]
mov byte [edi + 6], al
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax*4 + 0x64d479]
mov byte [edi + 7], al
mov eax, dword [esp + 0x10]
movzx eax, al
movzx eax, byte [eax*4 + 0x64d479]
mov byte [edi + 8], al
mov eax, ecx
shr eax, 8
movzx eax, al
movzx eax, byte [eax*4 + 0x64d479]
mov byte [edi + 9], al
mov eax, edx
shr eax, 0x10
movzx eax, al
shr edx, 8
movzx eax, byte [eax*4 + 0x64d479]
mov byte [edi + 0xa], al
mov eax, ebx
shr eax, 0x18
shr ebx, 0x10
movzx eax, byte [eax*4 + 0x64d479]
mov byte [edi + 0xb], al
movzx eax, cl
movzx eax, byte [eax*4 + 0x64d479]
mov byte [edi + 0xc], al
movzx eax, dl
movzx eax, byte [eax*4 + 0x64d479]
mov byte [edi + 0xd], al
movzx eax, bl
movzx eax, byte [eax*4 + 0x64d479]
mov byte [edi + 0xe], al
mov eax, dword [esp + 0x10]
shr eax, 0x18
movzx eax, byte [eax*4 + 0x64d479]
mov byte [edi + 0xf], al
mov ecx, esi
mov eax, dword [ecx + ebp + 0x38]
xor dword [edi], eax
mov eax, dword [ecx + ebp + 0x3c]
xor dword [edi + 4], eax
mov eax, dword [ecx + ebp + 0x40]
xor dword [edi + 8], eax
mov eax, dword [ecx + ebp + 0x44]
xor dword [edi + 0xc], eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret