Function at 0x140005a50
Capabilities:
Check for time delay via gettickcount
Query or enumerate registry value

Disassembly:
mov qword [rsp + 0x10], rbx
mov byte [rsp + 0x20], r9b
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x80]
sub rsp, 0x180
mov r12, r8
mov r15, rdx
mov r14, rcx
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rbp - 0x30], rax
lea rax, str.CVssRegistryKey::GetValue
mov qword [rbp - 0x28], rax
lea rax, str.REGREGSC
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], 0x1f8
mov dword [rbp - 0x14], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x10], 0xff
xor r13d, r13d
mov dword [rbp + 0x70], 0x1000000
xor edx, edx
lea r8d, [r13 + 0x78]
lea rcx, [rbp - 8]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x68], r13d
mov rax, qword [rbp - 0x28]
mov qword [rbp - 0x78], rax
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x70], rax
mov rax, qword [rbp - 0x20]
mov qword [rsp + 0x78], rax
mov eax, dword [rbp - 0x18]
mov dword [rbp - 0x80], eax
mov eax, dword [rbp - 0x14]
mov dword [rbp - 0x7c], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rbp - 0x6c], eax
mov dword [rsp + 0x64], 0xffffffff
mov eax, dword [rbp - 0x10]
mov dword [rbp - 0x68], eax
mov dword [rsp + 0x60], r13d
mov qword [rbp - 0x40], r13
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x60], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x50], xmm1
mov qword [rbp + 0x78], r13
lea rcx, [rbp + 0x78]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
nop dword [rax + rax]
test eax, eax
js 0x14001f1b4
lea rcx, [rsp + 0x60]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
test eax, eax
js 0x14001f1b4
mov rax, qword [rbp + 0x78]
mov qword [rbp - 0x40], rax
test rax, rax
je 0x14001f1bd
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp - 0x70], eax
mov esi, 0xa0
mov ebx, esi
cmp dword [rbp - 0x68], 0xff
cmovne ebx, dword [rbp - 0x68]
mov edi, dword [rbp - 0x7c]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
nop dword [rax + rax]
test eax, eax
jne 0x14001f1c6
cmp byte [rbp + 0x73], r13b
je 0x140005bc6
lea rbx, [rbp - 8]
mov edi, 0xf
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14001f23a
add rbx, 8
sub rdi, 1
jne 0x140005bb0
mov dword [r12], r13d
mov dword [rbp + 0xd8], r13d
mov dword [rbp + 0xc0], r13d
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r13
lea r9, [rbp + 0xd8]
xor r8d, r8d
mov rdx, r15
mov rcx, qword [r14 + 8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
cmp eax, 2
jne 0x14001f24e
lea rax, str.FALSE
mov qword [rsp + 0x20], rax
lea r9, str.Returning_BOOL:__s
mov r8d, 0xaa
lea rdx, str.RETURN
lea rcx, [rsp + 0x60]
call fcn.14000a3f0
nop
mov rbx, r13
mov rcx, qword [rbp + rbx*8 - 0x60]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp + rbx*8 - 0x60], r13
inc rbx
cmp rbx, 4
jl 0x140005c3f
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov ebx, eax
sub ebx, dword [rbp - 0x6c]
mov eax, 0x10624dd3
mul ebx
mov r11d, edx
shr r11d, 6
imul ecx, r11d, 0x3e8
mov r10d, ebx
sub r10d, ecx
mov eax, 0x88888889
mul r11d
shr edx, 5
imul eax, edx, 0x3c
sub r11d, eax
mov eax, 0x45e7b273
mul ebx
mov r9d, edx
shr r9d, 0xe
mov eax, 0x88888889
mul r9d
shr edx, 5
imul ecx, edx, 0x3c
sub r9d, ecx
mov eax, 0x95217cb1
mul ebx
mov ecx, edx
shr ecx, 0x15
mov eax, 0x88888889
mul ecx
shr edx, 5
imul eax, edx, 0x3c
sub ecx, eax
cmp dword [rbp - 0x68], 0xff
cmovne esi, dword [rbp - 0x68]
mov eax, dword [rsp + 0x68]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], r10d
mov dword [rsp + 0x30], r11d
mov dword [rsp + 0x28], r9d
mov dword [rsp + 0x20], ecx
lea r9, str.Time_spent:__02ld:_02ld:_02ld__04ld__total:__x__HRESULT:__x
mov r8d, esi
lea rdx, str.EXIT
lea rcx, [rsp + 0x60]
call fcn.14000a3f0
mov rcx, qword [rbp - 0x40]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
xor al, al
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x180
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbp - 0x40]
jmp 0x140005b67
mov dword [rbp - 0x70], r13d
jmp 0x140005b78
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
nop dword [rax + rax]
test eax, eax
je 0x140005ba1
lea rcx, [rsp + 0x60]
call fcn.1400c73b0
cmp dword [rsp + 0x60], r13d
je 0x140005ba1
mov qword [rsp + 0x40], r13
mov dword [rsp + 0x38], ebx
lea rax, str.ENTER
mov qword [rsp + 0x30], rax
mov rax, qword [rbp - 0x78]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp - 0x7c]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp - 0x70]
mov r8d, dword [rbp - 0x80]
mov rdx, qword [rsp + 0x78]
mov rcx, qword [rsp + 0x70]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop dword [rax + rax]
nop
jmp 0x140005ba1
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbx], r13
jmp 0x140005bbc
test eax, eax
je 0x14001f2fe
cmp eax, 0xea
je 0x14001f2fe
mov rdi, qword [r14 + 0x18]
mov rsi, qword [r14 + 8]
test eax, eax
jle 0x14001f276
movzx ebx, ax
or ebx, 0x80070000
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rbp - 0x30], rax
lea rax, str.CVssRegistryKey::GetValue
mov qword [rbp - 0x28], rax
lea rax, str.REGREGSC
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], 0x217
mov dword [rbp - 0x14], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x10], 0xff
mov dword [rbp + 0x70], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 8]
call sub.msvcrt.dll_memset
mov eax, dword [rbp + 0xc0]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0xd8]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
lea r9, str.RegQueryValueExW_0x_08lx__s___s_0___lx__0___lu__
mov r8d, ebx
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400c5eb0
int3
cmp dword [rbp + 0xd8], 4
je 0x14001f378
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rbp - 0x30], rax
lea rax, str.CVssRegistryKey::GetValue
mov qword [rbp - 0x28], rax
lea rax, str.REGREGSC
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], 0x21e
mov dword [rbp - 0x14], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x10], 0xff
mov dword [rbp + 0x70], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 8]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x20], r15
mov r9, qword [r14 + 0x18]
lea r8, str.Expected_REG_DWORD_type_for_registry_key__s_value_name__s._The_present_value_has_been_ignored
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400c47c0
xor edx, edx
jmp 0x14001f4fc
mov esi, dword [rbp + 0xc0]
cmp esi, 4
je 0x14001f40a
mov rbx, qword [r14 + 0x18]
mov rdi, qword [r14 + 8]
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rbp - 0x30], rax
lea rax, str.CVssRegistryKey::GetValue
mov qword [rbp - 0x28], rax
lea rax, str.REGREGSC
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], 0x22b
mov dword [rbp - 0x14], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x10], 0xff
mov dword [rbp + 0x70], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 8]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], esi
lea r9, str.Unexpected_size__lu_for_a_DWORD_value_0x_08lx__s___s
mov r8d, 0x8000ffff
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400c5eb0
int3
mov dword [rsp + 0x50], r13d
mov dword [rbp + 0xd0], 4
mov dword [rsp + 0x54], r13d
lea rax, [rbp + 0xd0]
mov qword [rsp + 0x28], rax
lea rax, [rsp + 0x54]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x50]
xor r8d, r8d
mov rdx, r15
mov rcx, qword [r14 + 8]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14001f4f2
mov rdi, qword [r14 + 0x18]
mov rsi, qword [r14 + 8]
jle 0x14001f46c
movzx ebx, ax
or ebx, 0x80070000
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rbp - 0x30], rax
lea rax, str.CVssRegistryKey::GetValue
mov qword [rbp - 0x28], rax
lea rax, str.REGREGSC
mov qword [rbp - 0x20], rax
mov dword [rbp - 0x18], 0x23a
mov dword [rbp - 0x14], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x10], 0xff
mov dword [rbp + 0x70], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 8]
call sub.msvcrt.dll_memset
mov eax, dword [rbp + 0xd0]
mov dword [rsp + 0x40], eax
mov eax, dword [rsp + 0x50]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rdi
mov qword [rsp + 0x20], rsi
lea r9, str.RegQueryValueExW_0x_08lx__s___s_0___lx__0___lu__
mov r8d, ebx
lea rdx, [rbp - 0x30]
lea rcx, [rsp + 0x60]
call fcn.1400c5eb0
int3
mov eax, dword [rsp + 0x54]
mov dword [r12], eax
mov dl, 1
lea rcx, [rsp + 0x60]
call fcn.140032df4
movzx ebx, al
lea rcx, [rsp + 0x60]
call fcn.1400148c0
movzx eax, bl
jmp 0x140005d2c