Function at 0x6da707
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov eax, dword [reloc.MSVCRT.dll___dllonexit]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x14]
add ebx, 0xa
and ebx, reloc.OLEAUT32.dll_VariantInit
push edi
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x24], 1
mov dword [ebp - 0x20], 0
jns 0x6da74a
dec ebx
or ebx, 0xfffffff8
inc ebx
je 0x6da755
mov eax, 8
sub eax, ebx
mov ebx, eax
call fcn.006da2c7
and al, 0xf8
or al, bl
push ebx
mov byte [ebp - 0xc], al
inc ebx
call fcn.006da2c7
and eax, 0xff
push eax
lea ecx, [ebp - 0xb]
push ecx
call fcn.006cac87
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov eax, esi
add esp, 0xc
neg eax
mov edi, esi
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x28], eax
mov edi, edi
cmp ebx, 8
jge 0x6da7ac
call fcn.006da2c7
inc dword [ebp - 0x1c]
mov byte [ebp + ebx - 0xc], al
inc ebx
cmp ebx, 8
jne 0x6da823
mov edx, dword [ebp - 0x28]
lea eax, [ebp - 0xc]
xor ecx, ecx
lea edx, [ebp + edx - 0x14]
sub esi, eax
cmp dword [ebp - 0x24], 0
lea eax, [ebp + ecx - 0xc]
je 0x6da7ce
lea ebx, [edx + esi]
mov bl, byte [ebx + eax]
jmp 0x6da7d1
mov bl, byte [esi + eax]
xor byte [eax], bl
inc ecx
cmp ecx, 8
jl 0x6da7bc
mov ecx, dword [ebp - 0x2c]
push edi
push ecx
lea edx, [ebp - 0xc]
push edx
call fcn.006da387
mov ecx, dword [ebp - 0x18]
add esp, 0xc
mov eax, edi
lea edx, [ebp + ecx - 0x14]
mov esi, 8
mov bl, byte [edx + eax]
xor byte [eax], bl
inc eax
dec esi
jne 0x6da7f8
mov edx, dword [ebp - 0xc]
add dword [ebp - 0x20], 8
mov dword [ebp - 0x28], ecx
sub ecx, 8
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 8]
xor ebx, ebx
mov esi, edi
mov dword [ebp - 0x10], edx
mov edi, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x1c], 2
jle 0x6da797
cmp dword [ebp + 0xc], 0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
jle 0x6da8eb
mov eax, edi
neg eax
mov edx, esi
mov dword [ebp - 0x28], eax
neg edx
cmp ebx, 8
jge 0x6da861
mov eax, dword [ebp - 0x18]
mov cl, byte [eax]
dec dword [ebp + 0xc]
mov byte [ebp + ebx - 0xc], cl
inc eax
inc ebx
mov dword [ebp - 0x18], eax
cmp ebx, 8
jne 0x6da8e1
lea eax, [ebp - 0xc]
xor ecx, ecx
lea edx, [ebp + edx - 0x14]
sub esi, eax
jmp 0x6da877
cmp dword [ebp - 0x24], 0
lea eax, [ebp + ecx - 0xc]
je 0x6da889
lea ebx, [edx + esi]
mov bl, byte [ebx + eax]
jmp 0x6da88c
mov bl, byte [esi + eax]
xor byte [eax], bl
inc ecx
cmp ecx, 8
jl 0x6da877
mov ecx, dword [ebp - 0x2c]
push edi
push ecx
lea edx, [ebp - 0xc]
push edx
call fcn.006da387
mov ecx, dword [ebp - 0x28]
add esp, 0xc
mov eax, edi
lea edx, [ebp + ecx - 0x14]
mov esi, 8
lea esp, [esp]
mov bl, byte [edx + eax]
xor byte [eax], bl
inc eax
dec esi
jne 0x6da8b7
mov edx, dword [ebp - 0xc]
add dword [ebp - 0x20], 8
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov edx, ecx
sub ecx, 8
xor ebx, ebx
mov esi, edi
mov edi, eax
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ebx
cmp dword [ebp + 0xc], 0
jg 0x6da848
mov eax, edi
neg eax
mov edx, esi
mov dword [ebp - 0x1c], 1
mov dword [ebp - 0x18], eax
neg edx
cmp ebx, 8
jge 0x6da90e
inc dword [ebp - 0x1c]
mov byte [ebp + ebx - 0xc], 0
inc ebx
cmp ebx, 8
jne 0x6da981
lea eax, [ebp - 0xc]
xor ecx, ecx
lea edx, [ebp + edx - 0x14]
sub esi, eax
cmp dword [ebp - 0x24], 0
lea eax, [ebp + ecx - 0xc]
je 0x6da92d
lea ebx, [edx + esi]
mov bl, byte [ebx + eax]
jmp 0x6da930
mov bl, byte [esi + eax]
xor byte [eax], bl
inc ecx
cmp ecx, 8
jl 0x6da91b
mov ecx, dword [ebp - 0x2c]
push edi
push ecx
lea edx, [ebp - 0xc]
push edx
call fcn.006da387
mov ecx, dword [ebp - 0x18]
add esp, 0xc
mov eax, edi
lea edx, [ebp + ecx - 0x14]
mov esi, 8
mov bl, byte [edx + eax]
xor byte [eax], bl
inc eax
dec esi
jne 0x6da957
mov edx, dword [ebp - 0xc]
add dword [ebp - 0x20], 8
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 8]
mov dword [ebp - 0x10], edx
mov edx, ecx
sub ecx, 8
xor ebx, ebx
mov esi, edi
mov edi, eax
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x1c], 7
jle 0x6da8fd
mov ecx, dword [ebp - 0x30]
mov eax, dword [ebp - 0x20]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.006c2f5a
mov esp, ebp
pop ebp
ret