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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
push r14
sub rsp, 0x278
mov qword [r11 - 0xc8], 0xfffffffffffffffe
mov r14, r8
mov rsi, rdx
mov rdi, rcx
lea rax, str.base_stor_vss_tools_vssagenthwdiag.cpp
mov qword [rsp + 0x58], rax
lea rax, str.CHwDiag::OnLunEmpty
mov qword [rsp + 0x60], rax
lea rax, str.VHWDIAGC
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x250
mov dword [rsp + 0x74], 6
mov dword [rsp + 0x78], 0xff
xor ebx, ebx
mov dword [rsp + 0xf8], 0x1000000
xor edx, edx
lea r8d, [rbx + 0x78]
lea rcx, [r11 - 0x218]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x160]
call fcn.14004058c
nop
mov dword [rsp + 0x2b8], 0x80042306
mov dword [rsp + 0x50], ebx
lea rcx, [rdi + 0x2c8]
mov qword [rsp + 0x118], rcx
lea rax, [rdi + 0x38]
mov qword [rsp + 0x120], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi + 0x4d8]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + 0x4e0]
mov qword [rsp + 0x28], rax
mov eax, dword [0x14007ccf0]
mov dword [rsp + 0x20], eax
lea r9d, [rbx + 0xe]
lea r8, str.OnLunEmpty
lea edx, [rbx + 1]
lea rcx, [rsp + 0x128]
call fcn.140037ff4
nop
mov rax, qword [rsp + 0x150]
mov word [rax], bx
lea rdx, [0x14005d46c]
lea rcx, [rsp + 0x128]
call fcn.140038654
mov r9, rsi
mov r8, rsi
lea rdx, str.wszDevice___s__0x_08lx__r_n
lea rcx, [rsp + 0x128]
call fcn.140038654
lea rdx, str.pInfo_____r_n
lea rcx, [rsp + 0x128]
call fcn.140038654
mov rdx, r14
lea rcx, [rsp + 0x128]
call fcn.1400382e4
mov r8, qword [rsp + 0x150]
lea rdx, str.InputParameters
lea rcx, [rsp + 0x140]
call fcn.140004f4c
nop
lea rcx, [rsp + 0x128]
call fcn.1400381ac
nop
jmp 0x140027140
cmp qword [rdi + 0x20], rbx
je 0x14002718c
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [rdi + 0x20]
mov rax, qword [rcx]
mov r8, r14
mov rdx, rsi
mov rax, qword [rax + 0x40]
call qword [0x140053f18]
mov dword [rsp + 0x2b8], eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov ecx, eax
sub ecx, ebx
cmp eax, ebx
jae 0x140027188
dec ecx
mov dword [rsp + 0x50], ecx
jmp 0x140027196
mov eax, dword [rsp + 0x2b8]
neg eax
sbb r9d, r9d
and r9d, 0xfffffff6
add r9d, 0xf
mov rax, qword [rsp + 0x118]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x120]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x160]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi + 0x4d8]
mov qword [rsp + 0x30], rax
mov rax, qword [rdi + 0x4e0]
mov qword [rsp + 0x28], rax
mov eax, dword [0x14007ccf0]
mov dword [rsp + 0x20], eax
lea r8, str.OnLunEmpty
xor edx, edx
lea rcx, [rsp + 0x128]
call fcn.140037ff4
nop
mov r9d, dword [rsp + 0x50]
lea r8, str._u__ms_
lea rdx, str.TimeElapsed
lea rcx, [rsp + 0x128]
call fcn.140038208
mov r8d, reloc.OLEAUT32.dll_VariantTimeToDosDateTime
mov edx, dword [rsp + 0x2b8]
lea rcx, [rsp + 0x128]
call fcn.1400388f4
nop
lea rcx, [rsp + 0x128]
call fcn.1400381ac
nop
inc dword [0x14007ccf0]
lea rcx, [rsp + 0x160]
call fcn.1400406a0
mov eax, dword [rsp + 0x2b8]
add rsp, 0x278
pop r14
pop rdi
pop rsi
pop rbx
ret