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

Disassembly:
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x560
mov qword [rsp + 0x50], 0xfffffffffffffffe
mov rax, qword [0x160270bd8]
xor rax, rsp
mov qword [rsp + 0x550], rax
mov rsi, r8
mov r12, rdx
mov rdi, rcx
mov r14, qword [rcx + 0x340]
mov rbx, qword [r14 + 0x18]
xor r13d, r13d
cmp rbx, qword [r14 + 0x20]
jne 0x160085842
mov r14d, r13d
or ebx, 0xffffffff
mov dword [rsp + 0x44], ebx
lea rdx, [rsp + 0x44]
mov rcx, qword [rdi + 0x340]
call fcn.160022058
mov r15d, eax
cmp dword [rsp + 0x44], ebx
jne 0x160021d89
mov rcx, qword [rdi + 0x338]
test rcx, rcx
je 0x160021cb8
mov rax, qword [rdi + 0x340]
mov rdx, qword [rax + 0xc0]
sub rdx, qword [rax + 0xb8]
sar rdx, 2
mov rax, qword [rcx]
mov rax, qword [rax + 0x40]
lea r8, [fcn.16001b9e0]
cmp rax, r8
jne 0x1600859c8
call fcn.16001b9e0
mov byte [rsp + 0x40], r13b
lea rdx, [rsp + 0x40]
mov rcx, qword [rdi + 0x340]
call fcn.160023b84
mov dword [rsp + 0x4c], eax
cmp eax, ebx
je 0x160021ee2
mov rbx, qword [rdi + 0x408]
mov rdx, qword [rbx + 0x70]
mov rcx, qword [rbx]
mov r14d, 1
mov dword [rsp + 0x20], r14d
lea r9d, [r14 + 3]
lea r8, [rsp + 0x4c]
mov rdx, qword [rdx + 0x10]
mov rcx, qword [rcx + 8]
call qword [sym.imp.ESENT.dll_JetMakeKey]
test eax, eax
js 0x160021d26
mov rdx, qword [rbx + 0x70]
mov rcx, qword [rbx]
mov r8d, r14d
mov rdx, qword [rdx + 0x10]
mov rcx, qword [rcx + 8]
call qword [sym.imp.ESENT.dll_JetSeek]
mov edx, eax
lea rcx, [rsp + 0x48]
call fcn.160029304
mov ebx, dword [rsp + 0x48]
test ebx, ebx
js 0x1600859d4
mov r9, rsi
mov r8, r12
mov rdx, qword [rdi + 0x408]
mov rcx, rdi
call fcn.16001fec8
mov ebx, eax
test eax, eax
js 0x160021d64
cmp byte [rsp + 0x40], r13b
jne 0x160021ef7
mov eax, ebx
mov rcx, qword [rsp + 0x550]
xor rcx, rsp
call fcn.16006e590
add rsp, 0x560
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
ret
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount64]
nop
mov rcx, rax
sub rcx, qword [0x160273a00]
movabs rax, 0x624dd2f1a9fbe77
mul rcx
sub rcx, rdx
shr rcx, 1
add rcx, rdx
shr rcx, 9
mov eax, dword [0x160273a08]
add rax, rcx
cmp r15d, eax
ja 0x160021c77
lea rcx, [rsp + 0x2b0]
call fcn.1600697e0
nop
lea r8, [rsp + 0x44]
lea rdx, [rsp + 0x48]
mov rcx, qword [rdi + 0x408]
call fcn.16001f44c
mov ebx, dword [rsp + 0x48]
test ebx, ebx
js 0x16008593c
lea rax, [rsp + 0x3c8]
mov qword [rsp + 0x3b8], rax
mov qword [rsp + 0x3c0], CreateErrorInfo
mov word [rsp + 0x3c8], r13w
lea rax, fcn.160019c60
mov qword [rsp + 0x3b0], rax
lea r9, [rsp + 0x2b0]
lea r8, [rsp + 0x3b0]
mov rdx, qword [rdi + 0x408]
mov rcx, rdi
call fcn.16001fec8
mov rcx, qword [rsp + 0x598]
test eax, eax
js 0x16008599f
or ebx, 0xffffffff
cmp dword [rsp + 0x2d4], ebx
je 0x160021e75
bts dword [rsp + 0x2b0], 0xe
mov dword [rsp + 0x2d4], ebx
lea r8, [rsp + 0x2b0]
mov rdx, qword [rdi + 0x408]
mov rcx, rdi
call fcn.16001fe4c
mov rcx, qword [rsp + 0x598]
test eax, eax
js 0x1600859b3
lea r8, str.GetNextQueuedURL___Moving_URL_from_the_delay_queue_to_the_priority_queue
mov rdx, qword [rsp + 0x3b8]
mov ecx, dword [rsp + 0x44]
call fcn.16001a23c
nop
lea rcx, [rsp + 0x3b0]
call fcn.160019cb0
nop
lea rcx, [rsp + 0x2b0]
call fcn.1600695f8
inc r14d
cmp r14d, 0x64
jb 0x160021c55
jmp 0x160021c77
mov ebx, 0x80070012
mov eax, 0x8000000a
test r15d, r15d
cmovne ebx, eax
jmp 0x160021d64
lea r8, str.Transaction_is_dirty___revoking_TF_USE_LAST_MODIFIED
xor edx, edx
mov ecx, dword [rsi + 0x98]
call fcn.16001a23c
mov eax, dword [rsi + 0x8c]
mov ecx, eax
btr ecx, 0xf
bts ecx, 0xd
cmp ecx, eax
je 0x160021d64
bts dword [rsi], 9
mov dword [rsi + 0x8c], ecx
jmp 0x160021d64
cmp dword [rbx + 0x1c], r13d
jbe 0x160085933
cmp dword [rbx + 0x24], r13d
jbe 0x160085933
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
sub eax, dword [rbx + 0x20]
cmp eax, dword [rbx + 0x1c]
jb 0x160085933
xor edx, edx
lea r8d, [rdx + 0x20]
lea rcx, [rsp + 0x290]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x294], 8
mov byte [rsp + 0x29a], 2
mov ecx, dword [rbx + 0x14]
shl rcx, 0x20
mov eax, dword [rbx + 0x18]
or rcx, rax
mov qword [rsp + 0x2a0], rcx
mov rcx, rbx
call fcn.16000d1c4
mov eax, eax
mov qword [rsp + 0x2a8], rax
mov rcx, qword [rbx]
mov rax, qword [rcx]
lea rdx, [rsp + 0x290]
mov rax, qword [rax + 0x50]
call qword [case.0x16003fc5a.0]
test byte [0x160274340], 0x40
je 0x1600858fe
mov eax, dword [rbx + 0x18]
mov dword [rsp + 0x30], eax
mov eax, dword [rbx + 0x14]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0xc]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbx + 8]
mov r8, qword [rbx]
lea rdx, [0x1601f87d8]
call fcn.160173fb4
mov eax, dword [rbx + 0x18]
mov dword [rsp + 0x28], eax
mov eax, dword [rbx + 0x14]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbx + 0xc]
mov r8d, dword [rbx + 8]
mov rdx, qword [rbx]
lea rcx, str.FireStatsEvents___Firing_to_Query__p___d_pri___d_indexed___d_adds___d_modifies_
call fcn.16001a1d8
inc dword [rbx + 0x28]
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov dword [rbx + 0x20], eax
mov dword [rbx + 0x24], r13d
add rbx, 0x50
jmp 0x160021c45
xor edx, edx
mov r8d, 0x90
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x60], r13d
mov dword [rsp + 0x64], 0x80004005
lea rax, str.onecoreuap_base_appmodel_search_search_searchgather_servergathertbl.cxx
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x98], 0x620
mov r9d, ebx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0xf0]
call fcn.160174054
lea rdx, [0x160267f38]
lea rcx, [rsp + 0xf0]
call sub.msvcrt.dll__CxxThrowException
nop
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_search_search_searchgather_servergathertbl.cxx
mov edx, 0x624
call fcn.1600b47d4
mov r9d, eax
lea r8, str.onecoreuap_base_appmodel_search_search_searchgather_servergathertbl.cxx
mov edx, 0x628
call fcn.1600b47d4
nop
call qword [case.0x16003fc5a.0]
nop
jmp 0x160021cb8
xor edx, edx
mov r8d, 0x90
lea rcx, [rsp + 0x60]
call sub.msvcrt.dll_memset
mov dword [rsp + 0x60], r13d
mov dword [rsp + 0x64], 0x80004005
lea rax, str.onecoreuap_base_appmodel_search_search_searchgather_servergathertbl.cxx
mov qword [rsp + 0x90], rax
mov dword [rsp + 0x98], 0x643
mov r9d, ebx
lea rdx, [rsp + 0x60]
lea rcx, [rsp + 0x1c0]
call fcn.160174054
lea rdx, [0x160267f38]
lea rcx, [rsp + 0x1c0]
call sub.msvcrt.dll__CxxThrowException
int3