Function at 0x14005f680
Capabilities:
Encode data using xor
Query or enumerate registry value

Disassembly:
mov r11, rsp
push rbp
push rbx
lea rbp, [r11 - 0x18]
sub rsp, 0x108
movups xmm0, xmmword [str.bk__pkVTONRRl_5rsu]
lea rax, str.VMWARE
movups xmm1, xmmword [0x140191bd0]
xor ebx, ebx
cmp dword [0x14019f010], 2
mov ecx, ebx
mov qword [rsp + 0x30], rax
lea rax, str.VBOX
movups xmmword [rsp + 0x48], xmm0
mov qword [rsp + 0x38], rax
lea rax, str.VIRTUAL
movups xmm0, xmmword [0x140191be0]
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [0x140191c00]
movups xmmword [rsp + 0x58], xmm1
mov dword [rbp + 0x28], 0x3f
movups xmm1, xmmword [0x140191bf0]
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rsp + 0x78], xmm1
jl 0x14005f841
movdqa xmm5, xmmword [0x140192400]
lea rcx, [rsp + 0x48]
movdqa xmm4, xmmword [0x140192950]
mov edx, ebx
movaps xmmword [r11 - 0x28], xmm6
movdqa xmm6, xmmword [0x140192480]
movaps xmmword [r11 - 0x38], xmm7
movdqa xmm7, xmmword [0x1401924d0]
nop dword [rax + rax]
movd xmm2, edx
lea eax, [rdx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 0x10]
paddd xmm2, xmm5
add edx, 8
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 0x10]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
movd xmm2, eax
pshufd xmm2, xmm2, 0
xorps xmm3, xmm0
movq qword [rcx - 0x10], xmm3
paddd xmm2, xmm5
movdqa xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshufhw xmm0, xmm2, 0xd8
movq xmm2, xmm7
pshuflw xmm1, xmm0, 0xd8
movq xmm0, qword [rcx - 8]
pshufd xmm3, xmm1, 0xd8
paddw xmm3, xmm2
xorps xmm3, xmm0
movq qword [rcx - 8], xmm3
cmp edx, 0x28
jl 0x14005f740
movaps xmm7, xmmword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0xf0]
jmp 0x14005f87a
lea r8, [rsp + 0x48]
nop word [rax + rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 2]
mul ecx
shr edx, 5
movzx eax, dx
imul edx, eax, 0x3a
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x31
xor word [r8 - 2], ax
cmp ecx, 0x28
jl 0x14005f850
lea rax, [rbp + 0x30]
mov qword [rsp + 0x100], rdi
mov r9d, 0x20019
mov qword [rsp + 0x20], rax
xor r8d, r8d
lea rdx, [rsp + 0x48]
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x14005f927
cmp word [0x140191b8a], bx
mov eax, dword [0x140191b88]
mov dword [rbp + 0x20], eax
je 0x14005f8ca
xor word [rbp + 0x22], 0x32
mov eax, 0x30
mov word [rbp + 0x20], ax
mov rcx, qword [rbp + 0x30]
lea rax, [rbp + 0x28]
mov qword [rsp + 0x28], rax
lea rdx, [rbp + 0x20]
lea rax, [rbp - 0x60]
xor r9d, r9d
xor r8d, r8d
mov qword [rsp + 0x20], rax
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x14005f91d
lea rdi, [rsp + 0x30]
nop dword [rax]
mov rdx, qword [rdi]
lea rcx, [rbp - 0x60]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x14005f93b
inc ebx
add rdi, 8
cmp ebx, 3
jb 0x14005f900
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
mov rdi, qword [rsp + 0x100]
add rsp, 0x108
pop rbx
pop rbp
ret
mov rcx, qword [rbp + 0x30]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov rdi, qword [rsp + 0x100]
mov eax, 1
add rsp, 0x108
pop rbx
pop rbp
ret