Function at 0x14001e5c0
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
movaps xmmword [rsp + 0x70], xmm6
mov rax, qword [0x1400a3c40]
xor rax, rsp
mov qword [rbp - 0x18], rax
movzx r12d, r9b
mov r15, r8
mov rsi, rcx
xorps xmm0, xmm0
movups xmmword [rbp - 0x28], xmm0
lea rcx, [rbp - 0x28]
call fcn.14001c0e0
nop
mov ebx, dword [rbp + 0x60]
mov r8d, ebx
lea rdx, [rbp - 0x28]
mov rcx, rsi
call fcn.14001e120
mov r14, rax
test rax, rax
je 0x14001ea56
mov r9, qword [rsi]
add r9, rax
je 0x14001ea56
movsxd rdi, dword [r15 + 0x3c]
add rdi, r15
mov byte [rsp + 0x20], r12b
mov r8, rdi
mov rdx, r15
lea rcx, [rbp - 0x28]
call fcn.14001d0c0
mov r10, rax
test rax, rax
je 0x14001ea56
mov r8d, dword [rdi + 0x50]
add r8, qword [rsi]
add r8, r14
test ebx, ebx
je 0x14001ea7b
sub ebx, 1
je 0x14001e867
cmp ebx, 1
jne 0x14001ea8b
movsd xmm0, qword [str._TWXyPEDY_z_]
movsd qword [rbp - 0x38], xmm0
mov eax, dword [0x140091f08]
mov dword [rbp - 0x30], eax
movzx eax, byte [0x140091f0c]
mov byte [rbp - 0x2c], al
xor ecx, ecx
cmp dword [0x1400a3c50], 2
jl 0x14001e7b1
movdqa xmm4, xmmword [0x140092750]
mov eax, 4
movd xmm6, eax
mov eax, 0x1f
movd xmm5, eax
movdqa xmm2, xmmword [0x1400926d0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400926f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140092710]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140092720]
movd xmm0, dword [str._TWXyPEDY_z_]
pxor xmm2, xmm0
movd dword [rbp - 0x38], xmm2
movdqa xmm3, xmmword [0x1400926e0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400926f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140092710]
packuswb xmm2, xmm2
paddb xmm2, xmmword [0x140092720]
movd xmm0, dword [rbp - 0x34]
pxor xmm2, xmm0
movd dword [rbp - 0x34], xmm2
mov ecx, 8
mov eax, ecx
lea r8, [rbp - 0x38]
add r8, rax
nop word [rax + rax]
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xd
jl 0x14001e7c0
movups xmm0, xmmword [0x140091fa0]
movups xmmword [rbp - 0x50], xmm0
mov eax, dword [0x140091fb0]
mov dword [rbp - 0x40], eax
movzx eax, word [0x140091fb4]
mov ecx, 0x75
mov word [rbp - 0x50], cx
xor word [rbp - 0x4e], 0x31
xor word [rbp - 0x4c], 0x32
xor word [rbp - 0x4a], 0x33
xor word [rbp - 0x48], 0x34
xor word [rbp - 0x46], 0x35
xor word [rbp - 0x44], 0x36
xor word [rbp - 0x42], 0x37
xor word [rbp - 0x40], 0x38
xor word [rbp - 0x3e], 0x39
xor ax, 0x3a
mov word [rbp - 0x3c], ax
mov qword [rsp + 0x20], 0
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x50]
mov rdx, r10
lea rcx, [rbp - 0x28]
call fcn.14001d710
jmp 0x14001ea87
movsd xmm0, qword [0x140092168]
movsd qword [rbp - 0x38], xmm0
mov eax, dword [0x140092170]
mov dword [rbp - 0x30], eax
movzx eax, byte [0x140092174]
mov byte [rbp - 0x2c], al
xor ecx, ecx
cmp dword [0x1400a3c50], 2
jl 0x14001e9a6
movdqa xmm4, xmmword [0x140092750]
mov eax, 4
movd xmm6, eax
mov eax, 0x1f
movd xmm5, eax
movdqa xmm2, xmmword [0x1400926d0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400926f0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140092710]
packuswb xmm2, xmm2
mov eax, dword [0x140092720]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [0x140092168]
pxor xmm2, xmm1
movd dword [rbp - 0x38], xmm2
movdqa xmm3, xmmword [0x1400926e0]
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm5
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x1400926f0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140092710]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x34]
pxor xmm2, xmm1
movd dword [rbp - 0x34], xmm2
mov ecx, 8
mov eax, ecx
lea r8, [rbp - 0x38]
add r8, rax
nop
mov eax, 0x4d4873ed
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x35
movzx eax, cl
sub al, dl
add al, 0x30
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0xd
jl 0x14001e9b0
movups xmm0, xmmword [0x140091fa0]
movups xmmword [rbp - 0x50], xmm0
mov eax, dword [0x140091fb0]
mov dword [rbp - 0x40], eax
movzx eax, word [0x140091fb4]
mov ecx, 0x75
mov word [rbp - 0x50], cx
xor word [rbp - 0x4e], 0x31
xor word [rbp - 0x4c], 0x32
xor word [rbp - 0x4a], 0x33
xor word [rbp - 0x48], 0x34
xor word [rbp - 0x46], 0x35
xor word [rbp - 0x44], 0x36
xor word [rbp - 0x42], 0x37
xor word [rbp - 0x40], 0x38
xor word [rbp - 0x3e], 0x39
xor ax, 0x3a
mov word [rbp - 0x3c], ax
mov qword [rsp + 0x20], 0
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x50]
mov rdx, r10
lea rcx, [rbp - 0x28]
call fcn.14001d710
test al, al
jne 0x14001ea8b
xor al, al
mov rcx, qword [rbp - 0x18]
xor rcx, rsp
call fcn.14005b650
movaps xmm6, xmmword [rsp + 0x70]
add rsp, 0x80
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rdx, r10
lea rcx, [rbp - 0x28]
call fcn.14001d2a0
test al, al
je 0x14001ea56
mov al, 1
jmp 0x14001ea58