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

Disassembly:
mov rax, rsp
push rdi
push r12
push r13
push r14
push r15
sub rsp, 0x100
mov qword [rsp + 0xe0], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x180132920]
xor rax, rsp
mov qword [rsp + 0xf8], rax
mov r13, rcx
cmp dword [rcx + 0xa8], 0
jne 0x180016570
xor eax, eax
jmp 0x180016cd2
lea rcx, [rsp + 0xa0]
call fcn.180014650
nop
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov ebx, eax
mov dword [rsp + 0x70], eax
mov dword [rsp + 0x74], 0
mov r8d, 1
lea rdx, [r13 + 0x10]
lea rcx, [rsp + 0xc8]
call fcn.180042e10
nop
xor r8d, r8d
lea rdx, [rsp + 0x74]
mov rcx, r13
call fcn.180014300
mov rbp, rax
movabs rax, 0x8618618618618619
test rbp, rbp
je 0x180016830
mov r14d, dword [rsp + 0x74]
mul r14
sub r14, rdx
shr r14, 1
add r14, rdx
shr r14, 7
cmp dword [0x180154c70], 0
je 0x18001660d
mov dword [rsp + 0x20], r14d
mov r9d, dword [r13 + 8]
lea r8, str.CTLPItemMgr::ChangeStatus_Mode__d__AllNumb___d_
lea rdx, str.TLPCheck
or ecx, 0xffffffff
call fcn.180002110
xor r15d, r15d
test r14d, r14d
je 0x180016826
add rbp, 4
nop dword [rax]
mov eax, dword [rbp - 4]
test eax, eax
je 0x180016720
cmp eax, 0x31504c54
je 0x18001672b
xor edx, edx
mov r8d, 0xa8
lea rcx, [rbp - 4]
call fcn.18004a760
cmp dword [0x180154c70], 0
je 0x180016813
mov edx, dword [rbp + 4]
lea rcx, [rsp + 0x98]
call fcn.18007a490
nop
mov rdx, qword [rax]
lea rcx, [rsp + 0xb8]
call fcn.18003d6c0
mov rdi, rax
lea rdx, [rbp + 0x14]
lea rcx, [rsp + 0xc0]
call fcn.1800778c0
mov rsi, rax
mov ebx, dword [rbp]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
lea rdx, [rbp + 0x24]
mov dword [rsp + 0x60], eax
mov dword [rsp + 0x58], ebx
mov rcx, qword [rdi]
mov qword [rsp + 0x50], rcx
mov ecx, dword [rbp + 4]
mov dword [rsp + 0x48], ecx
mov ecx, dword [rbp + 0x10]
mov dword [rsp + 0x40], ecx
mov rax, qword [rsi]
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rdx
mov eax, dword [rbp - 4]
mov dword [rsp + 0x28], eax
mov eax, dword [rbp + 0xc]
mov dword [rsp + 0x20], eax
mov r9d, r15d
lea r8, str.CTLPItemMgr::ChangeStatus__Clear_cache_i_d__flag_08x____dwMagicID_d____name:_s__GUID_s__SessionID_d__PID_d___s__tick_d__tickAll_d_
lea rdx, str.TLPCheck
or ecx, 0xffffffff
call fcn.180002110
nop
lea rcx, [rsp + 0xc0]
call fcn.18003add0
nop
lea rcx, [rsp + 0xb8]
call fcn.18003add0
nop
lea rcx, [rsp + 0x98]
call fcn.180039470
mov ebx, dword [rsp + 0x70]
jmp 0x180016813
cmp eax, 0x31504c54
jne 0x180016813
cmp word [rbp + 0x24], 0
je 0x180016813
cmp ebx, dword [rbp + 4]
jne 0x18001674c
lea rdx, [rbp - 4]
lea rcx, [rsp + 0xa0]
call fcn.180015d70
cmp dword [0x180154c70], 0
je 0x180016813
mov edx, dword [rbp + 4]
lea rcx, [rsp + 0x88]
call fcn.18007a490
nop
mov rdx, qword [rax]
lea rcx, [rsp + 0x80]
call fcn.18003d6c0
mov rdi, rax
lea rdx, [rbp + 0x14]
lea rcx, [rsp + 0x78]
call fcn.1800778c0
mov rsi, rax
mov ebx, dword [rbp]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x50], ebx
mov rcx, qword [rdi]
mov qword [rsp + 0x48], rcx
mov ecx, dword [rbp + 4]
mov dword [rsp + 0x40], ecx
mov ecx, dword [rbp + 0x10]
mov dword [rsp + 0x38], ecx
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x24]
mov qword [rsp + 0x28], rax
mov eax, dword [rbp + 0xc]
mov dword [rsp + 0x20], eax
mov r9d, r15d
lea r8, str.CTLPItemMgr::ChangeStatus__get_cache_i_d__flag_08x____name:_s__GUID_s__SessionID_d__PID_d___s__tick_d__tickAll_d_
lea rdx, str.TLPCheck
or ecx, 0xffffffff
call fcn.180002110
nop
lea rcx, [rsp + 0x78]
call fcn.18003add0
nop
lea rcx, [rsp + 0x80]
call fcn.18003add0
nop
lea rcx, [rsp + 0x88]
call fcn.180039470
mov ebx, dword [rsp + 0x70]
add rbp, 0xa8
inc r15d
cmp r15d, r14d
jb 0x180016620
lea rcx, [r13 + 0x48]
call fcn.180077a70
nop
lea rcx, [rsp + 0xc8]
call fcn.180042e90
mov dword [rsp + 0x90], 1
mov dword [rsp + 0xe8], 0
xor ecx, ecx
mov dword [rsp + 0xec], ecx
mov dword [rsp + 0xf0], ecx
mov dword [rsp + 0xf4], ecx
lea rcx, [rsp + 0xa0]
call fcn.180014670
mov r14d, eax
lea r12d, [rax - 1]
test eax, eax
jne 0x180016898
lea rcx, [rsp + 0xa0]
call fcn.180015560
lea eax, [r14 + 1]
jmp 0x180016cd2
test r12d, r12d
js 0x180016a52
nop word [rax + rax]
mov edx, r12d
lea rcx, [rsp + 0xa0]
call fcn.180014680
mov rbp, rax
cmp dword [0x180154c70], 0
je 0x18001698c
mov edx, dword [rax + 8]
lea rcx, [rsp + 0x78]
call fcn.18007a490
nop
mov rdx, qword [rax]
lea rcx, [rsp + 0x80]
call fcn.18003d6c0
mov rdi, rax
lea rdx, [rbp + 0x18]
lea rcx, [rsp + 0x88]
call fcn.1800778c0
mov rsi, rax
mov ebx, dword [rbp + 4]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
lea rdx, [rbp + 0x28]
mov r9d, r14d
sub r9d, r12d
dec r9d
mov dword [rsp + 0x58], eax
mov dword [rsp + 0x50], ebx
mov rcx, qword [rdi]
mov qword [rsp + 0x48], rcx
mov eax, dword [rbp + 8]
mov dword [rsp + 0x40], eax
mov eax, dword [rbp + 0x14]
mov dword [rsp + 0x38], eax
mov rax, qword [rsi]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], rdx
mov eax, dword [rbp + 0x10]
mov dword [rsp + 0x20], eax
lea r8, str.CTLPItemMgr::ChangeStatus__check_cache_i_d__flag_08x____name:_s__GUID_s__SessionID_d__PID_d___s__tick_d__tickAll_d_
lea rdx, str.TLPCheck
or ecx, 0xffffffff
call fcn.180002110
nop
lea rcx, [rsp + 0x88]
call fcn.18003add0
nop
lea rcx, [rsp + 0x80]
call fcn.18003add0
nop
lea rcx, [rsp + 0x78]
call fcn.180039470
cmp word [rbp + 0x28], 0
je 0x180016a32
mov dword [rsp + 0x70], 0
mov eax, dword [rbp + 0x10]
mov dword [rsp + 0x70], eax
lea rdx, [r13 + 0xb0]
mov r8d, 1
lea rcx, [rsp + 0xc8]
call fcn.180042e10
nop
mov rax, qword [r13 + 0xe8]
test rax, rax
je 0x1800169ec
lea rcx, [rsp + 0x70]
mov qword [rsp + 0x20], rcx
mov r9d, dword [rbp + 8]
mov r8d, 2
lea rdx, [rbp + 0x28]
mov ecx, dword [r13 + 8]
call rax
nop
lea rcx, [rsp + 0xc8]
call fcn.180042e90
mov r9d, dword [rbp + 0x10]
mov eax, dword [rsp + 0x70]
cmp eax, r9d
je 0x180016a32
cmp dword [0x180154c70], 0
je 0x180016a2d
mov dword [rsp + 0x20], eax
lea r8, str.CTLPItemMgr::ChangeStatus__dwflag___08x_______08x_
lea rdx, str.TLPCheck
or ecx, 0xffffffff
call fcn.180002110
mov eax, dword [rsp + 0x70]
mov dword [rbp + 0x10], eax
jmp 0x180016a48
mov r8d, 1
mov edx, r12d
lea rcx, [rsp + 0xa0]
call fcn.1800154f0
sub r12d, 1
jns 0x1800168b0
lea rcx, [rsp + 0xa0]
call fcn.180014670
mov r15d, eax
test eax, eax
jle 0x180016cc0
mov r8d, 1
lea rdx, [r13 + 0x10]
lea rcx, [rsp + 0xc8]
call fcn.180042e10
nop
xor r8d, r8d
lea rdx, [rsp + 0x74]
mov rcx, r13
call fcn.180014300
mov rdi, rax
mov qword [rsp + 0x98], rax
test rax, rax
je 0x180016cb2
mov r14d, dword [rsp + 0x74]
movabs rax, 0x8618618618618619
mul r14
sub r14, rdx
shr r14, 1
add r14, rdx
shr r14, 7
xor r12d, r12d
test r15d, r15d
jle 0x180016ca8
nop word [rax + rax]
mov edx, r12d
lea rcx, [rsp + 0xa0]
call fcn.180014680
mov rbp, rax
mov r10, qword [r13]
lea r9, [rsp + 0xe8]
lea r8, [rsp + 0x90]
lea rdx, [rax + 0x28]
mov rcx, r13
call qword [r10 + 0x20]
mov dword [rsp + 0x70], 0
lea rsi, [rbp + 0x18]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x38], rax
mov ecx, dword [rbp + 0x14]
mov dword [rsp + 0x30], ecx
mov eax, dword [rsp + 0x90]
mov dword [rsp + 0x28], eax
mov qword [rsp + 0x20], rsi
lea r9, [rbp + 0x28]
mov r8d, r14d
mov rdx, rdi
mov rcx, r13
call fcn.1800147c0
test eax, eax
je 0x180016c9c
mov eax, dword [rsp + 0x70]
cmp eax, r14d
jae 0x180016c9c
mov rbx, rax
imul rbx, rbx, 0xa8
add rbx, rdi
mov eax, dword [rbp + 4]
cmp dword [rbx + 4], eax
jne 0x180016c9c
cmp dword [0x180154c70], 0
je 0x180016bd3
mov eax, dword [rbp + 0x10]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbx + 0x10]
lea r8, str.CTLPItemMgr::ChangeStatus__2_dwflag___08x_______08x_
lea rdx, str.TLPCache
or ecx, 0xffffffff
call fcn.180002110
cmp dword [0x180154c70], 0
je 0x180016bd3
mov eax, dword [rbp + 0x10]
mov dword [rsp + 0x20], eax
mov r9d, dword [rbx + 0x10]
lea r8, str.CTLPItemMgr::ChangeStatus__2_dwflag___08x_______08x_
lea rdx, str.TLPCheck
or ecx, 0xffffffff
call fcn.180002110
mov eax, dword [rbp + 0x10]
mov dword [rbx + 0x10], eax
cmp dword [0x180154c70], 0
je 0x180016c9c
mov edx, dword [rbp + 8]
lea rcx, [rsp + 0x78]
call fcn.18007a490
nop
mov rdx, qword [rax]
lea rcx, [rsp + 0x80]
call fcn.18003d6c0
mov rdi, rax
mov rdx, rsi
lea rcx, [rsp + 0x88]
call fcn.1800778c0
mov rsi, rax
mov ebx, dword [rbp + 4]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, ebx
mov dword [rsp + 0x50], eax
mov dword [rsp + 0x48], ebx
mov rcx, qword [rdi]
mov qword [rsp + 0x40], rcx
mov ecx, dword [rbp + 8]
mov dword [rsp + 0x38], ecx
mov ecx, dword [rbp + 0x14]
mov dword [rsp + 0x30], ecx
mov rax, qword [rsi]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 0x28]
mov qword [rsp + 0x20], rax
mov r9d, r12d
lea r8, str.CTLPItemMgr::ChangeStatus_Clear_cache_i_d___name:_s__GUID_s__SessionID_d__PID_d___s__tick_d__tickAll_d_
lea rdx, str.TLPCheck
or ecx, 0xffffffff
call fcn.180002110
nop
lea rcx, [rsp + 0x88]
call fcn.18003add0
nop
lea rcx, [rsp + 0x80]
call fcn.18003add0
nop
lea rcx, [rsp + 0x78]
call fcn.180039470
mov rdi, qword [rsp + 0x98]
inc r12d
cmp r12d, r15d
jl 0x180016ae0
lea rcx, [r13 + 0x48]
call fcn.180077a70
nop
lea rcx, [rsp + 0xc8]
call fcn.180042e90
nop
lea rcx, [rsp + 0xa0]
call fcn.180015560
mov eax, 1
mov rcx, qword [rsp + 0xf8]
xor rcx, rsp
call fcn.18004ac60
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x38]
mov rbp, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rdi
ret