Function at 0x100bedc0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
push ebx
push ebp
push esi
push edi
mov dword [eax + 0xc4], 0
mov edi, 2
lea ecx, [eax + 0x11fc]
lea esp, [esp]
movzx ebp, word [eax + 0x1e1e]
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 + 0x1e1c]
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 + 0x748]
add edx, dword [eax + ebx*4 + 0x748]
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 + 0x1e1c]
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 + 0x748]
mov ebx, dword [esp + 0x10]
add ebx, esi
movzx esi, word [eax + ebx*2 + 0x1e1c]
mov ebx, esi
shr ebx, 4
mov ebx, dword [eax + ebx*4 + 0x748]
add ebx, edx
mov dword [ecx - 0x20], ebx
xor esi, 0x7f0
shr esi, 4
mov esi, dword [eax + esi*4 + 0x748]
add esi, edx
mov dword [ecx], esi
movzx ebp, word [eax + 0x1e1e]
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 + 0x1e1c]
mov dword [esp + 0x14], ebp
neg ebp
shr ebx, 4
shr ebp, 4
shr edx, 4
mov edx, dword [eax + edx*4 + 0x748]
and ebp, 0x7f
xor ebx, ebp
add edx, dword [eax + ebx*4 + 0x748]
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 + 0x1e1c]
shr ebx, 4
mov ebp, esi
neg ebp
shr ebp, 4
and ebp, 0x7f
xor ebx, ebp
add edx, dword [eax + ebx*4 + 0x748]
mov ebx, dword [esp + 0x10]
add ebx, esi
movzx esi, word [eax + ebx*2 + 0x1e1c]
mov ebx, esi
shr ebx, 4
mov ebx, dword [eax + ebx*4 + 0x748]
add ebx, edx
mov dword [ecx - 0x1c], ebx
xor esi, 0x7f0
shr esi, 4
mov esi, dword [eax + esi*4 + 0x748]
add esi, edx
mov dword [ecx + 4], esi
movzx ebp, word [eax + 0x1e1e]
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 + 0x1e1c]
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 + 0x748]
add esi, dword [eax + ebx*4 + 0x748]
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 + 0x1e1c]
mov ebp, edx
shr ebx, 4
neg ebp
shr ebp, 4
and ebp, 0x7f
xor ebx, ebp
add esi, dword [eax + ebx*4 + 0x748]
mov ebx, dword [esp + 0x10]
add ebx, edx
movzx edx, word [eax + ebx*2 + 0x1e1c]
mov ebx, edx
shr ebx, 4
mov ebx, dword [eax + ebx*4 + 0x748]
xor edx, 0x7f0
add ebx, esi
shr edx, 4
mov dword [ecx - 0x18], ebx
mov edx, dword [eax + edx*4 + 0x748]
add edx, esi
lea esi, [edi + 1]
mov dword [ecx + 8], edx
movzx ebp, word [eax + 0x1e1e]
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 + 0x1e1c]
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 + 0x748]
add edx, dword [eax + ebx*4 + 0x748]
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 + 0x1e1c]
mov ebp, esi
shr ebx, 4
neg ebp
shr ebp, 4
and ebp, 0x7f
xor ebx, ebp
add edx, dword [eax + ebx*4 + 0x748]
mov ebx, dword [esp + 0x10]
add ebx, esi
movzx esi, word [eax + ebx*2 + 0x1e1c]
mov ebx, esi
shr ebx, 4
mov ebx, dword [eax + ebx*4 + 0x748]
xor esi, 0x7f0
add ebx, edx
shr esi, 4
mov dword [ecx - 0x14], ebx
mov esi, dword [eax + esi*4 + 0x748]
add esi, edx
add edi, 4
mov dword [ecx + 0xc], esi
lea edx, [edi - 2]
add ecx, 0x10
cmp edx, 8
jb 0x100bede0
pop edi
pop esi
pop ebp
pop ebx
add esp, 8
ret