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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
push r12
push r14
push r15
sub rsp, 0x298
mov qword [r11 - 0xd8], 0xfffffffffffffffe
mov r12, rdx
mov r14, rcx
lea rax, str.base_stor_vss_tools_vssagenthwdiag.cpp
mov qword [r11 - 0x248], rax
lea rax, str.CHwDiag::PreCommitSnapshots
mov qword [r11 - 0x240], rax
lea rax, str.VHWDIAGC
mov qword [r11 - 0x238], rax
mov dword [rsp + 0x98], 0x36e
mov dword [rsp + 0x9c], 6
mov dword [rsp + 0xa0], 0xff
xor r15d, r15d
mov dword [rsp + 0x120], 0x1000000
xor edx, edx
lea r8d, [r15 + 0x78]
lea rcx, [r11 - 0x220]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x180]
call fcn.14004058c
nop
mov dword [rsp + 0x2e0], 0x80042306
mov dword [rsp + 0x2e8], r15d
lea rcx, [r14 + 0x2d0]
mov qword [rsp + 0x138], rcx
lea rax, [r14 + 0x40]
mov qword [rsp + 0x140], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x180]
mov qword [rsp + 0x38], rax
mov rax, qword [r14 + 0x4e0]
mov qword [rsp + 0x30], rax
mov rax, qword [r14 + 0x4e8]
mov qword [rsp + 0x28], rax
mov eax, dword [0x14007ccd8]
mov dword [rsp + 0x20], eax
lea r9d, [r15 + 0xe]
lea r8, str.PreCommitSnapshots
lea edx, [r15 + 1]
lea rcx, [rsp + 0x148]
call fcn.140037ff4
nop
movups xmm0, xmmword [r12]
movdqu xmmword [rsp + 0x70], xmm0
mov rax, qword [rsp + 0x170]
mov word [rax], r15w
lea rdx, [0x14005d46c]
lea rcx, [rsp + 0x148]
call fcn.140038654
movzx eax, byte [rsp + 0x7f]
movzx ecx, byte [rsp + 0x7e]
movzx edx, byte [rsp + 0x7d]
movzx r8d, byte [rsp + 0x7c]
movzx r10d, byte [rsp + 0x7b]
movzx r11d, byte [rsp + 0x7a]
movzx ebx, byte [rsp + 0x79]
movzx edi, byte [rsp + 0x78]
movzx esi, word [rsp + 0x76]
movzx r9d, word [rsp + 0x74]
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x58], ecx
mov dword [rsp + 0x50], edx
mov dword [rsp + 0x48], r8d
mov dword [rsp + 0x40], r10d
mov dword [rsp + 0x38], r11d
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], edi
mov dword [rsp + 0x20], esi
mov r8d, dword [rsp + 0x70]
lea rdx, str.SnapshotSetId___.8x__.4x__.4x__.2x_.2x__.2x_.2x_.2x_.2x_.2x_.2x_r_n
lea rcx, [rsp + 0x148]
call fcn.140038654
mov r8, qword [rsp + 0x170]
lea rdx, str.InputParameters
lea rcx, [rsp + 0x160]
call fcn.140004f4c
nop
lea rcx, [rsp + 0x148]
call fcn.1400381ac
nop
jmp 0x140028552
cmp qword [r14 + 0x20], r15
je 0x1400285ab
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov ebx, eax
movups xmm0, xmmword [r12]
movdqu xmmword [rsp + 0x70], xmm0
mov rcx, qword [r14 + 0x20]
mov rax, qword [rcx]
lea rdx, [rsp + 0x70]
mov rax, qword [rax + 0x20]
call qword [0x140053f18]
mov dword [rsp + 0x2e0], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov ecx, eax
sub ecx, ebx
cmp eax, ebx
jae 0x1400285a4
dec ecx
mov dword [rsp + 0x2e8], ecx
jmp 0x1400285b5
mov eax, dword [rsp + 0x2e0]
neg eax
sbb r9d, r9d
and r9d, 0xfffffff6
add r9d, 0xf
mov rax, qword [rsp + 0x138]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x140]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x180]
mov qword [rsp + 0x38], rax
mov rax, qword [r14 + 0x4e0]
mov qword [rsp + 0x30], rax
mov rax, qword [r14 + 0x4e8]
mov qword [rsp + 0x28], rax
mov eax, dword [0x14007ccd8]
mov dword [rsp + 0x20], eax
lea r8, str.PreCommitSnapshots
xor edx, edx
lea rcx, [rsp + 0x148]
call fcn.140037ff4
nop
mov r9d, dword [rsp + 0x2e8]
lea r8, str._u__ms_
lea rdx, str.TimeElapsed
lea rcx, [rsp + 0x148]
call fcn.140038208
mov r8d, 1
mov edx, dword [rsp + 0x2e0]
lea rcx, [rsp + 0x148]
call fcn.1400388f4
nop
lea rcx, [rsp + 0x148]
call fcn.1400381ac
nop
inc dword [0x14007ccd8]
lea rcx, [rsp + 0x180]
call fcn.1400406a0
mov eax, dword [rsp + 0x2e0]
add rsp, 0x298
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret