Function at 0x140059f34
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 [0x14017b608]
xor rax, rsp
mov qword [rbp + 0xd0], rax
mov r14, rcx
mov rcx, qword [0x14017b048]
lea rdx, [0x14017b048]
mov eax, 1
cmp rcx, rdx
je 0x140059fa4
test byte [rcx + 0x1c], al
je 0x140059fa4
cmp byte [rcx + 0x19], 4
jb 0x140059fa4
mov rcx, qword [rcx + 0x10]
lea edx, [rax + 0x52]
lea r8, [0x140157210]
call fcn.140004c10
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.140004e08
mov rbx, rax
test rax, rax
jne 0x14005a03f
lea r8, str.pCatalogSystem
mov edx, 0x8bd
lea rcx, str.base_stor_blbengine_service_restore.cpp
call fcn.140087b08
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.0x140005bb3.0]
mov esi, eax
test eax, eax
js 0x14005a192
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.140117044
mov esi, eax
test eax, eax
js 0x14005a192
mov r15, qword [rbp - 0x38]
test r15, r15
jne 0x14005a0c1
lea r8, str.wszVhdExtension___NULL
mov edx, 0x8cf
lea rcx, str.base_stor_blbengine_service_restore.cpp
call fcn.140087b08
lea rdx, [rbp - 0x58]
mov rcx, rdi
call fcn.140057420
mov esi, eax
test eax, eax
js 0x14005ae2d
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.14011251c
mov esi, eax
test eax, eax
js 0x14005ae2d
test byte [rdi + 0x4c], 8
mov r12d, 1
je 0x14005a11d
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.1400fdfb8
mov esi, eax
test eax, eax
js 0x14005ae2d
mov rbx, qword [rbp - 0x60]
xor r8d, r8d
mov rcx, rbx
call fcn.1400ff6e8
mov esi, eax
test eax, eax
jns 0x14005a300
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
mov r15d, 1
cmp rcx, rax
je 0x14005a18e
test byte [rcx + 0x1c], r15b
je 0x14005a18e
cmp byte [rcx + 0x19], 2
jb 0x14005a18e
mov rcx, qword [rcx + 0x10]
lea edx, [r15 + 0x53]
mov r9, rbx
mov dword [rsp + 0x20], esi
lea r8, [0x140157210]
call fcn.140005d40
mov r12, qword [rbp - 0x58]
lea rbx, [0x14017b048]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14005a228
test byte [r14 + 0x148], 2
je 0x14005a1cc
lea r8, str._CHUNKED_m_ulFeatures_
mov edx, 0xa2d
lea rcx, str.base_stor_blbengine_service_restore.cpp
call fcn.140087b08
mov rcx, qword [rbp - 0x80]
test esi, esi
jns 0x14005a212
call fcn.14011b580
test eax, eax
jns 0x14005a20e
mov rcx, qword [0x14017b048]
cmp rcx, rbx
je 0x14005a20e
test byte [rcx + 0x1c], r15b
je 0x14005a20e
cmp byte [rcx + 0x19], 2
jb 0x14005a20e
mov r9, qword [rbp - 0x80]
lea r8, [0x140157210]
mov rcx, qword [rcx + 0x10]
mov edx, 0x68
mov dword [rsp + 0x20], eax
call fcn.140005d40
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14005a228
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
and qword [rbp - 0x80], 0
lea rcx, [r14 + 0x18]
call fcn.1400fe164
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 0x14005a280
lea r8, str.m_ulBagsProcessed___m_cBags
mov edx, 0xa41
lea rcx, str.base_stor_blbengine_service_restore.cpp
call fcn.140087b08
test esi, esi
jns 0x14005aea5
cmp esi, 0x80780118
je 0x14005ae36
test r12, r12
je 0x14005ae36
mov rdx, qword [r14 + 0x164]
mov rcx, r12
call fcn.14010f6c0
test eax, eax
jns 0x14005ae36
mov rcx, qword [0x14017b048]
lea rbx, [0x14017b048]
cmp rcx, rbx
je 0x14005ae3d
test byte [rcx + 0x1c], r15b
je 0x14005ae3d
cmp byte [rcx + 0x19], 2
jb 0x14005ae3d
mov rcx, qword [rcx + 0x10]
lea r8, [0x140157210]
mov edx, 0x69
mov dword [rsp + 0x20], eax
mov r9, r12
call fcn.140005d40
jmp 0x14005ae3d
mov rcx, r15
call fcn.1400fe164
mov r8b, r12b
mov edx, 3
mov rcx, r14
call fcn.14005c67c
mov r12, qword [rbp - 0x58]
lea rdx, [rbp - 0x78]
mov rcx, r12
call fcn.140088864
mov esi, eax
test eax, eax
js 0x14005a98e
mov edi, dword [rdi + 0x4c]
and edi, 2
cmp qword [r14 + 0x158], 0
jne 0x14005a71c
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 [0x14017b048]
lea rbx, [0x14017b048]
cmp rcx, rbx
je 0x14005a3c7
test byte [rcx + 0x1c], 1
je 0x14005a3c7
cmp byte [rcx + 0x19], 4
jb 0x14005a3c7
mov eax, dword [r14 + 0x110]
lea r8, [0x140157210]
mov rcx, qword [rcx + 0x10]
mov edx, 0x55
mov r9, r12
mov dword [rsp + 0x20], eax
call fcn.140005d40
test edi, edi
jne 0x14005a3dd
mov rcx, r14
call fcn.14005962c
mov esi, eax
test eax, eax
js 0x14005a949
mov rdi, qword [rbp - 0x70]
lea rdx, [rsp + 0x74]
mov rcx, qword [rbp - 0x78]
lea r8, [rdi + 0xb0]
call fcn.1400b5a44
mov ebx, eax
test eax, eax
je 0x14005a45b
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
mov r15d, 1
cmp rcx, rax
je 0x14005a445
test byte [rcx + 0x1c], r15b
je 0x14005a445
cmp byte [rcx + 0x19], 2
jb 0x14005a445
mov r9, qword [rbp - 0x78]
lea edx, [r15 + 0x55]
mov eax, dword [rsp + 0x74]
lea r8, [0x140157210]
mov rcx, qword [rcx + 0x10]
mov dword [rsp + 0x28], eax
mov dword [rsp + 0x20], ebx
call fcn.140010a44
mov edx, dword [rsp + 0x74]
lea r8, [rbp - 0x68]
mov ecx, ebx
call fcn.140100cac
mov esi, eax
jmp 0x14005a192
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x14005a4a1
test byte [rcx + 0x1c], 1
je 0x14005a4a1
cmp byte [rcx + 0x19], 4
mov rbx, qword [rbp - 0x78]
jb 0x14005a4a5
mov rax, qword [rbp - 0x60]
lea r8, [0x140157210]
mov rcx, qword [rcx + 0x10]
mov edx, 0x57
mov r9, rbx
mov qword [rsp + 0x20], rax
call fcn.140005dc4
jmp 0x14005a4a5
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 0x14005a620
cmp byte [rsp + 0x70], 0
jne 0x14005a620
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.1401193dc
mov esi, eax
test eax, eax
jns 0x14005a53f
mov rcx, qword [0x14017b048]
lea rbx, [0x14017b048]
mov r15d, 1
cmp rcx, rbx
je 0x14005a536
test byte [rcx + 0x1c], r15b
je 0x14005a536
cmp byte [rcx + 0x19], 2
jb 0x14005a536
mov r9, qword [rbp - 0x80]
lea edx, [r15 + 0x57]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140157210]
mov dword [rsp + 0x20], eax
call fcn.140005d40
mov rdi, qword [rbp - 0x70]
jmp 0x14005a199
mov r10, qword [rbp - 0x80]
test r10, r10
jne 0x14005a564
lea r8, str.wszMountedVhdPath___NULL
mov edx, 0x947
lea rcx, str.base_stor_blbengine_service_restore.cpp
call fcn.140087b08
mov r10, qword [rbp - 0x80]
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
mov r13d, 1
cmp rcx, rax
je 0x14005a5a9
test byte [rcx + 0x1c], r13b
je 0x14005a5a9
cmp byte [rcx + 0x19], 4
jb 0x14005a5a9
mov rcx, qword [rcx + 0x10]
lea edx, [r13 + 0x58]
mov r9, rbx
mov qword [rsp + 0x20], r10
lea r8, [0x140157210]
call fcn.140005dc4
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, [0x1400595b0]
mov qword [rsp + 0x28], r14
mov qword [rsp + 0x20], rax
call fcn.1400b9870
jmp 0x14005a661
mov r9, qword [r15]
cmp r9, 0xffffffffffffffff
jne 0x14005a636
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.1400bf594
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 [0x14017b048]
lea rdx, [0x14017b048]
cmp rcx, rdx
je 0x14005a6c4
test byte [rcx + 0x1c], r13b
je 0x14005a6c4
cmp byte [rcx + 0x19], 4
jb 0x14005a6c4
mov rcx, qword [rcx + 0x10]
lea r8, [0x140157210]
mov edx, 0x5a
mov r9d, eax
call fcn.140004c3c
mov rcx, qword [0x14017b048]
lea rdx, [0x14017b048]
test ebx, ebx
je 0x14005a725
mov r15d, 1
cmp rcx, rdx
je 0x14005a702
test byte [rcx + 0x1c], r15b
je 0x14005a702
cmp byte [rcx + 0x19], 2
jb 0x14005a702
mov eax, dword [rsp + 0x74]
lea edx, [r15 + 0x5a]
mov rcx, qword [rcx + 0x10]
lea r8, [0x140157210]
mov dword [rsp + 0x28], eax
mov r9, r12
mov dword [rsp + 0x20], ebx
call fcn.140010a44
mov edx, dword [rsp + 0x74]
lea r8, [rbp - 0x68]
mov ecx, ebx
call fcn.140100cac
mov rdi, qword [rbp - 0x70]
mov esi, eax
jmp 0x14005a192
mov rcx, qword [0x14017b048]
jmp 0x14005a729
mov rbx, qword [rbp - 0x60]
lea r13, [0x14017b048]
cmp rcx, r13
je 0x14005a764
test byte [rcx + 0x1c], 1
je 0x14005a764
cmp byte [rcx + 0x19], 4
mov rdi, qword [rbp - 0x78]
jb 0x14005a768
mov rcx, qword [rcx + 0x10]
lea r8, [0x140157210]
mov edx, 0x5c
mov qword [rsp + 0x20], rbx
mov r9, rdi
call fcn.140005dc4
jmp 0x14005a768
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 0x14005a7f4
xor ecx, ecx
cmp byte [rsp + 0x70], cl
jne 0x14005a7f4
movups xmm0, xmmword [0x14015af68]
lea rax, [rsp + 0x74]
mov r9, rdi
mov qword [rsp + 0x60], rax
lea rdx, [0x1400595b0]
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.1400bc2b8
jmp 0x14005a851
mov rax, qword [r15]
cmp rax, 0xffffffffffffffff
jne 0x14005a80a
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, [0x1400595b0]
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.1400bfe70
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 [0x14017b048]
cmp rcx, r13
je 0x14005a89d
test byte [rcx + 0x1c], 1
je 0x14005a89d
cmp byte [rcx + 0x19], 4
jb 0x14005a89d
mov r9d, dword [r14 + 0x16c]
lea r8, [0x140157210]
mov rcx, qword [rcx + 0x10]
mov edx, 0x5d
call fcn.140004c3c
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 0x14005a999
cmp r15d, 1
je 0x14005a958
mov rcx, qword [0x14017b048]
lea rbx, [0x14017b048]
cmp rcx, rbx
je 0x14005a937
test byte [rcx + 0x1c], 1
je 0x14005a937
cmp byte [rcx + 0x19], 2
jb 0x14005a937
mov eax, dword [rsp + 0x74]
lea r8, [0x140157210]
mov rcx, qword [rcx + 0x10]
mov edx, 0x5e
mov dword [rsp + 0x28], eax
mov r9, r12
mov dword [rsp + 0x20], r15d
call fcn.140010a44
mov edx, dword [rsp + 0x74]
lea r8, [rbp - 0x68]
mov ecx, r15d
call fcn.140100cac
mov esi, eax
mov rdi, qword [rbp - 0x70]
mov r15d, 1
jmp 0x14005a199
lea rcx, [r14 + 8]
mov rax, qword [rcx]
mov rax, qword [rax + 0x10]
call qword [case.0x140005bb3.0]
test al, al
jne 0x14005a985
lea r8, str.IsAborted__
mov edx, 0x999
lea rcx, str.base_stor_blbengine_service_restore.cpp
call fcn.140087b08
mov rdi, qword [rbp - 0x70]
mov esi, 0x80780167
mov r15d, 1
jmp 0x14005a192
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 0x14005a9cd
mov rax, qword [rbp + 0xc8]
cmp rax, qword [r8 + r9 + 0x58]
je 0x14005aa61
cmp byte [rbp - 0x50], 0
je 0x14005aa61
mov rbx, qword [0x14017b048]
lea rax, [0x14017b048]
mov r15d, 1
cmp rbx, rax
je 0x14005aa6e
test byte [rbx + 0x1c], r15b
je 0x14005aa6e
cmp byte [rbx + 0x19], 3
jb 0x14005aa6e
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, [0x140157210]
mov dword [rsp + 0x20], eax
call fcn.140056e04
mov edx, dword [r14 + 0x118]
jmp 0x14005aa67
mov r15d, 1
mov rbx, qword [0x14017b048]
mov rdi, qword [rbp - 0x70]
inc edx
cmp edx, dword [r14 + 0x11c]
je 0x14005aaaa
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.14008be10
test al, al
jne 0x14005ad37
lea rax, [0x14017b048]
cmp rbx, rax
je 0x14005aae5
test byte [rbx + 0x1c], r15b
je 0x14005aae5
cmp byte [rbx + 0x19], 4
jb 0x14005aae5
mov eax, dword [r14 + 0x110]
lea r8, [0x140157210]
mov rcx, qword [rbx + 0x10]
mov edx, 0x60
mov r9, r12
mov dword [rsp + 0x20], eax
call fcn.140005d40
test byte [r14 + 0x148], 2
jne 0x14005aaf6
cmp byte [rsp + 0x70], 0
je 0x14005ab0a
lea rbx, [r14 + 0x158]
mov rcx, rdi
mov rdx, qword [rbx]
call fcn.1400572c4
jmp 0x14005ab11
lea rbx, [r14 + 0x158]
mov rcx, qword [rbx]
test rcx, rcx
jne 0x14005ab38
lea r8, str.m_pCurrentRestoreContext
mov edx, 0x9cd
lea rcx, str.base_stor_blbengine_service_restore.cpp
call fcn.140087b08
mov rcx, qword [r14 + 0x158]
call fcn.1400c15c8
xor eax, eax
mov qword [rbx], rax
test byte [rdi + 0x4c], r15b
jne 0x14005ad05
cmp byte [r14 + 0x180], al
jne 0x14005ac7a
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.1400b5d2c
mov ebx, eax
test eax, eax
je 0x14005abb8
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
cmp rcx, rax
je 0x14005a445
test byte [rcx + 0x1c], r15b
je 0x14005a445
cmp byte [rcx + 0x19], 2
jb 0x14005a445
mov edx, 0x61
mov r9, r12
jmp 0x14005a429
mov rcx, qword [0x14017b048]
lea rax, [0x14017b048]
mov bl, byte [rsp + 0x70]
cmp rcx, rax
je 0x14005ac09
test byte [rcx + 0x1c], r15b
je 0x14005ac09
cmp byte [rcx + 0x19], 4
jb 0x14005ac09
mov rcx, qword [rcx + 0x10]
lea rax, [0x1401563d8]
test bl, bl
mov qword [rsp + 0x20], rsi
lea r9, [0x1401570a0]
mov edx, 0x62
cmovne r9, rax
lea r8, [0x140157210]
call fcn.140005dc4
test bl, bl
je 0x14005acb0
mov r8b, r15b
mov edx, 0xc
mov rcx, r14
call fcn.14005c67c
mov rdx, rsi
mov rcx, rdi
call fcn.140059cbc
mov esi, eax
test eax, eax
jns 0x14005acb0
mov rcx, qword [0x14017b048]
lea rbx, [0x14017b048]
cmp rcx, rbx
je 0x14005a199
test byte [rcx + 0x1c], r15b
je 0x14005a199
cmp byte [rcx + 0x19], 2
jb 0x14005a199
mov rcx, qword [rcx + 0x10]
lea r8, [0x140157210]
mov edx, 0x63
mov r9d, eax
call fcn.140004c3c
jmp 0x14005a199
mov rcx, qword [0x14017b048]
lea rbx, [0x14017b048]
cmp rcx, rbx
je 0x14005acb7
test byte [rcx + 0x1c], r15b
je 0x14005acb7
cmp byte [rcx + 0x19], 4
jb 0x14005acb7
mov rcx, qword [rcx + 0x10]
lea r8, [0x140157210]
mov edx, 0x64
call fcn.140004c10
jmp 0x14005acb7
lea rbx, [0x14017b048]
mov rcx, qword [rbp - 0x78]
call fcn.1400ff320
mov esi, eax
test eax, eax
jns 0x14005ad12
mov rcx, qword [0x14017b048]
cmp rcx, rbx
je 0x14005acfb
test byte [rcx + 0x1c], r15b
je 0x14005acfb
cmp byte [rcx + 0x19], 2
jb 0x14005acfb
mov r9, qword [rbp - 0x78]
lea r8, [0x140157210]
mov rcx, qword [rcx + 0x10]
mov edx, 0x65
mov dword [rsp + 0x20], eax
call fcn.140005d40
mov esi, 0x80780124
jmp 0x14005a199
mov edx, 9
mov rcx, rdi
call fcn.1400571c0
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 0x14005a228
test byte [r14 + 0x148], 2
je 0x14005ad8c
lea r8, str._CHUNKED_m_ulFeatures_
mov edx, 0xa1b
lea rcx, str.base_stor_blbengine_service_restore.cpp
call fcn.140087b08
mov rcx, qword [rbp - 0x80]
call fcn.14011b580
mov esi, eax
test eax, eax
jns 0x14005ade4
mov rcx, qword [0x14017b048]
lea rbx, [0x14017b048]
cmp rcx, rbx
je 0x14005a199
test byte [rcx + 0x1c], r15b
je 0x14005a199
cmp byte [rcx + 0x19], 2
jb 0x14005a199
mov r9, qword [rbp - 0x80]
lea r8, [0x140157210]
mov rcx, qword [rcx + 0x10]
mov edx, 0x66
mov dword [rsp + 0x20], eax
call fcn.140005d40
jmp 0x14005a199
mov rcx, qword [0x14017b048]
lea rbx, [0x14017b048]
cmp rcx, rbx
je 0x14005a199
test byte [rcx + 0x1c], r15b
je 0x14005a199
cmp byte [rcx + 0x19], 4
jb 0x14005a199
mov r9, qword [rbp - 0x80]
lea r8, [0x140157210]
mov rcx, qword [rcx + 0x10]
mov edx, 0x67
call fcn.140005cd0
jmp 0x14005a199
mov r12, qword [rbp - 0x58]
jmp 0x14005a98e
lea rbx, [0x14017b048]
mov rcx, qword [r14 + 0x158]
test rcx, rcx
je 0x14005ae56
call fcn.1400c15c8
and qword [r14 + 0x158], 0
mov r8d, dword [rbp - 0x68]
mov edx, esi
mov rcx, rdi
call fcn.140057250
mov rcx, qword [0x14017b048]
cmp rcx, rbx
je 0x14005aeb3
test byte [rcx + 0x1c], r15b
je 0x14005aeb3
cmp byte [rcx + 0x19], 2
jb 0x14005aeb3
mov rcx, qword [rcx + 0x10]
lea r9, [0x1401570c8]
test r12, r12
mov dword [rsp + 0x20], esi
mov edx, 0x6a
lea r8, [0x140157210]
cmovne r9, r12
call fcn.140005d40
jmp 0x14005aeac
lea rbx, [0x14017b048]
mov rcx, qword [0x14017b048]
mov rax, qword [rbp - 0x60]
test rax, rax
je 0x14005aed2
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
mov rax, qword [rbp - 0x78]
test rax, rax
je 0x14005aef1
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
test r12, r12
je 0x14005af0c
mov rcx, r12
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
mov rax, qword [rbp - 0x38]
test rax, rax
je 0x14005af2b
mov rcx, rax
call qword [sym.imp.ole32.dll_CoTaskMemFree]
nop dword [rax + rax]
mov rcx, qword [0x14017b048]
cmp byte [rsp + 0x78], 0
je 0x14005af42
lea rcx, [rbp - 0x10]
call fcn.140099d7c
mov rcx, qword [0x14017b048]
cmp rcx, rbx
je 0x14005af68
test byte [rcx + 0x1c], r15b
je 0x14005af68
cmp byte [rcx + 0x19], 4
jb 0x14005af68
mov rcx, qword [rcx + 0x10]
lea r8, [0x140157210]
mov edx, 0x6b
call fcn.140004c10
mov eax, esi
mov rcx, qword [rbp + 0xd0]
xor rcx, rsp
call fcn.14014bb60
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