Function at 0x10002030
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2368
call fcn.1000f2b0
mov eax, dword [0x10017004]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x214]
mov dword [ebp - 0x2310], edx
push eax
push 0x80
xor edx, edx
mov ebx, ecx
call fcn.10001030
add esp, 4
call eax
lea eax, [ebp - 0x230c]
mov edx, 4
push eax
push 0x28
call fcn.10001030
add esp, 4
call eax
mov edx, 1
test eax, eax
je 0x100020a2
lea eax, [ebp - 0x2308]
push eax
lea eax, [ebp - 0x214]
push eax
push 0x50
jmp 0x100020b0
push str.no_hwid
lea eax, [ebp - 0x214]
push eax
push 0x4e
call fcn.10001030
add esp, 4
call eax
push 0x1000
lea eax, [ebp - 0x2214]
xor edx, edx
push eax
push 0x80
call fcn.10001030
add esp, 4
call eax
movups xmm0, xmmword [0x100151a4]
mov edi, dword [0x10017bfc]
xor esi, esi
mov eax, 2
movups xmmword [ebp - 0x2344], xmm0
lea ecx, [esi + 0x1f]
movups xmm0, xmmword [0x100151b4]
movups xmmword [ebp - 0x2334], xmm0
movq xmm0, qword [0x100151c4]
movq qword [ebp - 0x2324], xmm0
cmp edi, eax
jl 0x10002240
movaps xmm4, xmmword [0x10015890]
movaps xmm3, xmmword [0x10015910]
movaps xmm6, xmmword [0x100158b0]
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 [0x100158d0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x2344]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + esi*2 - 0x2344], 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 [0x100158d0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x233c]
pxor xmm1, xmm0
movq qword [ebp + esi*2 - 0x233c], xmm1
add esi, 8
cmp esi, 0x10
jl 0x10002140
cmp esi, 0x14
jge 0x1000226b
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, 0x35
xor word [ebp + esi*2 - 0x2344], cx
inc esi
cmp esi, 0x14
jl 0x10002240
lea eax, [ebp - 0x2344]
mov edx, 1
push eax
lea eax, [ebp - 0x2214]
push eax
push 0x50
call fcn.10001030
add esp, 4
call eax
cmp word [0x100151de], 0
movups xmm0, xmmword [0x100151cc]
mov eax, dword [0x100151dc]
mov dword [ebp - 0x2320], eax
movups xmmword [ebp - 0x2330], xmm0
je 0x100022d4
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, 0x35
xor word [ebp + esi*2 - 0x2330], cx
inc esi
cmp esi, 0xa
jl 0x100022b0
lea eax, [ebp - 0x2330]
mov edx, 1
push eax
lea eax, [ebp - 0x2214]
push eax
push 0x4e
call fcn.10001030
add esp, 4
call eax
lea eax, [ebp - 0x214]
mov edx, 1
push eax
lea eax, [ebp - 0x2214]
push eax
push 0x4e
call fcn.10001030
add esp, 4
call eax
cmp word [0x1001520e], 0
movups xmm0, xmmword [0x100151fc]
mov eax, dword [0x1001520c]
mov dword [ebp - 0x2320], eax
movups xmmword [ebp - 0x2330], xmm0
je 0x1000235b
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, 0x35
xor word [ebp + esi*2 - 0x2330], cx
inc esi
cmp esi, 0xa
jl 0x10002337
lea eax, [ebp - 0x2330]
mov edx, 1
push eax
lea eax, [ebp - 0x2214]
push eax
push 0x4e
call fcn.10001030
add esp, 4
call eax
movups xmm0, xmmword [0x10015158]
mov ax, word [0x100151a0]
xor esi, esi
mov word [ebp - 0x231c], ax
movups xmmword [ebp - 0x2364], xmm0
movups xmm0, xmmword [0x10015168]
movups xmmword [ebp - 0x2354], xmm0
movups xmm0, xmmword [0x10015178]
movups xmmword [ebp - 0x2344], xmm0
movups xmm0, xmmword [0x10015188]
movups xmmword [ebp - 0x2334], xmm0
movq xmm0, qword [0x10015198]
movq qword [ebp - 0x2324], xmm0
cmp edi, 2
jl 0x10002500
movaps xmm4, xmmword [0x10015890]
mov eax, 2
movaps xmm3, xmmword [0x10015910]
movaps xmm6, xmmword [0x100158b0]
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 [0x100158d0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x2364]
pxor xmm1, xmm0
movd xmm0, eax
pshufd xmm2, xmm0, 0
movq qword [ebp + esi*2 - 0x2364], 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 [0x100158d0]
paddw xmm1, xmm0
movq xmm0, qword [ebp + esi*2 - 0x235c]
pxor xmm1, xmm0
movq qword [ebp + esi*2 - 0x235c], xmm1
add esi, 8
cmp esi, 0x20
jl 0x10002401
cmp esi, 0x25
jge 0x1000252b
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, 0x35
xor word [ebp + esi*2 - 0x2364], cx
inc esi
cmp esi, 0x25
jl 0x10002500
lea eax, [ebp - 0x2364]
mov edx, 1
push eax
lea eax, [ebp - 0x2214]
push eax
push 0x4e
call fcn.10001030
add esp, 4
call eax
movups xmm0, xmmword [0x10015210]
pextrw eax, xmm0, 7
movups xmmword [ebp - 0x232c], xmm0
test ax, ax
je 0x10002694
xor esi, esi
cmp edi, 2
jl 0x10002670
movaps xmm2, xmmword [0x10015890]
mov eax, 2
movaps xmm3, xmmword [0x10015910]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
movaps xmm7, xmmword [0x100158d0]
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
movd xmm4, eax
mov eax, 0x1f
psrad xmm1, xmm4
movaps xmm0, xmm1
movd xmm5, eax
mov eax, 0x10015210
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x100158b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x100158a0]
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 - 0x232c], 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 [0x100158b0]
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 - 0x2324]
pxor xmm1, xmm0
movq qword [ebp - 0x2324], xmm1
jmp 0x10002694
mov eax, 0xcccccccd
mov ecx, esi
mul esi
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x35
xor word [ebp + esi*2 - 0x232c], cx
inc esi
cmp esi, 8
jl 0x10002670
lea eax, [ebp - 0x232c]
mov edx, 1
push eax
lea eax, [ebp - 0x2214]
push eax
push 0x4e
call fcn.10001030
add esp, 4
call eax
push ebx
lea eax, [ebp - 0x2214]
mov edx, 1
push eax
push 0x4e
call fcn.10001030
add esp, 4
call eax
movups xmm0, xmmword [0x100151e0]
pextrw eax, xmm0, 7
movups xmmword [ebp - 0x232c], xmm0
test ax, ax
je 0x10002814
xor esi, esi
cmp edi, 2
jl 0x100027f0
movaps xmm2, xmmword [0x10015890]
mov eax, 2
movaps xmm3, xmmword [0x10015910]
movaps xmm1, xmm2
punpckldq xmm1, xmm2
movaps xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm3
movaps xmm7, xmmword [0x100158d0]
pmuldq xmm1, xmm3
shufps xmm1, xmm0, 0xdd
movd xmm4, eax
mov eax, 0x1f
psrad xmm1, xmm4
movaps xmm0, xmm1
movd xmm5, eax
mov eax, 0x100151e0
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x100158b0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
movaps xmm2, xmmword [0x100158a0]
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 - 0x232c], 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 [0x100158b0]
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 - 0x2324]
pxor xmm1, xmm0
movq qword [ebp - 0x2324], xmm1
jmp 0x10002814
mov eax, 0xcccccccd
mov ecx, esi
mul esi
shr edx, 3
lea eax, [edx + edx*4]
add eax, eax
sub ecx, eax
add ecx, 0x35
xor word [ebp + esi*2 - 0x232c], cx
inc esi
cmp esi, 8
jl 0x100027f0
lea eax, [ebp - 0x232c]
mov edx, 1
push eax
lea eax, [ebp - 0x2214]
push eax
push 0x4e
call fcn.10001030
add esp, 4
call eax
push dword [ebp - 0x2310]
lea eax, [ebp - 0x2214]
mov edx, 1
push eax
push 0x4e
call fcn.10001030
add esp, 4
call eax
push 0
lea edx, [ebp - 0x2310]
lea ecx, [ebp - 0x2214]
call fcn.10002880
mov ecx, dword [ebp - 8]
add esp, 4
neg eax
sbb eax, eax
xor ecx, ebp
pop edi
pop esi
neg eax
pop ebx
call fcn.1000552b
mov esp, ebp
pop ebp
ret