Function at 0x1400695d8
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 [0x14016d608]
xor rax, rsp
mov qword [rbp + 0x1c0], rax
mov rbx, rdx
mov qword [rbp - 0x80], rdx
mov rdi, rcx
mov rcx, qword [0x14016d090]
lea r13, [0x14016d090]
cmp rcx, r13
je 0x14006964d
test byte [rcx + 0x1c], 1
je 0x14006964d
cmp byte [rcx + 0x19], 4
jb 0x14006964d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140148d98]
mov edx, 0xe
call fcn.140004968
mov rcx, qword [0x14016d090]
xor r15d, r15d
mov r14d, r15d
cmp qword [rdi + 0x210], r15
jne 0x14006967b
lea r8, [0x140148a60]
mov edx, 0xbc
lea rcx, str.base_stor_blbengine_service_restorefiles.cpp
call fcn.140081b60
mov rcx, qword [0x14016d090]
cmp qword [rdi + 0x128], r15
jne 0x1400696a3
lea r8, str.m_wszTargetName___NULL
mov edx, 0xbd
lea rcx, str.base_stor_blbengine_service_restorefiles.cpp
call fcn.140081b60
mov rcx, qword [0x14016d090]
mov rsi, r15
mov qword [rsp + 0x78], r15
mov dword [rsp + 0x70], r15d
mov r12b, r15b
cmp rcx, r13
je 0x1400696e0
test byte [rcx + 0x1c], 1
je 0x1400696e0
cmp byte [rcx + 0x19], 4
jb 0x1400696e0
mov r9, qword [rdi + 0x128]
lea r8, [0x140148d98]
mov rcx, qword [rcx + 0x10]
mov edx, 0xf
call fcn.140005868
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 0x14006971b
or r15, r15
cmp qword [rdi + 0x28], 0xffffffffffffffff
cmovne r15, qword [rdi + 0x28]
mov rbx, qword [rbx]
lea rcx, [rdi + 0x10]
call fcn.140004b18
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.0x140005783.0]
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, r13d
add dword [rdi + 0x220], eax
test ebx, ebx
jns 0x1400697e3
mov rcx, qword [0x14016d090]
lea r15, [0x14016d090]
cmp rcx, r15
je 0x140069839
test byte [rcx + 0x1c], 1
je 0x140069839
cmp byte [rcx + 0x19], 2
jb 0x140069839
mov r9, qword [rdi + 0x210]
lea r8, [0x140148d98]
mov rcx, qword [rcx + 0x10]
mov edx, 0x10
mov dword [rsp + 0x20], ebx
mov r9, qword [r9 + 0x18]
call fcn.1400058c8
jmp 0x140069832
cmp dword [rsp + 0x70], 0x104
jb 0x140069805
lea r8, str.dwMountedPathLength___MAX_PATH
mov edx, 0xe3
lea rcx, str.base_stor_blbengine_service_restorefiles.cpp
call fcn.140081b60
xor r8d, r8d
lea rdx, [rsp + 0x78]
lea rcx, [rbp - 0x50]
mov r12b, 1
call fcn.14008290c
mov rsi, qword [rsp + 0x78]
mov ebx, eax
lea r15, [0x14016d090]
test eax, eax
js 0x140069842
mov qword [rdi + 0x118], rsi
mov rcx, qword [0x14016d090]
test ebx, ebx
jns 0x1400698b1
test r12b, r12b
je 0x140069896
mov rcx, qword [rdi + 0x48]
lea rdx, [rbp - 0x50]
mov rax, qword [rcx]
mov rax, qword [rax + 0x168]
call qword [case.0x140005783.0]
mov r14d, eax
test eax, eax
jns 0x140069896
mov rcx, qword [0x14016d090]
cmp rcx, r15
je 0x140069896
test byte [rcx + 0x1c], 1
je 0x140069896
cmp byte [rcx + 0x19], 2
jb 0x140069896
mov rcx, qword [rcx + 0x10]
lea r9, [rbp - 0x50]
mov edx, 0x11
mov dword [rsp + 0x20], eax
lea r8, [0x140148d98]
call fcn.1400058c8
mov rcx, rsi
call qword [sym.imp.ole32.dll_CoTaskMemFree]
mov rcx, qword [0x14016d090]
test r14d, r14d
jns 0x1400698b1
test ebx, ebx
cmovns ebx, r14d
cmp rcx, r15
je 0x1400698d7
test byte [rcx + 0x1c], 1
je 0x1400698d7
cmp byte [rcx + 0x19], 4
jb 0x1400698d7
mov rcx, qword [rcx + 0x10]
lea r8, [0x140148d98]
mov edx, 0x12
call fcn.140004968
mov eax, ebx
mov rcx, qword [rbp + 0x1c0]
xor rcx, rsp
call fcn.14013cc00
mov rbx, qword [rsp + 0x320]
add rsp, 0x2d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret