Function at 0xa50c184
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 + 0xa4643e0]
mov ecx, dword [ecx*8 + 0xa4643e4]
xor esi, dword [eax*8 + 0xa463be0]
xor ecx, dword [eax*8 + 0xa463be4]
mov eax, ebx
shr eax, 0x10
movzx eax, al
push 0x3f
mov dword [ebp - 8], 8
xor esi, dword [eax*8 + 0xa4623e0]
xor ecx, dword [eax*8 + 0xa4623e4]
mov eax, ebx
shr eax, 8
movzx eax, al
xor esi, dword [eax*8 + 0xa461be0]
xor ecx, dword [eax*8 + 0xa461be4]
mov eax, edx
shr eax, 0x18
xor esi, dword [eax*8 + 0xa464be0]
xor ecx, dword [eax*8 + 0xa464be4]
mov eax, ebx
shr eax, 0x18
xor esi, dword [eax*8 + 0xa462be0]
xor ecx, dword [eax*8 + 0xa462be4]
movzx eax, dl
mov edx, esi
mov dword [ebp - 4], esi
pop esi
xor edx, dword [eax*8 + 0xa4633e0]
xor ecx, dword [eax*8 + 0xa4633e4]
movzx eax, bl
xor edx, dword [eax*8 + 0xa4613e0]
xor ecx, dword [eax*8 + 0xa4613e4]
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 + 0xa460be0]
xor ecx, dword [eax*4 + 0xa460de0]
mov eax, edx
shr eax, 8
and edx, esi
and eax, esi
pop esi
xor ecx, dword [eax*4 + 0xa460fe0]
xor ecx, dword [edx*4 + 0xa4611e0]
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 + 0xa460ce0]
xor ecx, dword [eax*4 + 0xa460ee0]
mov eax, edx
shr eax, 8
and edx, esi
and eax, esi
xor ecx, dword [eax*4 + 0xa4610e0]
xor ecx, dword [edx*4 + 0xa4612e0]
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 + 0xa460be0]
xor ecx, dword [eax*4 + 0xa460de0]
mov eax, edx
shr eax, 8
and edx, esi
and eax, esi
xor ecx, dword [eax*4 + 0xa460fe0]
xor ecx, dword [edx*4 + 0xa4611e0]
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 + 0xa460ce0]
xor ecx, dword [eax*4 + 0xa460ee0]
mov eax, edx
shr eax, 8
and edx, esi
and eax, esi
xor ecx, dword [eax*4 + 0xa4610e0]
xor ecx, dword [edx*4 + 0xa4612e0]
mov edx, dword [ebp - 4]
xor edx, ecx
sub dword [ebp - 8], 1
mov dword [ebp - 4], edx
jne 0xa50c24f
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 + 0xa4683e0]
mov ecx, dword [ecx*8 + 0xa4683e4]
xor edx, dword [eax*8 + 0xa467be0]
xor ecx, dword [eax*8 + 0xa467be4]
mov eax, ebx
shr eax, 0x10
movzx eax, al
pop esi
xor edx, dword [eax*8 + 0xa4663e0]
xor ecx, dword [eax*8 + 0xa4663e4]
mov eax, ebx
shr eax, 8
movzx eax, al
xor edx, dword [eax*8 + 0xa465be0]
xor ecx, dword [eax*8 + 0xa465be4]
mov eax, dword [ebp - 4]
shr eax, 0x18
xor edx, dword [eax*8 + 0xa468be0]
xor ecx, dword [eax*8 + 0xa468be4]
mov eax, ebx
shr eax, 0x18
xor edx, dword [eax*8 + 0xa466be0]
xor ecx, dword [eax*8 + 0xa466be4]
mov eax, dword [ebp - 4]
movzx eax, al
xor edx, dword [eax*8 + 0xa4673e0]
xor ecx, dword [eax*8 + 0xa4673e4]
movzx eax, bl
pop ebx
xor edx, dword [eax*8 + 0xa4653e0]
xor ecx, dword [eax*8 + 0xa4653e4]
mov eax, dword [ebp + 8]
mov dword [eax], edx
mov dword [eax + 4], ecx
leave
ret