Function at 0x7ff6456f8ab0
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 8], rbx
push rdi
sub rsp, 0x70
mov rax, qword gs:[0x58]
mov rdi, rcx
mov ecx, 4
mov rbx, r9
mov rax, qword [rax]
mov eax, dword [rcx + rax]
cmp dword [0x7ff645fc4b70], eax
jle 0x7ff6456f8d43
lea rcx, [0x7ff645fc4b70]
call fcn.7ff64578cde4
cmp dword [0x7ff645fc4b70], 0xffffffff
jne 0x7ff6456f8d43
movups xmm3, xmmword [0x7ff6457bba60]
movdqa xmm0, xmm3
psrldq xmm0, 0xf
movd eax, xmm0
movups xmmword [rsp + 0x40], xmm3
test al, al
je 0x7ff6456f8d1e
xor ecx, ecx
cmp dword [0x7ff6457cea98], 2
jl 0x7ff6456f8cdd
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 + 0x40], 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 + 0x44]
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 + 0x44], 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 + 0x48]
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 + 0x48], xmm3
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 xmm2, xmm0
movd xmm0, dword [rsp + 0x4c]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movaps xmm7, xmmword [rsp + 0x50]
xorps xmm2, xmm0
movd dword [rsp + 0x4c], xmm2
jmp 0x7ff6456f8d1e
lea r8, [rsp + 0x40]
nop dword [rax]
nop word [rax + rax]
mov eax, 0x2f684bdb
lea r8, [r8 + 1]
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul edx, eax, 0x36
movzx eax, cl
inc ecx
sub al, dl
add al, 0x39
xor byte [r8 - 1], al
cmp ecx, 0x10
jl 0x7ff6456f8cf0
mov rcx, qword [0x7ff645fc4888]
lea rdx, [rsp + 0x40]
call qword [sym.imp.kernel32.dll_GetProcAddress]
lea rcx, [0x7ff645fc4b70]
mov qword [0x7ff645fc4b90], rax
call fcn.7ff64578cd78
mov rax, qword [0x7ff645fc4b90]
test rax, rax
je 0x7ff6456f8d8f
mov qword [rsp + 0xb0], 0
mov r9, rbx
mov dword [rsp + 0xa8], 0x8400000
xor r8d, r8d
mov edx, 0xf001f
mov dword [rsp + 0xa0], 0x40
mov rcx, rdi
mov rbx, qword [rsp + 0x80]
add rsp, 0x70
pop rdi
jmp rax
mov ecx, 0x7f
call qword [sym.imp.kernel32.dll_SetLastError]
mov rbx, qword [rsp + 0x80]
mov eax, 0xc000007a
add rsp, 0x70
pop rdi
ret