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

Disassembly:
push ebp
mov ebp, esp
push ecx
movzx edx, byte [ecx]
shl edx, 8
push ebx
push esi
movzx esi, byte [ecx + 1]
or edx, esi
movzx esi, byte [ecx + 2]
shl edx, 8
or edx, esi
movzx esi, byte [ecx + 3]
shl edx, 8
or edx, esi
movzx esi, byte [ecx + 4]
shl esi, 8
push edi
movzx edi, byte [ecx + 5]
or esi, edi
movzx edi, byte [ecx + 6]
movzx ecx, byte [ecx + 7]
shl esi, 8
or esi, edi
shl esi, 8
or esi, ecx
mov ecx, edx
shr ecx, 4
xor ecx, esi
and ecx, 0xf0f0f0f
xor esi, ecx
shl ecx, 4
xor edx, ecx
mov ecx, edx
shr ecx, 0x10
xor ecx, esi
and ecx, 0xffff
xor esi, ecx
shl ecx, 0x10
xor edx, ecx
mov ecx, esi
shr ecx, 2
xor ecx, edx
and ecx, 0x33333333
xor edx, ecx
add ecx, ecx
add ecx, ecx
xor esi, ecx
mov ecx, esi
shr ecx, 8
xor ecx, edx
and ecx, 0xff00ff
xor edx, ecx
shl ecx, 8
xor ecx, esi
rol ecx, 1
mov esi, ecx
xor esi, edx
and esi, 0xaaaaaaaa
xor edx, esi
xor ecx, esi
rol edx, 1
mov dword [ebp - 4], 8
mov edi, edi
mov esi, dword [eax]
xor esi, ecx
mov edi, esi
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x100b1800]
mov ebx, esi
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x100b1a00]
mov ebx, esi
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x100b1c00]
and esi, 0x3f
xor edi, dword [esi*4 + 0x100b1e00]
mov esi, ecx
xor edx, edi
ror esi, 4
xor esi, dword [eax + 4]
add eax, 0x10
mov edi, esi
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x100b1700]
mov ebx, esi
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x100b1900]
mov ebx, esi
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x100b1b00]
and esi, 0x3f
xor edi, dword [esi*4 + 0x100b1d00]
mov esi, dword [eax - 8]
xor edx, edi
xor esi, edx
mov edi, esi
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x100b1800]
mov ebx, esi
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x100b1a00]
mov ebx, esi
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x100b1c00]
and esi, 0x3f
xor edi, dword [esi*4 + 0x100b1e00]
mov esi, edx
xor ecx, edi
ror esi, 4
xor esi, dword [eax - 4]
mov edi, esi
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x100b1700]
mov ebx, esi
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x100b1900]
mov ebx, esi
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x100b1b00]
and esi, 0x3f
xor edi, dword [esi*4 + 0x100b1d00]
xor ecx, edi
dec dword [ebp - 4]
jne 0x10008720
mov dword [ebp - 4], 8
mov esi, dword [eax]
xor esi, edx
mov edi, esi
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x100b1800]
mov ebx, esi
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x100b1a00]
mov ebx, esi
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x100b1c00]
and esi, 0x3f
xor edi, dword [esi*4 + 0x100b1e00]
mov esi, edx
xor ecx, edi
ror esi, 4
xor esi, dword [eax + 4]
add eax, 0x10
mov edi, esi
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x100b1700]
mov ebx, esi
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x100b1900]
mov ebx, esi
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x100b1b00]
and esi, 0x3f
xor edi, dword [esi*4 + 0x100b1d00]
mov esi, dword [eax - 8]
xor ecx, edi
xor esi, ecx
mov edi, esi
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x100b1800]
mov ebx, esi
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x100b1a00]
mov ebx, esi
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x100b1c00]
and esi, 0x3f
xor edi, dword [esi*4 + 0x100b1e00]
mov esi, ecx
xor edx, edi
ror esi, 4
xor esi, dword [eax - 4]
mov edi, esi
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x100b1700]
mov ebx, esi
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x100b1900]
mov ebx, esi
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x100b1b00]
and esi, 0x3f
xor edi, dword [esi*4 + 0x100b1d00]
xor edx, edi
dec dword [ebp - 4]
jne 0x10008830
mov dword [ebp - 4], 8
mov esi, dword [eax]
xor esi, ecx
mov edi, esi
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x100b1800]
mov ebx, esi
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x100b1a00]
mov ebx, esi
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x100b1c00]
and esi, 0x3f
xor edi, dword [esi*4 + 0x100b1e00]
mov esi, ecx
xor edx, edi
ror esi, 4
xor esi, dword [eax + 4]
add eax, 0x10
mov edi, esi
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x100b1700]
mov ebx, esi
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x100b1900]
mov ebx, esi
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x100b1b00]
and esi, 0x3f
xor edi, dword [esi*4 + 0x100b1d00]
mov esi, dword [eax - 8]
xor edx, edi
xor esi, edx
mov edi, esi
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x100b1800]
mov ebx, esi
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x100b1a00]
mov ebx, esi
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x100b1c00]
and esi, 0x3f
xor edi, dword [esi*4 + 0x100b1e00]
mov esi, edx
xor ecx, edi
ror esi, 4
xor esi, dword [eax - 4]
mov edi, esi
shr edi, 0x18
and edi, 0x3f
mov edi, dword [edi*4 + 0x100b1700]
mov ebx, esi
shr ebx, 0x10
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x100b1900]
mov ebx, esi
shr ebx, 8
and ebx, 0x3f
xor edi, dword [ebx*4 + 0x100b1b00]
and esi, 0x3f
xor edi, dword [esi*4 + 0x100b1d00]
xor ecx, edi
dec dword [ebp - 4]
jne 0x10008940
ror ecx, 1
mov eax, ecx
xor eax, edx
and eax, 0xaaaaaaaa
xor ecx, eax
xor eax, edx
ror eax, 1
mov edx, eax
shr edx, 8
xor edx, ecx
and edx, 0xff00ff
xor ecx, edx
shl edx, 8
xor eax, edx
mov edx, eax
shr edx, 2
xor edx, ecx
and edx, 0x33333333
xor ecx, edx
add edx, edx
add edx, edx
xor eax, edx
mov esi, dword [ebp + 8]
mov edx, ecx
shr edx, 0x10
xor edx, eax
and edx, 0xffff
xor eax, edx
shl edx, 0x10
xor ecx, edx
mov edx, ecx
shr edx, 4
xor edx, eax
and edx, 0xf0f0f0f
xor eax, edx
shl edx, 4
xor ecx, edx
mov edx, ecx
shr edx, 0x18
mov byte [esi], dl
mov edx, ecx
shr edx, 0x10
mov byte [esi + 1], dl
mov edx, ecx
mov byte [esi + 3], cl
shr edx, 8
mov ecx, eax
shr ecx, 0x18
mov byte [esi + 2], dl
mov byte [esi + 4], cl
mov edx, eax
mov ecx, eax
shr edx, 0x10
shr ecx, 8
pop edi
mov byte [esi + 7], al
mov byte [esi + 5], dl
mov byte [esi + 6], cl
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret