Function at 0x6c3de0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x18
mov dword [esp + 8], 0xf0fffefd
mov dword [esp], 0
mov eax, dword [esp]
cmp eax, 3
ja 0x6c3e40
nop
nop
mov eax, dword [esp]
mov ecx, dword [esp]
movzx ecx, byte [esp + ecx + 8]
mov edx, eax
not edx
or edx, 0x68b63b55
add edx, eax
xor eax, 0x68b63b55
lea eax, [eax + edx*2]
add eax, 2
xor eax, ecx
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
add al, 0x57
mov ecx, dword [esp]
mov byte [esp + ecx + 8], al
inc dword [esp]
mov eax, dword [esp]
cmp eax, 4
jb 0x6c3e00
mov ebx, dword [esp + 0x30]
mov esi, dword [esp + 8]
mov eax, dword [0x6cf754]
test eax, eax
je 0x6c3e9b
xor ecx, ecx
mov edx, dword [0x6cf758]
nop
nop
nop
nop
nop
nop
nop
cmp dword [edx + ecx*8], 0x9b15aa7a
je 0x6c3e70
inc ecx
cmp eax, ecx
jne 0x6c3e60
jmp 0x6c3e9b
mov eax, dword [edx + ecx*8 + 4]
cmp eax, esi
je 0x6c3e9b
lea ecx, [esp + 0xc]
push ecx
push 0
push 0
push 1
push ebx
push dword [esp + 0x40]
push 6
push dword [0x6cf75c]
push eax
call fcn.006bf5f0
add esp, 0x24
mov esi, eax
cmp esi, 0xc0000023
jne 0x6c4100
push dword [esp + 0xc]
call fcn.006bc600
add esp, 4
mov dword [esp + 4], eax
mov ecx, dword [esp + 0xc]
mov dword [esp + 8], 0xf0fffefd
mov dword [esp], 0
mov edx, dword [esp]
cmp edx, 3
ja 0x6c3f22
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
mov edx, dword [esp]
mov esi, dword [esp]
movzx esi, byte [esp + esi + 8]
mov edi, edx
not edi
or edi, 0x68b63b55
add edi, edx
xor edx, 0x68b63b55
lea edx, [edx + edi*2]
add edx, 2
xor edx, esi
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x10]
add dl, 0x57
mov esi, dword [esp]
mov byte [esp + esi + 8], dl
inc dword [esp]
mov edx, dword [esp]
cmp edx, 4
jb 0x6c3ee0
mov esi, dword [esp + 8]
mov edx, dword [0x6cf754]
test edx, edx
je 0x6c3f7d
xor ebp, ebp
mov edi, dword [0x6cf758]
nop
nop
nop
nop
nop
nop
nop
nop
cmp dword [edi + ebp*8], 0x9b15aa7a
je 0x6c3f50
inc ebp
cmp edx, ebp
jne 0x6c3f40
jmp 0x6c3f7d
mov edx, dword [edi + ebp*8 + 4]
cmp edx, esi
je 0x6c3f7d
lea esi, [esp + 0xc]
push esi
push ecx
mov eax, dword [esp + 0xc]
push eax
push 1
push ebx
push dword [esp + 0x40]
push 6
push dword [0x6cf75c]
push edx
call fcn.006bf5f0
add esp, 0x24
mov esi, eax
test esi, esi
js 0x6c40f4
mov ecx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
test ebx, ebx
je 0x6c407a
mov edi, dword [esp + 0x34]
test edi, edi
je 0x6c406f
mov eax, dword [esp + 4]
mov edx, dword [eax + 0x10]
shr edx, 1
mov eax, dword [ebx]
cmp eax, edx
jb 0x6c3fb2
mov eax, edx
test eax, eax
je 0x6c4066
mov ebx, dword [esp + 4]
add ebx, 0x14
mov ebp, eax
and ebp, 3
je 0x6c3ffc
mov dword [esp + 0x14], eax
xor edx, edx
nop
nop
movzx ecx, word [ebx]
xor eax, eax
test cx, cx
setne al
lea ebx, [ebx + eax*2]
mov word [edi], cx
add edi, 2
inc edx
cmp ebp, edx
jne 0x6c3fd0
mov eax, dword [esp + 0x14]
mov ebp, eax
sub ebp, edx
mov ecx, dword [esp + 0x3c]
cmp eax, 4
jae 0x6c4010
jmp 0x6c4066
mov ebp, eax
cmp eax, 4
jb 0x6c4066
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
movzx eax, word [ebx]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [ebx + ecx*2]
mov word [edi], ax
movzx eax, word [ebx + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea ebx, [edx + ecx*2]
mov word [edi + 2], ax
movzx eax, word [edx + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
lea edx, [ebx + ecx*2]
mov word [edi + 4], ax
movzx eax, word [ebx + ecx*2]
xor ecx, ecx
test ax, ax
setne cl
mov word [edi + 6], ax
add edi, 8
lea ebx, [edx + ecx*2]
add ebp, 0xfffffffc
jne 0x6c4010
mov ecx, dword [esp + 0x3c]
mov word [edi], 0
mov ebx, dword [esp + 0x38]
mov eax, dword [esp + 4]
mov eax, dword [eax + 0x10]
shr eax, 1
mov dword [ebx], eax
mov edi, dword [esp + 0x44]
test ecx, ecx
je 0x6c408b
mov eax, dword [esp + 4]
mov eax, dword [eax + 4]
mov dword [ecx], eax
test edi, edi
je 0x6c40f4
mov ebx, dword [esp + 0x40]
test ebx, ebx
je 0x6c40eb
mov edx, dword [edi]
mov eax, dword [esp + 4]
mov ecx, dword [eax + 0xc]
cmp edx, ecx
jb 0x6c40a6
mov edx, ecx
mov eax, dword [esp + 4]
mov ebp, dword [eax + 8]
add ebp, eax
mov ecx, edx
shr ecx, 2
mov eax, ebp
mov edi, ebx
xchg esi, eax
rep movsd dword es:[edi], dword [esi]
xchg esi, eax
mov ecx, edx
shr ecx, 1
and ecx, 1
mov eax, ebx
mov ebx, edx
and ebx, 0xfffffffc
add ebp, ebx
add ebx, eax
mov eax, ebp
mov edi, ebx
xchg esi, eax
rep movsw word es:[edi], word [esi]
xchg esi, eax
test dl, 1
mov edi, dword [esp + 0x44]
je 0x6c40eb
and edx, 2
movzx eax, byte [ebp + edx]
mov byte [ebx + edx], al
mov eax, dword [esp + 4]
mov eax, dword [eax + 0xc]
mov dword [edi], eax
push dword [esp + 4]
call fcn.006bc6c0
add esp, 4
mov eax, esi
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret