Function at 0x6b67f0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1a78
call fcn.0064e0b0
mov ebx, dword [ebp + 0x10]
mov eax, dword [0x7aa024]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea esi, [ebp - 0x17f8]
push 0x17e8
push 0xff
push esi
call fcn.00650600
add esp, 0xc
mov eax, 0xcc
lea ecx, [ebp - 0x1990]
lea edi, [ecx + eax]
push eax
push 0
push ecx
call fcn.00650600
add esp, 0xc
mov eax, 0x44
push eax
push ebx
mov dword [ebp - 0x1a60], edi
push edi
call fcn.00650080
add esp, 0xc
mov edx, 0x44
lea eax, [ebx + edx]
lea ecx, [ebp - 0x1880]
push edx
mov edi, 0x44
push eax
push ecx
call fcn.00650080
add esp, 0xc
add ebx, 0x88
lea eax, [ebp - 0x183c]
push edi
mov edi, dword [ebp + 8]
push ebx
push eax
call fcn.00650080
add esp, 0xc
mov ebx, 2
test bl, 1
jne 0x6b68b6
mov eax, ebx
shr eax, 1
imul eax, eax, 0xcc
add eax, ebp
add eax, 0xffffe670
push eax
push esi
push edi
call fcn.006b5650
add esp, 0xc
jmp 0x6b68cd
lea eax, [esi - 0xcc]
push eax
push dword [ebp - 0x1a60]
push esi
push edi
call fcn.006b4ae0
add esp, 0x10
inc ebx
add esi, 0xcc
cmp ebx, 0x20
jne 0x6b6893
lea eax, [edi + 8]
push eax
call fcn.0055aee0
add esp, 4
test eax, eax
je 0x6b6b5e
mov esi, eax
dec eax
mov edx, 0x88
lea ecx, [ebp - 0x1a5c]
add ecx, edx
mov dword [ebp - 0x1a7c], ecx
mov ecx, dword [ebp + 0xc]
add edx, ecx
mov dword [ebp - 0x1a80], edx
add ecx, 0x44
mov dword [ebp - 0x1a78], ecx
xor ecx, ecx
inc ecx
mov edi, esi
mov dword [ebp - 0x1a6c], esi
mov ebx, eax
test ecx, ecx
je 0x6b6b20
imul eax, ebx, 0xcccccccd
cmp eax, 0x33333333
jbe 0x6b6947
lea eax, [ebx - 1]
mov edi, ebx
cmp eax, esi
jb 0x6b6922
jmp 0x6b6b5a
mov dword [ebp - 0x1a68], ecx
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xc]
lea esi, [edi + 3]
mov dword [ebp - 0x1a60], esi
shr esi, 5
xor ecx, ecx
mov eax, 0
mov dword [ebp - 0x1a64], edx
cmp esi, edx
jae 0x6b6984
mov eax, dword [ebp + 0x14]
mov esi, dword [eax + esi*4]
xor eax, eax
mov edx, dword [ebp - 0x1a60]
bt esi, edx
setb al
lea edx, [edi + 2]
mov esi, edx
shr esi, 5
cmp esi, dword [ebp - 0x1a64]
jae 0x6b69a2
mov ecx, dword [ebp + 0x14]
mov esi, dword [ecx + esi*4]
xor ecx, ecx
bt esi, edx
setb cl
shl eax, 4
shl ecx, 3
lea esi, [edi + 1]
mov dword [ebp - 0x1a84], esi
shr esi, 5
mov dword [ebp - 0x1a60], 0
mov edx, 0
cmp esi, dword [ebp - 0x1a64]
jae 0x6b69f7
mov edx, dword [ebp + 0x14]
mov edx, dword [edx + esi*4]
mov dword [ebp - 0x1a74], edx
xor edx, edx
mov esi, dword [ebp - 0x1a84]
mov dword [ebp - 0x1a70], eax
mov eax, dword [ebp - 0x1a74]
bt eax, esi
mov eax, dword [ebp - 0x1a70]
setb dl
or ecx, eax
shl edx, 2
mov eax, edi
shr eax, 5
cmp eax, dword [ebp - 0x1a64]
jae 0x6b6a1d
mov esi, dword [ebp + 0x14]
mov esi, dword [esi + eax*4]
xor eax, eax
bt esi, edi
setb al
mov dword [ebp - 0x1a60], eax
or edx, ecx
mov ecx, dword [ebp - 0x1a60]
add ecx, ecx
mov eax, ebx
shr eax, 5
xor edi, edi
mov dword [ebp - 0x1a60], 0
cmp eax, dword [ebp - 0x1a64]
jae 0x6b6a64
mov esi, ecx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + eax*4]
mov dword [ebp - 0x1a60], eax
mov ecx, esi
xor eax, eax
mov esi, dword [ebp - 0x1a60]
bt esi, ebx
setb al
mov dword [ebp - 0x1a60], eax
mov dword [ebp - 0x1a64], ebx
or ecx, edx
push 0xcc
push 0
lea ebx, [ebp - 0x1a5c]
push ebx
mov ebx, ecx
call fcn.00650600
add esp, 0xc
or dword [ebp - 0x1a60], ebx
not ebx
lea esi, [ebp - 0x1990]
mov eax, edi
xor eax, dword [ebp - 0x1a60]
dec eax
and eax, ebx
sar eax, 0x1f
lea edx, [ebp - 0x1a5c]
push edx
push esi
push eax
push edx
push dword [ebp + 8]
call fcn.006b4370
add esp, 0x14
inc edi
add esi, 0xcc
cmp edi, 0x20
jne 0x6b6a92
cmp dword [ebp - 0x1a68], 0
je 0x6b6b41
mov esi, 0x44
push esi
lea eax, [ebp - 0x1a5c]
push eax
push dword [ebp + 0xc]
call fcn.00650080
add esp, 0xc
push esi
lea eax, [ebp - 0x1a18]
push eax
push dword [ebp - 0x1a78]
call fcn.00650080
add esp, 0xc
push esi
push dword [ebp - 0x1a7c]
push dword [ebp - 0x1a80]
call fcn.00650080
add esp, 0xc
mov esi, dword [ebp - 0x1a6c]
mov ebx, dword [ebp - 0x1a64]
xor ecx, ecx
jmp 0x6b6939
mov eax, dword [ebp + 0xc]
push eax
push eax
push dword [ebp + 8]
mov dword [ebp - 0x1a68], ecx
call fcn.006b5650
mov ecx, dword [ebp - 0x1a68]
add esp, 0xc
jmp 0x6b692c
lea eax, [ebp - 0x1a5c]
push eax
mov eax, dword [ebp + 0xc]
push eax
push eax
push dword [ebp + 8]
call fcn.006b4ae0
add esp, 0x10
jmp 0x6b6b0d
test ecx, ecx
je 0x6b6b70
push 0xcc
push 0
push dword [ebp + 0xc]
call fcn.00650600
add esp, 0xc
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0064d372
add esp, 0x1a78
pop esi
pop edi
pop ebx
pop ebp
ret