Function at 0x140009370
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 - 0x150]
sub rsp, 0x250
mov qword [rbp + 0x140], 0xfffffffffffffffe
mov qword [rsp + 0x298], rbx
mov r15, rdx
mov r14, rcx
lea r13, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rbp + 0x90], r13
lea rax, str.CVssRegistryValueIterator::GetCurrentValueContent
mov qword [rbp + 0x98], rax
lea rax, str.REGREGSC
mov qword [rbp + 0xa0], rax
mov dword [rbp + 0xa8], 0x3bb
mov dword [rbp + 0xac], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp + 0xb0], 0xff
xor r12d, r12d
mov dword [rbp + 0x130], 0x1000000
xor edx, edx
lea r8d, [r12 + 0x78]
lea rcx, [rbp + 0xb8]
call sub.msvcrt.dll_memset
mov dword [rbp + 0x18], r12d
mov rax, qword [rbp + 0x98]
mov qword [rbp + 0x38], rax
mov rax, qword [rbp + 0x90]
mov qword [rbp + 0x20], rax
mov rax, qword [rbp + 0xa0]
mov qword [rbp + 0x28], rax
mov eax, dword [rbp + 0xa8]
mov dword [rbp + 0x30], eax
mov eax, dword [rbp + 0xac]
mov dword [rbp + 0x34], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rbp + 0x44], eax
mov dword [rbp + 0x14], 0xffffffff
mov eax, dword [rbp + 0xb0]
mov dword [rbp + 0x48], eax
mov dword [rbp + 0x10], r12d
mov qword [rbp + 0x70], r12
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x50], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0x60], xmm1
mov qword [rsp + 0x58], r12
lea rcx, [rsp + 0x58]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
nop dword [rax + rax]
test eax, eax
js 0x14001fa9c
lea rcx, [rbp + 0x10]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
test eax, eax
js 0x14001fa9c
mov rax, qword [rsp + 0x58]
mov qword [rbp + 0x70], rax
test rax, rax
je 0x14001faa5
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp + 0x40], eax
mov ebx, RegisterTypeLib
cmp dword [rbp + 0x48], 0xff
cmovne ebx, dword [rbp + 0x48]
mov edi, dword [rbp + 0x34]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
nop dword [rax + rax]
lea rsi, str.ENTER
test eax, eax
jne 0x14001faae
mov edi, 0xf
cmp byte [rbp + 0x133], r12b
je 0x140009526
lea rbx, [rbp + 0xb8]
mov esi, edi
nop
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14001fb17
add rbx, 8
sub rsi, 1
jne 0x140009510
mov qword [rsp + 0x60], r13
lea r13, str.CVssRegistryValueIterator::ReadCurrentValueDetails
mov qword [rsp + 0x68], r13
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x45e
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x80], 0xff
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll_memset
mov dword [rbp + 0x98], r12d
mov rax, qword [rsp + 0x68]
mov qword [rbp + 0xb8], rax
mov rax, qword [rsp + 0x60]
mov qword [rbp + 0xa0], rax
mov rax, qword [rsp + 0x70]
mov qword [rbp + 0xa8], rax
mov eax, dword [rsp + 0x78]
mov dword [rbp + 0xb0], eax
mov eax, dword [rsp + 0x7c]
mov dword [rbp + 0xb4], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rbp + 0xc4], eax
mov dword [rbp + 0x94], 0xffffffff
mov eax, dword [rbp - 0x80]
mov dword [rbp + 0xc8], eax
mov dword [rbp + 0x90], r12d
mov qword [rbp + 0xf0], r12
xorps xmm0, xmm0
movdqa xmmword [rbp + 0xd0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rbp + 0xe0], xmm1
mov qword [rbp + 0x80], r12
lea rcx, [rbp + 0x80]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
nop dword [rax + rax]
test eax, eax
js 0x14001fb2b
lea rcx, [rbp + 0x90]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
test eax, eax
js 0x14001fb2b
mov rax, qword [rbp + 0x80]
mov qword [rbp + 0xf0], rax
test rax, rax
je 0x14001fb37
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp + 0xc0], eax
mov ebx, RegisterTypeLib
cmp dword [rbp + 0xc8], 0xff
cmovne ebx, dword [rbp + 0xc8]
mov esi, dword [rbp + 0xb4]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
nop dword [rax + rax]
test eax, eax
jne 0x14001fb43
cmp byte [rbp + 3], 0
je 0x1400096a7
lea rbx, [rbp - 0x78]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14001fbcb
add rbx, 8
sub rdi, 1
jne 0x140009691
cmp byte [r14 + 0x31], 0
je 0x14001ff51
mov r8, qword [r14 + 0x20]
test r8, r8
je 0x14001ff51
cmp byte [r14 + 0x30], 0
je 0x14001fbdf
mov rbx, r12
mov rcx, qword [rbp + rbx*8 + 0xd0]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp + rbx*8 + 0xd0], r12
inc rbx
cmp rbx, 4
jl 0x1400096cd
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov r9d, eax
sub r9d, dword [rbp + 0xc4]
mov eax, 0x10624dd3
mul r9d
mov r10d, edx
shr r10d, 6
imul ecx, r10d, 0x3e8
mov ebx, r9d
sub ebx, ecx
mov eax, 0x88888889
mul r10d
shr edx, 5
imul eax, edx, 0x3c
sub r10d, eax
mov eax, 0x45e7b273
mul r9d
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 r9d
mov r11d, edx
shr r11d, 0x15
mov eax, 0x88888889
mul r11d
shr edx, 5
imul eax, edx, 0x3c
sub r11d, eax
mov r8d, dword [rbp + 0xc8]
cmp r8d, 0xff
jne 0x140009786
mov r8d, RegisterTypeLib
mov eax, dword [rbp + 0x98]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], ecx
mov dword [rsp + 0x20], r11d
lea r9, str.Time_spent:__02ld:_02ld:_02ld__04ld__total:__x__HRESULT:__x
lea rdx, str.EXIT
lea rcx, [rbp + 0x90]
call fcn.14000a350
mov rcx, qword [rbp + 0xf0]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
cmp dword [r14 + 0x10], 4
jne 0x14001fd1a
mov ebx, dword [r14 + 0x2c]
cmp ebx, 4
jne 0x14001fd87
mov dword [rsp + 0x50], r12d
mov eax, dword [r14 + 0x28]
mov dword [rbp + 0x1a0], eax
mov dword [rbp + 0x1a8], r12d
mov dword [rbp + 8], ebx
lea rax, [rbp + 8]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x1a8]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x1a0]
mov r8, qword [r14 + 0x20]
mov edx, dword [r14 + 0xc]
mov rcx, qword [r14]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jne 0x14001fe01
mov ebx, dword [r14 + 0x10]
mov edi, dword [rbp + 0x1a8]
cmp edi, ebx
jne 0x14001fedc
mov eax, dword [rsp + 0x50]
mov dword [r15], eax
mov rbx, r12
mov rcx, qword [rbp + rbx*8 + 0x50]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp + rbx*8 + 0x50], r12
inc rbx
cmp rbx, 4
jl 0x14000986d
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov r8d, eax
sub r8d, dword [rbp + 0x44]
mov eax, 0x10624dd3
mul r8d
mov r9d, edx
shr r9d, 6
imul ecx, r9d, 0x3e8
mov ebx, r8d
sub ebx, ecx
mov eax, 0x88888889
mul r9d
shr edx, 5
imul ecx, edx, 0x3c
sub r9d, ecx
mov eax, 0x45e7b273
mul r8d
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 r8d
mov r11d, edx
shr r11d, 0x15
mov eax, 0x88888889
mul r11d
shr edx, 5
imul eax, edx, 0x3c
sub r11d, eax
mov ecx, dword [rbp + 0x48]
cmp ecx, 0xff
jne 0x14000991b
mov ecx, RegisterTypeLib
mov eax, dword [rbp + 0x18]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], r8d
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r9d
mov dword [rsp + 0x28], r10d
mov dword [rsp + 0x20], r11d
lea r9, str.Time_spent:__02ld:_02ld:_02ld__04ld__total:__x__HRESULT:__x
mov r8d, ecx
lea rdx, str.EXIT
lea rcx, [rbp + 0x10]
call fcn.14000a350
mov rcx, qword [rbp + 0x70]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
mov rbx, qword [rsp + 0x298]
add rsp, 0x250
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov rax, qword [rbp + 0x70]
jmp 0x1400094b9
mov dword [rbp + 0x40], r12d
jmp 0x1400094ca
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
nop dword [rax + rax]
test eax, eax
je 0x1400094f8
lea rcx, [rbp + 0x10]
call fcn.1400c3fe4
cmp dword [rbp + 0x10], r12d
je 0x1400094f8
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], ebx
mov qword [rsp + 0x30], rsi
mov rax, qword [rbp + 0x38]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0x34]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0x40]
mov r8d, dword [rbp + 0x30]
mov rdx, qword [rbp + 0x28]
mov rcx, qword [rbp + 0x20]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop dword [rax + rax]
nop
jmp 0x1400094f8
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbx], r12
jmp 0x14000951c
mov rax, qword [rbp + 0xf0]
jmp 0x140009643
mov dword [rbp + 0xc0], r12d
jmp 0x140009657
mov ecx, esi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
nop dword [rax + rax]
test eax, eax
je 0x140009687
lea rcx, [rbp + 0x90]
call fcn.1400c3fe4
cmp dword [rbp + 0x90], 0
je 0x140009687
mov qword [rsp + 0x40], r12
mov dword [rsp + 0x38], ebx
lea rax, str.ENTER
mov qword [rsp + 0x30], rax
mov rax, qword [rbp + 0xb8]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0xb4]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbp + 0xc0]
mov r8d, dword [rbp + 0xb0]
mov rdx, qword [rbp + 0xa8]
mov rcx, qword [rbp + 0xa0]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop dword [rax + rax]
nop
jmp 0x140009687
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbx], r12
jmp 0x14000969d
mov eax, dword [r14 + 0x28]
mov dword [rbp + 0x190], eax
lea rax, [r14 + 0x2c]
lea rcx, [r14 + 0x10]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], r12
mov qword [rsp + 0x28], rcx
mov qword [rsp + 0x20], r12
lea r9, [rbp + 0x190]
mov edx, dword [r14 + 0xc]
mov rcx, qword [r14]
call qword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegEnumValueW]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
je 0x14001fd03
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x68], r13
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x80], 0xff
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x60], rax
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
cmp ebx, 0x103
je 0x14001fcc7
mov dword [rsp + 0x78], 0x47a
call sub.msvcrt.dll_memset
mov rcx, qword [r14 + 0x20]
test ebx, ebx
jle 0x14001fc8c
movzx ebx, bx
or ebx, 0x80070000
mov eax, dword [rbp + 0x190]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rcx
mov eax, dword [r14 + 0xc]
mov dword [rsp + 0x28], eax
mov rax, qword [r14]
mov qword [rsp + 0x20], rax
lea r9, str.RegEnumValue__p__lu__p__lu_..._
mov r8d, ebx
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x90]
call fcn.1400c2a9c
int3
mov dword [rsp + 0x78], 0x47e
call sub.msvcrt.dll_memset
mov eax, dword [r14 + 8]
mov dword [rsp + 0x28], eax
mov eax, dword [r14 + 0xc]
mov dword [rsp + 0x20], eax
lea r9, str.Unexpected_error:_dwIndex_out_of_scope__lu__lu
mov r8d, 0x8000ffff
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x90]
call fcn.1400c2a9c
int3
mov byte [r14 + 0x30], 1
lea rcx, [rbp + 0x90]
call fcn.140009990
nop
jmp 0x1400097d4
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x60], rax
lea rax, str.CVssRegistryValueIterator::GetCurrentValueContent
mov qword [rsp + 0x68], rax
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x3c1
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x80], 0xff
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll_memset
lea r9, str.Unexpected_error:_attempting_to_read_a_value_of_the_wrong_type
mov r8d, 0x8000ffff
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c2a9c
int3
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x60], rax
lea rax, str.CVssRegistryValueIterator::GetCurrentValueContent
mov qword [rsp + 0x68], rax
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x3c6
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x80], 0xff
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll_memset
mov qword [rsp + 0x28], 4
mov dword [rsp + 0x20], ebx
lea r9, str.Unexpected_error:_unexpected_DWORD_size___ld___ld_
mov r8d, 0x8000ffff
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c2a9c
int3
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x80], 0xff
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x78]
mov qword [rsp + 0x60], rax
lea rax, str.CVssRegistryValueIterator::GetCurrentValueContent
mov qword [rsp + 0x68], rax
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
cmp ebx, 0x103
je 0x14001fea3
mov dword [rsp + 0x78], 0x3e5
call sub.msvcrt.dll_memset
mov rcx, qword [r14 + 0x20]
test ebx, ebx
jle 0x14001fe6b
movzx ebx, bx
or ebx, 0x80070000
mov eax, dword [rbp + 0x1a0]
mov dword [rsp + 0x38], eax
mov qword [rsp + 0x30], rcx
mov eax, dword [r14 + 0xc]
mov dword [rsp + 0x28], eax
mov rax, qword [r14]
mov qword [rsp + 0x20], rax
lea r9, str.RegEnumValue__p__lu__p__lu_..._
mov r8d, ebx
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c2a9c
int3
mov dword [rsp + 0x78], 0x3e3
call sub.msvcrt.dll_memset
mov eax, dword [r14 + 8]
mov dword [rsp + 0x28], eax
mov eax, dword [r14 + 0xc]
mov dword [rsp + 0x20], eax
lea r9, str.Unexpected_error:_dwIndex_out_of_scope__lu__lu
mov r8d, 0x8000ffff
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c2a9c
int3
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x60], rax
lea rax, str.CVssRegistryValueIterator::GetCurrentValueContent
mov qword [rsp + 0x68], rax
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x3dd
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x80], 0xff
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], edi
lea r9, str.Unexpected_error:_current_value_type_changed_in_the_meantime__lu__lu
mov r8d, 0x8000ffff
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x10]
call fcn.1400c2a9c
nop
lea rax, str.base_stor_vssmodules_registry_registry.cxx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], r13
lea rax, str.REGREGSC
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x462
mov dword [rsp + 0x7c], reloc.VssTrace.DLL_Ordinal_11
mov dword [rbp - 0x80], 0xff
mov dword [rbp], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp - 0x78]
call sub.msvcrt.dll_memset
lea r9, str.Unexpected_error:_noninitialized_iterator
mov r8d, 0x8000ffff
lea rdx, [rsp + 0x60]
lea rcx, [rbp + 0x90]
call fcn.1400c2a9c
int3