Function at 0x6bbba0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
push 0x2d6f
call fcn.004c9bb0
add esp, 4
test eax, eax
je 0x6bc0e2
mov ecx, eax
neg ecx
and ecx, 0x1f
mov esi, eax
mov edx, ecx
mov dword [ebp - 0x10], ecx
add esi, ecx
je 0x6bc0e2
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov edx, ebx
neg edx
and edx, 0xf
mov dword [ebp - 0x20], esi
lea edi, [esi + 0x15c0]
lea eax, [ecx + 0x2bc]
cmp edi, eax
mov dword [ebp - 0x14], edi
jae 0x6bbc15
mov esi, dword [ebp - 0x1c]
mov edi, dword [ebp - 0x10]
add edi, esi
add edi, 0x1b38
xor esi, esi
cmp edi, ecx
mov edi, dword [ebp - 0x14]
ja 0x6bbc98
xor esi, esi
pxor xmm0, xmm0
movdqa xmm1, xmmword [str.UUUUUUUUUUUUUUUU3333333333333333]
movdqa xmm2, xmmword [0x786c60]
pcmpeqd xmm3, xmm3
movdqa xmm4, xmmword [0x6fbe70]
nop word [eax + eax]
movq xmm5, qword [ecx + esi]
punpcklbw xmm5, xmm0
movdqa xmm6, xmm5
pmulhw xmm6, xmm1
pmullw xmm6, xmm2
paddw xmm6, xmm5
movdqa xmm5, xmm6
psraw xmm5, 1
pand xmm5, xmm6
paddw xmm5, xmm3
pand xmm5, xmm6
movdqa xmm6, xmm5
psrlw xmm6, 1
pxor xmm6, xmm4
paddw xmm6, xmm3
por xmm6, xmm5
movdqu xmmword [edi + esi*2], xmm6
add esi, 8
cmp esi, 0x2b8
jne 0x6bbc40
mov esi, 0x2b8
add ebx, edx
mov dword [ebp - 0x18], ebx
mov ebx, edi
nop
movzx edx, byte [ecx + esi]
imul edi, edx, 0x5555
shr edi, 0x10
lea edi, [edi + edi*2]
sub edx, edi
movsx edi, dx
sar edi, 1
and edi, edx
add edi, 0xffffffff
and edi, edx
movzx edx, di
mov edi, edx
shr edi, 1
xor edi, 1
add edi, 0xffffffff
or edi, edx
mov word [ebx + esi*2], di
add esi, 1
cmp esi, 0x2bc
jne 0x6bbca0
mov edx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x10]
mov word [edx + esi + 0x1b38], 0
mov edi, dword [ebp - 0x20]
lea ebx, [edi + 0x1b40]
add ecx, 0x578
cmp ebx, ecx
jae 0x6bbd14
mov ecx, dword [ebp - 0x10]
add edx, ecx
add edx, 0x20b8
xor ecx, ecx
cmp eax, edx
jb 0x6bbda0
xor ecx, ecx
pxor xmm0, xmm0
movdqa xmm1, xmmword [str.UUUUUUUUUUUUUUUU3333333333333333]
movdqa xmm2, xmmword [0x786c60]
pcmpeqd xmm3, xmm3
movdqa xmm4, xmmword [0x6fbe70]
nop word cs:[eax + eax]
movq xmm5, qword [eax + ecx]
punpcklbw xmm5, xmm0
movdqa xmm6, xmm5
pmulhw xmm6, xmm1
pmullw xmm6, xmm2
paddw xmm6, xmm5
movdqa xmm5, xmm6
psraw xmm5, 1
pand xmm5, xmm6
paddw xmm5, xmm3
pand xmm5, xmm6
movdqa xmm6, xmm5
psrlw xmm6, 1
pxor xmm6, xmm4
paddw xmm6, xmm3
por xmm6, xmm5
movdqu xmmword [ebx + ecx*2], xmm6
add ecx, 8
cmp ecx, 0x2b8
jne 0x6bbd40
mov ecx, 0x2b8
nop dword [eax + eax]
movzx edx, byte [eax + ecx]
imul esi, edx, 0x5555
shr esi, 0x10
lea esi, [esi + esi*2]
sub edx, esi
movsx esi, dx
sar esi, 1
and esi, edx
add esi, 0xffffffff
and esi, edx
movzx edx, si
mov esi, edx
shr esi, 1
xor esi, 1
add esi, 0xffffffff
or esi, edx
mov word [ebx + ecx*2], si
add ecx, 1
cmp ecx, 0x2bc
jne 0x6bbda0
mov word [edi + 0x20b8], 0
lea ecx, [edi + 0x20c0]
mov edx, dword [ebp - 0x14]
call fcn.006bc110
lea esi, [edi + 0x2640]
mov word [ebx + 0x57e], 0
mov dword [ebx + 0x57a], 0
mov eax, dword [ebp - 0x18]
mov word [eax + 0x57e], 0
mov dword [eax + 0x57a], 0
lea edx, [edi + 0xb00]
mov ecx, edi
push 0x58
push eax
push ebx
call fcn.006bd6c0
add esp, 0xc
movdqa xmm0, xmmword [edi + 0x570]
xor eax, eax
movdqa xmm1, xmmword [edi + eax + 0x580]
movdqa xmm2, xmm1
pslldq xmm2, 6
psrldq xmm0, 0xa
por xmm0, xmm2
paddw xmm0, xmmword [edi + eax]
movdqa xmmword [edi + eax + 0x2640], xmm0
add eax, 0x10
movdqa xmm0, xmm1
cmp eax, 0x580
jne 0x6bbe40
mov dword [ebp - 0x18], ebx
mov word [esi + 0x57e], 0
mov dword [esi + 0x57a], 0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x10]
add eax, ecx
add eax, 0x2660
xor edx, edx
mov ecx, dword [ebp + 8]
nop
movdqu xmm0, xmmword [eax + edx*2 - 0x20]
movdqu xmm1, xmmword [eax + edx*2 - 0x5a0]
paddw xmm1, xmm0
movdqu xmm0, xmmword [eax + edx*2 - 0x590]
movdqu xmmword [eax + edx*2 - 0x20], xmm1
movdqu xmm1, xmmword [eax + edx*2 - 0x10]
paddw xmm1, xmm0
movdqu xmmword [eax + edx*2 - 0x10], xmm1
movdqu xmm0, xmmword [eax + edx*2 - 0x580]
movdqu xmm1, xmmword [eax + edx*2]
paddw xmm1, xmm0
movdqu xmmword [eax + edx*2], xmm1
add edx, 0x18
cmp edx, 0x2b8
jne 0x6bbea0
movzx eax, word [edi + 0x2630]
movzx edx, word [edi + 0x2632]
add word [edi + 0x2bb0], ax
add word [edi + 0x2bb2], dx
movzx eax, word [edi + 0x2634]
add word [edi + 0x2bb4], ax
movzx eax, word [edi + 0x2636]
add word [edi + 0x2bb6], ax
movzx eax, word [edi + 0x2638]
add word [edi + 0x2bb8], ax
mov edx, esi
call fcn.006bc420
lea ecx, [edi + 0x2c30]
mov eax, 0xffffff74
mov edi, dword [ebp - 0x14]
mov dword [ebp - 0x24], ecx
nop word cs:[eax + eax]
nop dword [eax]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], edi
movzx edx, word [edi]
and edx, 3
mov ecx, edx
shr ecx, 1
xor ecx, edx
movzx esi, word [edi + 2]
and esi, 3
mov edx, esi
shr edx, 1
xor edx, esi
movzx esi, word [edi + 4]
and esi, 3
mov ebx, esi
shr ebx, 1
xor ebx, esi
movzx esi, word [edi + 6]
and esi, 3
mov edi, esi
shr edi, 1
xor edi, esi
mov eax, dword [ebp - 0x14]
movzx esi, word [eax + 8]
and esi, 3
mov eax, esi
shr eax, 1
xor eax, esi
lea edx, [edx + edx*2]
add dl, cl
lea ecx, [ebx + ebx*8]
add cl, dl
lea edx, [edi + edi*8]
mov edi, dword [ebp - 0x14]
lea edx, [edx + edx*2]
add dl, cl
mov ecx, dword [ebp - 0x24]
lea eax, [eax + eax*8]
lea eax, [eax + eax*8]
add al, dl
mov edx, dword [ebp - 0x10]
mov byte [ecx + edx + 0x8c], al
mov eax, dword [ebp - 0x10]
add edi, 0xa
inc eax
jne 0x6bbf60
mov eax, dword [ebp - 0x20]
add eax, 0x2cbc
mov dword [ebp - 0x10], eax
mov eax, 0xffffff74
mov ebx, dword [ebp - 0x18]
nop
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], ebx
movzx edx, word [ebx]
and edx, 3
mov ecx, edx
shr ecx, 1
xor ecx, edx
movzx esi, word [ebx + 2]
and esi, 3
mov edx, esi
shr edx, 1
xor edx, esi
movzx esi, word [ebx + 4]
and esi, 3
mov ebx, esi
shr ebx, 1
xor ebx, esi
mov eax, dword [ebp - 0x18]
movzx esi, word [eax + 6]
and esi, 3
mov edi, esi
shr edi, 1
xor edi, esi
mov eax, dword [ebp - 0x18]
movzx esi, word [eax + 8]
and esi, 3
mov eax, esi
shr eax, 1
xor eax, esi
lea edx, [edx + edx*2]
add dl, cl
lea ecx, [ebx + ebx*8]
mov ebx, dword [ebp - 0x18]
add cl, dl
lea edx, [edi + edi*8]
lea edx, [edx + edx*2]
add dl, cl
lea eax, [eax + eax*8]
lea eax, [eax + eax*8]
add al, dl
mov ecx, dword [ebp - 0x10]
mov edx, dword [ebp - 0x14]
mov byte [ecx + edx + 0x8c], al
mov eax, dword [ebp - 0x14]
add ebx, 0xa
inc eax
jne 0x6bbff0
mov esi, dword [ebp - 0x20]
add esi, 0x2bc0
push esi
call fcn.0055fc20
add esp, 4
push 0xb
push 0x786ca0
push esi
call fcn.0055fc60
add esp, 0xc
push 0x8c
push dword [ebp - 0x24]
push esi
call fcn.0055fc60
add esp, 0xc
push 0x8c
push dword [ebp - 0x10]
push esi
call fcn.0055fc60
add esp, 0xc
push 0x472
push dword [ebp + 8]
push esi
call fcn.0055fc60
add esp, 0xc
push esi
push dword [ebp + 0xc]
call fcn.0055fd60
add esp, 8
push dword [ebp - 0x1c]
call fcn.004c9be0
add esp, 4
mov eax, 1
jmp 0x6bc103
push 0x472
push 0
push dword [ebp + 8]
call fcn.006ccfc0
add esp, 0xc
push 0x20
push dword [ebp + 0xc]
call fcn.0053ae10
add esp, 8
xor eax, eax
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret