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

Disassembly:
mov qword [rsp + 0x10], rdx
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp + 0x18]
sub rsp, 0x108
mov rbx, rcx
mov r14d, 0xea60
mov dword [rbp + 0x30], r14d
call qword [sym.imp.mpclient.dll_MpClientUtilExportFunctions]
movabs r10, 0xb1e1875a16511370
lea r8, [rbp + 0x30]
mov edx, r14d
lea rcx, str.MpService_SigUpdServiceWaitTimeout
mov rax, qword [rax + 0xa0]
call qword [case.0x1400bdf0e.0]
nop
mov edi, dword [rbp + 0x30]
mov esi, 0x493e0
mov dword [rbp + 0x30], esi
call qword [sym.imp.mpclient.dll_MpClientUtilExportFunctions]
movabs r10, 0xb1e1875a16511370
lea r8, [rbp + 0x30]
mov edx, esi
lea rcx, str.MpService_SigUpdServiceBusyTimeout
mov rax, qword [rax + 0xa0]
call qword [case.0x1400bdf0e.0]
nop
mov dword [rbp + 0x40], r14d
call qword [sym.imp.mpclient.dll_MpClientUtilExportFunctions]
movabs r10, 0xb1e1875a16511370
lea r8, [rbp + 0x40]
mov edx, r14d
lea rcx, str.MpService_SigUpdServiceShutTimeout
mov rax, qword [rax + 0xa0]
call qword [case.0x1400bdf0e.0]
nop
and dword [rbp + 0x48], 0
call qword [sym.imp.mpclient.dll_MpClientUtilExportFunctions]
movabs r10, 0xb1e1875a16511370
lea r8, [rbp + 0x48]
xor edx, edx
lea rcx, str.MpService_SigUpdForceTimeOut
mov rax, qword [rax + 0xa0]
call qword [case.0x1400bdf0e.0]
nop
mov r15d, dword [rbp + 0x30]
cmp edi, r15d
jbe 0x14002551d
mov eax, 0xaaaaaaab
mul r15d
mov edi, edx
shr edi, 2
mov rax, qword [rbx + 0x20]
mov qword [rbp - 0x30], rax
mov rax, qword [rbx + 0x30]
mov qword [rbp - 0x28], rax
lea rsi, [0x140158280]
cmp dword [rbp + 0x48], 1
jne 0x140025552
lea rcx, str.MiscConfig_set__forcing_update_timeout._n
call fcn.1400ae8a0
mov dword [rbx + 0x44], 1
jmp 0x1400255e7
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r13d, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
and dword [rbp + 0x30], 0
lea r9, [rbp + 0x30]
mov r8d, edi
lea rdx, [rbp - 0x30]
call fcn.1400bd268
cmp eax, 0x80070102
jne 0x1400255e0
lea r12d, [rdi + 0x3a98]
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, eax
sub ecx, esi
cmp r12d, ecx
ja 0x1400255a4
sub esi, eax
cmp r12d, esi
jbe 0x1400255bd
mov ecx, dword [rbx + 0x40]
mov eax, r14d
sub eax, ecx
cmp r15d, eax
ja 0x1400255bd
sub ecx, r14d
cmp r15d, ecx
jbe 0x140025692
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
and dword [rbp + 0x30], 0
lea r9, [rbp + 0x30]
mov r8d, edi
lea rdx, [rbp - 0x30]
call fcn.1400bd268
cmp eax, 0x80070102
je 0x140025585
lea rsi, [0x140158280]
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
movabs r10, 0xbbc59ee258503b70
mov rax, qword [rax + 0x18]
call qword [case.0x1400bdf0e.0]
mov edx, dword [rbp + 0x40]
mov rcx, qword [rbx + 0x30]
call fcn.1400af36c
mov rcx, qword [rbx + 0x38]
mov rax, qword [rcx]
movabs r10, 0xd0190fe53c5e6870
mov rax, qword [rax + 0x20]
call qword [case.0x1400bdf0e.0]
mov edx, dword [rbp + 0x40]
mov rcx, qword [rbx + 0x20]
call fcn.1400af36c
mov r9d, dword [rbx + 0x28]
test r9d, r9d
jns 0x14002567e
mov ecx, r9d
call fcn.1400b3eac
test eax, eax
jne 0x14002567e
mov rcx, qword [0x140158280]
cmp rcx, rsi
je 0x14002566f
test byte [rcx + 0x1c], 1
je 0x14002566f
lea edx, [rax + 0xb]
lea r8, [0x1401293b8]
mov rcx, qword [rcx + 0x10]
call fcn.1400059f4
mov edx, dword [rbx + 0x28]
lea rcx, str.ERROR:_Signatures_Update_Failed__lx_n
call fcn.1400ae8a0
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [0x140158280]
lea rsi, [0x140158280]
cmp rcx, rsi
je 0x1400256c0
test byte [rcx + 0x1c], 1
je 0x1400256c0
mov edx, 0xa
lea r8, [0x1401293b8]
mov rcx, qword [rcx + 0x10]
call fcn.1400056e0
mov edx, r15d
lea rcx, str.ERROR:_Signatures_Update_Service_hanged____timeout__lu_n
call fcn.1400ae8a0
mov dword [rbx + 0x44], 1
sub r14d, r13d
mov rdi, qword [0x1401609c0]
test rdi, rdi
je 0x1400255e7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x1401583e0], 5
jbe 0x140025835
movabs rdx, 0x400000000000
test qword [0x1401583f0], rdx
je 0x140025835
mov rax, qword [0x1401583f8]
and rax, rdx
cmp rax, qword [0x1401583f8]
jne 0x140025835
mov dword [rbp + 0x48], r14d
mov dword [rbp - 0x80], r15d
mov rcx, qword [0x1401609b8]
mov eax, dword [rcx + 0x38]
mov dword [rbp - 0x7c], eax
mov eax, dword [rcx + 0x34]
mov dword [rbp - 0x78], eax
mov eax, dword [rcx + 0x30]
mov dword [rbp - 0x74], eax
movzx eax, byte [rcx + 0x2c]
mov dword [rbp - 0x70], eax
movzx eax, byte [rcx + 0x2b]
mov dword [rbp - 0x6c], eax
movzx eax, byte [rcx + 0x2a]
mov dword [rbp - 0x68], eax
movzx eax, byte [rcx + 0x29]
mov dword [rbp - 0x64], eax
movzx eax, byte [rcx + 0x28]
mov dword [rbp - 0x60], eax
mov rax, qword [rcx + 0x20]
mov qword [rbp - 0x58], rax
mov rax, qword [rcx + 0x18]
mov qword [rbp - 0x50], rax
mov rax, qword [rcx + 0x10]
mov qword [rbp - 0x48], rax
mov rax, qword [rcx + 8]
mov qword [rbp - 0x40], rax
mov qword [rbp - 0x38], 0x2000000
lea rax, [rbp + 0x48]
mov qword [rsp + 0x90], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x88], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x80], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x64]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x20], rax
lea rdx, [0x140146036]
call fcn.140001838
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x1400255e7