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

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov qword [rax + 8], rcx
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x1c0
movaps xmmword [rax - 0x38], xmm6
mov r14, qword [0x140156fb0]
lea r15, str.base_stor_vssmoduleswriters_asrwriter.cxx
mov qword [rax - 0x108], r15
lea r12, str.CVssAsrWriterBackup::Initialize
mov qword [rax - 0x100], r12
lea r13, str.WRTASRWC
mov qword [rax - 0xf8], r13
mov dword [rax - 0xf0], 0x5d
mov dword [rax - 0xec], 4
mov dword [rax - 0xe8], 0xff
xor esi, esi
mov dword [rax - 0x68], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rax - 0xe0]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x78], esi
mov rax, qword [rsp + 0xe8]
mov qword [rsp + 0x98], rax
mov rax, qword [rsp + 0xe0]
mov qword [rsp + 0x80], rax
mov rax, qword [rsp + 0xf0]
mov qword [rsp + 0x88], rax
mov eax, dword [rsp + 0xf8]
mov dword [rsp + 0x90], eax
mov eax, dword [rsp + 0xfc]
mov dword [rsp + 0x94], eax
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
nop dword [rax + rax]
mov dword [rsp + 0xa4], eax
mov dword [rsp + 0x74], 0xffffffff
mov eax, dword [rsp + 0x100]
mov dword [rsp + 0xa8], eax
mov dword [rsp + 0x70], esi
mov qword [rsp + 0xd0], rsi
xorps xmm0, xmm0
movdqa xmmword [rsp + 0xb0], xmm0
xorps xmm1, xmm1
movdqa xmmword [rsp + 0xc0], xmm1
mov qword [rsp + 0x1f0], rsi
lea rcx, [rsp + 0x1f0]
call qword [sym.imp.VssTrace.DLL_Ordinal_10]
nop dword [rax + rax]
test eax, eax
js 0x140025c70
lea rcx, [rsp + 0x70]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
test eax, eax
js 0x140025c70
mov rax, qword [rsp + 0x1f0]
mov qword [rsp + 0xd0], rax
test rax, rax
je 0x140025c7d
mov eax, dword [rax + 0x30]
inc eax
mov dword [rsp + 0xa0], eax
mov ebx, dword [rsp + 0xa8]
cmp ebx, 0xff
jne 0x140013530
mov ebx, 0xa0
mov edi, dword [rsp + 0x94]
call qword [sym.imp.VssTrace.DLL_Ordinal_5]
nop dword [rax + rax]
test eax, eax
jne 0x140025c89
cmp byte [rsp + 0x183], sil
je 0x140013578
lea rbx, [rsp + 0x108]
mov edi, 0xf
mov rcx, qword [rbx]
test rcx, rcx
jne 0x140025d12
add rbx, 8
sub rdi, 1
jne 0x140013562
movups xmm6, xmmword [0x140101e80]
cmp qword [r14 + 8], 0
jne 0x140025d26
lea rdx, [r14 + 8]
mov rcx, r14
call qword [sym.imp.VSSAPI.DLL_CreateWriter]
nop dword [rax + rax]
mov ebx, eax
test eax, eax
js 0x140025da6
mov rcx, qword [r14 + 8]
mov rax, qword [rcx]
movdqa xmmword [rsp + 0x1a0], xmm6
movabs r10, 0x934106b63cddf270
mov byte [rsp + 0x58], 0
mov dword [rsp + 0x50], 1
mov dword [rsp + 0x48], 0xea60
mov dword [rsp + 0x40], 1
mov dword [rsp + 0x38], 3
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x28], esi
mov dword [rsp + 0x20], esi
xor r9d, r9d
lea r8, str.ASR_Writer
lea rdx, [rsp + 0x1a0]
mov rax, qword [rax + 0x18]
call qword [0x1400fb6b0]
mov ebx, eax
test eax, eax
js 0x140025dac
mov dword [rsp + 0x78], ebx
test ebx, ebx
js 0x140025d2f
mov rcx, qword [r14 + 8]
test rcx, rcx
je 0x140025dd0
mov rax, qword [rcx]
movabs r10, 0xe3b907df3adbb170
mov edx, 0xffffffff
mov r8d, 6
mov rax, qword [rax + 0x20]
call qword [0x1400fb6b0]
mov ebx, eax
mov dword [rsp + 0x78], eax
test eax, eax
js 0x140025dd9
mov edi, dword [rsp + 0x78]
mov rbx, rsi
mov rcx, qword [rsp + rbx*8 + 0xb0]
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rsp + rbx*8 + 0xb0], rsi
inc rbx
cmp rbx, 4
jl 0x14001366c
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 + 0xa4]
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 [rsp + 0xa8]
cmp r8d, 0xff
jne 0x140013727
mov r8d, 0xa0
mov ecx, dword [rsp + 0x78]
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 + 0x70]
call fcn.14000a3f0
mov rcx, qword [rsp + 0xd0]
call qword [sym.imp.VssTrace.DLL_Ordinal_9]
nop dword [rax + rax]
mov eax, edi
lea r11, [rsp + 0x1c0]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret
mov rax, qword [rsp + 0xd0]
jmp 0x140013507
mov dword [rsp + 0xa0], esi
jmp 0x14001351c
mov ecx, edi
call qword [sym.imp.VssTrace.DLL_Ordinal_7]
nop dword [rax + rax]
test eax, eax
je 0x14001354b
lea rcx, [rsp + 0x70]
call fcn.1400c73b0
cmp dword [rsp + 0x70], esi
je 0x14001354b
mov qword [rsp + 0x40], rsi
mov dword [rsp + 0x38], ebx
lea rax, str.ENTER
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x98]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x94]
mov dword [rsp + 0x20], eax
mov r9d, dword [rsp + 0xa0]
mov r8d, dword [rsp + 0x90]
mov rdx, qword [rsp + 0x88]
mov rcx, qword [rsp + 0x80]
call qword [sym.imp.VssTrace.DLL_Ordinal_3]
nop dword [rax + rax]
nop
jmp 0x14001354b
call qword [sym.imp.api_ms_win_core_com_l1_1_0.dll_CoTaskMemFree]
nop dword [rax + rax]
mov qword [rbx], rsi
jmp 0x14001356e
mov ebx, 0x80004005
mov dword [rsp + 0x78], ebx
mov qword [rsp + 0xe0], r15
mov qword [rsp + 0xe8], r12
mov qword [rsp + 0xf0], r13
mov dword [rsp + 0xf8], 0x67
mov dword [rsp + 0xfc], 4
mov dword [rsp + 0x100], 0xff
mov dword [rsp + 0x180], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x108]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x20], ebx
lea r9, str.Failed_to_initialize_the_ASR_writer.__hr__0x_08lx
mov r8d, ebx
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x70]
call fcn.1400c54bc
mov dword [rsp + 0x78], eax
jmp 0x140025d2f
mov rcx, qword [r14 + 8]
mov rax, qword [rcx]
movabs r10, 0xbaac1f10365eb170
mov rax, qword [rax + 0x10]
call qword [0x1400fb6b0]
mov qword [r14 + 8], rsi
jmp 0x14001361c
mov ebx, 0x80004005
mov dword [rsp + 0x78], ebx
mov qword [rsp + 0xe0], r15
mov qword [rsp + 0xe8], r12
mov qword [rsp + 0xf0], r13
mov dword [rsp + 0xf8], 0x6f
mov dword [rsp + 0xfc], 4
mov dword [rsp + 0x100], 0xff
mov dword [rsp + 0x180], 0x1000000
xor edx, edx
lea r8d, [rdx + 0x78]
lea rcx, [rsp + 0x108]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x20], ebx
lea r9, str.Subscribing_the_ASR_writer_failed._hr___0x08lx
mov r8d, ebx
lea rdx, [rsp + 0xe0]
lea rcx, [rsp + 0x70]
call fcn.1400c54bc
nop
xor esi, esi
jmp 0x140013665