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

Disassembly:
mov rax, rsp
mov qword [rax + 0x20], r9
mov dword [rax + 0x18], r8d
mov dword [rax + 0x10], edx
mov qword [rax + 8], rcx
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x270
mov qword [rax - 0xd8], 0xfffffffffffffffe
mov r13, r9
mov r12d, r8d
mov r14d, edx
mov rdi, rcx
lea rax, str.base_stor_vss_tools_vssagenthwdiag.cpp
mov qword [rsp + 0x58], rax
lea rax, str.CHwDiag::AreLunsSupported
mov qword [rsp + 0x60], rax
lea rax, str.VHWDIAGC
mov qword [rsp + 0x68], rax
mov dword [rsp + 0x70], 0x130
mov dword [rsp + 0x74], 6
mov dword [rsp + 0x78], 0xff
xor esi, esi
mov dword [rsp + 0xf8], 0x1000000
xor edx, edx
lea r8d, [rsi + 0x78]
lea rcx, [rsp + 0x80]
call sub.msvcrt.dll_memset
lea rdx, [rsp + 0x58]
lea rcx, [rsp + 0x160]
call fcn.14004058c
nop
mov dword [rsp + 0x50], 0x80042306
mov dword [rsp + 0x54], esi
lea rcx, [rdi + 0x2c8]
mov qword [rsp + 0x158], rcx
lea rax, [rdi + 0x38]
mov qword [rsp + 0x108], 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 [0x14007cd04]
mov dword [rsp + 0x20], eax
lea r9d, [rsi + 0xe]
lea r8, str.AreLunsSupported
lea edx, [rsi + 1]
lea rcx, [rsp + 0x110]
call fcn.140037ff4
nop
mov rax, qword [rsp + 0x138]
mov word [rax], si
lea rdx, [0x14005d46c]
lea rcx, [rsp + 0x110]
call fcn.140038654
mov r8d, r14d
lea rdx, str.lLunCount___d_r_n
lea rcx, [rsp + 0x110]
call fcn.140038654
mov r8d, r12d
lea rdx, str.lContext__0x_08lx_r_n
lea rcx, [rsp + 0x110]
call fcn.140038654
mov ebx, esi
cmp ebx, r14d
jge 0x140025e46
movsxd r15, ebx
mov r9, qword [r13 + r15*8]
mov qword [rsp + 0x20], r9
mov r8d, ebx
lea rdx, str.rgwszDevices__d____s__0x_08lx__r_n
lea rcx, [rsp + 0x110]
call fcn.140038654
mov r8d, ebx
lea rdx, str.rgLunInformation__d______r_n
lea rcx, [rsp + 0x110]
call fcn.140038654
lea rdx, [r15 + r15*2]
shl rdx, 5
add rdx, qword [rsp + 0x2d0]
lea rcx, [rsp + 0x110]
call fcn.1400382e4
inc ebx
jmp 0x140025de5
mov r8, qword [rsp + 0x138]
lea rdx, str.InputParameters
lea rcx, [rsp + 0x128]
call fcn.140004f4c
nop
lea rcx, [rsp + 0x110]
call fcn.1400381ac
nop
jmp 0x140025e95
cmp qword [rdi + 0x20], rsi
je 0x140025efb
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
mov ebx, eax
mov rcx, qword [rdi + 0x20]
mov rax, qword [rcx]
mov rdx, qword [rsp + 0x2d8]
mov qword [rsp + 0x28], rdx
mov rdx, qword [rsp + 0x2d0]
mov qword [rsp + 0x20], rdx
mov r9, r13
mov r8d, r12d
mov edx, r14d
mov rax, qword [rax + 0x18]
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 0x140025ef7
dec ecx
mov dword [rsp + 0x54], ecx
jmp 0x140025f0d
mov ebx, dword [rsp + 0x50]
mov eax, ebx
neg eax
sbb r9d, r9d
and r9d, 0xfffffff6
add r9d, 0xf
mov rax, qword [rsp + 0x158]
mov qword [rsp + 0x48], rax
mov rax, qword [rsp + 0x108]
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 [0x14007cd04]
mov dword [rsp + 0x20], eax
lea r8, str.AreLunsSupported
xor edx, edx
lea rcx, [rsp + 0x110]
call fcn.140037ff4
nop
mov r9d, dword [rsp + 0x54]
lea r8, str._u__ms_
lea rdx, str.TimeElapsed
lea rcx, [rsp + 0x110]
call fcn.140038208
mov r8d, 7
mov edx, ebx
lea rcx, [rsp + 0x110]
call fcn.1400388f4
test ebx, ebx
jne 0x140025fda
mov r9, qword [rsp + 0x2d8]
mov r8, qword [rsp + 0x2d0]
mov edx, r14d
lea rcx, [rsp + 0x110]
call fcn.140038a74
nop
lea rcx, [rsp + 0x110]
call fcn.1400381ac
nop
inc dword [0x14007cd04]
lea rcx, [rsp + 0x160]
call fcn.1400406a0
mov eax, dword [rsp + 0x50]
add rsp, 0x270
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret