Function at 0x6cb700
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x28
call fcn.006fed10
push ebx
mov ebx, dword [ebp + 8]
mov cl, 0x38
push esi
push edi
mov eax, dword [ebx]
mov edx, dword [ebx + 4]
call fcn.006fefb0
mov edi, dword [ebx + 0xc]
mov esi, dword [ebx + 0x10]
mov ecx, dword [ebx + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebx + 8]
mov dword [ebp - 8], eax
mov eax, dword [ebx + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebx + 0x1c]
mov dword [ebp - 0x14], edx
mov edx, dword [ebx + 0x14]
mov ebx, dword [ebx + 0x24]
mov dword [ebp - 0x18], ebx
mov ebx, dword [ebp + 8]
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x1c], edx
mov eax, dword [ebx + 0x2c]
mov dword [ebp - 0x24], eax
cmp dword [ebp + 0x10], eax
je 0x6cb763
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebx + 0x28]
dec eax
cmp eax, 6
ja case.default.0x6cb76c
jmp dword [eax*4 + 0x6cbb2c]
movzx eax, byte [ebx + 0x3e]
cdq
shl eax, 0x10
or dword [ebp - 0x14], eax
movzx eax, byte [ebx + 0x3d]
cdq
shl eax, 8
or dword [ebp - 0x14], eax
movzx eax, byte [ebx + 0x3c]
cdq
or dword [ebp - 0x14], eax
movzx eax, byte [ebx + 0x3b]
cdq
shld edx, eax, 0x18
shl eax, 0x18
or dword [ebp - 0x10], eax
or dword [ebp - 0x14], edx
movzx eax, byte [ebx + 0x3a]
cdq
shld edx, eax, 0x10
shl eax, 0x10
or dword [ebp - 0x10], eax
or dword [ebp - 0x14], edx
movzx eax, byte [ebx + 0x39]
cdq
shld edx, eax, 8
shl eax, 8
or dword [ebp - 0x10], eax
or dword [ebp - 0x14], edx
movzx eax, byte [ebx + 0x38]
cdq
or dword [ebp - 0x10], eax
or dword [ebp - 0x14], edx
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0x18]
xor eax, dword [ebp - 0x14]
mov ebx, dword [ebx + 0x30]
xor ecx, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], ebx
test ebx, ebx
jle 0x6cb89a
nop
add dword [ebp - 8], esi
mov ebx, edx
adc edi, edx
shr ebx, 0x13
shld edx, esi, 0xd
mov dword [ebp + 0x10], edi
xor edi, edi
shl esi, 0xd
or edi, edx
xor edi, dword [ebp + 0x10]
or ebx, esi
xor ebx, dword [ebp - 8]
mov esi, eax
add dword [ebp - 4], ecx
adc dword [ebp - 0xc], eax
xor edx, edx
shld eax, ecx, 0x10
shr esi, 0x10
or edx, eax
shl ecx, 0x10
xor edx, dword [ebp - 0xc]
or esi, ecx
xor esi, dword [ebp - 4]
xor ecx, ecx
or ecx, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 8], eax
adc ecx, edx
xor eax, eax
mov dword [ebp + 0x10], ecx
mov ecx, edx
shld edx, esi, 0x15
shr ecx, 0xb
or eax, edx
shl esi, 0x15
xor eax, dword [ebp + 0x10]
or ecx, esi
xor ecx, dword [ebp - 8]
mov esi, edi
add dword [ebp - 4], ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
adc eax, edi
shr esi, 0xf
shld edi, ebx, 0x11
xor edx, edx
shl ebx, 0x11
or edx, edi
mov edi, dword [ebp + 0x10]
or esi, ebx
xor esi, dword [ebp - 4]
xor ebx, ebx
or ebx, dword [ebp - 4]
xor edx, eax
sub dword [ebp - 0x20], 1
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], ebx
jne 0x6cb7f0
mov dword [ebp - 0x1c], edx
jmp 0x6cb89d
mov ebx, dword [ebp - 0xc]
mov eax, dword [ebp - 8]
xor eax, dword [ebp - 0x10]
xor edi, dword [ebp - 0x14]
cmp dword [ebp - 0x24], 0x10
mov dword [ebp - 8], eax
mov dword [ebp + 0x10], 0xee
je 0x6cb8bd
mov dword [ebp + 0x10], 0xff
mov eax, dword [ebp + 8]
xor ebx, 0
mov edx, dword [ebp + 0x10]
xor dword [ebp - 4], edx
mov edx, dword [ebp - 0x1c]
mov eax, dword [eax + 0x34]
test eax, eax
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0xc], ebx
jg 0x6cba23
mov eax, dword [ebp - 4]
mov ebx, dword [ebp - 0x18]
mov edx, ecx
xor ebx, dword [ebp - 0xc]
xor edx, eax
xor ebx, dword [ebp - 0x1c]
xor edx, esi
xor edx, dword [ebp - 8]
xor ebx, edi
mov eax, dword [ebp + 0xc]
mov dword [ebp + 0x10], ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x24], 0
mov byte [eax], dl
mov eax, edx
shr eax, 8
mov byte [ebx + 1], al
mov eax, edx
shr eax, 0x10
mov byte [ebx + 2], al
mov eax, ebx
mov ebx, dword [ebp + 0x10]
shr edx, 0x18
mov byte [eax + 3], dl
mov edx, eax
mov eax, ebx
shr eax, 8
mov byte [edx + 5], al
mov eax, ebx
shr eax, 0x10
mov byte [edx + 6], al
mov eax, dword [ebp + 8]
mov byte [edx + 4], bl
shr ebx, 0x18
mov byte [edx + 7], bl
cmp dword [eax + 0x2c], 8
je 0x6cbb1d
mov edx, dword [ebp - 0x1c]
xor esi, 0xdd
mov eax, dword [eax + 0x34]
xor edx, 0
mov dword [ebp + 8], eax
test eax, eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x1c], edx
jle 0x6cbacd
nop dword [eax]
add dword [ebp - 8], esi
mov ebx, edx
adc edi, edx
shr ebx, 0x13
shld edx, esi, 0xd
mov dword [ebp + 0x10], edi
xor edi, edi
shl esi, 0xd
or edi, edx
xor edi, dword [ebp + 0x10]
or ebx, esi
xor ebx, dword [ebp - 8]
add eax, ecx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x18]
mov esi, eax
adc dword [ebp - 0xc], eax
xor edx, edx
shld eax, ecx, 0x10
shr esi, 0x10
shl ecx, 0x10
or edx, eax
xor edx, dword [ebp - 0xc]
or esi, ecx
xor esi, dword [ebp - 4]
xor ecx, ecx
or ecx, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 8], eax
adc ecx, edx
xor eax, eax
mov dword [ebp + 0x10], ecx
mov ecx, edx
shld edx, esi, 0x15
shr ecx, 0xb
shl esi, 0x15
or eax, edx
xor eax, dword [ebp + 0x10]
or ecx, esi
xor ecx, dword [ebp - 8]
mov esi, edi
add dword [ebp - 4], ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
adc eax, edi
shr esi, 0xf
shld edi, ebx, 0x11
xor edx, edx
shl ebx, 0x11
or edx, edi
mov edi, dword [ebp + 0x10]
or esi, ebx
xor esi, dword [ebp - 4]
xor ebx, ebx
or ebx, dword [ebp - 4]
xor edx, eax
sub dword [ebp + 8], 1
mov dword [ebp - 0xc], ebx
jne 0x6cb970
mov dword [ebp - 0x1c], edx
jmp 0x6cbad0
mov eax, dword [ebp - 0x18]
add dword [ebp - 8], esi
mov ebx, edx
adc edi, edx
shr ebx, 0x13
shld edx, esi, 0xd
mov dword [ebp + 0x10], edi
xor edi, edi
shl esi, 0xd
or edi, edx
xor edi, dword [ebp + 0x10]
or ebx, esi
xor ebx, dword [ebp - 8]
mov esi, eax
add dword [ebp - 4], ecx
adc dword [ebp - 0xc], eax
xor edx, edx
shld eax, ecx, 0x10
shr esi, 0x10
shl ecx, 0x10
or edx, eax
xor edx, dword [ebp - 0xc]
or esi, ecx
xor esi, dword [ebp - 4]
xor ecx, ecx
or ecx, dword [ebp - 8]
mov eax, dword [ebp + 0x10]
add eax, esi
mov dword [ebp - 8], eax
adc ecx, edx
xor eax, eax
mov dword [ebp + 0x10], ecx
mov ecx, edx
shld edx, esi, 0x15
shr ecx, 0xb
shl esi, 0x15
or eax, edx
xor eax, dword [ebp + 0x10]
or ecx, esi
xor ecx, dword [ebp - 8]
mov esi, edi
add dword [ebp - 4], ebx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0xc]
adc eax, edi
shr esi, 0xf
shld edi, ebx, 0x11
xor edx, edx
shl ebx, 0x11
or edx, edi
mov edi, dword [ebp + 0x10]
or esi, ebx
xor esi, dword [ebp - 4]
xor ebx, ebx
or ebx, dword [ebp - 4]
xor edx, eax
sub dword [ebp - 0x20], 1
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], eax
jne 0x6cba20
jmp 0x6cb8e3
mov ebx, dword [ebp - 0xc]
mov edx, dword [ebp - 0x18]
xor ecx, eax
xor ecx, esi
mov dword [ebp - 0x24], 0
xor ecx, dword [ebp - 8]
xor edx, ebx
mov ebx, dword [ebp + 0xc]
mov eax, ecx
xor edx, dword [ebp - 0x1c]
shr eax, 8
xor edx, edi
mov byte [ebx + 9], al
mov eax, ecx
shr eax, 0x10
mov byte [ebx + 0xa], al
mov eax, edx
shr eax, 8
mov byte [ebx + 0xd], al
mov eax, edx
mov byte [ebx + 8], cl
shr ecx, 0x18
shr eax, 0x10
mov byte [ebx + 0xc], dl
shr edx, 0x18
mov byte [ebx + 0xb], cl
mov byte [ebx + 0xe], al
mov byte [ebx + 0xf], dl
pop edi
pop esi
mov eax, 1
pop ebx
mov esp, ebp
pop ebp
ret