Function at 0xa6b9567
Capabilities:
Encode data using xor
Encrypt data using des

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 8]
push ebx
push esi
push edi
mov ebx, dword [edx]
mov edx, dword [edx + 4]
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
mov edi, dword [ebp + 0xc]
mov esi, dword [ecx*8 + 0xa5d54f0]
mov ecx, dword [ecx*8 + 0xa5d54f4]
xor esi, dword [eax*8 + 0xa5d4cf0]
xor ecx, dword [eax*8 + 0xa5d4cf4]
mov eax, ebx
shr eax, 0x10
movzx eax, al
push 0x3f
mov dword [ebp - 8], 8
xor esi, dword [eax*8 + 0xa5d34f0]
xor ecx, dword [eax*8 + 0xa5d34f4]
mov eax, ebx
shr eax, 8
movzx eax, al
xor esi, dword [eax*8 + 0xa5d2cf0]
xor ecx, dword [eax*8 + 0xa5d2cf4]
mov eax, edx
shr eax, 0x18
xor esi, dword [eax*8 + 0xa5d5cf0]
xor ecx, dword [eax*8 + 0xa5d5cf4]
mov eax, ebx
shr eax, 0x18
xor esi, dword [eax*8 + 0xa5d3cf0]
xor ecx, dword [eax*8 + 0xa5d3cf4]
movzx eax, dl
mov edx, esi
mov dword [ebp - 4], esi
pop esi
xor edx, dword [eax*8 + 0xa5d44f0]
xor ecx, dword [eax*8 + 0xa5d44f4]
movzx eax, bl
xor edx, dword [eax*8 + 0xa5d24f0]
xor ecx, dword [eax*8 + 0xa5d24f4]
mov dword [ebp - 4], edx
mov ebx, ecx
mov dword [ebp - 0xc], ecx
ror edx, 4
xor edx, dword [edi]
lea edi, [edi + 0x10]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, esi
shr eax, 0x10
and eax, esi
push 0x3f
mov ecx, dword [ecx*4 + 0xa5d1cf0]
xor ecx, dword [eax*4 + 0xa5d1ef0]
mov eax, edx
shr eax, 8
and edx, esi
and eax, esi
pop esi
xor ecx, dword [eax*4 + 0xa5d20f0]
xor ecx, dword [edx*4 + 0xa5d22f0]
mov edx, dword [edi - 0xc]
xor ebx, ecx
xor edx, dword [ebp - 4]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, esi
shr eax, 0x10
and eax, esi
mov ecx, dword [ecx*4 + 0xa5d1df0]
xor ecx, dword [eax*4 + 0xa5d1ff0]
mov eax, edx
shr eax, 8
and edx, esi
and eax, esi
xor ecx, dword [eax*4 + 0xa5d21f0]
xor ecx, dword [edx*4 + 0xa5d23f0]
xor ebx, ecx
mov edx, ebx
ror edx, 4
xor edx, dword [edi - 8]
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, esi
shr eax, 0x10
and eax, esi
mov ecx, dword [ecx*4 + 0xa5d1cf0]
xor ecx, dword [eax*4 + 0xa5d1ef0]
mov eax, edx
shr eax, 8
and edx, esi
and eax, esi
xor ecx, dword [eax*4 + 0xa5d20f0]
xor ecx, dword [edx*4 + 0xa5d22f0]
xor dword [ebp - 4], ecx
mov edx, dword [edi - 4]
xor edx, ebx
mov ecx, edx
mov eax, edx
shr ecx, 0x18
and ecx, esi
shr eax, 0x10
and eax, esi
mov ecx, dword [ecx*4 + 0xa5d1df0]
xor ecx, dword [eax*4 + 0xa5d1ff0]
mov eax, edx
shr eax, 8
and edx, esi
and eax, esi
xor ecx, dword [eax*4 + 0xa5d21f0]
xor ecx, dword [edx*4 + 0xa5d23f0]
mov edx, dword [ebp - 4]
xor edx, ecx
sub dword [ebp - 8], 1
mov dword [ebp - 4], edx
jne 0xa6b9632
mov eax, edx
shr eax, 0x10
movzx ecx, al
mov eax, edx
shr eax, 8
movzx eax, al
pop edi
mov edx, dword [ecx*8 + 0xa5d94f0]
mov ecx, dword [ecx*8 + 0xa5d94f4]
xor edx, dword [eax*8 + 0xa5d8cf0]
xor ecx, dword [eax*8 + 0xa5d8cf4]
mov eax, ebx
shr eax, 0x10
movzx eax, al
pop esi
xor edx, dword [eax*8 + 0xa5d74f0]
xor ecx, dword [eax*8 + 0xa5d74f4]
mov eax, ebx
shr eax, 8
movzx eax, al
xor edx, dword [eax*8 + 0xa5d6cf0]
xor ecx, dword [eax*8 + 0xa5d6cf4]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor edx, dword [eax*8 + 0xa5d9cf0]
xor ecx, dword [eax*8 + 0xa5d9cf4]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*8 + 0xa5d7cf0]
xor ecx, dword [eax*8 + 0xa5d7cf4]
mov eax, dword [ebp - 4]
movzx eax, al
xor edx, dword [eax*8 + 0xa5d84f0]
xor ecx, dword [eax*8 + 0xa5d84f4]
movzx eax, bl
pop ebx
xor edx, dword [eax*8 + 0xa5d64f0]
xor ecx, dword [eax*8 + 0xa5d64f4]
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov dword [eax + 4], ecx
leave
ret