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

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x1d0]
sub rsp, 0x2d0
mov rax, qword [0x140170608]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, rdx
mov qword [rbp - 0x80], rdx
mov rdi, rcx
mov rcx, qword [0x140170048]
lea r13, [0x140170048]
cmp rcx, r13
je 0x14006aca5
test byte [rcx + 0x1c], 1
je 0x14006aca5
cmp byte [rcx + 0x19], 4
jb 0x14006aca5
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014cde8]
mov edx, 0xe
call fcn.140004c54
mov rcx, qword [0x140170048]
xor r15d, r15d
mov r14d, r15d
cmp qword [rdi + 0x210], r15
jne 0x14006acd3
lea r8, str.m_pVolumeCat___NULL
mov edx, 0xbc
lea rcx, str.base_stor_blbengine_service_restorefiles.cpp
call fcn.14008388c
mov rcx, qword [0x140170048]
cmp qword [rdi + 0x128], r15
jne 0x14006acfb
lea r8, str.m_wszTargetName___NULL
mov edx, 0xbd
lea rcx, str.base_stor_blbengine_service_restorefiles.cpp
call fcn.14008388c
mov rcx, qword [0x140170048]
mov rsi, r15
mov qword [rsp + 0x78], r15
mov dword [rsp + 0x70], r15d
mov r12b, r15b
cmp rcx, r13
je 0x14006ad38
test byte [rcx + 0x1c], 1
je 0x14006ad38
cmp byte [rcx + 0x19], 4
jb 0x14006ad38
mov r9, qword [rdi + 0x128]
lea r8, [0x14014cde8]
mov rcx, qword [rcx + 0x10]
mov edx, 0xf
call fcn.140005bdc
call qword [sym.imp.KERNEL32.dll_GetTickCount]
movups xmm1, xmmword [rdi + 0xfc]
mov r15, qword [rdi + 0x20]
mov r13d, eax
mov rax, qword [rdi + 0x210]
movdqu xmmword [rbp - 0x60], xmm1
movups xmm0, xmmword [rax]
movdqu xmmword [rbp - 0x70], xmm0
cmp r15, 0xffffffffffffffff
jne 0x14006ad73
or r15, r15
cmp qword [rdi + 0x28], 0xffffffffffffffff
cmovne r15, qword [rdi + 0x28]
mov rbx, qword [rbx]
lea rcx, [rdi + 0x10]
call fcn.140004e24
mov dword [rsp + 0x58], 1
lea rcx, [rbp - 0x50]
mov qword [rsp + 0x50], rcx
lea r8, [rbp - 0x70]
lea rcx, [rsp + 0x70]
xor r9d, r9d
mov qword [rsp + 0x48], rcx
lea rdx, [rbp - 0x60]
mov rcx, qword [rbp - 0x80]
mov qword [rsp + 0x40], rax
mov rax, qword [rdi + 0x128]
mov dword [rsp + 0x38], 0x104
mov qword [rsp + 0x30], r15
and qword [rsp + 0x28], rsi
mov qword [rsp + 0x20], rax
mov rax, qword [rbx + 0x158]
call qword [case.0x140005adb.0]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r13d
add dword [rdi + 0x220], eax
test ebx, ebx
jns 0x14006ae3b
mov rcx, qword [0x140170048]
lea r15, [0x140170048]
cmp rcx, r15
je 0x14006ae91
test byte [rcx + 0x1c], 1
je 0x14006ae91
cmp byte [rcx + 0x19], 2
jb 0x14006ae91
mov r9, qword [rdi + 0x210]
lea r8, [0x14014cde8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x10
mov dword [rsp + 0x20], ebx
mov r9, qword [r9 + 0x18]
call fcn.140005c44
jmp 0x14006ae8a
cmp dword [rsp + 0x70], 0x104
jb 0x14006ae5d
lea r8, str.dwMountedPathLength___MAX_PATH
mov edx, 0xe3
lea rcx, str.base_stor_blbengine_service_restorefiles.cpp
call fcn.14008388c
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x50]
mov r12b, 1
call fcn.14008468c
mov rsi, qword [rsp + 0x78]
mov ebx, eax
lea r15, [0x140170048]
test eax, eax
js 0x14006ae9a
mov qword [rdi + 0x118], rsi
mov rcx, qword [0x140170048]
test ebx, ebx
jns 0x14006af09
test r12b, r12b
je 0x14006aeee
mov rcx, qword [rdi + 0x48]
lea rdx, [rbp - 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x168]
call qword [case.0x140005adb.0]
mov r14d, eax
test eax, eax
jns 0x14006aeee
mov rcx, qword [0x140170048]
cmp rcx, r15
je 0x14006aeee
test byte [rcx + 0x1c], 1
je 0x14006aeee
cmp byte [rcx + 0x19], 2
jb 0x14006aeee
mov rcx, qword [rcx + 0x10]
lea r9, [rbp - 0x50]
mov edx, 0x11
mov dword [rsp + 0x20], eax
lea r8, [0x14014cde8]
call fcn.140005c44
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x140170048]
test r14d, r14d
jns 0x14006af09
test ebx, ebx
cmovns ebx, r14d
cmp rcx, r15
je 0x14006af2f
test byte [rcx + 0x1c], 1
je 0x14006af2f
cmp byte [rcx + 0x19], 4
jb 0x14006af2f
mov rcx, qword [rcx + 0x10]
lea r8, [0x14014cde8]
mov edx, 0x12
call fcn.140004c54
mov eax, ebx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.140141340
mov rbx, qword [rsp + 0x320]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret