Function at 0x7ff6456e0310
Capabilities:
Encode data using xor

Disassembly:
push rbx
sub rsp, 0x70
mov rax, qword [0x7ff6457cea40]
xor rax, rsp
mov qword [rsp + 0x48], rax
call qword [sym.imp.kernel32.dll_GetCurrentProcess]
lea rcx, [0x7ff6457aaee0]
call qword [sym.imp.kernel32.dll_LoadLibraryW]
movzx ecx, byte [0x7ff6457ad520]
xor ebx, ebx
cmp dword [0x7ff6457cea98], 2
mov r9, rax
movups xmm3, xmmword [0x7ff6457ad508]
mov byte [rsp + 0x38], cl
mov ecx, ebx
movsd xmm0, qword [0x7ff6457ad518]
movups xmmword [rsp + 0x20], xmm3
movsd qword [rsp + 0x30], xmm0
jl 0x7ff6456e05e6
movdqa xmm5, xmmword [0x7ff6457bbc30]
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 [0x7ff6457bbb60]
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
movaps xmmword [rsp + 0x50], xmm7
movdqa xmm7, xmmword [0x7ff6457bbc00]
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 + 0x20], 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 + 0x24]
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 + 0x24], 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 + 0x28]
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 + 0x28], 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 + 0x2c]
andps xmm2, xmm4
punpckldq xmm1, xmm3
mov ecx, 0x18
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 + 0x2c], xmm2
movdqa xmm2, xmmword [0x7ff6457bbb50]
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 + 0x30]
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm7
pmuldq xmm1, xmm5
xorps xmm3, xmm0
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm5
movd dword [rsp + 0x30], 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 + 0x34]
andps xmm2, xmm4
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm7
movaps xmm7, xmmword [rsp + 0x50]
xorps xmm2, xmm0
movd dword [rsp + 0x34], xmm2
mov eax, ecx
lea r8, [rsp + 0x20]
add r8, rax
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x31
movzx eax, cl
inc ecx
sub al, dl
add al, 0x35
xor byte [r8 - 1], al
cmp ecx, 0x19
jl 0x7ff6456e05f0
lea rdx, [rsp + 0x20]
mov rcx, r9
call qword [sym.imp.kernel32.dll_GetProcAddress]
xor r9d, r9d
lea rdx, [rsp + 0x40]
mov r8d, 2
mov ecx, 0x23
call rax
test eax, eax
jne 0x7ff6456e0653
cmp byte [rsp + 0x40], bl
je 0x7ff6456e0653
cmp byte [rsp + 0x41], bl
sete bl
mov eax, ebx
mov rcx, qword [rsp + 0x48]
xor rcx, rsp
call fcn.7ff64578c730
add rsp, 0x70
pop rbx
ret