Function at 0x7ff6456f8db0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x90
mov rax, qword gs:[0x58]
mov rdi, rcx
mov ecx, 4
mov rbx, r8
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x7ff645fc4b74], eax
jle 0x7ff6456f9052
lea rcx, [0x7ff645fc4b74]
call fcn.7ff64578cde4
cmp dword [0x7ff645fc4b74], 0xffffffff
jne 0x7ff6456f9052
movzx eax, word [0x7ff6457bbaa8]
xor ecx, ecx
cmp dword [0x7ff6457cea98], 2
movups xmm3, xmmword [0x7ff6457bba98]
mov word [rsp + 0x60], ax
movzx eax, byte [0x7ff6457bbaaa]
mov byte [rsp + 0x62], al
movups xmmword [rsp + 0x50], xmm3
jl 0x7ff6456f8feb
movdqa xmm5, xmmword [0x7ff6457bbc20]
movdqa xmm2, xmmword [0x7ff6457bbb00]
movdqa xmm4, xmmword [0x7ff6457bbbe0]
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
movd eax, xmm3
movdqa xmm3, xmmword [0x7ff6457bbb20]
movaps xmmword [rsp + 0x80], xmm6
movdqa xmm6, xmmword [0x7ff6457bbb70]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
movaps xmmword [rsp + 0x70], xmm7
movdqa xmm7, xmmword [0x7ff6457bbc10]
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movd xmm0, eax
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
xorps xmm2, xmm0
movd dword [rsp + 0x50], xmm2
movdqa xmm2, xmmword [0x7ff6457bbb10]
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm5
pmuldq xmm1, xmm5
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm3
pmulld xmm0, xmm6
psubd xmm2, xmm0
punpckldq xmm1, xmm3
movd xmm0, dword [rsp + 0x54]
andps xmm2, xmm4
pmuldq xmm1, xmm5
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
movd dword [rsp + 0x54], xmm2
movdqa xmm2, xmmword [0x7ff6457bbb30]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
movdqa xmm1, xmm2
pmulld xmm0, xmm6
psubd xmm3, xmm0
punpckldq xmm1, xmm2
movd xmm0, dword [rsp + 0x58]
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
pmuldq xmm1, xmm5
paddb xmm3, xmm7
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
movd dword [rsp + 0x58], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
mov ecx, 0x10
pmulld xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x80]
psubd xmm2, xmm0
movd xmm0, dword [rsp + 0x5c]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movaps xmm7, xmmword [rsp + 0x70]
xorps xmm2, xmm0
movd dword [rsp + 0x5c], xmm2
mov eax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop word [rax + rax]
mov eax, 0x4bda12f7
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x36
movzx eax, cl
inc ecx
sub al, dl
add al, 0x39
xor byte [r8 - 1], al
cmp ecx, 0x13
jl 0x7ff6456f9000
mov rcx, qword [0x7ff645fc4888]
lea rdx, [rsp + 0x50]
call qword [sym.imp.kernel32.dll_GetProcAddress]
lea rcx, [0x7ff645fc4b74]
mov qword [0x7ff645fc4b80], rax
call fcn.7ff64578cd78
mov r10, qword [0x7ff645fc4b80]
test r10, r10
je 0x7ff6456f90a2
xor r9d, r9d
mov dword [rsp + 0xe8], 4
mov r8, rbx
mov dword [rsp + 0xe0], 0
mov rdx, 0xffffffffffffffff
mov dword [rsp + 0xd8], 2
mov rcx, rdi
mov rbx, qword [rsp + 0xa0]
add rsp, 0x90
pop rdi
jmp r10
mov ecx, 0x7f
call qword [sym.imp.kernel32.dll_SetLastError]
mov rbx, qword [rsp + 0xa0]
mov eax, 0xc000007a
add rsp, 0x90
pop rdi
ret