Function at 0x140071290
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [0x1403f25a0]
mov r9d, ecx
mov r10, rdx
test eax, eax
jne 0x1400712d0
push rbx
mov eax, 1
cpuid
mov dword [0x1403f25a0], 1
shr ecx, 0x14
mov rdx, r10
and ecx, 1
test ecx, ecx
mov dword [0x1403f25a4], ecx
mov ecx, r9d
je 0x1400712f0
pop rbx
jmp 0x140071300
mov ecx, dword [0x1403f25a4]
test ecx, ecx
mov ecx, r9d
je 0x1400712e8
jmp 0x140071300
jmp 0x1400715f0
pop rbx
jmp 0x1400715f0
push r14
mov r14, rdx
push rdi
mov edi, ecx
push rsi
mov rsi, r8
push rbx
sub rsp, 0x28
mov eax, dword [0x1403f25a8]
test eax, eax
je 0x1400715b1
mov r8d, edi
not r8d
test rsi, rsi
jne 0x140071344
jmp 0x1400715a2
crc32 r8, byte [r14]
add r14, 1
sub rsi, 1
je 0x1400715a2
test r14b, 7
jne 0x140071330
cmp rsi, 0x5fff
jbe 0x140071422
lea r9, [r14 + 0x2000]
lea r10, [0x1403f35c0]
mov rax, r14
xor edx, edx
xor ecx, ecx
nop dword [rax]
crc32 r8, qword [rax]
crc32 rcx, qword [rax + 0x2000]
crc32 rdx, qword [rax + 0x4000]
add rax, 8
cmp rax, r9
jne 0x140071370
mov r11d, r8d
movzx eax, r8b
sub rsi, 0x6000
add r14, 0x6000
shr r11d, 0x18
mov eax, dword [r10 + rax*4]
add r9, 0x6000
xor eax, dword [r10 + r11*4 + 0xc00]
mov ebx, eax
mov rax, r8
shr r8d, 0x10
movzx eax, ah
movzx r8d, r8b
mov eax, dword [r10 + rax*4 + 0x400]
xor eax, ebx
xor eax, dword [r10 + r8*4 + 0x800]
xor rax, rcx
mov ecx, eax
movzx r8d, al
shr ecx, 0x18
mov r8d, dword [r10 + r8*4]
xor r8d, dword [r10 + rcx*4 + 0xc00]
movzx ecx, ah
shr eax, 0x10
movzx eax, al
xor r8d, dword [r10 + rcx*4 + 0x400]
xor r8d, dword [r10 + rax*4 + 0x800]
xor r8, rdx
cmp rsi, 0x5fff
ja 0x140071365
cmp rsi, 0x2ff
jbe 0x140071503
lea r9, [r14 + 0x100]
lea r10, [0x1403f25c0]
nop dword [rax]
mov rcx, r14
xor eax, eax
xor edx, edx
nop word [rax + rax]
crc32 r8, qword [rcx]
crc32 rdx, qword [rcx + 0x100]
crc32 rax, qword [rcx + 0x200]
add rcx, 8
cmp rcx, r9
jne 0x140071450
mov rbx, r8
mov r11d, r8d
movzx r9d, r8b
shr r8d, 0x10
movzx edi, bh
shr r11d, 0x18
movzx r8d, r8b
mov r9d, dword [r10 + r9*4]
xor r9d, dword [r10 + r11*4 + 0xc00]
xor r9d, dword [r10 + rdi*4 + 0x400]
sub rsi, 0x300
add r14, 0x300
mov edi, r9d
xor edi, dword [r10 + r8*4 + 0x800]
xor rdx, rdi
movzx r8d, dl
mov r9d, edx
movzx ebx, dh
shr edx, 0x10
shr r9d, 0x18
movzx edx, dl
mov r8d, dword [r10 + r8*4]
xor r8d, dword [r10 + r9*4 + 0xc00]
xor r8d, dword [r10 + rbx*4 + 0x400]
lea r9, [rcx + 0x300]
xor r8d, dword [r10 + rdx*4 + 0x800]
xor r8, rax
cmp rsi, 0x2ff
ja 0x140071440
mov rdx, rsi
and esi, 7
and rdx, 0xfffffffffffffff8
add rdx, r14
cmp r14, rdx
jae 0x140071537
mov rax, r14
crc32 r8, qword [rax]
add rax, 8
cmp rdx, rax
ja 0x140071518
lea rax, [rdx - 1]
sub rax, r14
shr rax, 3
lea r14, [r14 + rax*8 + 8]
test rsi, rsi
je 0x1400715a2
lea rax, [r14 + 1]
crc32 r8, byte [r14]
cmp rsi, 1
je 0x1400715a2
crc32 r8, byte [rax]
lea rax, [r14 + 2]
cmp rsi, 2
je 0x1400715a2
crc32 r8, byte [rax]
lea rax, [r14 + 3]
cmp rsi, 3
je 0x1400715a2
crc32 r8, byte [rax]
lea rax, [r14 + 4]
cmp rsi, 4
je 0x1400715a2
crc32 r8, byte [rax]
lea rax, [r14 + 5]
sub rsi, 5
je 0x1400715a2
lea rbx, [r14 + 6]
crc32 r8, byte [rax]
cmp rsi, 1
je 0x1400715a2
crc32 r8, byte [rbx]
add rsp, 0x28
mov eax, r8d
pop rbx
not eax
pop rsi
pop rdi
pop r14
ret
lea r10, [0x1403f35c0]
mov edx, 0x2000
mov rcx, r10
call fcn.140071a10
lea r10, [0x1403f25c0]
mov edx, 0x100
mov rcx, r10
call fcn.140071a10
mov dword [0x1403f25a8], 1
jmp 0x14007131f
push rbp
mov r9d, ecx
mov r10, rdx
mov rbp, rsp
push rbx
sub rsp, 0x20
mov eax, dword [0x1403f85e0]
and rsp, 0xfffffffffffffff0
movaps xmmword [rsp], xmm6
movaps xmmword [rsp + 0x10], xmm7
test eax, eax
je 0x1400717f2
mov eax, r9d
not eax
test r8, r8
je 0x1400719fb
lea rcx, [0x1403f8600]
test r10b, 7
jne 0x140071646
jmp 0x140071674
test r10b, 7
je 0x140071674
movzx edx, byte [r10]
add r10, 1
xor edx, eax
shr rax, 8
movzx edx, dl
mov edx, dword [rcx + rdx*4]
xor rax, rdx
sub r8, 1
jne 0x140071640
not eax
movaps xmm6, xmmword [rsp]
movaps xmm7, xmmword [rsp + 0x10]
mov rbx, qword [rbp - 8]
leave
ret
mov r11, r10
cmp r8, 7
jbe 0x140071725
lea rdx, [r8 - 8]
shr rdx, 3
lea r11, [r10 + rdx*8 + 8]
nop
xor rax, qword [r10]
add r10, 8
mov r9, rax
movzx edx, al
movzx ebx, ah
shr r9, 0x38
mov edx, dword [rcx + rdx*4 + 0x1c00]
xor edx, dword [rcx + r9*4]
mov r9, rax
xor edx, dword [rcx + rbx*4 + 0x1800]
shr r9, 0x10
movzx r9d, r9b
xor edx, dword [rcx + r9*4 + 0x1400]
mov r9, rax
shr r9, 0x18
movzx r9d, r9b
xor edx, dword [rcx + r9*4 + 0x1000]
mov r9, rax
shr r9, 0x20
movzx r9d, r9b
xor edx, dword [rcx + r9*4 + 0xc00]
mov r9, rax
shr rax, 0x30
shr r9, 0x28
movzx eax, al
movzx r9d, r9b
xor edx, dword [rcx + r9*4 + 0x800]
xor edx, dword [rcx + rax*4 + 0x400]
mov eax, edx
cmp r10, r11
jne 0x140071690
and r8d, 7
je 0x140071a03
movzx edx, byte [r11]
xor edx, eax
shr rax, 8
movzx edx, dl
mov edx, dword [rcx + rdx*4]
xor rax, rdx
cmp r8, 1
je 0x140071663
movzx edx, byte [r11 + 1]
xor edx, eax
shr rax, 8
movzx edx, dl
mov edx, dword [rcx + rdx*4]
xor rax, rdx
cmp r8, 2
je 0x140071663
movzx edx, byte [r11 + 2]
xor edx, eax
shr rax, 8
movzx edx, dl
mov edx, dword [rcx + rdx*4]
xor rax, rdx
cmp r8, 3
je 0x140071663
movzx edx, byte [r11 + 3]
xor edx, eax
shr rax, 8
movzx edx, dl
mov edx, dword [rcx + rdx*4]
xor rax, rdx
cmp r8, 4
je 0x140071663
movzx edx, byte [r11 + 4]
xor edx, eax
shr rax, 8
movzx edx, dl
mov r10d, dword [rcx + rdx*4]
xor rax, r10
sub r8, 5
je 0x140071663
movzx edx, byte [r11 + 5]
xor edx, eax
shr rax, 8
movzx edx, dl
mov edx, dword [rcx + rdx*4]
xor rax, rdx
cmp r8, 1
je 0x140071663
movzx edx, byte [r11 + 6]
xor edx, eax
shr rax, 8
movzx edx, dl
mov edx, dword [rcx + rdx*4]
xor rax, rdx
jmp 0x140071663
lea rdx, [0x1403f8600]
movdqa xmm4, xmmword [0x1403e30f0]
movdqa xmm5, xmmword [0x1403e3100]
pxor xmm1, xmm1
movdqa xmm3, xmmword [0x1403e3110]
lea r11, [rdx + 0x400]
mov rcx, rdx
mov rax, rdx
movdqa xmm2, xmmword [0x1403e3120]
nop word [rax + rax]
movdqa xmm0, xmm4
add rax, 0x10
paddd xmm4, xmm5
movdqa xmm6, xmm0
pand xmm0, xmm3
pcmpeqd xmm0, xmm1
psrld xmm6, 1
movdqa xmm7, xmm6
pxor xmm7, xmm2
pand xmm6, xmm0
pandn xmm0, xmm7
por xmm0, xmm6
movdqa xmm6, xmm0
pand xmm0, xmm3
pcmpeqd xmm0, xmm1
psrld xmm6, 1
movdqa xmm7, xmm6
pxor xmm7, xmm2
pand xmm6, xmm0
pandn xmm0, xmm7
por xmm0, xmm6
movdqa xmm6, xmm0
pand xmm0, xmm3
pcmpeqd xmm0, xmm1
psrld xmm6, 1
movdqa xmm7, xmm6
pxor xmm7, xmm2
pand xmm6, xmm0
pandn xmm0, xmm7
por xmm0, xmm6
movdqa xmm6, xmm0
pand xmm0, xmm3
pcmpeqd xmm0, xmm1
psrld xmm6, 1
movdqa xmm7, xmm6
pxor xmm7, xmm2
pand xmm6, xmm0
pandn xmm0, xmm7
por xmm0, xmm6
movdqa xmm6, xmm0
pand xmm0, xmm3
pcmpeqd xmm0, xmm1
psrld xmm6, 1
movdqa xmm7, xmm6
pxor xmm7, xmm2
pand xmm6, xmm0
pandn xmm0, xmm7
por xmm0, xmm6
movdqa xmm6, xmm0
pand xmm0, xmm3
pcmpeqd xmm0, xmm1
psrld xmm6, 1
movdqa xmm7, xmm6
pxor xmm7, xmm2
pand xmm6, xmm0
pandn xmm0, xmm7
por xmm0, xmm6
movdqa xmm6, xmm0
pand xmm0, xmm3
pcmpeqd xmm0, xmm1
psrld xmm6, 1
movdqa xmm7, xmm6
pxor xmm7, xmm2
pand xmm6, xmm0
pandn xmm0, xmm7
por xmm0, xmm6
movdqa xmm6, xmm0
pand xmm0, xmm3
pcmpeqd xmm0, xmm1
psrld xmm6, 1
movdqa xmm7, xmm6
pxor xmm7, xmm2
pand xmm6, xmm0
pandn xmm0, xmm7
por xmm0, xmm6
movaps xmmword [rax - 0x10], xmm0
cmp r11, rax
jne 0x140071830
nop dword [rax]
mov eax, dword [rdx]
add rdx, 4
movzx ebx, al
shr eax, 8
xor eax, dword [rcx + rbx*4]
movzx ebx, al
mov dword [rdx + 0x3fc], eax
shr eax, 8
xor eax, dword [rcx + rbx*4]
movzx ebx, al
mov dword [rdx + 0x7fc], eax
shr eax, 8
xor eax, dword [rcx + rbx*4]
movzx ebx, al
mov dword [rdx + 0xbfc], eax
shr eax, 8
xor eax, dword [rcx + rbx*4]
movzx ebx, al
mov dword [rdx + 0xffc], eax
shr eax, 8
xor eax, dword [rcx + rbx*4]
movzx ebx, al
mov dword [rdx + 0x13fc], eax
shr eax, 8
xor eax, dword [rcx + rbx*4]
movzx ebx, al
mov dword [rdx + 0x17fc], eax
shr eax, 8
xor eax, dword [rcx + rbx*4]
mov dword [rdx + 0x1bfc], eax
cmp r11, rdx
jne 0x140071978
mov dword [0x1403f85e0], 1
jmp 0x14007161a
mov eax, r9d
jmp 0x140071665
mov eax, edx
not eax
jmp 0x140071665