Function at 0x6c09c0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1a6c
call fcn.0066f040
mov edi, dword [ebp + 0x10]
mov eax, dword [0x72a00c]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x17f8]
push 0x17e8
push 0xff
push eax
call fcn.006719e0
add esp, 0xc
mov eax, 0xcc
lea ecx, [ebp - 0x1990]
lea esi, [ecx + eax]
push eax
push 0
push ecx
call fcn.006719e0
add esp, 0xc
mov ebx, 0x44
push ebx
push edi
push esi
call fcn.00670ee0
add esp, 0xc
lea eax, [edi + ebx]
lea ecx, [ebp - 0x1880]
push ebx
push eax
push ecx
call fcn.00670ee0
add esp, 0xc
add edi, 0x88
lea eax, [ebp - 0x183c]
push ebx
push edi
push eax
call fcn.00670ee0
add esp, 0xc
mov ebx, 2
mov eax, esi
lea edi, [eax + 0xcc]
test bl, 1
jne 0x6c0a7d
mov eax, ebx
shr eax, 1
imul eax, eax, 0xcc
add eax, ebp
add eax, 0xffffe670
push eax
push edi
push dword [ebp + 8]
call fcn.006bf750
add esp, 0xc
jmp 0x6c0a8b
push eax
push esi
push edi
push dword [ebp + 8]
call fcn.006bec80
add esp, 0x10
inc ebx
mov eax, edi
cmp ebx, 0x20
jne 0x6c0a52
mov esi, dword [ebp + 8]
lea eax, [esi + 8]
push eax
call fcn.0053ca90
add esp, 4
test eax, eax
je 0x6c0cd5
mov ebx, eax
dec eax
mov edx, 0x88
lea ecx, [ebp - 0x1a5c]
add ecx, edx
mov dword [ebp - 0x1a74], ecx
mov ecx, dword [ebp + 0xc]
add edx, ecx
mov dword [ebp - 0x1a78], edx
add ecx, 0x44
mov dword [ebp - 0x1a70], ecx
xor edx, edx
inc edx
mov edi, ebx
mov dword [ebp - 0x1a6c], ebx
mov ecx, eax
test edx, edx
je 0x6c0c8c
imul eax, ecx, 0xcccccccd
cmp eax, 0x33333333
jbe 0x6c0b04
lea eax, [ecx - 1]
mov edi, ecx
cmp eax, ebx
jb 0x6c0adf
jmp 0x6c0cd1
mov dword [ebp - 0x1a68], edx
mov dword [ebp - 0x1a64], ecx
mov eax, dword [esi + 0xc]
lea esi, [edi + 3]
mov ebx, esi
shr ebx, 5
xor ecx, ecx
mov edx, 0
mov dword [ebp - 0x1a60], eax
cmp ebx, eax
jae 0x6c0b3a
mov eax, dword [ebp + 0x14]
mov eax, dword [eax + ebx*4]
xor edx, edx
bt eax, esi
setb dl
shl edx, 4
lea esi, [edi + 2]
mov eax, esi
shr eax, 5
cmp eax, dword [ebp - 0x1a60]
jae 0x6c0b5b
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + eax*4]
xor ecx, ecx
bt eax, esi
setb cl
shl ecx, 3
or ecx, edx
lea eax, [edi + 1]
mov esi, eax
shr esi, 5
xor ebx, ebx
mov edx, 0
cmp esi, dword [ebp - 0x1a60]
jae 0x6c0b85
mov edx, dword [ebp + 0x14]
mov esi, dword [edx + esi*4]
xor edx, edx
bt esi, eax
setb dl
shl edx, 2
or edx, ecx
mov eax, edi
shr eax, 5
cmp eax, dword [ebp - 0x1a60]
jae 0x6c0ba5
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + eax*4]
xor ebx, ebx
bt eax, edi
setb bl
add ebx, ebx
or ebx, edx
mov edx, dword [ebp - 0x1a64]
mov eax, edx
shr eax, 5
xor edi, edi
mov ecx, 0
cmp eax, dword [ebp - 0x1a60]
lea esi, [ebp - 0x1a5c]
jae 0x6c0bd7
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + eax*4]
xor ecx, ecx
bt eax, edx
setb cl
or ecx, ebx
mov dword [ebp - 0x1a60], ecx
push 0xcc
push 0
push esi
call fcn.006719e0
add esp, 0xc
not ebx
lea esi, [ebp - 0x1990]
mov eax, edi
xor eax, dword [ebp - 0x1a60]
dec eax
and eax, ebx
sar eax, 0x1f
lea ecx, [ebp - 0x1a5c]
push ecx
push esi
push eax
push ecx
push dword [ebp + 8]
call fcn.006be440
add esp, 0x14
inc edi
add esi, 0xcc
cmp edi, 0x20
jne 0x6c0bf7
cmp dword [ebp - 0x1a68], 0
je 0x6c0cb7
mov esi, 0x44
push esi
lea eax, [ebp - 0x1a5c]
push eax
push dword [ebp + 0xc]
call fcn.00670ee0
add esp, 0xc
push esi
lea eax, [ebp - 0x1a18]
push eax
push dword [ebp - 0x1a70]
call fcn.00670ee0
add esp, 0xc
push esi
push dword [ebp - 0x1a74]
push dword [ebp - 0x1a78]
call fcn.00670ee0
add esp, 0xc
mov esi, dword [ebp + 8]
mov ebx, dword [ebp - 0x1a6c]
mov ecx, dword [ebp - 0x1a64]
xor edx, edx
jmp 0x6c0af6
mov eax, dword [ebp + 0xc]
push eax
push eax
push esi
mov dword [ebp - 0x1a64], ecx
mov dword [ebp - 0x1a68], edx
call fcn.006bf750
mov edx, dword [ebp - 0x1a68]
mov ecx, dword [ebp - 0x1a64]
add esp, 0xc
jmp 0x6c0ae9
lea eax, [ebp - 0x1a5c]
push eax
mov eax, dword [ebp + 0xc]
push eax
push eax
mov esi, dword [ebp + 8]
push esi
call fcn.006bec80
add esp, 0x10
jmp 0x6c0c79
test edx, edx
je 0x6c0ce7
push 0xcc
push 0
push dword [ebp + 0xc]
call fcn.006719e0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0066e1f1
add esp, 0x1a6c
pop esi
pop edi
pop ebx
pop ebp
ret