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

Disassembly:
mov byte [rsp + 0x18], r8b
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x2e0
mov qword [rsp + 0x170], 0xfffffffffffffffe
mov r15d, edx
mov r14, rcx
lea r12, str.base_stor_vssmodulescoord_src_svc.cxx
mov qword [rsp + 0xc0], r12
lea r13, str.CVsServiceModule::SetServiceStatus
mov qword [rsp + 0xc8], r13
lea rax, str.CORSVCC
mov qword [rsp + 0xd0], rax
mov dword [rsp + 0xd8], 0x1db
mov dword [rsp + 0xdc], 1
mov dword [rsp + 0xe0], 0xff
xor esi, esi
mov dword [rsp + 0x160], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0xe8]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x58], esi
mov rax, qword [rsp + 0xc8]
mov qword [rsp + 0x78], rax
mov rax, qword [rsp + 0xc0]
mov qword [rsp + 0x60], rax
mov rax, qword [rsp + 0xd0]
mov qword [rsp + 0x68], rax
mov eax, dword [rsp + 0xd8]
mov dword [rsp + 0x70], eax
mov eax, dword [rsp + 0xdc]
mov dword [rsp + 0x74], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rsp + 0x84], eax
mov dword [rsp + 0x54], 0xffffffff
mov eax, dword [rsp + 0xe0]
mov dword [rsp + 0x88], eax
mov dword [rsp + 0x50], esi
mov qword [rsp + 0xb0], rsi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x90], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0xa0], xmm1
mov qword [rsp + 0x320], rsi
lea rcx, [rsp + 0x320]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
nop dword [rax + rax]
test eax, eax
js 0x140027dfe
lea rcx, [rsp + 0x50]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
test eax, eax
js 0x140027dfe
mov rax, qword [rsp + 0x320]
mov qword [rsp + 0xb0], rax
test rax, rax
je 0x140027e0b
mov eax, dword [rax + 0x30]
inc eax
mov dword [rsp + 0x80], eax
mov ebx, dword [rsp + 0x88]
cmp ebx, 0xff
jne 0x1400125fb
mov ebx, RegisterTypeLib
mov edi, dword [rsp + 0x74]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
nop dword [rax + rax]
test eax, eax
jne 0x140027e17
cmp byte [rsp + 0x163], sil
je 0x140012646
lea rbx, [rsp + 0xe8]
mov edi, 0xf
nop word [rax + rax]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140027e91
add rbx, 8
sub rdi, 1
jne 0x140012630
mov qword [rsp + 0xc0], r12
mov qword [rsp + 0xc8], r13
lea rdi, str.CORSVCC
mov qword [rsp + 0xd0], rdi
mov dword [rsp + 0xd8], 0x1df
mov dword [rsp + 0xdc], 1
mov dword [rsp + 0xe0], 0xff
mov dword [rsp + 0x160], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xe8]
call sub.msvcrt.dll_memset
mov r9d, r15d
lea r8, str.Attempt_to_change_the_service_status_to__lu
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x50]
call fcn.140007d90
mov dword [r14 + 0x114], r15d
lea rdx, [r14 + 0x110]
mov rcx, qword [r14 + 0x100]
call qword [sym.imp.api_ms_win_service_core_l1_1_0.dll_SetServiceStatus]
nop dword [rax + rax]
test eax, eax
je 0x140027ea5
mov ebx, dword [rsp + 0x58]
test ebx, ebx
js 0x14002802e
mov rbx, rsi
mov rcx, qword [rsp + rbx*8 + 0x90]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rsp + rbx*8 + 0x90], rsi
inc rbx
cmp rbx, 4
jl 0x1400126f8
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov r9d, eax
sub r9d, dword [rsp + 0x84]
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 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 ecx, edx
shr ecx, 0x15
mov eax, 0x88888889
mul ecx
shr edx, 5
imul eax, edx, 0x3c
sub ecx, eax
mov r8d, dword [rsp + 0x88]
cmp r8d, 0xff
jne 0x1400127b3
mov r8d, RegisterTypeLib
mov eax, dword [rsp + 0x58]
mov dword [rsp + 0x48], eax
mov dword [rsp + 0x40], r9d
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], r10d
mov dword [rsp + 0x28], r11d
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.14000c1c0
mov rcx, qword [rsp + 0xb0]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
add rsp, 0x2e0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
mov rax, qword [rsp + 0xb0]
jmp 0x1400125d2
mov dword [rsp + 0x80], esi
jmp 0x1400125e7
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
nop dword [rax + rax]
test eax, eax
je 0x140012613
lea rcx, [rsp + 0x50]
call fcn.1400c7550
cmp dword [rsp + 0x50], esi
je 0x140012613
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 [rsp + 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 dword [rax + rax]
nop
jmp 0x140012613
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbx], rsi
jmp 0x14001263c
mov qword [rsp + 0xc0], r12
mov qword [rsp + 0xc8], r13
mov qword [rsp + 0xd0], rdi
mov dword [rsp + 0xd8], 0x1e6
mov dword [rsp + 0xdc], 1
mov dword [rsp + 0xe0], 0xff
mov dword [rsp + 0x160], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xe8]
call sub.msvcrt.dll_memset
mov r8d, r15d
lea rdx, [rsp + 0x230]
lea rcx, [rsp + 0xc0]
call fcn.1400c2328
mov rbx, rax
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
test eax, eax
jle 0x140027f2f
movzx eax, ax
or eax, 0x80070000
mov r8d, eax
lea rdx, [rsp + 0x188]
mov rcx, rbx
call fcn.1400c2398
mov r9d, 1
mov r8, rax
lea edx, [r9 + 7]
lea rcx, [rsp + 0x50]
call fcn.1400c3f10
lea rcx, [rsp + 0x230]
call fcn.1400c22c8
lea rcx, [rsp + 0xc0]
call fcn.1400c22c8
mov qword [rsp + 0xc0], r12
mov qword [rsp + 0xc8], r13
mov qword [rsp + 0xd0], rdi
mov dword [rsp + 0xd8], 0x1e7
mov dword [rsp + 0xdc], 1
mov dword [rsp + 0xe0], 0xff
mov dword [rsp + 0x160], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xe8]
call sub.msvcrt.dll_memset
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
jle 0x140027fe5
movzx ebx, ax
or ebx, 0x80070000
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov dword [rsp + 0x20], eax
lea r9, str.Error_on_calling_SetServiceStatus._0x_08lx
mov r8d, ebx
lea rdx, [rsp + 0xc0]
lea rcx, [rsp + 0x50]
call fcn.1400c55fc
nop
xor esi, esi
lea rdi, str.CORSVCC
lea r13, str.CVsServiceModule::SetServiceStatus
lea r12, str.base_stor_vssmodulescoord_src_svc.cxx
jmp 0x1400126e9
mov qword [rsp + 0xc0], r12
mov qword [rsp + 0xc8], r13
mov qword [rsp + 0xd0], rdi
mov dword [rsp + 0xd8], 0x1ee
mov dword [rsp + 0xdc], 1
mov dword [rsp + 0xe0], 0xff
mov dword [rsp + 0x160], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0xe8]
call sub.msvcrt.dll_memset
movzx edx, byte [rsp + 0x330]
mov dword [rsp + 0x28], ebx
lea rax, str.Error_on_calling_SetServiceStatus._0x_08lx
mov qword [rsp + 0x20], rax
mov r9d, ebx
lea r8, [rsp + 0xc0]
lea rcx, [rsp + 0x50]
call fcn.1400c57a4
nop
jmp 0x1400126f5