Function at 0x100066ad
Capabilities:
Encode data using xor

Disassembly:
push 0x64
mov eax, 0x10039f03
call fcn.100390fd
mov esi, ecx
mov dword [ebp - 0x2c], esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov dword [esi + 0x14], 0xf
cmp dword [esi + 0x14], 0x10
mov dword [esi + 0x10], ebx
jb 0x100066d7
mov eax, dword [esi]
jmp 0x100066d9
mov eax, esi
mov byte [eax], bl
xor edi, edi
mov dword [ebp - 4], ebx
inc edi
mov dword [esi + 0x10], ebx
cmp dword [esi + 0x14], 0x10
mov dword [ebp - 0x28], edi
jb 0x100066f1
mov eax, dword [esi]
jmp 0x100066f3
mov eax, esi
mov byte [eax], bl
mov dword [ebp - 0x24], 0x3b9aca00
mov dword [ebp - 0x14], 0xa
mov dword [ebp - 0x18], 0x64
mov dword [ebp - 0x1c], 0x3e8
mov dword [ebp - 0x20], 0x2710
test edx, edx
je 0x10006807
mov ecx, dword [edx + 0x44]
xor edx, edx
mov eax, dword [ebp + 0xc]
div dword [ebp - 0x24]
xor edx, edx
mov byte [ebp - 0x4c], bl
dec eax
cmp eax, 2
mov eax, ecx
jbe 0x10006789
div dword [ebp - 0x14]
movaps xmm0, xmmword [0x10048200]
push edx
xor edx, edx
mov dword [ebp - 0x50], 0x2428347e
div dword [ebp - 0x18]
mov eax, ecx
push edx
xor edx, edx
div dword [ebp - 0x1c]
xor edx, edx
div dword [ebp - 0x20]
mov eax, ecx
mov ecx, 0x989680
push edx
xor edx, edx
div ecx
movups xmmword [ebp - 0x70], xmm0
mov edx, ebx
movaps xmm0, xmmword [0x10047cb0]
push eax
movups xmmword [ebp - 0x60], xmm0
mov cl, byte [ebp - 0x70]
xor byte [ebp + edx - 0x6f], cl
inc edx
cmp edx, 0x23
jb 0x1000677a
jmp 0x100067d8
div dword [ebp - 0x14]
movaps xmm0, xmmword [0x10047c40]
push edx
xor edx, edx
mov dword [ebp - 0x50], 0x69657933
div dword [ebp - 0x18]
mov eax, ecx
push edx
xor edx, edx
div dword [ebp - 0x1c]
xor edx, edx
div dword [ebp - 0x20]
mov eax, ecx
mov ecx, 0x989680
push edx
xor edx, edx
div ecx
movups xmmword [ebp - 0x70], xmm0
mov edx, ebx
movaps xmm0, xmmword [0x10048410]
push eax
movups xmmword [ebp - 0x60], xmm0
mov cl, byte [ebp - 0x70]
xor byte [ebp + edx - 0x6f], cl
inc edx
cmp edx, 0x23
jb 0x100067cb
sub esp, 0x18
mov byte [ebp - 0x4c], bl
lea eax, [ebp - 0x6f]
mov ecx, esp
push eax
call fcn.1000409e
lea eax, [ebp - 0x48]
push eax
call fcn.10003b83
add esp, 0x2c
mov ecx, esi
push eax
call fcn.10006e3f
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.10003f4a
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0x1000690a
mov ecx, dword [ecx + 0x40]
test ecx, ecx
je 0x1000690a
mov eax, dword [ebp + 0xc]
xor edx, edx
div dword [ebp - 0x24]
xor edx, edx
mov byte [ebp - 0x4c], bl
dec eax
cmp eax, 2
mov eax, ecx
jbe 0x1000688c
div dword [ebp - 0x14]
movaps xmm0, xmmword [0x10047fb0]
push edx
xor edx, edx
mov word [ebp - 0x50], 0x1a50
div dword [ebp - 0x18]
mov eax, ecx
mov byte [ebp - 0x4e], 6
push edx
xor edx, edx
div dword [ebp - 0x1c]
xor edx, edx
div dword [ebp - 0x20]
mov eax, ecx
mov ecx, 0x989680
push edx
xor edx, edx
div ecx
movups xmmword [ebp - 0x70], xmm0
mov ecx, ebx
movaps xmm0, xmmword [0x10047930]
push eax
push 0xa
pop eax
movups xmmword [ebp - 0x60], xmm0
mov byte [ebp - 0x4d], al
mov al, byte [ebp - 0x70]
xor byte [ebp + ecx - 0x6f], al
inc ecx
cmp ecx, 0x23
jb 0x1000687d
jmp 0x100068db
div dword [ebp - 0x14]
movaps xmm0, xmmword [0x100482e0]
push edx
xor edx, edx
mov dword [ebp - 0x50], 0x2c203c76
div dword [ebp - 0x18]
mov eax, ecx
push edx
xor edx, edx
div dword [ebp - 0x1c]
xor edx, edx
div dword [ebp - 0x20]
mov eax, ecx
mov ecx, 0x989680
push edx
xor edx, edx
div ecx
movups xmmword [ebp - 0x70], xmm0
mov ecx, ebx
movaps xmm0, xmmword [0x10047d70]
push eax
movups xmmword [ebp - 0x60], xmm0
mov al, byte [ebp - 0x70]
xor byte [ebp + ecx - 0x6f], al
inc ecx
cmp ecx, 0x23
jb 0x100068ce
sub esp, 0x18
mov byte [ebp - 0x4c], bl
lea eax, [ebp - 0x6f]
mov ecx, esp
push eax
call fcn.1000409e
lea eax, [ebp - 0x48]
push eax
call fcn.10003b83
add esp, 0x2c
mov ecx, esi
push eax
call fcn.10006e3f
push ebx
push edi
lea ecx, [ebp - 0x48]
call fcn.10003f4a
mov eax, esi
call fcn.100390c6
ret