Function at 0x14006dd70
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 [0x14017a608]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, rdx
mov qword [rbp - 0x80], rdx
mov rdi, rcx
mov rcx, qword [0x14017a048]
lea r13, [0x14017a048]
cmp rcx, r13
je 0x14006dde5
test byte [rcx + 0x1c], 1
je 0x14006dde5
cmp byte [rcx + 0x19], 4
jb 0x14006dde5
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156eb8]
mov edx, 0xe
call fcn.140004b70
mov rcx, qword [0x14017a048]
xor r15d, r15d
mov r14d, r15d
cmp qword [rdi + 0x210], r15
jne 0x14006de13
lea r8, [0x140156b80]
mov edx, 0xbc
lea rcx, str.base_stor_blbengine_service_restorefiles.cpp
call fcn.1400876c8
mov rcx, qword [0x14017a048]
cmp qword [rdi + 0x128], r15
jne 0x14006de3b
lea r8, str.m_wszTargetName___NULL
mov edx, 0xbd
lea rcx, str.base_stor_blbengine_service_restorefiles.cpp
call fcn.1400876c8
mov rcx, qword [0x14017a048]
mov rsi, r15
mov qword [rsp + 0x78], r15
mov dword [rsp + 0x70], r15d
mov r12b, r15b
cmp rcx, r13
je 0x14006de78
test byte [rcx + 0x1c], 1
je 0x14006de78
cmp byte [rcx + 0x19], 4
jb 0x14006de78
mov r9, qword [rdi + 0x128]
lea r8, [0x140156eb8]
mov rcx, qword [rcx + 0x10]
mov edx, 0xf
call fcn.140005c30
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
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 0x14006deb9
or r15, r15
cmp qword [rdi + 0x28], 0xffffffffffffffff
cmovne r15, qword [rdi + 0x28]
mov rbx, qword [rbx]
lea rcx, [rdi + 0x10]
call fcn.140004d68
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.0x140005b13.0]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
sub eax, r13d
add dword [rdi + 0x220], eax
test ebx, ebx
jns 0x14006df87
mov rcx, qword [0x14017a048]
lea r15, [0x14017a048]
cmp rcx, r15
je 0x14006dfdd
test byte [rcx + 0x1c], 1
je 0x14006dfdd
cmp byte [rcx + 0x19], 2
jb 0x14006dfdd
mov r9, qword [rdi + 0x210]
lea r8, [0x140156eb8]
mov rcx, qword [rcx + 0x10]
mov edx, 0x10
mov dword [rsp + 0x20], ebx
mov r9, qword [r9 + 0x18]
call fcn.140005ca0
jmp 0x14006dfd6
cmp dword [rsp + 0x70], 0x104
jb 0x14006dfa9
lea r8, str.dwMountedPathLength___MAX_PATH
mov edx, 0xe3
lea rcx, str.base_stor_blbengine_service_restorefiles.cpp
call fcn.1400876c8
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x50]
mov r12b, 1
call fcn.14008859c
mov rsi, qword [rsp + 0x78]
mov ebx, eax
lea r15, [0x14017a048]
test eax, eax
js 0x14006dfe6
mov qword [rdi + 0x118], rsi
mov rcx, qword [0x14017a048]
test ebx, ebx
jns 0x14006e05b
test r12b, r12b
je 0x14006e03a
mov rcx, qword [rdi + 0x48]
lea rdx, [rbp - 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x168]
call qword [case.0x140005b13.0]
mov r14d, eax
test eax, eax
jns 0x14006e03a
mov rcx, qword [0x14017a048]
cmp rcx, r15
je 0x14006e03a
test byte [rcx + 0x1c], 1
je 0x14006e03a
cmp byte [rcx + 0x19], 2
jb 0x14006e03a
mov rcx, qword [rcx + 0x10]
lea r9, [rbp - 0x50]
mov edx, 0x11
mov dword [rsp + 0x20], eax
lea r8, [0x140156eb8]
call fcn.140005ca0
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017a048]
test r14d, r14d
jns 0x14006e05b
test ebx, ebx
cmovns ebx, r14d
cmp rcx, r15
je 0x14006e081
test byte [rcx + 0x1c], 1
je 0x14006e081
cmp byte [rcx + 0x19], 4
jb 0x14006e081
mov rcx, qword [rcx + 0x10]
lea r8, [0x140156eb8]
mov edx, 0x12
call fcn.140004b70
mov eax, ebx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14014b700
mov rbx, qword [rsp + 0x320]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret