Function at 0x14005e190
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.enkm]
lea rax, str.VMWARE
movups xmm1, xmmword [0x14018fa00]
xor ebx, ebx
cmp dword [0x14019d010], 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 [0x14018fa10]
movups xmmword [rsp + 0x68], xmm0
mov qword [rsp + 0x40], rax
movups xmm0, xmmword [0x14018fa30]
movups xmmword [rsp + 0x58], xmm1
mov dword [rbp + 0x28], 0x3f
movups xmm1, xmmword [0x14018fa20]
movups xmmword [rbp - 0x78], xmm0
movups xmmword [rsp + 0x78], xmm1
jl 0x14005e351
movdqa xmm5, xmmword [0x140190250]
lea rcx, [rsp + 0x48]
movdqa xmm4, xmmword [0x140190790]
mov edx, ebx
movaps xmmword [r11 - 0x28], xmm6
movdqa xmm6, xmmword [0x1401902d0]
movaps xmmword [r11 - 0x38], xmm7
movdqa xmm7, xmmword [0x140190320]
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 0x14005e250
movaps xmm7, xmmword [rsp + 0xe0]
movaps xmm6, xmmword [rsp + 0xf0]
jmp 0x14005e392
lea r8, [rsp + 0x48]
nop word [rax + rax]
mov eax, 0x24924925
lea r8, [r8 + 2]
mul ecx
mov eax, ecx
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movzx eax, ax
imul edx, eax, 0x38
movzx eax, cx
inc ecx
sub ax, dx
add ax, 0x36
xor word [r8 - 2], ax
cmp ecx, 0x28
jl 0x14005e360
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 0x14005e438
cmp word [0x14018f9ca], bx
mov eax, dword [0x14018f9c8]
mov dword [rbp + 0x20], eax
je 0x14005e3e2
xor word [rbp + 0x22], 0x37
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 0x14005e42e
lea rdi, [rsp + 0x30]
mov rdx, qword [rdi]
lea rcx, [rbp - 0x60]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x14005e44c
inc ebx
add rdi, 8
cmp ebx, 3
jb 0x14005e411
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