Function at 0x1006cec0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100d01b5
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x48
push esi
push edi
mov eax, dword [0x100f7040]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov edi, dword [esi]
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test edi, edi
je 0x1006cf22
push 4
push edi
call eax
test eax, eax
jne 0x1006cf1d
push eax
mov ecx, edi
call dword [0x100ec604]
mov eax, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov edi, dword [esi + 0x10]
test edi, edi
je 0x1006d0ff
push 4
push edi
call eax
test eax, eax
jne 0x1006d0ff
mov ecx, 0xbe20a0
call fcn.1001e520
cmp edi, eax
jne 0x1006d0ff
xorps xmm0, xmm0
mov word [ebp - 0x14], 0x31
lea ecx, [ebp - 0x13]
mov byte [ebp - 0x13], 0
mov dword [ebp - 0x34], 0
lea edx, [ecx + 1]
movups xmmword [ebp - 0x30], xmm0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006cf78
sub ecx, edx
lea eax, [ebp - 0x13]
push ecx
push eax
lea ecx, [ebp - 0x34]
call fcn.10003370
mov dword [ebp - 4], 0
mov eax, dword [esi + 0x10]
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
mov dword [ebp - 0x38], eax
test eax, eax
je 0x1006d02d
push 4
push eax
call edi
test eax, eax
jne 0x1006d02d
cmp dword [ebp - 0x1c], 0xf
lea ecx, [ebp - 0x30]
cmova ecx, dword [ebp - 0x30]
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006cfc0
sub ecx, edx
mov dword [ebp - 0x14], ecx
lea esi, [ecx + 0x21]
push esi
call fcn.10089390
add esp, 4
mov edi, eax
push esi
push 0
push edi
call fcn.1008c3c0
add esp, 0xc
lea ecx, [ebp - 0x30]
cmp dword [ebp - 0x1c], 0xf
lea esi, [edi + 0x20]
cmova ecx, dword [ebp - 0x30]
push dword [ebp - 0x14]
push ecx
push esi
call fcn.1008be40
mov eax, dword [ebp - 0x14]
add esp, 0xc
mov ecx, dword [ebp - 0x38]
mov dword [edi + 4], esi
mov dword [edi + 0x14], eax
push edi
mov dword [edi + 0x18], 0x1f
call dword [0x100ec624]
push edi
call fcn.10089370
mov esi, dword [ebp - 0x18]
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
lea ecx, [ebp - 0x34]
mov dword [ebp - 4], 0xffffffff
call fcn.10002f50
mov eax, dword [ebp - 0x34]
push 8
push eax
mov dword [ebp - 0x34], 0
call fcn.10089370
movaps xmm0, xmmword [str._nOdoxGehDkgo]
add esp, 8
movups xmmword [ebp - 0x28], xmm0
xor ecx, ecx
nop
mov al, byte [ebp + ecx - 0x27]
xor al, byte [ebp - 0x28]
mov byte [ebp + ecx - 0x27], al
inc ecx
cmp ecx, 0xe
jb 0x1006d060
xorps xmm0, xmm0
mov byte [ebp - 0x19], 0
lea ecx, [ebp - 0x27]
mov dword [ebp - 0x54], 0
movups xmmword [ebp - 0x50], xmm0
mov dword [ebp - 0x40], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3c], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1006d097
sub ecx, edx
lea eax, [ebp - 0x27]
push ecx
push eax
lea ecx, [ebp - 0x54]
call fcn.10003370
mov dword [ebp - 4], 1
lea edx, [ebp - 0x54]
mov ecx, dword [esi + 0x10]
call fcn.1001e270
lea ecx, [ebp - 0x54]
mov dword [ebp - 4], 0xffffffff
call fcn.10002f50
mov eax, dword [ebp - 0x54]
push 8
push eax
mov dword [ebp - 0x54], 0
call fcn.10089370
mov eax, dword [esi + 0x10]
add esp, 8
mov dword [ebp - 0x18], eax
test eax, eax
je 0x1006d0ff
push 4
push eax
call edi
test eax, eax
jne 0x1006d0ff
mov ecx, dword [ebp - 0x18]
call dword [0x100ec62c]
push 1
push dword [esi + 8]
mov ecx, esi
call fcn.1006bc20
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret