Function at 0x7ff6456f90d0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rbp
mov qword [rsp + 0x18], rsi
push rdi
sub rsp, 0x70
mov rax, qword gs:[0x58]
mov rbp, rcx
mov ecx, 4
mov ebx, r9d
mov rdi, r8
mov rsi, rdx
mov r10, qword [rax]
mov eax, dword [rcx + r10]
cmp dword [0x7ff645fc4b88], eax
jle 0x7ff6456f93e2
lea rcx, [0x7ff645fc4b88]
call fcn.7ff64578cde4
cmp dword [0x7ff645fc4b88], 0xffffffff
jne 0x7ff6456f93e2
movzx eax, word [0x7ff6457bba94]
xor ecx, ecx
cmp dword [0x7ff6457cea98], 2
movups xmm3, xmmword [0x7ff6457bba80]
mov edx, dword [0x7ff6457bba90]
mov word [rsp + 0x44], ax
movzx eax, byte [0x7ff6457bba96]
mov byte [rsp + 0x46], al
movups xmmword [rsp + 0x30], xmm3
mov dword [rsp + 0x40], edx
jl 0x7ff6456f937a
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 + 0x60], xmm6
movdqa xmm6, xmmword [0x7ff6457bbb70]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
movaps xmmword [rsp + 0x50], 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 + 0x30], 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 + 0x34]
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 + 0x34], 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 + 0x38]
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 + 0x38], xmm3
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
movdqa xmm3, xmmword [0x7ff6457bbb40]
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
movdqa xmm1, xmm3
movd xmm0, dword [rsp + 0x3c]
andps xmm2, xmm4
punpckldq xmm1, xmm3
mov ecx, 0x14
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
pmuldq xmm1, xmm5
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm5
movd dword [rsp + 0x3c], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
movaps xmm6, xmmword [rsp + 0x60]
psubd xmm3, xmm0
andps xmm3, xmm4
movd xmm0, edx
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm7
movaps xmm7, xmmword [rsp + 0x50]
xorps xmm3, xmm0
movd dword [rsp + 0x40], xmm3
mov eax, ecx
lea r8, [rsp + 0x30]
add r8, rax
nop dword [rax]
nop dword [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, 0x17
jl 0x7ff6456f9390
mov rcx, qword [0x7ff645fc4888]
lea rdx, [rsp + 0x30]
call qword [sym.imp.kernel32.dll_GetProcAddress]
lea rcx, [0x7ff645fc4b88]
mov qword [0x7ff645fc4b78], rax
call fcn.7ff64578cd78
mov r10, qword [0x7ff645fc4b78]
test r10, r10
je 0x7ff6456f940c
mov rax, qword [rsp + 0xa0]
mov r9d, ebx
mov r8, rdi
mov qword [rsp + 0x20], rax
mov rdx, rsi
mov rcx, rbp
call r10
jmp 0x7ff6456f941c
mov ecx, 0x7f
call qword [sym.imp.kernel32.dll_SetLastError]
mov eax, 0xc000007a
lea r11, [rsp + 0x70]
mov rbx, qword [r11 + 0x10]
mov rbp, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret