Function at 0x1000cff0
Capabilities:
Encode data using xor

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff0
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
sub esp, 0x38
cmp byte [0x10263873], 0
movups xmm0, xmmword [str.r_GrEWIvROIiM_126]
push esi
push edi
movups xmmword [ebp - 0x38], xmm0
movq xmm0, qword [0x1026386c]
movq qword [ebp - 0x28], xmm0
je 0x1000d178
xor ecx, ecx
cmp dword [0x106c5e68], 2
jl 0x1000d150
movaps xmm0, xmmword [0x10263fa0]
movaps xmm4, xmmword [0x1022fa00]
movaps xmm3, xmmword [0x102640a0]
movaps xmm5, xmmword [str.4444]
movups xmm6, xmmword [0x1022fa10]
movaps xmmword [ebp - 0x20], xmm0
mov edx, dword [ebp - 0x20]
nop dword [eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + ecx - 0x38]
xorps xmm2, xmm0
movd xmm0, eax
movd dword [ebp + ecx - 0x38], xmm2
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movaps xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm5
psubd xmm2, xmm0
movd xmm0, edx
andps xmm2, xmm6
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [ebp + ecx - 0x34]
xorps xmm2, xmm0
movd dword [ebp + ecx - 0x34], xmm2
add ecx, 8
cmp ecx, 0x18
jl 0x1000d070
jmp 0x1000d178
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dl, cl
movsx eax, al
imul eax, eax, 0x34
sub dl, al
add dl, 0x33
xor byte [ebp + ecx - 0x38], dl
inc ecx
cmp ecx, 0x18
jl 0x1000d150
lea ecx, [ebp - 0x38]
lea edx, [ecx + 1]
nop
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000d180
mov esi, dword [ebx + 8]
sub ecx, edx
mov eax, esi
cmp dword [esi + 0x14], 0xf
mov edi, dword [esi + 0x10]
jbe 0x1000d199
mov eax, dword [esi]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push 0
push edi
push eax
call fcn.10009fc0
add esp, 0x14
cmp eax, 0xffffffff
jne 0x1000d241
mov ax, word [0x1026387c]
xor edx, edx
movq xmm0, qword [0x10263874]
mov word [ebp - 0x14], ax
mov al, byte [0x1026387e]
movq qword [ebp - 0x1c], xmm0
mov byte [ebp - 0x12], al
mov dword [ebp - 4], edx
nop word [eax + eax]
mov eax, 0x4ec4ec4f
mul edx
shr edx, 4
movsx eax, dl
mov edx, dword [ebp - 4]
mov cl, dl
imul eax, eax, 0x34
sub cl, al
add cl, 0x33
xor byte [ebp + edx - 0x1c], cl
inc edx
mov dword [ebp - 4], edx
cmp edx, 0xb
jl 0x1000d1e0
lea ecx, [ebp - 0x1c]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1000d210
sub ecx, edx
cmp dword [esi + 0x14], 0xf
jbe 0x1000d221
mov esi, dword [esi]
push ecx
lea eax, [ebp - 0x1c]
push eax
push 0
push edi
push esi
call fcn.10009fc0
add esp, 0x14
cmp eax, 0xffffffff
setne al
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
pop edi
mov al, 1
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret