Function at 0x140001810
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rbp
mov rbp, rsp
sub rsp, 0x70
mov rax, qword [0x140041900]
mov rbx, rcx
movaps xmmword [rsp + 0x60], xmm6
test rax, rax
je 0x140001f98
mov word [rcx + 2], 1
mov dword [rcx + 4], edx
call rax
test rax, rax
jne 0x140001a18
cmp word [rbx + 2], 1
jne 0x140001a18
cmp byte [0x1400366eb], 0
movups xmm0, xmmword [str.qDNHeRRJ]
mov eax, dword [0x1400366e8]
mov dword [rbp - 0x30], eax
movups xmmword [rbp - 0x40], xmm0
je 0x140001a0f
xor ecx, ecx
cmp dword [0x140041088], 2
jl 0x1400019cc
movdqa xmm0, xmmword [str.5555555555555555]
lea rdx, [rbp - 0x3c]
movdqa xmm5, xmmword [0x14003aac0]
movdqa xmm4, xmmword [0x14003ac10]
movdqa xmm6, xmmword [str.8888::::]
movdqa xmmword [rbp - 0x50], xmm0
mov r8d, dword [rbp - 0x50]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14003ab00]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14003ab00]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x1400018c0
cmp ecx, 0x14
jge 0x140001a0f
movsxd rax, ecx
lea r8, [rbp - 0x40]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x35
xor byte [r8 - 1], al
cmp ecx, 0x14
jl 0x1400019e0
lea rcx, [rbp - 0x40]
jmp 0x140001f93
cmp byte [rbx], 0
movzx eax, word [rbx + 2]
je 0x140001a3a
test ax, ax
sete al
mov rbx, qword [rsp + 0x80]
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbp
ret
mov ecx, eax
sub ecx, 2
je 0x140001dd8
sub ecx, 1
je 0x140001c18
cmp ecx, 1
jne 0x140001f98
movups xmm0, xmmword [str.XAYUS_]
mov eax, dword [0x140036738]
xor ecx, ecx
cmp dword [0x140041088], 2
movups xmm1, xmmword [0x140036720]
mov dword [rbp - 0x18], eax
movups xmmword [rbp - 0x40], xmm0
movsd xmm0, qword [0x140036730]
movsd qword [rbp - 0x20], xmm0
movups xmmword [rbp - 0x30], xmm1
jl 0x140001bcc
movdqa xmm0, xmmword [str.5555555555555555]
lea rdx, [rbp - 0x3c]
movdqa xmm5, xmmword [0x14003aac0]
movdqa xmm4, xmmword [0x14003ac10]
movdqa xmm6, xmmword [str.8888::::]
movdqa xmmword [rbp - 0x50], xmm0
mov r8d, dword [rbp - 0x50]
nop
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14003ab00]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14003ab00]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x28
jl 0x140001ac0
cmp ecx, 0x2c
jge 0x140001c0f
movsxd rax, ecx
lea r8, [rbp - 0x40]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x35
xor byte [r8 - 1], al
cmp ecx, 0x2c
jl 0x140001be0
lea rcx, [rbp - 0x40]
jmp 0x140001f93
movups xmm0, xmmword [str.fSTMKSOE]
movzx eax, byte [0x140036708]
xor ecx, ecx
cmp dword [0x140041088], 2
movups xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x28], al
movsd xmm0, qword [0x140036700]
movsd qword [rbp - 0x30], xmm0
jl 0x140001d8c
movdqa xmm0, xmmword [str.5555555555555555]
lea rdx, [rbp - 0x3c]
movdqa xmm5, xmmword [0x14003aac0]
movdqa xmm4, xmmword [0x14003ac10]
movdqa xmm6, xmmword [str.8888::::]
movdqa xmmword [rbp - 0x50], xmm0
mov r8d, dword [rbp - 0x50]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14003ab00]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14003ab00]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x18
jl 0x140001c80
cmp ecx, 0x19
jge 0x140001dcf
movsxd rax, ecx
lea r8, [rbp - 0x40]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x35
xor byte [r8 - 1], al
cmp ecx, 0x19
jl 0x140001da0
lea rcx, [rbp - 0x40]
jmp 0x140001f93
mov eax, dword [0x140036750]
xor ecx, ecx
cmp dword [0x140041088], 2
movups xmm0, xmmword [str.ZFRV]
mov dword [rbp - 0x30], eax
movzx eax, byte [0x140036754]
movups xmmword [rbp - 0x40], xmm0
mov byte [rbp - 0x2c], al
jl 0x140001f4c
movdqa xmm0, xmmword [str.5555555555555555]
lea rdx, [rbp - 0x3c]
movdqa xmm5, xmmword [0x14003aac0]
movdqa xmm4, xmmword [0x14003ac10]
movdqa xmm6, xmmword [str.8888::::]
movdqa xmmword [rbp - 0x50], xmm0
mov r8d, dword [rbp - 0x50]
nop dword [rax]
nop word [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ecx, 8
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14003ab00]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14003ab00]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x10
jl 0x140001e40
cmp ecx, 0x15
jge 0x140001f8f
movsxd rax, ecx
lea r8, [rbp - 0x40]
add r8, rax
nop word [rax + rax]
mov eax, 0x92492493
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x38
movzx eax, cl
inc ecx
sub al, dl
add al, 0x35
xor byte [r8 - 1], al
cmp ecx, 0x15
jl 0x140001f60
lea rcx, [rbp - 0x40]
call fcn.1400013b0
mov rbx, qword [rsp + 0x80]
xor al, al
movaps xmm6, xmmword [rsp + 0x60]
add rsp, 0x70
pop rbp
ret