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

Disassembly:
mov r11, rsp
mov dword [r11 + 0x20], r9d
mov qword [r11 + 0x18], r8
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 r14d, r9d
mov r15, r8
mov r12, rdx
mov rsi, rcx
lea rax, str.base_stor_vss_tools_vssagenthwdiag.cpp
mov qword [rsp + 0x58], rax
lea rax, str.CHwDiag::BeginPrepareSnapshot
mov qword [rsp + 0x60], rax
lea rax, str.VHWDIAGC
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x1b2
mov dword [rsp + 0x74], 6
mov dword [rsp + 0x78], 0xff
xor edi, edi
mov dword [rsp + 0xf8], 0x1000000
xor edx, edx
lea r8d, [rdi + 0x78]
lea rcx, [r11 - 0x248]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x180]
call fcn.14004058c
nop
mov dword [rsp + 0x50], 0x80042306
mov dword [rsp + 0x54], edi
lea rcx, [rsi + 0x2c8]
mov qword [rsp + 0x128], rcx
lea rax, [rsi + 0x38]
mov qword [rsp + 0x110], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x180]
mov qword [rsp + 0x38], rax
mov rax, qword [rsi + 0x4d8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsi + 0x4e0]
mov qword [rsp + 0x28], rax
mov eax, dword [0x14007ccfc]
mov dword [rsp + 0x20], eax
lea r9d, [rdi + 0xe]
lea r8, str.BeginPrepareSnapshot
lea edx, [rdi + 1]
lea rcx, [rsp + 0x140]
call fcn.140037ff4
nop
movups xmm0, xmmword [r15]
movdqu xmmword [rsp + 0x100], xmm0
movups xmm1, xmmword [r12]
movdqu xmmword [rsp + 0x130], xmm1
mov rax, qword [rsp + 0x300]
mov qword [rsp + 0x30], rax
mov rax, qword [rsp + 0x2f8]
mov qword [rsp + 0x28], rax
mov eax, dword [rsp + 0x2f0]
mov dword [rsp + 0x20], eax
mov r9d, r14d
lea r8, [rsp + 0x100]
lea rdx, [rsp + 0x130]
lea rcx, [rsp + 0x140]
call fcn.140038b38
nop
lea rcx, [rsp + 0x140]
call fcn.1400381ac
nop
jmp 0x1400265f7
cmp qword [rsi + 0x20], rdi
je 0x140026691
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov ebx, eax
movups xmm0, xmmword [r15]
movdqu xmmword [rsp + 0x130], xmm0
movups xmm1, xmmword [r12]
movdqu xmmword [rsp + 0x100], xmm1
mov rcx, qword [rsi + 0x20]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x300]
mov qword [rsp + 0x30], rdx
mov rdx, qword [rsp + 0x2f8]
mov qword [rsp + 0x28], rdx
mov edx, dword [rsp + 0x2f0]
mov dword [rsp + 0x20], edx
mov r9d, r14d
lea r8, [rsp + 0x130]
lea rdx, [rsp + 0x100]
mov rax, qword [rax + 0x28]
call qword [0x140053f18]
mov dword [rsp + 0x50], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov ecx, eax
sub ecx, ebx
cmp eax, ebx
jae 0x14002668d
dec ecx
mov dword [rsp + 0x54], ecx
jmp 0x14002669d
mov ebx, dword [rsp + 0x50]
mov eax, ebx
neg eax
sbb r9d, r9d
and r9d, 0xfffffff6
add r9d, 0xf
mov rax, qword [rsp + 0x128]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x110]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x180]
mov qword [rsp + 0x38], rax
mov rax, qword [rsi + 0x4d8]
mov qword [rsp + 0x30], rax
mov rax, qword [rsi + 0x4e0]
mov qword [rsp + 0x28], rax
mov eax, dword [0x14007ccfc]
mov dword [rsp + 0x20], eax
lea r8, str.BeginPrepareSnapshot
xor edx, edx
lea rcx, [rsp + 0x140]
call fcn.140037ff4
nop
mov r9d, dword [rsp + 0x54]
lea r8, str._u__ms_
lea rdx, str.TimeElapsed
lea rcx, [rsp + 0x140]
call fcn.140038208
mov r8d, 9
mov edx, ebx
lea rcx, [rsp + 0x140]
call fcn.1400388f4
test ebx, ebx
jne 0x1400267cd
mov rax, qword [rsp + 0x168]
mov word [rax], di
lea rdx, [0x14005d46c]
lea rcx, [rsp + 0x140]
call fcn.140038654
cmp edi, dword [rsp + 0x2f0]
jge 0x1400267b0
mov r8d, edi
lea rdx, str.rgLunInformation__d______r_n
lea rcx, [rsp + 0x140]
call fcn.140038654
movsxd rax, edi
lea rdx, [rax + rax*2]
shl rdx, 5
add rdx, qword [rsp + 0x300]
lea rcx, [rsp + 0x140]
call fcn.1400382e4
inc edi
jmp 0x14002676c
mov r8, qword [rsp + 0x168]
lea rdx, str.OutputParameters
lea rcx, [rsp + 0x158]
call fcn.140004f4c
nop
lea rcx, [rsp + 0x140]
call fcn.1400381ac
nop
inc dword [0x14007ccfc]
lea rcx, [rsp + 0x180]
call fcn.1400406a0
mov eax, dword [rsp + 0x50]
add rsp, 0x298
pop r15
pop r14
pop r12
pop rdi
pop rsi
pop rbx
ret