Function at 0x140004f20
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov qword [rsp + 8], rcx
push rbp
push rbx
push rsi
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov qword [rbp - 0x40], 0xfffffffffffffffe
lea r14, str.base_stor_vssmodulescoord_src_svc.cxx
mov qword [rbp - 0x38], r14
lea r15, str.CVsServiceModule::Unlock
mov qword [rbp - 0x30], r15
lea r12, str.CORSVCC
mov qword [rbp - 0x28], r12
mov dword [rbp - 0x20], 0x39a
mov dword [rbp - 0x1c], 1
mov dword [rbp - 0x18], 0xff
xor esi, esi
mov dword [rbp + 0x68], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rbp - 0x10]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x58], esi
mov rax, qword [rbp - 0x30]
mov qword [rsp + 0x78], rax
mov rax, qword [rbp - 0x38]
mov qword [rsp + 0x60], rax
mov rax, qword [rbp - 0x28]
mov qword [rsp + 0x68], rax
mov eax, dword [rbp - 0x20]
mov dword [rsp + 0x70], eax
mov eax, dword [rbp - 0x1c]
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 - 0x18]
mov dword [rbp - 0x78], eax
mov dword [rsp + 0x50], esi
mov qword [rbp - 0x50], rsi
mov qword [rbp - 0x70], rsi
mov qword [rbp - 0x68], rsi
mov qword [rbp - 0x60], rsi
mov qword [rbp - 0x58], rsi
mov qword [rbp + 0x200], rsi
lea rcx, [rbp + 0x200]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
test eax, eax
js 0x14003ef48
lea rcx, [rsp + 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
test eax, eax
js 0x14003ef48
mov rax, qword [rbp + 0x200]
mov qword [rbp - 0x50], rax
test rax, rax
jne 0x140005231
mov dword [rbp - 0x80], esi
mov ebx, RegisterTypeLib
cmp dword [rbp - 0x78], 0xff
cmovne ebx, dword [rbp - 0x78]
mov edi, dword [rsp + 0x74]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
test eax, eax
jne 0x14003ef51
cmp byte [rbp + 0x6b], sil
je 0x140005086
lea rbx, [rbp - 0x10]
mov edi, 0xf
nop word [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14003efbb
add rbx, 8
sub rdi, 1
jne 0x140005070
or edi, 0xffffffff
lock xadd dword [0x14016bd30], edi
sub edi, 1
je 0x140005193
mov rbx, rsi
mov rcx, qword [rbp + rbx*8 - 0x70]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbp + rbx*8 - 0x70], rsi
inc rbx
cmp rbx, 4
jl 0x14000509d
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov r9d, eax
sub r9d, dword [rbp - 0x7c]
mov eax, 0x10624dd3
mul r9d
mov r10d, edx
shr r10d, 6
imul ecx, r10d, 0x3e8
mov esi, r9d
sub esi, ecx
mov eax, 0x88888889
mul r10d
shr edx, 5
imul eax, edx, 0x3c
sub r10d, eax
mov eax, 0x45e7b273
mul r9d
mov r11d, edx
shr r11d, 0xe
mov eax, 0x88888889
mul r11d
shr edx, 5
imul ecx, edx, 0x3c
sub r11d, ecx
mov eax, 0x95217cb1
mul r9d
mov ebx, edx
shr ebx, 0x15
mov eax, 0x88888889
mul ebx
shr edx, 5
imul eax, edx, 0x3c
sub ebx, eax
mov r8d, dword [rbp - 0x78]
cmp r8d, 0xff
jne 0x14000513e
mov r8d, RegisterTypeLib
mov ecx, dword [rsp + 0x58]
mov dword [rsp + 0x48], ecx
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], esi
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
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 eax, edi
add rsp, 0x2c0
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rax, qword [0x14016bec0]
mov qword [rbp + 0x208], rax
mov qword [rbp + 0x70], r14
mov qword [rbp + 0x78], r15
mov qword [rbp + 0x80], r12
mov dword [rbp + 0x88], 0x3a3
mov dword [rbp + 0x8c], 1
mov dword [rbp + 0x90], 0xff
mov dword [rbp + 0x110], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp + 0x98]
call sub.msvcrt.dll_memset
lea r8, str.VSSVC:_Idle_period_begins
lea rdx, [rbp + 0x70]
lea rcx, [rsp + 0x50]
call fcn.14001cc70
mov dword [rsp + 0x28], esi
mov qword [rsp + 0x20], rsi
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp + 0x208]
mov rcx, qword [0x14016be38]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_SetWaitableTimer]
test eax, eax
je 0x14003efc9
mov edi, esi
jmp 0x14000509a
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp - 0x80], eax
jmp 0x140005036
mov rax, qword [rbp - 0x50]
jmp 0x14000502a
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
test eax, eax
je 0x140005058
lea rcx, [rsp + 0x50]
call fcn.1400dde58
cmp dword [rsp + 0x50], esi
je 0x140005058
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], ebx
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 0x140005058
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
mov qword [rbx], rsi
jmp 0x14000507c
mov qword [rbp + 0x118], r14
mov qword [rbp + 0x120], r15
mov qword [rbp + 0x128], r12
mov dword [rbp + 0x130], 0x3a8
mov dword [rbp + 0x134], 1
mov dword [rbp + 0x138], 0xff
mov dword [rbp + 0x1b8], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rbp + 0x140]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov r9d, eax
lea r8, str.SetWaitableTimer_...___0x_08lx_
lea rdx, [rbp + 0x118]
lea rcx, [rsp + 0x50]
call fcn.1400dbc64
nop
jmp 0x14000522a