Function at 0x493b10
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov edi, 2
lea ecx, [eax + 0x1210]
movzx ebp, word [eax + 0x1e32]
lea esi, [edi - 2]
mov ebx, esi
and ebx, 1
mov edx, ebx
add ebx, 2
add ebx, ebx
mov dword [esp + 0x10], ebx
movzx ebx, word [ebx + eax + 0x1e30]
neg edx
and edx, 0x7f0
xor edx, ebp
shr esi, 1
shr ebx, 4
mov ebp, esi
and ebp, 1
mov dword [esp + 0x14], ebp
neg ebp
shr ebp, 4
and ebp, 0x7f
xor ebx, ebp
shr edx, 4
mov edx, dword [eax + edx*4 + 0x760]
add edx, dword [eax + ebx*4 + 0x760]
mov ebx, dword [esp + 0x10]
add ebx, dword [esp + 0x14]
shr esi, 1
add ebx, ebx
mov dword [esp + 0x10], ebx
movzx ebx, word [ebx + eax + 0x1e30]
and esi, 1
shr ebx, 4
mov ebp, esi
neg ebp
shr ebp, 4
and ebp, 0x7f
xor ebx, ebp
add edx, dword [eax + ebx*4 + 0x760]
mov ebx, dword [esp + 0x10]
add ebx, esi
movzx esi, word [eax + ebx*2 + 0x1e30]
mov ebx, esi
shr ebx, 4
mov ebx, dword [eax + ebx*4 + 0x760]
add ebx, edx
mov dword [ecx - 0x20], ebx
xor esi, 0x7f0
shr esi, 4
mov esi, dword [eax + esi*4 + 0x760]
add esi, edx
mov dword [ecx], esi
movzx ebp, word [eax + 0x1e32]
lea esi, [edi - 1]
mov ebx, esi
and ebx, 1
mov edx, ebx
neg edx
and edx, 0x7f0
xor edx, ebp
add ebx, 2
shr esi, 1
add ebx, ebx
mov ebp, esi
and ebp, 1
mov dword [esp + 0x10], ebx
movzx ebx, word [ebx + eax + 0x1e30]
mov dword [esp + 0x14], ebp
neg ebp
shr ebx, 4
shr ebp, 4
shr edx, 4
mov edx, dword [eax + edx*4 + 0x760]
and ebp, 0x7f
xor ebx, ebp
add edx, dword [eax + ebx*4 + 0x760]
mov ebx, dword [esp + 0x10]
add ebx, dword [esp + 0x14]
shr esi, 1
and esi, 1
add ebx, ebx
mov dword [esp + 0x10], ebx
movzx ebx, word [ebx + eax + 0x1e30]
shr ebx, 4
mov ebp, esi
neg ebp
shr ebp, 4
and ebp, 0x7f
xor ebx, ebp
add edx, dword [eax + ebx*4 + 0x760]
mov ebx, dword [esp + 0x10]
add ebx, esi
movzx esi, word [eax + ebx*2 + 0x1e30]
mov ebx, esi
shr ebx, 4
mov ebx, dword [eax + ebx*4 + 0x760]
add ebx, edx
mov dword [ecx - 0x1c], ebx
xor esi, 0x7f0
shr esi, 4
mov esi, dword [eax + esi*4 + 0x760]
add esi, edx
mov dword [ecx + 4], esi
movzx ebp, word [eax + 0x1e32]
mov ebx, edi
and ebx, 1
mov esi, ebx
add ebx, 2
add ebx, ebx
neg esi
mov dword [esp + 0x10], ebx
movzx ebx, word [ebx + eax + 0x1e30]
and esi, 0x7f0
xor esi, ebp
shr ebx, 4
mov edx, edi
shr edx, 1
mov ebp, edx
and ebp, 1
mov dword [esp + 0x14], ebp
neg ebp
shr ebp, 4
and ebp, 0x7f
xor ebx, ebp
shr esi, 4
mov esi, dword [eax + esi*4 + 0x760]
add esi, dword [eax + ebx*4 + 0x760]
mov ebx, dword [esp + 0x10]
add ebx, dword [esp + 0x14]
shr edx, 1
add ebx, ebx
and edx, 1
mov dword [esp + 0x10], ebx
movzx ebx, word [ebx + eax + 0x1e30]
mov ebp, edx
shr ebx, 4
neg ebp
shr ebp, 4
and ebp, 0x7f
xor ebx, ebp
add esi, dword [eax + ebx*4 + 0x760]
mov ebx, dword [esp + 0x10]
add ebx, edx
movzx edx, word [eax + ebx*2 + 0x1e30]
mov ebx, edx
shr ebx, 4
mov ebx, dword [eax + ebx*4 + 0x760]
xor edx, 0x7f0
add ebx, esi
shr edx, 4
mov dword [ecx - 0x18], ebx
mov edx, dword [eax + edx*4 + 0x760]
add edx, esi
lea esi, [edi + 1]
mov dword [ecx + 8], edx
movzx ebp, word [eax + 0x1e32]
mov ebx, esi
and ebx, 1
mov edx, ebx
neg edx
and edx, 0x7f0
shr esi, 1
xor edx, ebp
add ebx, 2
add ebx, ebx
mov dword [esp + 0x10], ebx
movzx ebx, word [ebx + eax + 0x1e30]
mov ebp, esi
and ebp, 1
shr ebx, 4
mov dword [esp + 0x14], ebp
neg ebp
shr ebp, 4
and ebp, 0x7f
xor ebx, ebp
shr edx, 4
mov edx, dword [eax + edx*4 + 0x760]
add edx, dword [eax + ebx*4 + 0x760]
mov ebx, dword [esp + 0x10]
add ebx, dword [esp + 0x14]
shr esi, 1
add ebx, ebx
and esi, 1
mov dword [esp + 0x10], ebx
movzx ebx, word [ebx + eax + 0x1e30]
mov ebp, esi
shr ebx, 4
neg ebp
shr ebp, 4
and ebp, 0x7f
xor ebx, ebp
add edx, dword [eax + ebx*4 + 0x760]
mov ebx, dword [esp + 0x10]
add ebx, esi
movzx esi, word [eax + ebx*2 + 0x1e30]
mov ebx, esi
shr ebx, 4
mov ebx, dword [eax + ebx*4 + 0x760]
xor esi, 0x7f0
add ebx, edx
shr esi, 4
mov dword [ecx - 0x14], ebx
mov esi, dword [eax + esi*4 + 0x760]
add esi, edx
add edi, 4
mov dword [ecx + 0xc], esi
lea edx, [edi - 2]
add ecx, 0x10
cmp edx, 8
jb 0x493b22
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret