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

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
mov qword [rsp + 0x20], rdi
mov qword [rsp + 8], rcx
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1c0]
sub rsp, 0x2c0
mov esi, 1
mov dword [rbp - 0x28], 0x39a
lea r15, str.base_stor_vssmodulescoord_src_svc.cxx
mov dword [rbp - 0x24], esi
lea r12, str.CVsServiceModule::Lock
mov qword [rbp - 0x40], r15
lea r13, str.CORSVCC
mov qword [rbp - 0x38], r12
lea r8d, [rsi + 0x77]
mov qword [rbp - 0x30], r13
xor edx, edx
mov dword [rbp - 0x20], 0xff
lea rcx, [rbp - 0x18]
mov dword [rbp + 0x60], 0x1000000
xor r14d, r14d
call sub.msvcrt.dll_memset
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
mov dword [rsp + 0x58], r14d
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
xorps xmm0, xmm0
mov dword [rsp + 0x54], 0xffffffff
mov dword [rbp - 0x7c], eax
lea rcx, [rbp + 0x1f0]
mov eax, dword [rbp - 0x20]
xorps xmm1, xmm1
mov dword [rbp - 0x78], eax
mov dword [rsp + 0x50], r14d
mov qword [rbp - 0x50], r14
movdqa xmmword [rbp - 0x70], xmm0
movdqa xmmword [rbp - 0x60], xmm1
mov qword [rbp + 0x1f0], r14
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
nop dword [rax + rax]
test eax, eax
js 0x140027ce4
lea rcx, [rsp + 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
test eax, eax
js 0x140027ce4
mov rax, qword [rbp + 0x1f0]
mov qword [rbp - 0x50], rax
test rax, rax
jne 0x140027ced
mov dword [rbp - 0x80], r14d
cmp dword [rbp - 0x78], 0xff
mov ebx, RegisterTypeLib
mov edi, dword [rsp + 0x74]
cmovne ebx, dword [rbp - 0x78]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
nop dword [rax + rax]
test eax, eax
jne 0x140027cfa
cmp byte [rbp + 0x63], r14b
je 0x1400122b5
lea rbx, [rbp - 0x18]
mov edi, 0xf
nop word [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140027d71
add rbx, 8
sub rdi, rsi
jne 0x1400122a0
movzx eax, byte [0x140161e40]
test al, al
jne 0x140012332
xor edx, edx
mov qword [rbp + 0x68], r15
lea rcx, [rbp + 0x90]
mov qword [rbp + 0x70], r12
mov qword [rbp + 0x78], r13
mov dword [rbp + 0x80], 0x3a0
lea r8d, [rdx + 0x78]
mov dword [rbp + 0x84], esi
mov dword [rbp + 0x88], 0xff
mov dword [rbp + 0x108], 0x1000000
call sub.msvcrt.dll_memset
lea r8, str.VSSVC:_Idle_period_is_finished
lea rdx, [rbp + 0x68]
lea rcx, [rsp + 0x50]
call fcn.140007d90
mov rcx, qword [0x140161e38]
call qword [sym.imp.api_ms_win_core_synch_l1_1_0.dll_CancelWaitableTimer]
nop dword [rax + rax]
test eax, eax
je 0x140027d85
lock xadd dword [0x140161d30], esi
mov rbx, r14
mov rcx, qword [rbp + rbx*8 - 0x70]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbp + rbx*8 - 0x70], r14
inc rbx
cmp rbx, 4
jl 0x14001233d
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov r8d, dword [rbp - 0x78]
mov r9d, eax
sub r9d, dword [rbp - 0x7c]
mov eax, 0x10624dd3
mul r9d
mov eax, 0x88888889
mov edi, r9d
mov r10d, edx
shr r10d, 6
mul r10d
imul ecx, r10d, 0x3e8
shr edx, 5
imul eax, edx, 0x3c
sub edi, ecx
sub r10d, eax
mov eax, 0x45e7b273
mul r9d
mov eax, 0x88888889
mov r11d, edx
shr r11d, 0xe
mul r11d
mov eax, 0x95217cb1
shr edx, 5
imul ecx, edx, 0x3c
mul r9d
mov eax, 0x88888889
sub r11d, ecx
mov ebx, edx
shr ebx, 0x15
mul ebx
shr edx, 5
imul eax, edx, 0x3c
sub ebx, eax
cmp r8d, 0xff
jne 0x1400123ea
mov r8d, RegisterTypeLib
mov ecx, dword [rsp + 0x58]
lea rdx, str.EXIT
mov dword [rsp + 0x48], ecx
lea rcx, [rsp + 0x50]
mov dword [rsp + 0x40], r9d
lea r9, str.Time_spent:__02ld:_02ld:_02ld__04ld__total:__x__HRESULT:__x
mov dword [rsp + 0x38], edi
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
mov dword [rsp + 0x20], ebx
call fcn.14000c1c0
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
lea r11, [rsp + 0x2c0]
mov rbx, qword [r11 + 0x38]
lea eax, [rsi + 1]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov rax, qword [rbp - 0x50]
jmp 0x140012256
mov eax, dword [rax + 0x30]
inc eax
mov dword [rbp - 0x80], eax
jmp 0x140012263
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
nop dword [rax + rax]
test eax, eax
je 0x14001228b
lea rcx, [rsp + 0x50]
call fcn.1400c7550
cmp dword [rsp + 0x50], r14d
je 0x14001228b
mov r9d, dword [rbp - 0x80]
lea rax, str.ENTER
mov r8d, dword [rsp + 0x70]
mov rdx, qword [rsp + 0x68]
mov rcx, qword [rsp + 0x60]
mov qword [rsp + 0x40], r14
mov dword [rsp + 0x38], ebx
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
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop dword [rax + rax]
nop
jmp 0x14001228b
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbx], r14
jmp 0x1400122ac
xor edx, edx
mov qword [rbp + 0x110], r15
lea rcx, [rbp + 0x138]
mov qword [rbp + 0x118], r12
mov qword [rbp + 0x120], r13
mov dword [rbp + 0x128], 0x3a4
lea r8d, [rdx + 0x78]
mov dword [rbp + 0x12c], esi
mov dword [rbp + 0x130], 0xff
mov dword [rbp + 0x1b0], 0x1000000
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov r9d, eax
lea r8, str.Error_cancelling_the_waitable_timer_0x_08lx
lea rdx, [rbp + 0x110]
lea rcx, [rsp + 0x50]
call fcn.140007d90
nop
jmp 0x140012332