Function at 0x14cf284
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov ebp, edx
push ecx
call fcn.014c755a
add esp, 4
mov esi, eax
lea ecx, [ebp + 4]
mov dword [esp], 0
mov dword [esp + 8], 0
mov dword [esp + 0xc], ebp
mov edi, esi
mov dword [esp + 0x10], ecx
jmp 0x14cf34c
mov al, byte [edi]
test al, al
sete cl
cmp al, 0x2c
setne dl
inc edi
xor dl, cl
jne 0x14cf2b9
lea ecx, [edi - 1]
test al, al
je 0x14cf2d6
mov byte [ecx], 0
jmp 0x14cf2d8
mov edi, ecx
cmp dword [esp + 0x2c], 0
jle 0x14cf34c
mov dword [esp + 4], esi
mov esi, dword [esp + 0x10]
xor ebp, ebp
push ebx
push dword [esi - 4]
call fcn.0152fabc
add esp, 8
test eax, eax
je 0x14cf30d
inc ebp
add esi, 0x10
cmp ebp, dword [esp + 0x2c]
jl 0x14cf2e9
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 4]
jmp 0x14cf34c
mov ecx, dword [esi]
mov ebp, dword [esp + 0xc]
mov esi, dword [esp + 4]
cmp ecx, 0xffffffff
je 0x14cf34c
mov edx, dword [esp + 8]
xor eax, eax
inc eax
shl eax, cl
bt edx, ecx
jb 0x14cf34c
or dword [esp + 8], eax
push ecx
mov esi, dword [esp + 4]
push esi
push dword [esp + 0x3c]
push dword [esp + 0x3c]
call fcn.014b9d69
add esp, 0x10
inc esi
mov dword [esp], esi
mov esi, dword [esp + 4]
mov ebx, edi
lea edi, [ebx + 1]
jmp 0x14cf355
inc ebx
inc edi
mov al, byte [ebx]
cmp al, 0x2c
je 0x14cf353
test al, al
jne 0x14cf2b9
push esi
call fcn.014c7790
add esp, 4
mov edi, dword [esp + 0x2c]
mov ebx, dword [esp + 0x30]
mov eax, edi
cmp dword [esp], eax
jge 0x14cf4ce
test eax, eax
jle 0x14cf4c5
xor edx, edx
mov esi, edx
shl esi, 4
lea edi, [ebp + esi + 4]
mov eax, dword [edi]
cmp eax, 0x20
jl 0x14cf3c2
push 0x168
push 0x40afe2
push 0x40b374
mov ebx, edi
mov edi, ebp
mov ebp, edx
call fcn.0152ce59
mov edx, ebp
mov ebp, edi
mov edi, ebx
mov ebx, dword [esp + 0x3c]
add esp, 0xc
mov eax, dword [edi]
mov ecx, dword [esp + 8]
bt ecx, eax
jae 0x14cf3d4
mov eax, dword [esp + 0x2c]
jmp 0x14cf4bc
mov eax, dword [ebp + esi + 8]
mov dword [esp + 4], edx
cmp eax, 0xffffffff
je 0x14cf414
mov ecx, dword [esp + 8]
bt ecx, eax
jae 0x14cf3cb
cmp dword [esp], 0
mov dword [esp + 0x14], edi
jle 0x14cf426
lea edi, [ebp + esi + 8]
xor ebp, ebp
push ebp
push dword [esp + 0x38]
push ebx
call fcn.014b97a5
add esp, 0xc
cmp eax, dword [edi]
je 0x14cf43f
inc ebp
cmp ebp, dword [esp]
jl 0x14cf3fa
jmp 0x14cf428
mov dword [esp + 0x14], edi
mov eax, dword [esp]
mov esi, dword [ebp + esi + 0xc]
sar esi, 0x1f
and esi, eax
jmp 0x14cf452
xor ebp, ebp
push 0x17c
push 0x40afe2
push 0x40b398
call fcn.0152ce59
add esp, 0xc
mov eax, dword [esp + 0xc]
mov esi, dword [eax + esi + 0xc]
mov eax, dword [esp]
shr esi, 0x1f
xor esi, 1
add esi, ebp
mov ebx, dword [esp + 0x34]
cmp eax, esi
mov ecx, ebx
mov ebx, dword [esp + 0x30]
jle 0x14cf48f
mov edi, dword [esp]
mov dword [esp + 0x10], esi
lea ebp, [edi - 1]
push ebp
push ecx
push ebx
mov esi, ecx
call fcn.014b97a5
add esp, 0xc
push eax
push edi
push esi
push ebx
call fcn.014b9d69
mov ecx, esi
mov esi, dword [esp + 0x20]
add esp, 0x10
cmp ebp, esi
mov edi, ebp
jg 0x14cf467
mov edi, dword [esp + 0x14]
push dword [edi]
push esi
push ecx
push ebx
call fcn.014b9d69
add esp, 0x10
mov cl, byte [edi]
xor eax, eax
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0xc]
mov edx, dword [esp + 4]
inc dword [esp]
inc eax
shl eax, cl
or dword [esp + 8], eax
mov eax, edi
inc edx
cmp edx, eax
jne 0x14cf389
cmp dword [esp], eax
jl 0x14cf37f
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret