Function at 0x140065888
Capabilities:
Check for time delay via gettickcount
Resolve function by parsing pe exports

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 + 8]
sub rsp, 0x128
mov rbx, rcx
mov r14d, 0xea60
mov dword [rbp + 0x40], r14d
call qword [sym.imp.mpclient.dll_MpClientUtilExportFunctions]
lea r8, [rbp + 0x40]
mov edx, r14d
lea rcx, str.MpService_SigUpdServiceWaitTimeout
mov rax, qword [rax + 0xa0]
call fcn.1400fece0
nop
mov edi, dword [rbp + 0x40]
xor r12d, r12d
test eax, eax
cmovs edi, r14d
mov esi, 0x493e0
mov dword [rbp + 0x40], esi
call qword [sym.imp.mpclient.dll_MpClientUtilExportFunctions]
lea r8, [rbp + 0x40]
mov edx, esi
lea rcx, str.MpService_SigUpdServiceBusyTimeout
mov rax, qword [rax + 0xa0]
call fcn.1400fece0
nop
mov r15d, dword [rbp + 0x40]
test eax, eax
cmovs r15d, esi
mov dword [rbp + 0x40], r14d
call qword [sym.imp.mpclient.dll_MpClientUtilExportFunctions]
lea r8, [rbp + 0x40]
mov edx, r14d
lea rcx, str.MpService_SigUpdServiceShutTimeout
mov rax, qword [rax + 0xa0]
call fcn.1400fece0
nop
mov r13d, dword [rbp + 0x40]
test eax, eax
cmovs r13d, r14d
mov dword [rbp + 0x40], r12d
call qword [sym.imp.mpclient.dll_MpClientUtilExportFunctions]
lea r8, [rbp + 0x40]
xor edx, edx
lea rcx, str.MpService_SigUpdForceTimeOut
mov rax, qword [rax + 0xa0]
call fcn.1400fece0
nop
mov ecx, dword [rbp + 0x40]
test eax, eax
cmovs ecx, r12d
cmp edi, r15d
jbe 0x14006597f
mov eax, 0xaaaaaaab
mul r15d
mov edi, edx
shr edi, 2
mov rax, qword [rbx + 0x20]
mov qword [rbp - 0x28], rax
mov rax, qword [rbx + 0x30]
mov qword [rbp - 0x20], rax
lea rsi, [0x140162280]
cmp ecx, 1
jne 0x1400659b3
lea rcx, str.MiscConfig_set__forcing_update_timeout._n
call fcn.1400ec5f0
mov dword [rbx + 0x44], 1
jmp 0x140065c09
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r12d, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov r14d, eax
and dword [rbp + 0x40], 0
call qword [sym.imp.mpclient.dll_MpUtilsExportFunctions]
lea r9, [rbp + 0x40]
mov r8d, edi
lea rdx, [rbp - 0x28]
mov ecx, 2
mov rax, qword [rax + 0x80]
call fcn.1400fece0
nop
cmp eax, 0x80070102
jne 0x140065c02
call qword [sym.imp.KERNEL32.dll_GetTickCount]
mov esi, eax
call qword [sym.imp.KERNEL32.dll_GetTickCount]
lea edx, [rdi + 0x3a98]
mov ecx, eax
sub ecx, r14d
cmp edx, ecx
ja 0x140065a1c
sub r14d, eax
cmp edx, r14d
jbe 0x1400659bc
mov ecx, dword [rbx + 0x40]
mov eax, esi
sub eax, ecx
cmp r15d, eax
ja 0x1400659bc
sub ecx, esi
cmp r15d, ecx
ja 0x1400659bc
mov rcx, qword [0x140162280]
lea rax, [0x140162280]
cmp rcx, rax
je 0x140065a5d
test byte [rcx + 0x1c], 1
je 0x140065a5d
mov edx, 0xa
lea r8, str.Nzs
mov rcx, qword [rcx + 0x10]
call fcn.140044430
mov edx, r15d
lea rcx, str.ERROR:_Signatures_Update_Service_hanged____timeout__lu_n
call fcn.1400ec5f0
mov dword [rbx + 0x44], 1
sub esi, r12d
mov rdi, qword [0x14016b890]
test rdi, rdi
je 0x140065c02
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x140162450], 5
jbe 0x140065bf9
movabs rdx, 0x400000000000
test qword [0x140162460], rdx
je 0x140065bf9
mov rax, qword [0x140162468]
and rax, rdx
cmp rax, qword [0x140162468]
jne 0x140065bf9
mov dword [rbp + 0x50], esi
mov dword [rbp + 0x58], r15d
mov rcx, qword [0x14016b888]
mov eax, dword [rcx + 0x48]
mov dword [rbp - 0x80], eax
mov eax, dword [rcx + 0x44]
mov dword [rbp - 0x7c], eax
mov eax, dword [rcx + 0x40]
mov dword [rbp - 0x78], eax
movzx eax, byte [rcx + 0x3c]
mov dword [rbp - 0x74], eax
movzx eax, byte [rcx + 0x3b]
mov dword [rbp - 0x70], eax
movzx eax, byte [rcx + 0x3a]
mov dword [rbp - 0x6c], eax
movzx eax, byte [rcx + 0x39]
mov dword [rbp - 0x68], eax
movzx eax, byte [rcx + 0x38]
mov dword [rbp - 0x64], eax
mov rax, qword [rcx + 0x30]
mov qword [rbp - 0x60], rax
mov rax, qword [rcx + 0x28]
mov qword [rbp - 0x58], rax
mov rax, qword [rcx + 0x20]
mov qword [rbp - 0x50], rax
mov rax, qword [rcx + 0x18]
mov qword [rbp - 0x48], rax
mov rax, qword [rcx + 0x10]
mov qword [rbp - 0x40], rax
mov rax, qword [rcx + 8]
mov qword [rbp - 0x38], rax
mov qword [rbp - 0x30], 0x2000000
lea rax, [rbp + 0x50]
mov qword [rsp + 0xa0], rax
lea rax, [rbp + 0x58]
mov qword [rsp + 0x98], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x90], rax
lea rax, [rbp - 0x7c]
mov qword [rsp + 0x88], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0x80], rax
lea rax, [rbp - 0x74]
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x6c]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x64]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x60]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 0x58]
mov qword [rsp + 0x48], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x40], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x38], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x30], rax
lea rax, [rbp - 0x38]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea rdx, [0x14014e161]
call fcn.140001f48
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea rsi, [0x140162280]
mov rcx, qword [rbp + 0x48]
mov rax, qword [rcx]
mov rax, qword [rax + 0x18]
call fcn.1400fece0
mov edx, r13d
mov rcx, qword [rbx + 0x30]
call fcn.1400ee0f0
mov rcx, qword [rbx + 0x38]
mov rax, qword [rcx]
mov rax, qword [rax + 0x20]
call fcn.1400fece0
mov edx, r13d
mov rcx, qword [rbx + 0x20]
call fcn.1400ee0f0
mov r9d, dword [rbx + 0x28]
test r9d, r9d
jns 0x140065c8a
mov ecx, r9d
call fcn.1400f11a8
test eax, eax
jne 0x140065c8a
mov rcx, qword [0x140162280]
cmp rcx, rsi
je 0x140065c7b
test byte [rcx + 0x1c], 1
je 0x140065c7b
lea edx, [rax + 0xb]
lea r8, str.Nzs
mov rcx, qword [rcx + 0x10]
call fcn.140044450
mov edx, dword [rbx + 0x28]
lea rcx, str.ERROR:_Signatures_Update_Failed__lx_n
call fcn.1400ec5f0
add rsp, 0x128
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret