Function at 0x14001fd90
Capabilities:
Check for time delay via queryperformancecounter
Query or enumerate registry value

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x20]
sub rsp, 0x120
mov rax, qword [0x1400a97c0]
xor rax, rsp
mov qword [rbp + 0x10], rax
xorps xmm0, xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
call fcn.14001e930
mov byte [rsp + 0x30], al
call fcn.14001ed40
mov byte [rsp + 0x31], al
call fcn.14001e6a0
mov byte [rsp + 0x32], al
call fcn.14001dcc0
mov byte [rsp + 0x33], al
call fcn.14001f290
mov byte [rsp + 0x34], al
lea rcx, [rsp + 0x60]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
lea rcx, [rsp + 0x40]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ecx, 0x3e8
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x48]
call qword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov rax, qword [rsp + 0x48]
sub rax, qword [rsp + 0x40]
xorps xmm2, xmm2
cvtsi2sd xmm2, rax
xorps xmm0, xmm0
cvtsi2sd xmm0, qword [rsp + 0x60]
divsd xmm2, xmm0
movsd xmm1, qword [0x14009ac88]
comisd xmm1, xmm2
ja 0x14001fe56
comisd xmm2, xmmword [0x14009ac90]
ja 0x14001fe56
xor al, al
jmp 0x14001fe58
mov al, 1
mov byte [rsp + 0x35], al
call fcn.14001fa40
mov byte [rsp + 0x36], al
mov dword [rsp + 0x40], 0x80
lea rax, [rsp + 0x48]
mov qword [rsp + 0x20], rax
mov r9d, 0x20019
xor r8d, r8d
lea rdx, str.HARDWAREDEVICEMAPScsiScsi_Port_0Scsi_Bus_0Target_Id_0Logical_Unit_Id_0
mov rcx, 0xffffffff80000002
call qword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x14001ff0d
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, str.Identifier
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x14001ff02
lea rdx, str.VMware
lea rcx, [rbp - 0x70]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
jne 0x14001fef3
lea rdx, str.VBOX
lea rcx, [rbp - 0x70]
call qword [sym.imp.VCRUNTIME140.dll_strstr]
test rax, rax
je 0x14001ff02
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, 1
jmp 0x14001ff0f
mov rcx, qword [rsp + 0x48]
call qword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor al, al
mov byte [rsp + 0x37], al
lea rcx, [rsp + 0x48]
call fcn.1400021b0
xor ebx, ebx
mov dword [rsp + 0x40], ebx
mov eax, dword [rsp + 0x40]
nop word [rax + rax]
mov eax, dword [rsp + 0x40]
inc eax
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x40]
cmp eax, 0x5f5e100
jl 0x14001ff30
lea rcx, [rsp + 0x60]
call fcn.1400021b0
mov rax, qword [rsp + 0x60]
sub rax, qword [rsp + 0x48]
xorps xmm0, xmm0
cvtsi2sd xmm0, rax
divsd xmm0, qword [0x14009acd0]
comisd xmm0, xmmword [0x14009ac80]
seta byte [rsp + 0x38]
lea r9, [rsp + 0x30]
lea rax, [rsp + 0x39]
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x70], xmm0
mov qword [rbp - 0x80], rbx
mov qword [rbp - 0x78], rbx
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rbx
movaps xmm0, xmmword [rsp + 0x60]
movdqa xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x20], rax
lea r8, [rsp + 0x60]
lea rdx, [rsp + 0x48]
lea rcx, [rsp + 0x70]
call fcn.1400201e0
nop
xor dil, dil
mov r9, qword [rbp - 0x78]
mov r8, qword [rsp + 0x70]
test r9, r9
je 0x14002002a
mov rax, rbx
nop dword [rax]
nop dword [rax + rax]
mov rdx, rax
shr rdx, 5
and al, 0x1f
movzx ecx, al
mov eax, dword [r8 + rdx*4]
bt eax, ecx
jae 0x140020020
mov edx, ebx
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___int____ptr64]
lea rdx, [0x14000b340]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov dil, 1
mov r9, qword [rbp - 0x78]
mov r8, qword [rsp + 0x70]
inc ebx
movsxd rax, ebx
cmp rax, r9
jb 0x14001ffe0
test r8, r8
je 0x14002006a
mov rdx, qword [rbp - 0x80]
sub rdx, r8
and rdx, 0xfffffffffffffffc
mov rax, r8
cmp rdx, 0x1000
jb 0x140020062
add rdx, 0x27
mov r8, qword [r8 - 8]
sub rax, r8
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140020062
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, r8
call fcn.140083ac4
movzx eax, dil
mov rcx, qword [rbp + 0x10]
xor rcx, rsp
call fcn.140083820
lea r11, [rsp + 0x120]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret