Function at 0x100b41f0
Capabilities:
Encode data using xor

Disassembly:
cmp dword [0x1022fd80], 0
jne 0x100b4426
movaps xmm7, xmmword [0x100129a0]
mov eax, 1
movaps xmm2, xmmword [0x10012990]
xor ecx, ecx
movaps xmm4, xmmword [0x100129b0]
xorps xmm3, xmm3
movups xmm6, xmmword [0x100129c0]
movd xmm5, eax
nop word [eax + eax]
movd xmm0, ecx
lea eax, [ecx + 4]
pshufd xmm0, xmm0, 0
movaps xmm1, xmm2
paddd xmm0, xmm7
pand xmm1, xmm0
pcmpeqd xmm1, xmm3
psrld xmm0, xmm5
pandn xmm1, xmm6
pand xmm1, xmm4
pxor xmm1, xmm0
movaps xmm0, xmm1
pand xmm0, xmm2
pcmpeqd xmm0, xmm3
pandn xmm0, xmm6
psrld xmm1, xmm5
pand xmm0, xmm4
pxor xmm0, xmm1
movaps xmm1, xmm0
pand xmm1, xmm2
pcmpeqd xmm1, xmm3
psrld xmm0, xmm5
pandn xmm1, xmm6
pand xmm1, xmm4
pxor xmm1, xmm0
movaps xmm0, xmm1
pand xmm0, xmm2
pcmpeqd xmm0, xmm3
pandn xmm0, xmm6
psrld xmm1, xmm5
pand xmm0, xmm4
pxor xmm0, xmm1
movaps xmm1, xmm0
pand xmm1, xmm2
pcmpeqd xmm1, xmm3
psrld xmm0, xmm5
pandn xmm1, xmm6
pand xmm1, xmm4
pxor xmm1, xmm0
movaps xmm0, xmm1
pand xmm0, xmm2
pcmpeqd xmm0, xmm3
pandn xmm0, xmm6
psrld xmm1, xmm5
pand xmm0, xmm4
pxor xmm0, xmm1
movaps xmm1, xmm0
pand xmm1, xmm2
pcmpeqd xmm1, xmm3
psrld xmm0, xmm5
pandn xmm1, xmm6
pand xmm1, xmm4
pxor xmm1, xmm0
movaps xmm0, xmm1
pand xmm0, xmm2
pcmpeqd xmm0, xmm3
pandn xmm0, xmm6
psrld xmm1, xmm5
pand xmm0, xmm4
pxor xmm0, xmm1
movups xmmword [ecx*4 + 0x1022fd88], xmm0
movd xmm0, eax
pshufd xmm0, xmm0, 0
paddd xmm0, xmm7
movaps xmm1, xmm0
pand xmm1, xmm2
pcmpeqd xmm1, xmm3
pandn xmm1, xmm6
psrld xmm0, xmm5
pand xmm1, xmm4
pxor xmm1, xmm0
movaps xmm0, xmm1
pand xmm0, xmm2
pcmpeqd xmm0, xmm3
psrld xmm1, xmm5
pandn xmm0, xmm6
pand xmm0, xmm4
pxor xmm0, xmm1
movaps xmm1, xmm0
pand xmm1, xmm2
pcmpeqd xmm1, xmm3
psrld xmm0, xmm5
pandn xmm1, xmm6
pand xmm1, xmm4
pxor xmm1, xmm0
movaps xmm0, xmm1
pand xmm0, xmm2
pcmpeqd xmm0, xmm3
pandn xmm0, xmm6
psrld xmm1, xmm5
pand xmm0, xmm4
pxor xmm0, xmm1
movaps xmm1, xmm0
pand xmm1, xmm2
pcmpeqd xmm1, xmm3
psrld xmm0, xmm5
pandn xmm1, xmm6
pand xmm1, xmm4
pxor xmm1, xmm0
movaps xmm0, xmm1
pand xmm0, xmm2
pcmpeqd xmm0, xmm3
pandn xmm0, xmm6
psrld xmm1, xmm5
pand xmm0, xmm4
pxor xmm0, xmm1
movaps xmm1, xmm0
pand xmm1, xmm2
pcmpeqd xmm1, xmm3
psrld xmm0, xmm5
pandn xmm1, xmm6
pand xmm1, xmm4
pxor xmm1, xmm0
movaps xmm0, xmm1
pand xmm0, xmm2
pcmpeqd xmm0, xmm3
pandn xmm0, xmm6
psrld xmm1, xmm5
pand xmm0, xmm4
pxor xmm0, xmm1
movups xmmword [ecx*4 + 0x1022fd98], xmm0
add ecx, 8
cmp ecx, 0x100
jb 0x100b4230
mov dword [0x1022fd80], 1
push ebx
mov ebx, dword [esp + 8]
test ebx, ebx
je 0x100b44d4
mov edx, dword [esp + 0xc]
test edx, edx
je 0x100b44d4
mov eax, dword [ebx]
push edi
mov edi, dword [esp + 0x14]
test edi, edi
je 0x100b44d1
push esi
nop
cmp edi, 0x10
jb 0x100b44b8
mov esi, 4
nop word [eax + eax]
movzx ecx, byte [edx]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x1022fd88]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x1022fd88]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x1022fd88]
movzx ecx, byte [edx + 3]
add edx, 4
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x1022fd88]
sub esi, 1
jne 0x100b4460
sub edi, 0x10
jmp 0x100b44cc
movzx ecx, byte [edx]
inc edx
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x1022fd88]
dec edi
test edi, edi
jne 0x100b4450
pop esi
mov dword [ebx], eax
pop edi
pop ebx
ret