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

Disassembly:
sub esp, 0x18
push ebx
push ebp
push esi
mov esi, dword [esp + 0x28]
mov edx, dword [esi + 4]
push edi
mov edi, ecx
xor edx, dword [edi + 0x18]
mov ecx, dword [edi + 0x14]
xor ecx, dword [esi]
mov dword [esp + 0x14], edi
mov edi, dword [esi + 8]
mov esi, dword [esi + 0xc]
mov ebx, dword [esp + 0x14]
xor edi, dword [ebx + 0x1c]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x20], edi
mov edi, ebx
xor esi, dword [edi + 0x20]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x24], esi
shr esi, 0x18
mov esi, dword [esi*4 + 0x5071a8]
shr ebx, 0x10
movzx edi, bl
xor esi, dword [edi*4 + 0x5075a8]
mov ebx, edx
shr ebx, 8
movzx edi, bl
xor esi, dword [edi*4 + 0x5079a8]
mov ebx, dword [esp + 0x24]
movzx edi, cl
xor esi, dword [edi*4 + 0x507da8]
shr ebx, 0x10
mov dword [eax], esi
movzx esi, bl
mov esi, dword [esi*4 + 0x5075a8]
mov ebx, dword [esp + 0x20]
shr ebx, 8
movzx edi, bl
xor esi, dword [edi*4 + 0x5079a8]
mov ebx, dword [esp + 0x24]
mov edi, ecx
shr edi, 0x18
xor esi, dword [edi*4 + 0x5071a8]
movzx edi, dl
xor esi, dword [edi*4 + 0x507da8]
shr ebx, 8
mov dword [eax + 4], esi
movzx esi, bl
mov esi, dword [esi*4 + 0x5079a8]
mov edi, edx
mov ebx, ecx
shr edi, 0x18
xor esi, dword [edi*4 + 0x5071a8]
shr ebx, 0x10
movzx edi, bl
xor esi, dword [edi*4 + 0x5075a8]
mov ebx, dword [esp + 0x20]
movzx edi, bl
xor esi, dword [edi*4 + 0x507da8]
shr edx, 0x10
mov dword [eax + 8], esi
shr ebx, 0x18
mov esi, dword [ebx*4 + 0x5071a8]
movzx edx, dl
xor esi, dword [edx*4 + 0x5075a8]
movzx edx, byte [esp + 0x24]
shr ecx, 8
movzx ecx, cl
xor esi, dword [ecx*4 + 0x5079a8]
mov ecx, dword [esp + 0x14]
xor esi, dword [edx*4 + 0x507da8]
add ecx, 0x2c
mov dword [eax + 0xc], esi
mov edi, 2
mov esi, dword [ecx - 4]
xor esi, dword [eax + 4]
mov edx, dword [ecx - 8]
mov dword [esp + 0x1c], esi
mov esi, dword [ecx]
xor esi, dword [eax + 8]
xor edx, dword [eax]
mov dword [esp + 0x20], esi
mov esi, dword [ecx + 4]
xor esi, dword [eax + 0xc]
mov ebx, dword [esp + 0x20]
shr ebx, 0x10
movzx ebx, bl
mov dword [esp + 0x24], esi
shr esi, 0x18
mov esi, dword [esi*4 + 0x5071a8]
xor esi, dword [ebx*4 + 0x5075a8]
mov ebx, dword [esp + 0x1c]
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x5079a8]
movzx ebx, dl
xor esi, dword [ebx*4 + 0x507da8]
mov ebx, dword [esp + 0x24]
shr ebx, 0x10
mov dword [eax], esi
movzx esi, bl
mov esi, dword [esi*4 + 0x5075a8]
mov ebx, dword [esp + 0x20]
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x5079a8]
mov ebx, edx
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x5071a8]
movzx ebx, byte [esp + 0x1c]
xor esi, dword [ebx*4 + 0x507da8]
mov ebx, dword [esp + 0x24]
mov dword [eax + 4], esi
shr ebx, 8
movzx esi, bl
mov esi, dword [esi*4 + 0x5079a8]
mov ebx, dword [esp + 0x1c]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x5071a8]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x5075a8]
mov ebx, dword [esp + 0x20]
movzx ebp, bl
xor esi, dword [ebp*4 + 0x507da8]
shr ebx, 0x18
mov dword [eax + 8], esi
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x1c]
shr ebx, 0x10
movzx esi, bl
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx*4 + 0x5071a8]
xor ebx, dword [esi*4 + 0x5075a8]
shr edx, 8
movzx edx, dl
xor ebx, dword [edx*4 + 0x5079a8]
movzx edx, byte [esp + 0x24]
xor ebx, dword [edx*4 + 0x507da8]
mov dword [eax + 0xc], ebx
mov esi, dword [ecx + 0xc]
xor esi, dword [eax + 4]
mov edx, dword [ecx + 8]
xor edx, dword [eax]
mov dword [esp + 0x1c], esi
mov esi, dword [ecx + 0x10]
xor esi, dword [eax + 8]
mov dword [esp + 0x20], esi
mov esi, dword [ecx + 0x14]
xor esi, ebx
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x24], esi
shr esi, 0x18
shr ebx, 0x10
mov esi, dword [esi*4 + 0x5071a8]
movzx ebx, bl
xor esi, dword [ebx*4 + 0x5075a8]
mov ebx, dword [esp + 0x1c]
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x5079a8]
movzx ebx, dl
xor esi, dword [ebx*4 + 0x507da8]
mov ebx, dword [esp + 0x24]
shr ebx, 0x10
mov dword [eax], esi
movzx esi, bl
mov esi, dword [esi*4 + 0x5075a8]
mov ebx, dword [esp + 0x20]
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x5079a8]
mov ebx, edx
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x5071a8]
movzx ebx, byte [esp + 0x1c]
xor esi, dword [ebx*4 + 0x507da8]
mov ebx, dword [esp + 0x24]
shr ebx, 8
mov dword [eax + 4], esi
movzx esi, bl
mov esi, dword [esi*4 + 0x5079a8]
mov ebx, dword [esp + 0x1c]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x5071a8]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x5075a8]
mov ebx, dword [esp + 0x20]
movzx ebp, bl
xor esi, dword [ebp*4 + 0x507da8]
shr ebx, 0x18
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x1c]
mov dword [eax + 8], esi
shr ebx, 0x10
movzx esi, bl
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx*4 + 0x5071a8]
xor ebx, dword [esi*4 + 0x5075a8]
shr edx, 8
movzx edx, dl
xor ebx, dword [edx*4 + 0x5079a8]
movzx edx, byte [esp + 0x24]
xor ebx, dword [edx*4 + 0x507da8]
mov dword [eax + 0xc], ebx
mov esi, dword [ecx + 0x1c]
xor esi, dword [eax + 4]
mov edx, dword [ecx + 0x18]
mov dword [esp + 0x1c], esi
mov esi, dword [ecx + 0x20]
xor esi, dword [eax + 8]
xor edx, dword [eax]
mov dword [esp + 0x20], esi
mov esi, dword [ecx + 0x24]
xor esi, ebx
mov ebx, dword [esp + 0x20]
shr ebx, 0x10
mov dword [esp + 0x24], esi
movzx ebx, bl
shr esi, 0x18
mov esi, dword [esi*4 + 0x5071a8]
xor esi, dword [ebx*4 + 0x5075a8]
mov ebx, dword [esp + 0x1c]
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x5079a8]
movzx ebx, dl
xor esi, dword [ebx*4 + 0x507da8]
mov ebx, dword [esp + 0x24]
shr ebx, 0x10
mov dword [eax], esi
movzx esi, bl
mov ebx, dword [esp + 0x20]
mov esi, dword [esi*4 + 0x5075a8]
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x5079a8]
mov ebx, edx
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x5071a8]
movzx ebx, byte [esp + 0x1c]
xor esi, dword [ebx*4 + 0x507da8]
mov ebx, dword [esp + 0x24]
shr ebx, 8
mov dword [eax + 4], esi
movzx esi, bl
mov esi, dword [esi*4 + 0x5079a8]
mov ebx, dword [esp + 0x1c]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x5071a8]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x5075a8]
mov ebx, dword [esp + 0x20]
movzx ebp, bl
xor esi, dword [ebp*4 + 0x507da8]
shr ebx, 0x18
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x1c]
shr ebx, 0x10
mov dword [eax + 8], esi
movzx esi, bl
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx*4 + 0x5071a8]
xor ebx, dword [esi*4 + 0x5075a8]
shr edx, 8
movzx edx, dl
xor ebx, dword [edx*4 + 0x5079a8]
movzx edx, byte [esp + 0x24]
xor ebx, dword [edx*4 + 0x507da8]
mov dword [eax + 0xc], ebx
mov esi, dword [ecx + 0x2c]
xor esi, dword [eax + 4]
mov edx, dword [ecx + 0x28]
mov dword [esp + 0x1c], esi
mov esi, dword [ecx + 0x30]
xor esi, dword [eax + 8]
xor edx, dword [eax]
mov dword [esp + 0x20], esi
mov esi, dword [ecx + 0x34]
xor esi, ebx
mov ebx, dword [esp + 0x20]
shr ebx, 0x10
movzx ebx, bl
mov dword [esp + 0x24], esi
shr esi, 0x18
mov esi, dword [esi*4 + 0x5071a8]
xor esi, dword [ebx*4 + 0x5075a8]
mov ebx, dword [esp + 0x1c]
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x5079a8]
movzx ebx, dl
xor esi, dword [ebx*4 + 0x507da8]
mov ebx, dword [esp + 0x24]
shr ebx, 0x10
mov dword [eax], esi
movzx esi, bl
mov ebx, dword [esp + 0x20]
mov esi, dword [esi*4 + 0x5075a8]
shr ebx, 8
movzx ebx, bl
xor esi, dword [ebx*4 + 0x5079a8]
mov ebx, edx
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x5071a8]
movzx ebx, byte [esp + 0x1c]
xor esi, dword [ebx*4 + 0x507da8]
mov ebx, dword [esp + 0x24]
shr ebx, 8
mov dword [eax + 4], esi
movzx esi, bl
mov ebx, dword [esp + 0x1c]
mov esi, dword [esi*4 + 0x5079a8]
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x5071a8]
mov ebx, edx
shr ebx, 0x10
movzx ebx, bl
xor esi, dword [ebx*4 + 0x5075a8]
mov ebx, dword [esp + 0x20]
movzx ebp, bl
xor esi, dword [ebp*4 + 0x507da8]
shr ebx, 0x18
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x1c]
shr ebx, 0x10
mov dword [eax + 8], esi
movzx esi, bl
mov ebx, dword [esp + 0x10]
mov ebx, dword [ebx*4 + 0x5071a8]
xor ebx, dword [esi*4 + 0x5075a8]
shr edx, 8
movzx edx, dl
xor ebx, dword [edx*4 + 0x5079a8]
movzx edx, byte [esp + 0x24]
xor ebx, dword [edx*4 + 0x507da8]
add ecx, 0x40
sub edi, 1
mov dword [eax + 0xc], ebx
jne 0x461797
mov esi, dword [esp + 0x14]
mov edi, dword [esi + 0xac]
xor edi, dword [eax + 8]
mov edx, dword [esi + 0xa8]
mov ecx, dword [eax]
xor ecx, dword [esi + 0xa4]
xor edx, dword [eax + 4]
mov dword [esp + 0x20], edi
mov edi, dword [esi + 0xb0]
xor edi, ebx
mov dword [esp + 0x24], edi
movzx edi, cl
movzx ebx, byte [edi*4 + 0x507da9]
mov byte [eax], bl
mov ebx, edx
shr ebx, 8
movzx edi, bl
movzx ebx, byte [edi*4 + 0x507da9]
mov byte [eax + 1], bl
mov ebx, dword [esp + 0x20]
shr ebx, 0x10
movzx edi, bl
movzx ebx, byte [edi*4 + 0x507da9]
mov edi, dword [esp + 0x24]
mov byte [eax + 2], bl
shr edi, 0x18
movzx ebx, byte [edi*4 + 0x507da9]
mov byte [eax + 3], bl
movzx edi, dl
movzx ebx, byte [edi*4 + 0x507da9]
mov byte [eax + 4], bl
mov ebx, dword [esp + 0x20]
shr ebx, 8
movzx edi, bl
movzx ebx, byte [edi*4 + 0x507da9]
mov byte [eax + 5], bl
mov ebx, dword [esp + 0x24]
shr ebx, 0x10
movzx edi, bl
movzx ebx, byte [edi*4 + 0x507da9]
mov byte [eax + 6], bl
mov edi, ecx
shr edi, 0x18
movzx ebx, byte [edi*4 + 0x507da9]
movzx edi, byte [esp + 0x20]
mov byte [eax + 7], bl
movzx ebx, byte [edi*4 + 0x507da9]
mov byte [eax + 8], bl
mov ebx, dword [esp + 0x24]
shr ebx, 8
movzx edi, bl
movzx ebx, byte [edi*4 + 0x507da9]
mov byte [eax + 9], bl
mov ebx, ecx
shr ebx, 0x10
movzx edi, bl
movzx ebx, byte [edi*4 + 0x507da9]
mov edi, edx
mov byte [eax + 0xa], bl
shr edi, 0x18
movzx ebx, byte [edi*4 + 0x507da9]
movzx edi, byte [esp + 0x24]
shr ecx, 8
mov byte [eax + 0xb], bl
movzx ebx, byte [edi*4 + 0x507da9]
movzx ecx, cl
mov byte [eax + 0xc], bl
movzx ecx, byte [ecx*4 + 0x507da9]
shr edx, 0x10
mov byte [eax + 0xd], cl
movzx edx, dl
movzx ecx, byte [edx*4 + 0x507da9]
mov byte [eax + 0xe], cl
mov ecx, dword [esp + 0x20]
shr ecx, 0x18
mov dl, byte [ecx*4 + 0x507da9]
mov byte [eax + 0xf], dl
mov ecx, dword [esi + 0xb4]
xor dword [eax], ecx
mov edx, dword [esi + 0xb8]
xor dword [eax + 4], edx
mov ecx, dword [esi + 0xbc]
xor dword [eax + 8], ecx
mov edx, dword [esi + 0xc0]
xor dword [eax + 0xc], edx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8