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

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x108]
sub rsp, 0x1e0
mov rax, qword [0x140183808]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov r14, rcx
mov rcx, qword [0x140183048]
lea rdx, [0x140183048]
mov eax, 1
cmp rcx, rdx
je 0x14005a1e4
test byte [rcx + 0x1c], al
je 0x14005a1e4
cmp byte [rcx + 0x19], 4
jb 0x14005a1e4
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x52]
lea r8, [0x14015e430]
call fcn.140004e50
mov eax, dword [r14 + 0x110]
lea rcx, [rbp - 0x10]
xor esi, esi
xor edx, edx
mov r13b, sil
mov dword [rbp - 0x68], esi
mov r8d, 0xd0
mov qword [rbp - 0x58], rsi
lea rdi, [rax + rax*2]
mov qword [rbp - 0x78], rsi
shl rdi, 6
mov r12d, esi
add rdi, qword [r14 + 0x108]
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x60], rsi
mov dword [rsp + 0x74], esi
mov dword [rbp - 0x50], r13d
mov qword [rbp - 0x80], rsi
mov qword [rbp - 0x28], rsi
mov qword [rbp - 0x30], rsi
mov byte [rsp + 0x70], sil
mov byte [rsp + 0x78], sil
mov qword [rbp - 0x38], rsi
mov qword [rbp + 0xc0], rsi
mov qword [rbp + 0xc8], rsi
call sub.msvcrt.dll_memset
lea rcx, [r14 + 8]
call fcn.140005048
mov rbx, rax
test rax, rax
jne 0x14005a27f
lea r8, str.pCatalogSystem
mov edx, 0x8bd
lea rcx, str.base_stor_blbengine_service_restore.cpp
call fcn.14008f4c8
mov rcx, qword [rbx]
lea r8, [rbp - 0x10]
movups xmm0, xmmword [r14 + 0xd0]
mov r15d, 1
lea rdx, [rbp - 0x20]
mov r9b, r15b
mov rax, qword [rcx + 0x58]
mov rcx, rbx
movdqu xmmword [rbp - 0x20], xmm0
call qword [case.0x140005df3.0]
mov esi, eax
test eax, eax
js 0x14005a3d2
mov edx, dword [rbp + 0xb4]
lea r9, [rsp + 0x70]
mov ecx, dword [rbp + 0xb0]
lea r8, [rbp - 0x38]
mov byte [rsp + 0x78], r15b
call fcn.14011ea04
mov esi, eax
test eax, eax
js 0x14005a3d2
mov r15, qword [rbp - 0x38]
test r15, r15
jne 0x14005a301
lea r8, str.wszVhdExtension___NULL
mov edx, 0x8cf
lea rcx, str.base_stor_blbengine_service_restore.cpp
call fcn.14008f4c8
lea rdx, [rbp - 0x58]
mov rcx, rdi
call fcn.140057660
mov esi, eax
test eax, eax
js 0x14005b06d
mov r8d, dword [rdi + 0x4c]
lea rcx, [rbp - 0x60]
mov qword [rsp + 0x20], rcx
lea rdx, [rdi + 0x3c]
mov rcx, qword [r14 + 0xc8]
mov r9, r15
call fcn.140119edc
mov esi, eax
test eax, eax
js 0x14005b06d
test byte [rdi + 0x4c], 8
mov r12d, 1
je 0x14005a35d
test byte [rdi + 0x4c], 0x20
movzx r13d, r13b
cmove r13d, r12d
mov dword [rbp - 0x50], r13d
lea r15, [r14 + 0x18]
xor edx, edx
mov rcx, r15
call fcn.140105978
mov esi, eax
test eax, eax
js 0x14005b06d
mov rbx, qword [rbp - 0x60]
xor r8d, r8d
mov rcx, rbx
call fcn.1401070a8
mov esi, eax
test eax, eax
jns 0x14005a540
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
mov r15d, 1
cmp rcx, rax
je 0x14005a3ce
test byte [rcx + 0x1c], r15b
je 0x14005a3ce
cmp byte [rcx + 0x19], 2
jb 0x14005a3ce
mov rcx, qword [rcx + 0x10]
lea edx, [r15 + 0x53]
mov r9, rbx
mov dword [rsp + 0x20], esi
lea r8, [0x14015e430]
call fcn.140005f80
mov r12, qword [rbp - 0x58]
lea rbx, [0x140183048]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14005a468
test byte [r14 + 0x148], 2
je 0x14005a40c
lea r8, str._CHUNKED_m_ulFeatures_
mov edx, 0xa2d
lea rcx, str.base_stor_blbengine_service_restore.cpp
call fcn.14008f4c8
mov rcx, qword [rbp - 0x80]
test esi, esi
jns 0x14005a452
call fcn.140122f40
test eax, eax
jns 0x14005a44e
mov rcx, qword [0x140183048]
cmp rcx, rbx
je 0x14005a44e
test byte [rcx + 0x1c], r15b
je 0x14005a44e
cmp byte [rcx + 0x19], 2
jb 0x14005a44e
mov r9, qword [rbp - 0x80]
lea r8, [0x14015e430]
mov rcx, qword [rcx + 0x10]
mov edx, 0x68
mov dword [rsp + 0x20], eax
call fcn.140005f80
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14005a468
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
and qword [rbp - 0x80], 0
lea rcx, [r14 + 0x18]
call fcn.140105b24
lea rcx, [r14 + 0x48]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
add dword [r14 + 0x118], r15d
lea rcx, [r14 + 0x48]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov eax, dword [r14 + 0x11c]
cmp dword [r14 + 0x118], eax
jbe 0x14005a4c0
lea r8, str.m_ulBagsProcessed___m_cBags
mov edx, 0xa41
lea rcx, str.base_stor_blbengine_service_restore.cpp
call fcn.14008f4c8
test esi, esi
jns 0x14005b0e5
cmp esi, 0x80780118
je 0x14005b076
test r12, r12
je 0x14005b076
mov rdx, qword [r14 + 0x164]
mov rcx, r12
call fcn.140117080
test eax, eax
jns 0x14005b076
mov rcx, qword [0x140183048]
lea rbx, [0x140183048]
cmp rcx, rbx
je 0x14005b07d
test byte [rcx + 0x1c], r15b
je 0x14005b07d
cmp byte [rcx + 0x19], 2
jb 0x14005b07d
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e430]
mov edx, 0x69
mov dword [rsp + 0x20], eax
mov r9, r12
call fcn.140005f80
jmp 0x14005b07d
mov rcx, r15
call fcn.140105b24
mov r8b, r12b
mov edx, 3
mov rcx, r14
call fcn.14005c8bc
mov r12, qword [rbp - 0x58]
lea rdx, [rbp - 0x78]
mov rcx, r12
call fcn.140090224
mov esi, eax
test eax, eax
js 0x14005abce
mov edi, dword [rdi + 0x4c]
and edi, 2
cmp qword [r14 + 0x158], 0
jne 0x14005a95c
lea rcx, [r14 + 0x48]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov eax, dword [r14 + 0x110]
lea rcx, [r14 + 0x48]
lea rdx, [rax + rax*2]
shl rdx, 6
add rdx, qword [r14 + 0x108]
and qword [rdx], 0
and qword [rdx + 8], 0
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rcx, qword [0x140183048]
lea rbx, [0x140183048]
cmp rcx, rbx
je 0x14005a607
test byte [rcx + 0x1c], 1
je 0x14005a607
cmp byte [rcx + 0x19], 4
jb 0x14005a607
mov eax, dword [r14 + 0x110]
lea r8, [0x14015e430]
mov rcx, qword [rcx + 0x10]
mov edx, 0x55
mov r9, r12
mov dword [rsp + 0x20], eax
call fcn.140005f80
test edi, edi
jne 0x14005a61d
mov rcx, r14
call fcn.14005986c
mov esi, eax
test eax, eax
js 0x14005ab89
mov rdi, qword [rbp - 0x70]
lea rdx, [rsp + 0x74]
mov rcx, qword [rbp - 0x78]
lea r8, [rdi + 0xb0]
call fcn.1400bd404
mov ebx, eax
test eax, eax
je 0x14005a69b
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
mov r15d, 1
cmp rcx, rax
je 0x14005a685
test byte [rcx + 0x1c], r15b
je 0x14005a685
cmp byte [rcx + 0x19], 2
jb 0x14005a685
mov r9, qword [rbp - 0x78]
lea edx, [r15 + 0x55]
mov eax, dword [rsp + 0x74]
lea r8, [0x14015e430]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
call fcn.140010c84
mov edx, dword [rsp + 0x74]
lea r8, [rbp - 0x68]
mov ecx, ebx
call fcn.14010866c
mov esi, eax
jmp 0x14005a3d2
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x14005a6e1
test byte [rcx + 0x1c], 1
je 0x14005a6e1
cmp byte [rcx + 0x19], 4
mov rbx, qword [rbp - 0x78]
jb 0x14005a6e5
mov rax, qword [rbp - 0x60]
lea r8, [0x14015e430]
mov rcx, qword [rcx + 0x10]
mov edx, 0x57
mov r9, rbx
mov qword [rsp + 0x20], rax
call fcn.140006004
jmp 0x14005a6e5
mov rbx, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
test byte [r14 + 0x148], 2
mov edi, eax
jne 0x14005a860
cmp byte [rsp + 0x70], 0
jne 0x14005a860
mov rbx, qword [rbp - 0x60]
lea rax, [rbp - 0x80]
mov qword [rsp + 0x28], rax
mov rdx, rbx
and dword [rsp + 0x20], 0
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call fcn.140120d9c
mov esi, eax
test eax, eax
jns 0x14005a77f
mov rcx, qword [0x140183048]
lea rbx, [0x140183048]
mov r15d, 1
cmp rcx, rbx
je 0x14005a776
test byte [rcx + 0x1c], r15b
je 0x14005a776
cmp byte [rcx + 0x19], 2
jb 0x14005a776
mov r9, qword [rbp - 0x80]
lea edx, [r15 + 0x57]
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e430]
mov dword [rsp + 0x20], eax
call fcn.140005f80
mov rdi, qword [rbp - 0x70]
jmp 0x14005a3d9
mov r10, qword [rbp - 0x80]
test r10, r10
jne 0x14005a7a4
lea r8, str.wszMountedVhdPath___NULL
mov edx, 0x947
lea rcx, str.base_stor_blbengine_service_restore.cpp
call fcn.14008f4c8
mov r10, qword [rbp - 0x80]
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
mov r13d, 1
cmp rcx, rax
je 0x14005a7e9
test byte [rcx + 0x1c], r13b
je 0x14005a7e9
cmp byte [rcx + 0x19], 4
jb 0x14005a7e9
mov rcx, qword [rcx + 0x10]
lea edx, [r13 + 0x58]
mov r9, rbx
mov qword [rsp + 0x20], r10
lea r8, [0x14015e430]
call fcn.140006004
mov r10, qword [rbp - 0x80]
mov rax, qword [rbp - 0x70]
lea rcx, [rsp + 0x74]
mov r8b, byte [r14 + 0x161]
mov r9b, r13b
mov dl, byte [r14 + 0x160]
mov qword [rsp + 0x68], rcx
lea rcx, [rbp - 0x30]
mov eax, dword [rax + 0x4c]
mov qword [rsp + 0x60], rcx
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x58], rcx
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x50], rcx
lea rcx, [r14 + 0x158]
mov qword [rsp + 0x48], rcx
lea rcx, [rbp - 0x28]
mov qword [rsp + 0x40], rcx
mov rcx, r10
shr eax, 0xd
and al, r13b
mov byte [rsp + 0x38], al
lea rax, [0x1400597f0]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.1400c1230
jmp 0x14005a8a1
mov r9, qword [r15]
cmp r9, 0xffffffffffffffff
jne 0x14005a876
or r9, r9
cmp qword [r15 + 8], 0xffffffffffffffff
cmovne r9, qword [r15 + 8]
mov rdx, qword [rbp - 0x60]
lea rax, [rsp + 0x74]
lea rcx, [r14 + 0x158]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov r8b, r13b
mov rcx, rbx
call fcn.1400c6f54
mov r13d, 1
mov ebx, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
sub eax, edi
add eax, dword [r14 + 0x16c]
mov dword [r14 + 0x16c], eax
mov rcx, qword [0x140183048]
lea rdx, [0x140183048]
cmp rcx, rdx
je 0x14005a904
test byte [rcx + 0x1c], r13b
je 0x14005a904
cmp byte [rcx + 0x19], 4
jb 0x14005a904
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e430]
mov edx, 0x5a
mov r9d, eax
call fcn.140004e7c
mov rcx, qword [0x140183048]
lea rdx, [0x140183048]
test ebx, ebx
je 0x14005a965
mov r15d, 1
cmp rcx, rdx
je 0x14005a942
test byte [rcx + 0x1c], r15b
je 0x14005a942
cmp byte [rcx + 0x19], 2
jb 0x14005a942
mov eax, dword [rsp + 0x74]
lea edx, [r15 + 0x5a]
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e430]
mov dword [rsp + 0x28], eax
mov r9, r12
mov dword [rsp + 0x20], ebx
call fcn.140010c84
mov edx, dword [rsp + 0x74]
lea r8, [rbp - 0x68]
mov ecx, ebx
call fcn.14010866c
mov rdi, qword [rbp - 0x70]
mov esi, eax
jmp 0x14005a3d2
mov rcx, qword [0x140183048]
jmp 0x14005a969
mov rbx, qword [rbp - 0x60]
lea r13, [0x140183048]
cmp rcx, r13
je 0x14005a9a4
test byte [rcx + 0x1c], 1
je 0x14005a9a4
cmp byte [rcx + 0x19], 4
mov rdi, qword [rbp - 0x78]
jb 0x14005a9a8
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e430]
mov edx, 0x5c
mov qword [rsp + 0x20], rbx
mov r9, rdi
call fcn.140006004
jmp 0x14005a9a8
mov rdi, qword [rbp - 0x78]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
test byte [r14 + 0x148], 2
mov ebx, eax
jne 0x14005aa34
xor ecx, ecx
cmp byte [rsp + 0x70], cl
jne 0x14005aa34
movups xmm0, xmmword [0x140162618]
lea rax, [rsp + 0x74]
mov r9, rdi
mov qword [rsp + 0x60], rax
lea rdx, [0x1400597f0]
mov qword [rsp + 0x58], rcx
lea rax, [rbp - 0x40]
mov qword [rsp + 0x50], rax
mov r8, r14
lea rax, [rbp - 0x48]
mov qword [rsp + 0x48], rax
lea rax, [rbp + 0xc0]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0x38], rcx
mov qword [rsp + 0x30], rcx
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], rcx
mov rcx, qword [r14 + 0x158]
movdqu xmmword [rbp - 0x20], xmm0
call fcn.1400c3c78
jmp 0x14005aa91
mov rax, qword [r15]
cmp rax, 0xffffffffffffffff
jne 0x14005aa4a
or rax, rax
cmp qword [r15 + 8], 0xffffffffffffffff
cmovne rax, qword [r15 + 8]
mov rdx, qword [rbp - 0x60]
lea rcx, [rsp + 0x74]
mov qword [rsp + 0x40], rcx
lea r8, [0x1400597f0]
lea rcx, [rbp - 0x40]
mov r9, r14
mov qword [rsp + 0x38], rcx
lea rcx, [rbp - 0x48]
mov qword [rsp + 0x30], rcx
lea rcx, [rbp + 0xc0]
mov qword [rsp + 0x28], rcx
mov rcx, qword [r14 + 0x158]
mov qword [rsp + 0x20], rax
call fcn.1400c7830
mov r15d, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
nop dword [rax + rax]
sub eax, ebx
add dword [r14 + 0x170], eax
mov rcx, qword [0x140183048]
cmp rcx, r13
je 0x14005aadd
test byte [rcx + 0x1c], 1
je 0x14005aadd
cmp byte [rcx + 0x19], 4
jb 0x14005aadd
mov r9d, dword [r14 + 0x16c]
lea r8, [0x14015e430]
mov rcx, qword [rcx + 0x10]
mov edx, 0x5d
call fcn.140004e7c
mov rdi, qword [rbp - 0x48]
lea r13, [r14 + 0x48]
mov rbx, qword [rbp - 0x40]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
mov eax, dword [r14 + 0x110]
lea rcx, [rax + rax*2]
shl rcx, 6
add rcx, qword [r14 + 0x108]
mov qword [rcx], rbx
mov qword [rcx + 8], rdi
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
test r15d, r15d
je 0x14005abd9
cmp r15d, 1
je 0x14005ab98
mov rcx, qword [0x140183048]
lea rbx, [0x140183048]
cmp rcx, rbx
je 0x14005ab77
test byte [rcx + 0x1c], 1
je 0x14005ab77
cmp byte [rcx + 0x19], 2
jb 0x14005ab77
mov eax, dword [rsp + 0x74]
lea r8, [0x14015e430]
mov rcx, qword [rcx + 0x10]
mov edx, 0x5e
mov dword [rsp + 0x28], eax
mov r9, r12
mov dword [rsp + 0x20], r15d
call fcn.140010c84
mov edx, dword [rsp + 0x74]
lea r8, [rbp - 0x68]
mov ecx, r15d
call fcn.14010866c
mov esi, eax
mov rdi, qword [rbp - 0x70]
mov r15d, 1
jmp 0x14005a3d9
lea rcx, [r14 + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005df3.0]
test al, al
jne 0x14005abc5
lea r8, str.IsAborted__
mov edx, 0x999
lea rcx, str.base_stor_blbengine_service_restore.cpp
call fcn.14008f4c8
mov rdi, qword [rbp - 0x70]
mov esi, 0x80780167
mov r15d, 1
jmp 0x14005a3d2
mov ecx, dword [r14 + 0x118]
mov r9, qword [r14 + 0x120]
mov edx, ecx
mov rax, qword [rbp + 0xc0]
imul r8, rcx, 0x6c
cmp rax, qword [r8 + r9 + 0x50]
jne 0x14005ac0d
mov rax, qword [rbp + 0xc8]
cmp rax, qword [r8 + r9 + 0x58]
je 0x14005aca1
cmp byte [rbp - 0x50], 0
je 0x14005aca1
mov rbx, qword [0x140183048]
lea rax, [0x140183048]
mov r15d, 1
cmp rbx, rax
je 0x14005acae
test byte [rbx + 0x1c], r15b
je 0x14005acae
cmp byte [rbx + 0x19], 3
jb 0x14005acae
mov eax, dword [rbp + 0xcc]
lea edx, [r15 + 0x5e]
mov rcx, qword [rbx + 0x10]
mov dword [rsp + 0x50], eax
mov eax, dword [rbp + 0xc8]
mov dword [rsp + 0x48], eax
mov eax, dword [rbp + 0xc4]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0xc0]
mov dword [rsp + 0x38], eax
mov eax, dword [r8 + r9 + 0x5c]
mov dword [rsp + 0x30], eax
mov eax, dword [r8 + r9 + 0x58]
mov dword [rsp + 0x28], eax
mov eax, dword [r8 + r9 + 0x54]
mov r9d, dword [r8 + r9 + 0x50]
lea r8, [0x14015e430]
mov dword [rsp + 0x20], eax
call fcn.140057044
mov edx, dword [r14 + 0x118]
jmp 0x14005aca7
mov r15d, 1
mov rbx, qword [0x140183048]
mov rdi, qword [rbp - 0x70]
inc edx
cmp edx, dword [r14 + 0x11c]
je 0x14005acea
mov r9d, dword [rdi + 0x4c]
lea r8, [rdi + 0x3c]
mov eax, edx
imul rdx, rax, 0x6c
mov rax, qword [r14 + 0x120]
lea rcx, [rax + 0x2c]
add rcx, rdx
mov edx, dword [rdx + rax + 0x3c]
call fcn.1400937d0
test al, al
jne 0x14005af77
lea rax, [0x140183048]
cmp rbx, rax
je 0x14005ad25
test byte [rbx + 0x1c], r15b
je 0x14005ad25
cmp byte [rbx + 0x19], 4
jb 0x14005ad25
mov eax, dword [r14 + 0x110]
lea r8, [0x14015e430]
mov rcx, qword [rbx + 0x10]
mov edx, 0x60
mov r9, r12
mov dword [rsp + 0x20], eax
call fcn.140005f80
test byte [r14 + 0x148], 2
jne 0x14005ad36
cmp byte [rsp + 0x70], 0
je 0x14005ad4a
lea rbx, [r14 + 0x158]
mov rcx, rdi
mov rdx, qword [rbx]
call fcn.140057504
jmp 0x14005ad51
lea rbx, [r14 + 0x158]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14005ad78
lea r8, str.m_pCurrentRestoreContext
mov edx, 0x9cd
lea rcx, str.base_stor_blbengine_service_restore.cpp
call fcn.14008f4c8
mov rcx, qword [r14 + 0x158]
call fcn.1400c8f88
xor eax, eax
mov qword [rbx], rax
test byte [rdi + 0x4c], r15b
jne 0x14005af45
cmp byte [r14 + 0x180], al
jne 0x14005aeba
mov rsi, qword [rbp - 0x78]
lea rdx, [rdi + 0xb0]
mov rcx, rsi
mov byte [rsp + 0x70], al
lea r9, [rsp + 0x70]
lea r8, [rsp + 0x74]
call fcn.1400bd6ec
mov ebx, eax
test eax, eax
je 0x14005adf8
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
cmp rcx, rax
je 0x14005a685
test byte [rcx + 0x1c], r15b
je 0x14005a685
cmp byte [rcx + 0x19], 2
jb 0x14005a685
mov edx, 0x61
mov r9, r12
jmp 0x14005a669
mov rcx, qword [0x140183048]
lea rax, [0x140183048]
mov bl, byte [rsp + 0x70]
cmp rcx, rax
je 0x14005ae49
test byte [rcx + 0x1c], r15b
je 0x14005ae49
cmp byte [rcx + 0x19], 4
jb 0x14005ae49
mov rcx, qword [rcx + 0x10]
lea rax, [0x14015d5f8]
test bl, bl
mov qword [rsp + 0x20], rsi
lea r9, [0x14015e2c0]
mov edx, 0x62
cmovne r9, rax
lea r8, [0x14015e430]
call fcn.140006004
test bl, bl
je 0x14005aef0
mov r8b, r15b
mov edx, 0xc
mov rcx, r14
call fcn.14005c8bc
mov rdx, rsi
mov rcx, rdi
call fcn.140059efc
mov esi, eax
test eax, eax
jns 0x14005aef0
mov rcx, qword [0x140183048]
lea rbx, [0x140183048]
cmp rcx, rbx
je 0x14005a3d9
test byte [rcx + 0x1c], r15b
je 0x14005a3d9
cmp byte [rcx + 0x19], 2
jb 0x14005a3d9
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e430]
mov edx, 0x63
mov r9d, eax
call fcn.140004e7c
jmp 0x14005a3d9
mov rcx, qword [0x140183048]
lea rbx, [0x140183048]
cmp rcx, rbx
je 0x14005aef7
test byte [rcx + 0x1c], r15b
je 0x14005aef7
cmp byte [rcx + 0x19], 4
jb 0x14005aef7
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e430]
mov edx, 0x64
call fcn.140004e50
jmp 0x14005aef7
lea rbx, [0x140183048]
mov rcx, qword [rbp - 0x78]
call fcn.140106ce0
mov esi, eax
test eax, eax
jns 0x14005af52
mov rcx, qword [0x140183048]
cmp rcx, rbx
je 0x14005af3b
test byte [rcx + 0x1c], r15b
je 0x14005af3b
cmp byte [rcx + 0x19], 2
jb 0x14005af3b
mov r9, qword [rbp - 0x78]
lea r8, [0x14015e430]
mov rcx, qword [rcx + 0x10]
mov edx, 0x65
mov dword [rsp + 0x20], eax
call fcn.140005f80
mov esi, 0x80780124
jmp 0x14005a3d9
mov edx, 9
mov rcx, rdi
call fcn.140057400
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
add dword [r14 + 0x150], r15d
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
nop dword [rax + rax]
add dword [rdi + 0x10], r15d
mov rcx, r13
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
nop dword [rax + rax]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14005a468
test byte [r14 + 0x148], 2
je 0x14005afcc
lea r8, str._CHUNKED_m_ulFeatures_
mov edx, 0xa1b
lea rcx, str.base_stor_blbengine_service_restore.cpp
call fcn.14008f4c8
mov rcx, qword [rbp - 0x80]
call fcn.140122f40
mov esi, eax
test eax, eax
jns 0x14005b024
mov rcx, qword [0x140183048]
lea rbx, [0x140183048]
cmp rcx, rbx
je 0x14005a3d9
test byte [rcx + 0x1c], r15b
je 0x14005a3d9
cmp byte [rcx + 0x19], 2
jb 0x14005a3d9
mov r9, qword [rbp - 0x80]
lea r8, [0x14015e430]
mov rcx, qword [rcx + 0x10]
mov edx, 0x66
mov dword [rsp + 0x20], eax
call fcn.140005f80
jmp 0x14005a3d9
mov rcx, qword [0x140183048]
lea rbx, [0x140183048]
cmp rcx, rbx
je 0x14005a3d9
test byte [rcx + 0x1c], r15b
je 0x14005a3d9
cmp byte [rcx + 0x19], 4
jb 0x14005a3d9
mov r9, qword [rbp - 0x80]
lea r8, [0x14015e430]
mov rcx, qword [rcx + 0x10]
mov edx, 0x67
call fcn.140005f10
jmp 0x14005a3d9
mov r12, qword [rbp - 0x58]
jmp 0x14005abce
lea rbx, [0x140183048]
mov rcx, qword [r14 + 0x158]
test rcx, rcx
je 0x14005b096
call fcn.1400c8f88
and qword [r14 + 0x158], 0
mov r8d, dword [rbp - 0x68]
mov edx, esi
mov rcx, rdi
call fcn.140057490
mov rcx, qword [0x140183048]
cmp rcx, rbx
je 0x14005b0f3
test byte [rcx + 0x1c], r15b
je 0x14005b0f3
cmp byte [rcx + 0x19], 2
jb 0x14005b0f3
mov rcx, qword [rcx + 0x10]
lea r9, [0x14015e2e8]
test r12, r12
mov dword [rsp + 0x20], esi
mov edx, 0x6a
lea r8, [0x14015e430]
cmovne r9, r12
call fcn.140005f80
jmp 0x14005b0ec
lea rbx, [0x140183048]
mov rcx, qword [0x140183048]
mov rax, qword [rbp - 0x60]
test rax, rax
je 0x14005b112
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140183048]
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x14005b131
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140183048]
test r12, r12
je 0x14005b14c
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140183048]
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x14005b16b
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x140183048]
cmp byte [rsp + 0x78], 0
je 0x14005b182
lea rcx, [rbp - 0x10]
call fcn.1400a173c
mov rcx, qword [0x140183048]
cmp rcx, rbx
je 0x14005b1a8
test byte [rcx + 0x1c], r15b
je 0x14005b1a8
cmp byte [rcx + 0x19], 4
jb 0x14005b1a8
mov rcx, qword [rcx + 0x10]
lea r8, [0x14015e430]
mov edx, 0x6b
call fcn.140004e50
mov eax, esi
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.1401534b0
lea r11, [rsp + 0x1e0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret