Function at 0x6b4cd0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
mov eax, 0x1a74
call fcn.00651b20
mov edi, dword [ebp + 0x10]
mov eax, dword [0x7a9040]
xor eax, ebp
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x17f8]
push 0x17e8
push 0xff
push eax
call fcn.006547d0
add esp, 0xc
mov eax, 0xcc
lea ecx, [ebp - 0x1990]
lea esi, [ecx + 0xcc]
push eax
push 0
push ecx
call fcn.006547d0
add esp, 0xc
mov ebx, 0x44
push ebx
push edi
push esi
call fcn.00654250
add esp, 0xc
lea eax, [edi + 0x44]
lea ecx, [ebp - 0x1880]
push ebx
push eax
push ecx
call fcn.00654250
add esp, 0xc
add edi, 0x88
lea eax, [ebp - 0x183c]
push ebx
push edi
push eax
call fcn.00654250
add esp, 0xc
mov ebx, 2
mov eax, esi
jmp 0x6b4d7b
push eax
push esi
push edi
push ecx
call fcn.006b2e80
add esp, 0x10
inc ebx
mov eax, edi
cmp ebx, 0x20
je 0x6b4da7
lea edi, [eax + 0xcc]
test bl, 1
mov ecx, dword [ebp + 8]
jne 0x6b4d67
mov eax, ebx
shr eax, 1
imul eax, eax, 0xcc
add eax, ebp
add eax, 0xffffe670
push eax
push edi
push ecx
call fcn.006b3960
add esp, 0xc
jmp 0x6b4d73
mov eax, dword [ebp + 8]
add eax, 0xe8
push eax
call fcn.006a9e90
add esp, 4
test eax, eax
je 0x6b4e34
lea edx, [eax - 1]
mov dword [ebp - 0x1a68], eax
mov ecx, dword [ebp + 0xc]
lea eax, [ecx + 0x44]
mov dword [ebp - 0x1a7c], eax
lea eax, [ebp - 0x1a5c]
add eax, 0x88
mov dword [ebp - 0x1a78], eax
lea eax, [ecx + 0x88]
mov dword [ebp - 0x1a74], eax
mov ecx, dword [ebp - 0x1a68]
mov dword [ebp - 0x1a64], 0
mov esi, ecx
mov edi, esi
mov esi, edx
mov eax, edx
mov edx, 0xcccccccd
mul edx
mov ebx, edx
test byte [ebp - 0x1a64], 1
jne 0x6b4e5b
shr ebx, 2
lea eax, [ebx + ebx*4]
cmp eax, esi
je 0x6b4e73
lea edx, [esi - 1]
mov edi, esi
cmp edx, ecx
jb 0x6b4e02
test byte [ebp - 0x1a64], 1
jne 0x6b4e46
push 0xcc
push 0
push dword [ebp + 0xc]
call fcn.006547d0
add esp, 0xc
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00650d60
add esp, 0x1a74
pop esi
pop edi
pop ebx
pop ebp
ret
mov eax, dword [ebp + 0xc]
push eax
push eax
push dword [ebp + 8]
call fcn.006b3960
mov ecx, dword [ebp - 0x1a68]
add esp, 0xc
jmp 0x6b4e18
mov eax, dword [ebp + 8]
mov edx, dword [eax + 0xec]
lea eax, [edi + 3]
mov ebx, eax
shr ebx, 5
mov dword [ebp - 0x1a60], 0
mov ecx, 0
cmp ebx, edx
jae 0x6b4ea5
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ecx + ebx*4]
xor ecx, ecx
bt ebx, eax
setb cl
mov dword [ebp - 0x1a80], ecx
lea eax, [edi + 2]
mov ebx, eax
shr ebx, 5
cmp ebx, edx
jae 0x6b4ecb
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ecx + ebx*4]
xor ecx, ecx
bt ebx, eax
setb cl
mov dword [ebp - 0x1a60], ecx
lea eax, [edi + 1]
mov ebx, eax
shr ebx, 5
xor ecx, ecx
mov dword [ebp - 0x1a6c], 0
cmp ebx, edx
jae 0x6b4f05
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ecx + ebx*4]
xor ecx, ecx
mov dword [ebp - 0x1a70], edx
xor edx, edx
bt ebx, eax
setb dl
mov dword [ebp - 0x1a6c], edx
mov edx, dword [ebp - 0x1a70]
mov eax, edi
shr eax, 5
cmp eax, edx
jae 0x6b4f1c
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + eax*4]
xor ecx, ecx
bt eax, edi
setb cl
mov eax, esi
shr eax, 5
xor edi, edi
mov ebx, 0
cmp eax, edx
jae 0x6b4f3e
mov edx, ecx
mov ecx, dword [ebp + 0x14]
mov eax, dword [ecx + eax*4]
mov ecx, edx
xor ebx, ebx
bt eax, esi
setb bl
mov edx, dword [ebp - 0x1a80]
shl edx, 4
mov eax, dword [ebp - 0x1a60]
lea eax, [edx + eax*8]
mov edx, dword [ebp - 0x1a6c]
lea eax, [eax + edx*4]
add ecx, ecx
or ecx, ebx
or ecx, eax
mov dword [ebp - 0x1a60], ecx
push 0xcc
push 0
lea eax, [ebp - 0x1a5c]
push eax
call fcn.006547d0
add esp, 0xc
lea ebx, [ebp - 0x1990]
mov eax, edi
xor eax, dword [ebp - 0x1a60]
dec eax
sar eax, 0x1f
lea ecx, [ebp - 0x1a5c]
push ecx
push ebx
push eax
push ecx
push dword [ebp + 8]
call fcn.006b26e0
add esp, 0x14
inc edi
add ebx, 0xcc
cmp edi, 0x20
jne 0x6b4f81
test byte [ebp - 0x1a64], 1
jne 0x6b5018
mov edi, 0x44
push edi
lea eax, [ebp - 0x1a5c]
push eax
push dword [ebp + 0xc]
call fcn.00654250
add esp, 0xc
push edi
lea eax, [ebp - 0x1a18]
push eax
push dword [ebp - 0x1a7c]
call fcn.00654250
add esp, 0xc
push edi
push dword [ebp - 0x1a78]
push dword [ebp - 0x1a74]
call fcn.00654250
add esp, 0xc
lea edx, [esi - 1]
mov al, 1
mov dword [ebp - 0x1a64], eax
mov ecx, dword [ebp - 0x1a68]
cmp edx, ecx
jb 0x6b4e00
jmp 0x6b4e46
lea eax, [ebp - 0x1a5c]
push eax
mov eax, dword [ebp + 0xc]
push eax
push eax
push dword [ebp + 8]
call fcn.006b2e80
add esp, 0x10
jmp 0x6b4ffa