Function at 0x412910
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
push ebx
mov ebx, ecx
mov ecx, dword [eax]
mov dword [ebp - 4], ecx
shl ecx, 5
mov edx, dword [eax + ecx + 0x1c]
xor edx, dword [ebx + 0xc]
lea eax, [eax + ecx + 0x10]
mov ecx, dword [eax]
xor ecx, dword [ebx]
push esi
mov esi, dword [eax + 8]
xor esi, dword [ebx + 8]
push edi
mov edi, dword [eax + 4]
xor edi, dword [ebx + 4]
mov dword [ebp - 0x20], esi
mov ebx, edx
shr ebx, 8
and ebx, 0xff
shr esi, 0x10
and esi, 0xff
mov dword [ebp - 8], esi
mov esi, dword [ebx*4 + 0x434f00]
mov ebx, dword [ebp - 8]
xor esi, dword [ebx*4 + 0x435300]
mov ebx, edi
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x435700]
mov dword [ebp - 0x24], edi
shr edi, 8
mov ebx, ecx
and ebx, 0xff
xor esi, dword [ebx*4 + 0x434b00]
and edi, 0xff
mov edi, dword [edi*4 + 0x434f00]
mov ebx, ecx
shr ebx, 0x10
and ebx, 0xff
xor edi, dword [ebx*4 + 0x435300]
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x435700]
mov ebx, dword [ebp - 0x20]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x434b00]
mov ebx, dword [ebp - 0x24]
xor edi, dword [eax - 8]
sub eax, 0x20
mov dword [ebp - 0x10], edi
mov edi, dword [ebp - 0x20]
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x434f00]
shr ebx, 0x10
xor esi, dword [eax + 0x10]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x435300]
mov ebx, ecx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x435700]
mov ebx, edx
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x435300]
shr ecx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0x434f00]
mov ecx, dword [ebp - 0x20]
shr ecx, 0x18
xor edx, dword [ecx*4 + 0x435700]
mov ecx, dword [ebp - 0x24]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x434b00]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x434b00]
xor edx, dword [eax + 0x14]
xor edi, dword [eax + 0x1c]
sub dword [ebp - 4], 1
mov dword [ebp - 0x18], esi
mov dword [ebp - 0x14], edx
je 0x412ca0
jmp 0x412a70
mov ebx, dword [ebp - 0x10]
shr ebx, 0x10
and ebx, 0xff
mov ecx, edi
shr ecx, 8
and ecx, 0xff
mov ecx, dword [ecx*4 + 0x434f00]
xor ecx, dword [ebx*4 + 0x435300]
mov ebx, edx
shr ebx, 0x18
xor ecx, dword [ebx*4 + 0x435700]
mov ebx, esi
and ebx, 0xff
xor ecx, dword [ebx*4 + 0x434b00]
mov ebx, edx
shr ebx, 8
and ebx, 0xff
shr esi, 0x10
and esi, 0xff
mov dword [ebp - 8], esi
mov esi, dword [ebx*4 + 0x434f00]
mov ebx, dword [ebp - 8]
xor esi, dword [ebx*4 + 0x435300]
mov ebx, edi
shr ebx, 0x18
xor esi, dword [ebx*4 + 0x435700]
mov ebx, dword [ebp - 0x10]
and ebx, 0xff
xor esi, dword [ebx*4 + 0x434b00]
mov ebx, dword [ebp - 0x10]
shr ebx, 8
and ebx, 0xff
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x435300]
xor edx, dword [ebx*4 + 0x434f00]
mov ebx, dword [ebp - 0x18]
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x435700]
mov ebx, edi
and ebx, 0xff
xor edx, dword [ebx*4 + 0x434b00]
mov ebx, dword [ebp - 0x18]
shr edi, 0x10
xor edx, dword [eax + 0xc]
and edi, 0xff
mov edi, dword [edi*4 + 0x435300]
xor esi, dword [eax + 8]
shr ebx, 8
and ebx, 0xff
xor edi, dword [ebx*4 + 0x434f00]
mov ebx, dword [ebp - 0x10]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x435700]
mov ebx, dword [ebp - 0x14]
xor ecx, dword [eax]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x434b00]
mov ebx, esi
xor edi, dword [eax + 4]
shr ebx, 0x10
mov dword [ebp - 0x24], edi
mov edi, edx
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x434f00]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x435300]
mov ebx, dword [ebp - 0x24]
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x435700]
mov ebx, ecx
and ebx, 0xff
xor edi, dword [ebx*4 + 0x434b00]
sub eax, 0x20
xor edi, dword [eax + 0x10]
mov ebx, ecx
mov dword [ebp - 0x18], edi
mov edi, dword [ebp - 0x24]
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x434f00]
shr ebx, 0x10
and ebx, 0xff
xor edi, dword [ebx*4 + 0x435300]
mov ebx, edx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x435700]
mov ebx, esi
and ebx, 0xff
xor edi, dword [ebx*4 + 0x434b00]
mov ebx, dword [ebp - 0x24]
xor edi, dword [eax + 0x18]
shr ebx, 0x10
mov dword [ebp - 0x10], edi
mov edi, esi
shr edi, 8
and edi, 0xff
mov edi, dword [edi*4 + 0x434f00]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x435300]
mov ebx, ecx
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x435700]
mov ebx, edx
shr edx, 0x10
and edx, 0xff
mov edx, dword [edx*4 + 0x435300]
shr ecx, 8
and ecx, 0xff
xor edx, dword [ecx*4 + 0x434f00]
mov ecx, dword [ebp - 0x24]
shr esi, 0x18
xor edx, dword [esi*4 + 0x435700]
mov esi, dword [ebp - 0x18]
and ecx, 0xff
xor edx, dword [ecx*4 + 0x434b00]
and ebx, 0xff
xor edi, dword [ebx*4 + 0x434b00]
xor edx, dword [eax + 0x14]
xor edi, dword [eax + 0x1c]
sub dword [ebp - 4], 1
mov dword [ebp - 0x14], edx
jne 0x412a70
mov ecx, dword [ebp - 0x10]
shr ecx, 0x10
and ecx, 0xff
movzx ecx, byte [ecx + 0x435b00]
mov ebx, edx
shr ebx, 0x18
movzx ebx, byte [ebx + 0x435b00]
shl ebx, 8
or ecx, ebx
shl ecx, 8
mov ebx, edi
shr ebx, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x435b00]
or ecx, ebx
shl ecx, 8
mov ebx, esi
and ebx, 0xff
movzx ebx, byte [ebx + 0x435b00]
or ecx, ebx
xor ecx, dword [eax]
mov ebx, dword [ebp + 8]
mov dword [ebx], ecx
mov ebx, dword [ebp - 0x10]
shr ebx, 0x18
movzx ebx, byte [ebx + 0x435b00]
shl ebx, 8
mov ecx, edi
shr ecx, 0x10
and ecx, 0xff
movzx ecx, byte [ecx + 0x435b00]
or ecx, ebx
shl ecx, 8
mov ebx, esi
shr ebx, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x435b00]
or ecx, ebx
shl ecx, 8
mov ebx, edx
and ebx, 0xff
movzx ebx, byte [ebx + 0x435b00]
or ecx, ebx
xor ecx, dword [eax + 4]
mov ebx, dword [ebp + 8]
mov dword [ebx + 4], ecx
mov ecx, esi
shr ecx, 0x10
and ecx, 0xff
movzx ecx, byte [ecx + 0x435b00]
mov ebx, edi
shr ebx, 0x18
movzx ebx, byte [ebx + 0x435b00]
shl ebx, 8
or ecx, ebx
mov ebx, edx
shr ebx, 8
shl ecx, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x435b00]
or ecx, ebx
mov ebx, dword [ebp - 0x10]
shl ecx, 8
and ebx, 0xff
movzx ebx, byte [ebx + 0x435b00]
or ecx, ebx
xor ecx, dword [eax + 8]
mov ebx, dword [ebp + 8]
mov dword [ebx + 8], ecx
shr edx, 0x10
and edx, 0xff
movzx edx, byte [edx + 0x435b00]
shr esi, 0x18
movzx ecx, byte [esi + 0x435b00]
shl ecx, 8
or edx, ecx
mov ecx, dword [ebp - 0x10]
shr ecx, 8
shl edx, 8
and ecx, 0xff
movzx ecx, byte [ecx + 0x435b00]
or edx, ecx
and edi, 0xff
movzx ecx, byte [edi + 0x435b00]
shl edx, 8
or edx, ecx
xor edx, dword [eax + 0xc]
pop edi
pop esi
mov dword [ebx + 0xc], edx
pop ebx
mov esp, ebp
pop ebp
ret 4