Function at 0x6cedf0
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x40
mov esi, ecx
nop
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x6d0870
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
call fcn.006cff10
mov ecx, dword [0xa8c5c0]
add eax, dword [0xa46d90]
add eax, dword [0xa46d80]
add ecx, eax
add ecx, 0xffff1987
call dword [0xa37360]
call ecx
mov ecx, eax
mov ebx, eax
xor ebx, 0x904e7b07
xor eax, 0x904e7b0b
mov edx, dword [esi + ebx]
mov edi, dword [0xa8c5c0]
mov dword [ebp - 0x34], esi
mov dword [ebp - 0x20], eax
add edi, dword [esi + eax]
sub edi, edx
nop
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ecx
je 0x6cef37
xor ecx, 0x904e7b04
mov esi, edi
mov dword [ebp - 0x38], ecx
and esi, ecx
je 0x6ceeb0
xor ebx, ebx
mov ecx, edi
nop word [eax + eax]
dec ecx
mov byte [edx], 0
inc edx
mov eax, ebx
xor eax, 1
and ebx, 1
lea ebx, [eax + ebx*2]
cmp ebx, esi
jne 0x6cee90
mov esi, dword [ebp - 0x20]
cmp edi, esi
mov edi, dword [ebp - 0x38]
jae 0x6ceebc
jmp 0x6cef29
mov ecx, edi
mov esi, dword [ebp - 0x20]
cmp edi, esi
mov edi, dword [ebp - 0x38]
jb 0x6cef29
mov eax, dword [ebp - 0x28]
mov ebx, eax
xor ebx, 0x904e7b00
mov dword [ebp - 0x24], ebx
mov ebx, eax
xor ebx, 0x904e7b06
mov dword [ebp - 0x40], ebx
mov ebx, eax
xor ebx, 0x904e7b05
mov dword [ebp - 0x3c], ebx
xor eax, 0x6fb184fb
nop word cs:[eax + eax]
mov byte [edx], 0
mov byte [edx + 1], 0
mov byte [edx + 2], 0
mov ebx, dword [ebp - 0x24]
mov byte [edx + ebx], 0
mov ebx, edi
mov edi, esi
mov esi, dword [ebp - 0x2c]
mov byte [edx + esi], 0
mov esi, edi
mov edi, ebx
mov ebx, dword [ebp - 0x40]
mov byte [edx + ebx], 0
mov ebx, dword [ebp - 0x3c]
mov byte [edx + ebx], 0
mov byte [edx + edi], 0
add edx, esi
add ecx, eax
jne 0x6ceef0
nop
mov eax, dword [ebp - 0x34]
mov ebx, dword [ebp - 0x2c]
mov edx, dword [eax + ebx]
nop
mov ecx, dword [ebp - 0x28]
test edx, edx
mov edi, dword [ebp - 0x20]
je 0x6cf081
mov esi, ecx
xor esi, 0x904e7b0f
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x4c], esi
mov eax, dword [eax + esi]
sub eax, edx
je 0x6cf052
mov edi, ecx
xor edi, 0x904e7b04
mov esi, eax
mov ecx, edx
mov dword [ebp - 0x44], eax
mov dword [ebp - 0x48], edi
and esi, edi
mov edi, dword [ebp - 0x20]
je 0x6cef90
mov dword [ebp - 0x24], esi
mov ecx, edx
nop dword [eax]
nop
mov byte [ecx], 0
inc ecx
dec esi
jne 0x6cef80
mov esi, eax
sub esi, dword [ebp - 0x24]
mov dword [ebp - 0x44], esi
nop
mov dword [ebp - 0x30], eax
cmp eax, edi
nop
mov ebx, dword [ebp - 0x48]
jb 0x6cf015
nop
test byte [0xa8c5c4], 1
jne 0x6cf015
mov edi, dword [ebp - 0x28]
mov esi, edi
xor esi, 0x904e7b00
mov dword [ebp - 0x24], esi
mov esi, dword [ebp - 0x44]
mov eax, edi
xor eax, 0x904e7b06
mov dword [ebp - 0x40], eax
mov eax, edi
xor eax, 0x904e7b05
mov dword [ebp - 0x3c], eax
xor edi, 0x6fb184fb
mov dword [ebp - 0x38], edi
nop word cs:[eax + eax]
mov byte [ecx], 0
mov byte [ecx + 1], 0
mov byte [ecx + 2], 0
mov edi, dword [ebp - 0x24]
mov byte [ecx + edi], 0
mov eax, dword [ebp - 0x2c]
mov byte [ecx + eax], 0
mov eax, dword [ebp - 0x20]
mov edi, dword [ebp - 0x40]
mov byte [ecx + edi], 0
mov edi, dword [ebp - 0x3c]
mov byte [ecx + edi], 0
mov byte [ecx + ebx], 0
add ecx, eax
add esi, dword [ebp - 0x38]
jne 0x6cefe0
mov ebx, dword [ebp - 0x2c]
mov esi, dword [ebp - 0x28]
mov eax, esi
xor eax, 0x904e74fc
cmp dword [ebp - 0x30], eax
jbe 0x6cf056
mov eax, esi
xor eax, 0x6fb184ff
lea ecx, [edx + eax]
mov edx, dword [edx + eax]
sub ecx, edx
mov eax, esi
xor eax, 0x904e7b23
cmp ecx, eax
nop
mov edi, dword [ebp - 0x20]
jae 0x6cf093
xor esi, 0x904e7b20
mov eax, dword [ebp - 0x30]
add eax, esi
jmp 0x6cf05c
xor eax, eax
jmp 0x6cf05c
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x30]
push eax
push edx
call fcn.0091d82d
add esp, 8
mov eax, dword [ebp - 0x34]
mov dword [eax + ebx], 0
mov dword [eax + edi], 0
mov ecx, dword [ebp - 0x4c]
mov dword [eax + ecx], 0
nop
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
add esp, 0x40
pop esi
pop edi
pop ebx
pop ebp
ret
nop
mov dword [ebp - 0x10], 0
call fcn.00900ce1
push ebp
sub esp, 8
add ebp, 0xc
call fcn.009350a0
int3