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

Disassembly:
mov r11, rsp
mov qword [r11 + 0x20], r9
mov qword [r11 + 0x18], r8
mov qword [r11 + 0x10], rdx
mov qword [r11 + 8], rcx
push rbx
push rsi
push rdi
push r14
push r15
sub rsp, 0x280
mov qword [r11 - 0xc8], 0xfffffffffffffffe
mov r15, r8
mov r14, rdx
mov rsi, rcx
lea rax, str.base_stor_vss_tools_vssagenthwdiag.cpp
mov qword [rsp + 0x58], rax
lea rax, str.CHwDiag::FillInLunInfo
mov qword [rsp + 0x60], rax
lea rax, str.VHWDIAGC
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x163
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 - 0x228]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x170]
call fcn.14004058c
nop
mov dword [rsp + 0x50], 0x80042306
mov dword [rsp + 0x54], edi
lea rcx, [rsi + 0x2c8]
mov qword [rsp + 0x160], rcx
lea rax, [rsi + 0x38]
mov qword [rsp + 0x100], rax
mov qword [rsp + 0x48], rcx
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x170]
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 [0x14007cd00]
mov dword [rsp + 0x20], eax
lea r9d, [rdi + 0xe]
lea r8, str.FillInLunInfo
lea edx, [rdi + 1]
lea rcx, [rsp + 0x118]
call fcn.140037ff4
nop
mov rax, qword [rsp + 0x140]
mov word [rax], di
lea rdx, [0x14005d46c]
lea rcx, [rsp + 0x118]
call fcn.140038654
mov r9, r14
mov r8, r14
lea rdx, str.wszDeviceName___s__0x_08lx__r_n
lea rcx, [rsp + 0x118]
call fcn.140038654
lea rdx, str.pLunInformation_____r_n
lea rcx, [rsp + 0x118]
call fcn.140038654
mov rdx, r15
lea rcx, [rsp + 0x118]
call fcn.1400382e4
mov r8, qword [rsp + 0x140]
lea rdx, str.InputParameters
lea rcx, [rsp + 0x130]
call fcn.140004f4c
nop
lea rcx, [rsp + 0x118]
call fcn.1400381ac
nop
jmp 0x1400261e3
cmp qword [rsi + 0x20], rdi
je 0x140026234
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [rsi + 0x20]
mov rax, qword [rcx]
mov r9, qword [rsp + 0x2c8]
mov r8, r15
mov rdx, r14
mov rax, qword [rax + 0x20]
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 0x140026230
dec ecx
mov dword [rsp + 0x54], ecx
jmp 0x140026250
mov ebx, dword [rsp + 0x50]
mov eax, ebx
neg eax
sbb r9d, r9d
and r9d, 0xfffffff6
add r9d, 0xf
mov rax, qword [rsp + 0x160]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x100]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x170]
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 [0x14007cd00]
mov dword [rsp + 0x20], eax
lea r8, str.FillInLunInfo
xor edx, edx
lea rcx, [rsp + 0x118]
call fcn.140037ff4
nop
mov r9d, dword [rsp + 0x54]
lea r8, str._u__ms_
lea rdx, str.TimeElapsed
lea rcx, [rsp + 0x118]
call fcn.140038208
mov r8d, 8
mov edx, ebx
lea rcx, [rsp + 0x118]
call fcn.1400388f4
test ebx, ebx
jne 0x140026401
mov rax, qword [rsp + 0x140]
mov word [rax], di
lea rdx, [0x14005d46c]
lea rcx, [rsp + 0x118]
call fcn.140038654
mov rbx, qword [rsp + 0x2c8]
lea rax, str.TRUE
lea r9, str.FALSE
cmp dword [rbx], edi
cmovne r9, rax
mov r8d, dword [rbx]
lea rdx, str.pbIsSupported___lu___s__r_n
lea rcx, [rsp + 0x118]
call fcn.140038654
lea rdx, str.pLunInformation_____r_n
lea rcx, [rsp + 0x118]
call fcn.140038654
mov rdx, r15
lea rcx, [rsp + 0x118]
call fcn.1400382e4
mov r8, qword [rsp + 0x140]
lea rdx, str.OutputParameters
lea rcx, [rsp + 0x130]
call fcn.140004f4c
cmp dword [rbx], edi
je 0x140026401
mov rdx, qword [0x14009d7d0]
lea rcx, [rsp + 0x108]
call fcn.140029ca4
nop
mov r9, r14
mov r8d, 1
mov rdx, r15
call fcn.140039044
mov bl, al
lea rcx, [rsp + 0x108]
call fcn.1400299c8
test bl, bl
je 0x140026401
mov r8d, 0x10
lea rdx, str._ElementIcon
lea rcx, [rsp + 0x130]
call fcn.140005368
mov r8, r14
lea rdx, str._s_matches_to_the_VdsLunInfo_of_former_LocateLuns__
lea rcx, [rsp + 0x170]
call fcn.140041860
nop
lea rcx, [rsp + 0x118]
call fcn.1400381ac
nop
inc dword [0x14007cd00]
lea rcx, [rsp + 0x170]
call fcn.1400406a0
mov eax, dword [rsp + 0x50]
add rsp, 0x280
pop r15
pop r14
pop rdi
pop rsi
pop rbx
ret