Function at 0x1000c9f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x230
mov eax, dword [0x100df0c0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov edi, ecx
mov ebx, 2
mov dword [ebp - 0x210], edi
mov dword [ebp - 0x214], ebx
mov dword [edi + 0xc0], 0
jmp 0x1000ca30
movzx edx, byte [edi + ebx + 0x2cb0]
xor esi, esi
mov eax, dword [ebp - 0x210]
mov edi, edx
shr edi, 1
and edx, 1
dec edi
mov dword [ebp - 0x20c], esi
or edx, 2
mov ecx, edi
shl edx, cl
lea eax, [eax + edx*4]
add edx, dword [ebp - 0x214]
add eax, 0x23b0
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x218], eax
mov eax, 1
mov dword [ebp - 0x208], eax
shl dword [ebp - 0x208], cl
test edi, edi
je 0x1000cadd
lea edx, [eax + eax]
mov esi, ebx
mov eax, dword [ebp - 0x218]
and esi, 1
mov dword [ebp - 0x220], edx
shr ebx, 1
movzx ecx, word [edx + eax]
mov eax, esi
mov edx, dword [ebp - 0x210]
neg eax
shr eax, 4
and eax, 0x7f
shr ecx, 4
xor ecx, eax
mov eax, dword [ebp - 0x20c]
add eax, dword [edx + ecx*4 + 0x760]
mov dword [ebp - 0x20c], eax
mov eax, dword [ebp - 0x220]
add eax, esi
dec edi
jne 0x1000ca84
mov edx, dword [ebp - 0x21c]
mov esi, dword [ebp - 0x20c]
mov ecx, dword [ebp - 0x218]
mov edi, dword [ebp - 0x210]
mov ebx, dword [ebp - 0x214]
inc ebx
movzx ecx, word [ecx + eax*2]
mov eax, ecx
mov dword [ebp - 0x214], ebx
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov eax, dword [edi + eax*4 + 0x760]
mov ecx, dword [edi + ecx*4 + 0x760]
add eax, esi
mov dword [ebp + edx*4 - 0x204], eax
add ecx, esi
mov eax, dword [ebp - 0x208]
add eax, edx
mov dword [ebp + eax*4 - 0x204], ecx
cmp ebx, 0x40
jb 0x1000ca30
mov ecx, dword [ebp - 0x210]
lea eax, [edi + 0x21b0]
lea ebx, [edi + 0x1230]
mov dword [ebp - 0x208], eax
lea esi, [edi + 0x1638]
mov dword [ebp - 0x22c], ebx
lea edi, [ebp - 0x200]
mov dword [ebp - 0x20c], esi
sub edi, ecx
mov dword [ebp - 0x220], 4
sub edi, 0x1630
mov dword [ebp - 0x21c], edi
mov edx, dword [ecx + 0xc8]
inc edx
shr edx, 1
mov dword [ebp - 0x230], edx
je 0x1000cce6
mov esi, 0x20
mov dword [ebp - 0x224], ebx
add eax, 0x40
mov dword [ebp - 0x214], esi
mov dword [ebp - 0x218], eax
mov dword [ebp - 0x228], edx
mov edx, dword [ebp - 0x208]
mov edi, esi
mov ecx, esi
shr edi, 1
mov esi, dword [ebp - 0x210]
and ecx, 1
neg ecx
shr ecx, 4
movzx eax, word [edx + edi*2]
and ecx, 0x7f
shr eax, 4
xor eax, ecx
mov ecx, edi
and ecx, 1
shr edi, 1
neg ecx
shr ecx, 4
mov ebx, dword [esi + eax*4 + 0x760]
and ecx, 0x7f
movzx eax, word [edx + edi*2]
shr eax, 4
xor eax, ecx
mov ecx, edi
and ecx, 1
shr edi, 1
neg ecx
shr ecx, 4
add ebx, dword [esi + eax*4 + 0x760]
and ecx, 0x7f
movzx eax, word [edx + edi*2]
shr eax, 4
xor eax, ecx
add ebx, dword [esi + eax*4 + 0x760]
mov esi, edi
shr edi, 1
and esi, 1
mov eax, edi
neg esi
shr eax, 1
shr esi, 4
and esi, 0x7f
movzx edx, word [edx + eax*2]
mov eax, edi
and eax, 1
shr edx, 4
neg eax
shr eax, 4
and eax, 0x7f
xor edx, eax
mov eax, dword [ebp - 0x208]
movzx ecx, word [eax + edi*2]
mov edi, dword [ebp - 0x210]
shr ecx, 4
xor ecx, esi
mov esi, dword [ebp - 0x218]
mov eax, dword [edi + edx*4 + 0x760]
mov edx, dword [ebp - 0x224]
add eax, dword [edi + ecx*4 + 0x760]
movzx ecx, word [esi]
add ebx, eax
mov eax, ecx
add esi, 2
shr eax, 4
xor ecx, 0x7f0
shr ecx, 4
mov dword [ebp - 0x218], esi
mov esi, dword [ebp - 0x214]
mov eax, dword [edi + eax*4 + 0x760]
inc esi
add eax, ebx
mov dword [ebp - 0x214], esi
mov dword [edx], eax
mov eax, dword [edi + ecx*4 + 0x760]
add eax, ebx
mov dword [edx + 4], eax
add edx, 8
dec dword [ebp - 0x228]
mov dword [ebp - 0x224], edx
jne 0x1000cbb6
mov ebx, dword [ebp - 0x22c]
mov edx, dword [ebp - 0x230]
mov edi, dword [ebp - 0x21c]
mov esi, dword [ebp - 0x20c]
mov ecx, 7
mov eax, 0x20
cmp edx, ecx
jbe 0x1000cd03
add dword [ebx + ecx*8], eax
add dword [ebx + ecx*8 + 4], eax
inc ecx
add eax, 0x10
cmp ecx, edx
jb 0x1000ccf4
mov eax, dword [ebx]
mov dword [esi - 8], eax
mov eax, dword [ebx + 4]
mov dword [esi - 4], eax
mov eax, dword [ebx + 8]
mov dword [esi], eax
mov eax, dword [ebx + 0xc]
mov dword [esi + 4], eax
mov esi, 4
mov eax, dword [ebp - 0x20c]
add eax, 8
mov ecx, dword [ebp - 0x210]
lea eax, [eax + 8]
movzx ecx, byte [ecx + esi + 0x2cb0]
add esi, 2
mov edx, dword [ebx + ecx*4]
mov ecx, dword [edi + eax - 0xc]
add ecx, edx
mov dword [eax - 8], ecx
mov ecx, dword [edi + eax - 8]
add ecx, edx
mov dword [eax - 4], ecx
cmp esi, 0x80
jb 0x1000cd27
mov eax, dword [ebp - 0x208]
add ebx, 0x100
mov esi, dword [ebp - 0x20c]
sub eax, 0xffffff80
mov ecx, dword [ebp - 0x210]
add esi, 0x200
sub edi, 0x200
mov dword [ebp - 0x22c], ebx
dec dword [ebp - 0x220]
mov dword [ebp - 0x208], eax
mov dword [ebp - 0x20c], esi
mov dword [ebp - 0x21c], edi
jne 0x1000cb81
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1009bea4
mov esp, ebp
pop ebp
ret