Function at 0x1006ef00
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100820d5
mov eax, dword fs:[0]
push eax
sub esp, 0x64
push esi
push edi
mov eax, dword [0x10091040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
lea eax, [edi + 0x104]
xor cl, cl
mov edx, eax
mov esi, 6
cmp dword [edx - 4], 0
je 0x1006ef43
cmp dword [edx], 0
jne 0x1006ef45
inc cl
add edx, 0x18
sub esi, 1
jne 0x1006ef38
cmp cl, 6
jne 0x1006f09a
movaps xmm0, xmmword [str._C_I]
xor ecx, ecx
movups xmmword [ebp - 0x20], xmm0
mov al, byte [ebp - 0x20]
xor byte [ebp + ecx - 0x1f], al
inc ecx
cmp ecx, 0xe
jb 0x1006ef63
xorps xmm0, xmm0
mov byte [ebp - 0x11], 0
lea ecx, [ebp - 0x1f]
mov dword [ebp - 0x44], 0
movups xmmword [ebp - 0x54], xmm0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006ef90
sub ecx, edx
lea eax, [ebp - 0x1f]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.100024a0
mov dword [ebp - 4], 0
xor ecx, ecx
movaps xmm0, xmmword [0x10089ab0]
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x7505d59
mov word [ebp - 0x10], 8
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x14
jb 0x1006efc7
xorps xmm0, xmm0
mov byte [ebp - 0xf], 0
lea ecx, [ebp - 0x23]
mov dword [ebp - 0x2c], 0
movups xmmword [ebp - 0x3c], xmm0
mov dword [ebp - 0x28], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006eff3
sub ecx, edx
lea eax, [ebp - 0x23]
push ecx
push eax
lea ecx, [ebp - 0x3c]
call fcn.100024a0
push 0
push 0
lea edx, [ebp - 0x54]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x3c]
call fcn.10020e90
mov ecx, dword [ebp - 0x28]
add esp, 8
cmp ecx, 0xf
jbe 0x1006f04f
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006f045
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f079
push ecx
push edx
call fcn.1007d105
add esp, 8
mov ecx, dword [ebp - 0x40]
cmp ecx, 0xf
jbe 0x1006f209
mov edx, dword [ebp - 0x54]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006f07f
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006f07f
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1007d105
add esp, 8
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
xor esi, esi
lea ecx, [esi + 6]
nop
cmp dword [eax - 4], 0
jbe 0x1006f0ae
cmp dword [eax], 0
jbe 0x1006f0ae
add esi, dword [eax + 4]
add eax, 0x18
sub ecx, 1
jne 0x1006f0a0
mov ecx, edi
call fcn.1006d3e0
mov ecx, edi
call fcn.1006d820
push 0x2e
mov edx, esi
lea ecx, [ebp - 0x70]
call fcn.1000fd80
add esp, 4
mov dword [ebp - 4], 2
cmp dword [eax + 0x14], 0xf
jbe 0x1006f0e2
mov eax, dword [eax]
movaps xmm0, xmmword [0x10089810]
xor ecx, ecx
push eax
movups xmmword [ebp - 0x24], xmm0
mov dword [ebp - 0x14], 0x643237
mov al, byte [ebp - 0x24]
xor byte [ebp + ecx - 0x23], al
inc ecx
cmp ecx, 0x12
jb 0x1006f0f7
sub esp, 0x18
mov byte [ebp - 0x11], 0
mov edx, esp
lea ecx, [ebp - 0x23]
xorps xmm0, xmm0
lea esi, [ecx + 1]
movups xmmword [edx], xmm0
mov dword [edx + 0x10], 0
mov dword [edx + 0x14], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006f127
sub ecx, esi
lea eax, [ebp - 0x23]
push ecx
push eax
mov ecx, edx
call fcn.100024a0
lea eax, [ebp - 0x3c]
push eax
call fcn.10006910
add esp, 0x20
mov byte [ebp - 4], 3
mov edx, eax
mov ecx, dword [edi + 0x7c]
call fcn.10014db0
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x28]
cmp ecx, 0xf
jbe 0x1006f18a
mov edx, dword [ebp - 0x3c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006f180
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1006f1c9
push ecx
push edx
call fcn.1007d105
add esp, 8
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0xf
mov byte [ebp - 0x3c], 0
cmp ecx, 0xf
jbe 0x1006f1d9
mov edx, dword [ebp - 0x70]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x1006f1cf
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x1006f1cf
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push ecx
push edx
call fcn.1007d105
add esp, 8
mov esi, dword [edi + 0x20]
mov dword [ebp - 0x60], 0
mov dword [ebp - 0x5c], 0xf
mov byte [ebp - 0x70], 0
test esi, esi
je 0x1006f209
push 4
push esi
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1006f209
push 1
mov ecx, esi
call dword [0x10088b1c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret