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

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x120
mov qword [rsp + 0x40], 0xfffffffffffffffe
mov qword [rsp + 0x170], rbx
mov rax, qword [0x160270bd8]
xor rax, rsp
mov qword [rsp + 0x110], rax
mov r14, rdx
mov rdi, rcx
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov dword [rdi + 0x64], eax
mov r13d, dword [rdi + 0x48]
mov r8d, r13d
mov rax, qword [rdi + 0x58]
movzx ebp, byte [r13 + rax]
mov esi, 2
test bpl, bpl
jne 0x16005f0b9
mov r9d, 3
movzx ebp, si
mov ecx, dword [rdi + 0x10]
add ecx, 7
imul ecx, r13d
add ecx, ebp
mov rax, qword [rdi + 0x50]
mov ebx, dword [rax + rcx*4]
cmp ebx, 0xffffffff
je 0x16005f0ff
cmp ebx, 0xfffffffe
je 0x16005f0f1
mov edx, r13d
mov r13d, ebx
mov ecx, ebx
mov rax, qword [rdi + 0x58]
movzx ebp, byte [rcx + rax]
cmp si, 3
je 0x16005f0b1
movzx r8d, word [r14]
add r14, 2
test r8w, r8w
je 0x16005f0e8
cmp byte [rdi + 0x1c], 0
jne 0x16005f053
mov word [rsp + 0x30], r8w
mov dword [rsp + 0x28], 1
lea rax, [rsp + 0x38]
mov qword [rsp + 0x20], rax
mov r9d, 1
lea r8, [rsp + 0x30]
mov edx, 0x200
xor ecx, ecx
call qword [sym.imp.api_ms_win_core_localization_l1_2_0.dll_LCMapStringW]
movzx r8d, word [rsp + 0x30]
test eax, eax
cmovne r8w, word [rsp + 0x38]
cmp r8w, 0x2e
je 0x16005f0f5
mov ebx, dword [rdi + 0x10]
mov r9d, ebx
xor r10d, r10d
mov eax, ebx
shr eax, 1
test ebx, ebx
je 0x16005f09a
mov r11, qword [rdi + 8]
movzx edx, word [r11 + rax*2]
cmp dx, r8w
je 0x16005f09a
lea ecx, [rax + 1]
cmovae ecx, r10d
mov r10d, ecx
cmovae r9d, eax
mov eax, r9d
sub eax, ecx
shr eax, 1
add eax, ecx
cmp r9d, ecx
ja 0x16005f073
mov rcx, qword [rdi + 8]
cmp word [rcx + rax*2], r8w
jb 0x16009e702
lea esi, [rax + 7]
jmp 0x16005efab
cmp edx, ebx
jne 0x16005efab
movzx eax, bpl
mov rcx, qword [rsp + 0x110]
xor rcx, rsp
call fcn.16006e590
mov rbx, qword [rsp + 0x170]
add rsp, 0x120
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
movzx esi, r9w
jmp 0x16005efab
xor al, al
jmp 0x16005f0bd
mov esi, 6
jmp 0x16005efab
lea rcx, [rsp + 0xd0]
call fcn.16005f9f4
nop
lea rcx, [rsp + 0x90]
call fcn.16005f9f4
nop
lea rcx, [rsp + 0x50]
call fcn.16005f9f4
nop
test r13d, r13d
je 0x16005f171
cmp r13d, dword [rdi + 0x44]
ja 0x16005f171
mov ebx, dword [rdi + 0x30]
mov ecx, ebx
imul ecx, r13d
mov rax, qword [rdi + 0x38]
lea r15, [rax + rcx*4]
shl ebx, 5
sub ebx, 1
js 0x16005f171
nop word [rax + rax]
movsxd rdx, ebx
movzx eax, dl
and al, 0x1f
movzx ecx, al
shr rdx, 5
mov eax, dword [r15 + rdx*4]
bt eax, ecx
jb 0x16005f25e
sub ebx, 1
jns 0x16005f150
mov ebx, dword [rsp + 0xd0]
test ebx, ebx
je 0x16005f1ad
mov edx, ebx
lea rcx, [rsp + 0xd0]
call fcn.16005f9e0
mov edx, eax
mov rcx, rdi
call fcn.16005f994
mov rcx, rax
mov r8d, ebp
lea rdx, [rsp + 0x90]
call fcn.16005f46c
add ebx, 0xffffffff
jne 0x16005f17c
mov ebx, dword [rsp + 0x90]
test ebx, ebx
je 0x16005f297
mov edx, ebx
lea rcx, [rsp + 0x90]
call fcn.16005f9e0
mov edx, eax
lea r8, [rsp + 0x50]
mov rcx, rdi
call fcn.16005f550
add ebx, 0xffffffff
jne 0x16005f1bc
lea rdx, [rsp + 0x50]
lea rcx, [rdi + 0x30]
call fcn.16005ed90
mov ebx, eax
cmp eax, dword [rdi + 0x4c]
ja 0x16005f273
mov rdx, qword [rdi + 0x50]
mov ecx, dword [rdi + 0x10]
add ecx, 7
imul ecx, ebx
cmp dword [rdx + rcx*4], 0xfffffffe
je 0x16005f273
mov eax, dword [rdi + 0x10]
add eax, 7
imul eax, r13d
add eax, ebp
mov dword [rdx + rax*4], ebx
call qword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov ecx, dword [rdi + 0x64]
add ecx, dword [rdi + 0x60]
cmp ecx, eax
jb 0x16009e70f
mov rcx, qword [rsp + 0x80]
call fcn.160031c48
nop
mov rcx, qword [rsp + 0xc0]
call fcn.160031c48
nop
mov rcx, qword [rsp + 0x100]
call fcn.160031c48
mov r9d, 3
jmp 0x16005efd9
lea edx, [rbx + 1]
lea rcx, [rsp + 0xd0]
call fcn.16005fa34
jmp 0x16005f16c
lea rdx, [rsp + 0x50]
mov rcx, rdi
call fcn.16005f634
movzx r8d, al
mov edx, ebx
mov rcx, rdi
call fcn.16005eef0
mov rdx, qword [rdi + 0x50]
jmp 0x16005f207
mov ebx, 0xfffffffe
mov ecx, dword [rdi + 0x10]
add ecx, 7
imul ecx, r13d
add ecx, ebp
mov rax, qword [rdi + 0x50]
mov dword [rax + rcx*4], ebx
jmp 0x16005f216
lea ecx, [rax + 1]
cmp ecx, ebx
cmovb eax, ecx
jmp 0x16005f0a9
mov rcx, qword [rsp + 0x158]
mov r9d, 0x80041607
lea r8, str.onecoreuap_base_appmodel_search_searchcommon_regex_fa.cxx
mov edx, 0x2c9
call fcn.1600b47d4
int3