Function at 0x10002000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x26bc
call fcn.1000f3e0
mov eax, dword [0x10017004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x318]
mov dword [ebp - 0x2664], edx
push eax
push 0x80
xor edx, edx
mov ebx, ecx
call section..text
add esp, 4
call eax
lea eax, [ebp - 0x2548]
mov edx, 4
push eax
push 0x28
call section..text
add esp, 4
call eax
mov edx, 1
test eax, eax
je 0x10002072
lea eax, [ebp - 0x2544]
push eax
lea eax, [ebp - 0x318]
push eax
push 0x50
jmp 0x10002080
push 0x1001511c
lea eax, [ebp - 0x318]
push eax
push 0x4e
call section..text
add esp, 4
call eax
push 0x114
lea eax, [ebp - 0x2660]
xor edx, edx
push eax
push 0x80
call section..text
add esp, 4
call eax
lea eax, [ebp - 0x2660]
xor edx, edx
push eax
push 0x7d
call section..text
add esp, 4
call eax
push 0x24
lea eax, [ebp - 0x244c]
xor edx, edx
push eax
push 0x80
call section..text
add esp, 4
call eax
lea eax, [ebp - 0x244c]
mov edx, 1
push eax
push 0x34
call section..text
add esp, 4
call eax
lea eax, [ebp - 0x2424]
mov dword [ebp - 0x2424], 0x104
push eax
lea eax, [ebp - 0x420]
mov edx, 1
push eax
push 0x26
call section..text
add esp, 4
call eax
push 0x104
lea eax, [ebp - 0x110]
mov dword [ebp - 0x2428], 0x104
push eax
push 0x80
xor edx, edx
call section..text
add esp, 4
call eax
lea eax, [ebp - 0x2428]
mov edx, 4
push eax
lea eax, [ebp - 0x110]
push eax
push 0x3b
call section..text
add esp, 4
call eax
push 0x1000
lea eax, [ebp - 0x2420]
xor edx, edx
push eax
push 0x80
call section..text
add esp, 4
call eax
movups xmm0, xmmword [0x100151f8]
mov edi, dword [0x10017bfc]
xor esi, esi
mov eax, 2
movups xmmword [ebp - 0x2698], xmm0
lea ecx, [esi + 0x1f]
movups xmm0, xmmword [0x10015208]
movups xmmword [ebp - 0x2688], xmm0
movq xmm0, qword [0x10015218]
movq qword [ebp - 0x2678], xmm0
cmp edi, eax
jl 0x100022e0
movaps xmm4, xmmword [0x10015810]
movaps xmm3, xmmword [0x10015890]
movaps xmm6, xmmword [0x10015830]
movd xmm5, eax
movd xmm7, ecx
nop dword [eax + eax]
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x10015860]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x2698]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + esi*2 - 0x2698], xmm1
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, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x10015860]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x2690]
pxor xmm1, xmm0
movq qword [ebp + esi*2 - 0x2690], xmm1
add esi, 8
cmp esi, 0x10
jl 0x100021e0
cmp esi, 0x14
jge 0x1000230b
nop dword [eax + eax]
mov eax, 0x66666667
mov ecx, esi
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
add eax, eax
sub ecx, eax
add ecx, 0x37
xor word [ebp + esi*2 - 0x2698], cx
inc esi
cmp esi, 0x14
jl 0x100022e0
lea eax, [ebp - 0x2698]
mov edx, 1
push eax
lea eax, [ebp - 0x2420]
push eax
push 0x50
call section..text
add esp, 4
call eax
cmp word [0x100151b6], 0
movups xmm0, xmmword [0x100151a4]
mov eax, dword [0x100151b4]
mov dword [ebp - 0x2674], eax
movups xmmword [ebp - 0x2684], xmm0
je 0x10002374
xor esi, esi
nop
mov eax, 0xcccccccd
mov ecx, esi
mul esi
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x37
xor word [ebp + esi*2 - 0x2684], cx
inc esi
cmp esi, 0xa
jl 0x10002350
lea eax, [ebp - 0x2684]
mov edx, 1
push eax
lea eax, [ebp - 0x2420]
push eax
push 0x4e
call section..text
add esp, 4
call eax
lea eax, [ebp - 0x318]
mov edx, 1
push eax
lea eax, [ebp - 0x2420]
push eax
push 0x4e
call section..text
add esp, 4
call eax
cmp word [0x100151d6], 0
movups xmm0, xmmword [0x100151c4]
mov eax, dword [0x100151d4]
mov dword [ebp - 0x2674], eax
movups xmmword [ebp - 0x2684], xmm0
je 0x100023fb
xor esi, esi
mov eax, 0xcccccccd
mov ecx, esi
mul esi
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x37
xor word [ebp + esi*2 - 0x2684], cx
inc esi
cmp esi, 0xa
jl 0x100023d7
lea eax, [ebp - 0x2684]
mov edx, 1
push eax
lea eax, [ebp - 0x2420]
push eax
push 0x4e
call section..text
add esp, 4
call eax
movups xmm0, xmmword [0x10015158]
mov ax, word [0x100151a0]
xor esi, esi
mov word [ebp - 0x2670], ax
movups xmmword [ebp - 0x26b8], xmm0
movups xmm0, xmmword [0x10015168]
movups xmmword [ebp - 0x26a8], xmm0
movups xmm0, xmmword [0x10015178]
movups xmmword [ebp - 0x2698], xmm0
movups xmm0, xmmword [0x10015188]
movups xmmword [ebp - 0x2688], xmm0
movq xmm0, qword [0x10015198]
movq qword [ebp - 0x2678], xmm0
cmp edi, 2
jl 0x100025a0
movaps xmm4, xmmword [0x10015810]
mov eax, 2
movaps xmm3, xmmword [0x10015890]
movaps xmm6, xmmword [0x10015830]
movd xmm5, eax
mov eax, 0x1f
movd xmm7, eax
movd xmm0, esi
lea eax, [esi + 4]
pshufd xmm2, xmm0, 0
paddd xmm2, xmm4
movaps xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
punpckldq xmm1, xmm2
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x10015860]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x26b8]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + esi*2 - 0x26b8], xmm1
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, xmm5
movaps xmm0, xmm1
psrld xmm0, xmm7
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, qword [0x10015860]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x26b0]
pxor xmm1, xmm0
movq qword [ebp + esi*2 - 0x26b0], xmm1
add esi, 8
cmp esi, 0x20
jl 0x100024a1
cmp esi, 0x25
jge 0x100025cb
nop dword [eax]
mov eax, 0x66666667
mov ecx, esi
imul esi
sar edx, 2
mov eax, edx
shr eax, 0x1f
add eax, edx
lea eax, [eax + eax*4]
add eax, eax
sub ecx, eax
add ecx, 0x37
xor word [ebp + esi*2 - 0x26b8], cx
inc esi
cmp esi, 0x25
jl 0x100025a0
lea eax, [ebp - 0x26b8]
mov edx, 1
push eax
lea eax, [ebp - 0x2420]
push eax
push 0x4e
call section..text
add esp, 4
call eax
movups xmm0, xmmword [0x100151d8]
pextrw eax, xmm0, 7
movups xmmword [ebp - 0x2680], xmm0
test ax, ax
je 0x10002734
xor esi, esi
cmp edi, 2
jl 0x10002710
movaps xmm2, xmmword [0x10015810]
mov eax, 2
movaps xmm3, xmmword [0x10015890]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
movaps xmm7, xmmword [0x10015860]
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
movd xmm4, eax
mov eax, 0x1f
psrad xmm1, xmm4
movaps xmm0, xmm1
movd xmm5, eax
mov eax, 0x100151d8
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10015830]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10015820]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm7
paddw xmm1, xmm0
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [ebp - 0x2680], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm4
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10015830]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm7
paddw xmm1, xmm0
movq xmm0, qword [ebp - 0x2678]
pxor xmm1, xmm0
movq qword [ebp - 0x2678], xmm1
jmp 0x10002734
mov eax, 0xcccccccd
mov ecx, esi
mul esi
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x37
xor word [ebp + esi*2 - 0x2680], cx
inc esi
cmp esi, 8
jl 0x10002710
lea eax, [ebp - 0x2680]
mov edx, 1
push eax
lea eax, [ebp - 0x2420]
push eax
push 0x4e
call section..text
add esp, 4
call eax
push ebx
lea eax, [ebp - 0x2420]
mov edx, 1
push eax
push 0x4e
call section..text
add esp, 4
call eax
movups xmm0, xmmword [0x100151e8]
pextrw eax, xmm0, 7
movups xmmword [ebp - 0x2680], xmm0
test ax, ax
je 0x100028b4
xor esi, esi
cmp edi, 2
jl 0x10002890
movaps xmm2, xmmword [0x10015810]
mov eax, 2
movaps xmm3, xmmword [0x10015890]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
movaps xmm7, xmmword [0x10015860]
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
movd xmm4, eax
mov eax, 0x1f
psrad xmm1, xmm4
movaps xmm0, xmm1
movd xmm5, eax
mov eax, 0x100151e8
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10015830]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x10015820]
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm7
paddw xmm1, xmm0
movq xmm0, qword [eax]
pxor xmm1, xmm0
movaps xmm0, xmm2
movq qword [ebp - 0x2680], xmm1
movaps xmm1, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm3
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm4
movaps xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x10015830]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm0, xmm0, 0xd8
pshufd xmm1, xmm0, 0xd8
movq xmm0, xmm7
paddw xmm1, xmm0
movq xmm0, qword [ebp - 0x2678]
pxor xmm1, xmm0
movq qword [ebp - 0x2678], xmm1
jmp 0x100028b4
mov eax, 0xcccccccd
mov ecx, esi
mul esi
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x37
xor word [ebp + esi*2 - 0x2680], cx
inc esi
cmp esi, 8
jl 0x10002890
lea eax, [ebp - 0x2680]
mov edx, 1
push eax
lea eax, [ebp - 0x2420]
push eax
push 0x4e
call section..text
add esp, 4
call eax
push dword [ebp - 0x2664]
lea eax, [ebp - 0x2420]
mov edx, 1
push eax
push 0x4e
call section..text
add esp, 4
call eax
push 0
lea edx, [ebp - 0x2664]
lea ecx, [ebp - 0x2420]
call fcn.10002920
mov ecx, dword [ebp - 4]
add esp, 4
neg eax
sbb eax, eax
xor ecx, ebp
pop edi
pop esi
neg eax
pop ebx
call fcn.100054f7
mov esp, ebp
pop ebp
ret