Function at 0x140017d0c
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 [0x14004a4e8]
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 [0x14004a4e8]
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 [0x14004a4e8]
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 [0x14004a4e8]
nop
mov r15d, dword [rbp + 0x30]
cmp edi, r15d
jbe 0x140017e0d
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, str.___a_
cmp dword [rbp + 0x48], 1
jne 0x140017e42
lea rcx, str.MiscConfig_set__forcing_update_timeout._n
call fcn.140006cb0
mov dword [rbx + 0x44], 1
jmp 0x140017ed7
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.14003f770
cmp eax, 0x80070102
jne 0x140017ed0
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 0x140017e94
sub esi, eax
cmp r12d, esi
jbe 0x140017ead
mov ecx, dword [rbx + 0x40]
mov eax, r14d
sub eax, ecx
cmp r15d, eax
ja 0x140017ead
sub ecx, r14d
cmp r15d, ecx
jbe 0x140017f85
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.14003f770
cmp eax, 0x80070102
je 0x140017e75
lea rsi, str.___a_
mov rcx, qword [rbp + 0x38]
mov rax, qword [rcx]
movabs r10, 0xbbc59ee258503b70
mov rax, qword [rax + 0x18]
call qword [0x14004a4e8]
mov edx, dword [rbp + 0x40]
mov rcx, qword [rbx + 0x30]
call fcn.14000ce3c
mov rcx, qword [rbx + 0x38]
mov rax, qword [rcx]
movabs r10, 0xd0190fe53c5e6870
mov rax, qword [rax + 0x20]
call qword [0x14004a4e8]
mov edx, dword [rbp + 0x40]
mov rcx, qword [rbx + 0x20]
call fcn.14000ce3c
mov r9d, dword [rbx + 0x28]
test r9d, r9d
jns 0x140017f71
mov ecx, r9d
call fcn.14003b7c8
test eax, eax
jne 0x140017f71
mov edx, r9d
mov rcx, qword [str.___a_]
cmp rcx, rsi
je 0x140017f65
test byte [rcx + 0x1c], 1
je 0x140017f65
lea edx, [rax + 0xb]
lea r8, [0x14005d6d8]
mov rcx, qword [rcx + 0x10]
call fcn.140002534
mov edx, dword [rbx + 0x28]
lea rcx, str.ERROR:_Signatures_Update_Failed__X_n
call fcn.140006cb0
add rsp, 0x108
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret
mov rcx, qword [str.___a_]
lea rsi, str.___a_
cmp rcx, rsi
je 0x140017fb3
test byte [rcx + 0x1c], 1
je 0x140017fb3
mov edx, 0xa
lea r8, [0x14005d6d8]
mov rcx, qword [rcx + 0x10]
call fcn.140002150
mov edx, r15d
lea rcx, str.ERROR:_Signatures_Update_Service_hanged____timeout__u_n
call fcn.140006cb0
mov dword [rbx + 0x44], 1
sub r14d, r13d
mov rdi, qword [0x140075388]
test rdi, rdi
je 0x140017ed7
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x140072140], 5
jbe 0x140018128
movabs rdx, 0x400000000000
test qword [0x140072150], rdx
je 0x140018128
mov rax, qword [0x140072158]
and rax, rdx
cmp rax, qword [0x140072158]
jne 0x140018128
mov dword [rbp + 0x48], r14d
mov dword [rbp - 0x80], r15d
mov rcx, qword [0x140075380]
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, [0x14006916e]
call fcn.140001838
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x140017ed7