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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov qword [rbp + 0x68], 0xfffffffffffffffe
mov qword [rsp + 0x1c8], rbx
mov rsi, rcx
lea r12, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rbp - 0x40], r12
lea r13, str.CVssRegistryValueIterator::ReadCurrentValueDetails
mov qword [rbp - 0x38], r13
lea rax, str.REGREGSC
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], 0x45e
mov dword [rbp - 0x24], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x20], 0xff
xor r15d, r15d
mov dword [rbp + 0x60], 0x1000000
lea rdi, [rbp - 0x18]
xor eax, eax
mov ebx, 0xf
mov ecx, ebx
rep stosq qword [rdi], rax
mov dword [rsp + 0x58], r15d
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x78], rax
mov rax, qword [rbp - 0x40]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x68], rax
mov eax, dword [rbp - 0x28]
mov dword [rsp + 0x70], eax
mov eax, dword [rbp - 0x24]
mov dword [rsp + 0x74], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov dword [rbp - 0x7c], eax
mov dword [rsp + 0x54], 0xffffffff
mov eax, dword [rbp - 0x20]
mov dword [rbp - 0x78], eax
mov dword [rsp + 0x50], r15d
mov qword [rbp - 0x50], r15
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x70], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp - 0x60], xmm1
mov qword [rbp + 0xb8], r15
lea rcx, [rbp + 0xb8]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x1400505a4
lea rcx, [rsp + 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x1400505a4
mov rax, qword [rbp + 0xb8]
mov qword [rbp - 0x50], rax
test rax, rax
je 0x1400505ad
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp - 0x80], eax
mov edi, RegisterTypeLib
cmp dword [rbp - 0x78], 0xff
cmovne edi, dword [rbp - 0x78]
mov r14d, dword [rsp + 0x74]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x1400505b6
cmp byte [rbp + 0x63], r15b
je 0x14001bed7
lea rdi, [rbp - 0x18]
mov rcx, qword [rdi]
test rcx, rcx
jne 0x140050622
add rdi, 8
sub rbx, 1
jne 0x14001bec1
cmp byte [rsi + 0x31], 0
je 0x1400506f4
mov r8, qword [rsi + 0x20]
test r8, r8
je 0x1400506f4
cmp byte [rsi + 0x30], 0
je 0x14001bff4
mov rdi, r15
mov rcx, qword [rbp + rdi*8 - 0x70]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbp + rdi*8 - 0x70], r15
inc rdi
cmp rdi, 4
jl 0x14001befb
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov edi, eax
sub edi, dword [rbp - 0x7c]
mov eax, 0x10624dd3
mul edi
mov r9d, edx
shr r9d, 6
imul ecx, r9d, 0x3e8
mov r11d, edi
sub r11d, ecx
mov eax, 0x88888889
mul r9d
shr edx, 5
imul eax, edx, 0x3c
sub r9d, eax
mov eax, 0x45e7b273
mul edi
mov r10d, edx
shr r10d, 0xe
mov eax, 0x88888889
mul r10d
shr edx, 5
imul ecx, edx, 0x3c
sub r10d, ecx
mov eax, 0x95217cb1
mul edi
mov ecx, edx
shr ecx, 0x15
mov eax, 0x88888889
mul ecx
shr edx, 5
imul eax, edx, 0x3c
sub ecx, eax
mov r8d, dword [rbp - 0x78]
cmp r8d, 0xff
jne 0x14001bf98
mov r8d, RegisterTypeLib
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], ecx
lea r9, str.Time_spent:__02ld:_02ld:_02ld__04ld__total:__x__HRESULT:__x
lea rdx, str.EXIT
lea rcx, [rsp + 0x50]
call fcn.14001d380
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
mov rbx, qword [rsp + 0x1c8]
add rsp, 0x170
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov eax, dword [rsi + 0x28]
mov dword [rbp + 0xb0], eax
lea rax, [rsi + 0x2c]
lea rcx, [rsi + 0x10]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r15
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0xb0]
mov edx, dword [rsi + 0xc]
mov rcx, qword [rsi]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
mov edi, eax
test eax, eax
jne 0x140050630
mov byte [rsi + 0x30], 1
mov rdi, r15
mov rcx, qword [rbp + rdi*8 - 0x70]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbp + rdi*8 - 0x70], r15
inc rdi
cmp rdi, 4
jl 0x14001c03d
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov edi, eax
sub edi, dword [rbp - 0x7c]
mov eax, 0x10624dd3
mul edi
mov r9d, edx
shr r9d, 6
imul ecx, r9d, 0x3e8
mov r11d, edi
sub r11d, ecx
mov eax, 0x88888889
mul r9d
shr edx, 5
imul eax, edx, 0x3c
sub r9d, eax
mov eax, 0x45e7b273
mul edi
mov ecx, edx
shr ecx, 0xe
mov eax, 0x88888889
mul ecx
shr edx, 5
imul eax, edx, 0x3c
sub ecx, eax
mov eax, 0x95217cb1
mul edi
mov r10d, edx
shr r10d, 0x15
mov eax, 0x88888889
mul r10d
shr edx, 5
imul eax, edx, 0x3c
sub r10d, eax
mov r8d, dword [rbp - 0x78]
cmp r8d, 0xff
jne 0x14001c0da
mov r8d, RegisterTypeLib
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], edi
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r10d
jmp 0x14001bfb7
mov rax, qword [rbp - 0x50]
jmp 0x14001be83
mov dword [rbp - 0x80], r15d
jmp 0x14001be94
mov ecx, r14d
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x14001beb7
lea rcx, [rsp + 0x50]
call fcn.1400dde58
cmp dword [rsp + 0x50], r15d
je 0x14001beb7
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], edi
lea rax, str.ENTER
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x78]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x74]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp - 0x80]
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop
jmp 0x14001beb7
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rdi], r15
jmp 0x14001becd
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r13
lea rax, str.REGREGSC
mov dword [rbp - 0x24], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x20], 0xff
mov dword [rbp + 0x60], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x18]
mov qword [rbp - 0x30], rax
cmp edi, 0x103
je 0x1400506be
mov dword [rbp - 0x28], 0x47a
call sub.msvcrt.dll_memset
mov rcx, qword [rsi + 0x20]
test edi, edi
jle 0x140050687
movzx edi, di
or edi, 0x80070000
mov eax, dword [rbp + 0xb0]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rcx
mov eax, dword [rsi + 0xc]
mov dword [rsp + 0x28], eax
mov rax, qword [rsi]
mov qword [rsp + 0x20], rax
lea r9, str.RegEnumValue__p__lu__p__lu_..._
mov r8d, edi
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x50]
call fcn.1400dcb7c
int3
mov dword [rbp - 0x28], 0x47e
call sub.msvcrt.dll_memset
mov eax, dword [rsi + 8]
mov dword [rsp + 0x28], eax
mov eax, dword [rsi + 0xc]
mov dword [rsp + 0x20], eax
lea r9, str.Unexpected_error:_dwIndex_out_of_scope__lu__lu
mov r8d, 0x8000ffff
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x50]
call fcn.1400dcb7c
int3
mov qword [rbp - 0x40], r12
mov qword [rbp - 0x38], r13
lea rax, str.REGREGSC
mov qword [rbp - 0x30], rax
mov dword [rbp - 0x28], 0x462
mov dword [rbp - 0x24], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x20], 0xff
mov dword [rbp + 0x60], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x18]
call sub.msvcrt.dll_memset
lea r9, str.Unexpected_error:_noninitialized_iterator
mov r8d, 0x8000ffff
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x50]
call fcn.1400dcb7c
int3