Function at 0x14006507c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x40]
sub rsp, 0x180
mov rax, qword [0x140168900]
xor rax, rsp
mov qword [rbp + 0x30], rax
mov rsi, rcx
mov rax, qword [rcx]
lea rdx, str.ScheduleJob
mov rax, qword [rax + 0x18]
call fcn.1400fece0
xor r12d, r12d
test rax, rax
setne r15b
mov rax, qword [rsi]
lea rdx, str.RestrictPrivileges
mov rcx, rsi
mov rax, qword [rax + 0x18]
call fcn.1400fece0
test rax, rax
je 0x140065101
mov rax, qword [rsi]
lea rdx, str.Reinvoke
mov rcx, rsi
mov rax, qword [rax + 0x18]
call fcn.1400fece0
test rax, rax
mov dil, 1
je 0x140065104
mov dil, r12b
lea rcx, str.Start:_Signatures_Update_Service_n
call fcn.1400ec5f0
mov rbx, r12
mov qword [rbp - 0x70], rbx
lea r14, [0x140162280]
test dil, dil
je 0x14006521a
mov qword [rbp - 0x68], r12
lea rcx, [rbp - 0x68]
call fcn.1400f76c4
mov edi, eax
test eax, eax
jns 0x140065177
mov rcx, qword [0x140162280]
cmp rcx, r14
je 0x140065164
test byte [rcx + 0x1c], 1
je 0x140065164
mov edx, 0xd
mov r9d, eax
lea r8, str.Nzs
mov rcx, qword [rcx + 0x10]
call fcn.140044450
mov edx, edi
lea rcx, str.ERROR:_UtilLogonUser_NetworkService__Failed__lx_n
call fcn.1400ec5f0
jmp 0x14006520b
mov qword [rbp - 0x80], r12
mov r9d, 6
mov rdx, qword [rbp - 0x68]
lea rcx, [rbp - 0x80]
call fcn.1400f7650
test eax, eax
js 0x1400651fc
lea rdx, [rbp - 0x70]
mov rcx, qword [rbp - 0x80]
call fcn.140050488
mov ebx, eax
test eax, eax
jns 0x1400651f8
mov rcx, qword [0x140162280]
cmp rcx, r14
je 0x1400651cf
test byte [rcx + 0x1c], 1
je 0x1400651cf
mov edx, 0xe
mov r9d, eax
lea r8, str.Nzs
mov rcx, qword [rcx + 0x10]
call fcn.140044450
mov edx, ebx
lea rcx, str.ERROR:_RestrictTokenPrivileges___Failed__lx_n
call fcn.1400ec5f0
mov rbx, qword [rbp - 0x70]
test rbx, rbx
je 0x1400651fc
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, r12
mov qword [rbp - 0x70], rbx
jmp 0x1400651fc
mov rbx, qword [rbp - 0x70]
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14006520b
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp - 0x68]
test rcx, rcx
je 0x14006521a
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov qword [rbp - 0x28], r12
lea rcx, [rbp - 0x28]
call fcn.1400ca258
test eax, eax
js 0x14006587f
mov ecx, 0x48
call fcn.140031048
mov qword [rbp - 0x30], rax
mov rcx, rax
call fcn.140064b48
mov r14, rax
test rax, rax
je 0x14006525b
mov rcx, qword [rax]
mov rax, qword [rcx]
mov rcx, r14
call fcn.1400fece0
mov qword [rbp - 0x30], r14
mov qword [rbp - 0x58], r12
mov qword [rbp - 0x80], r12
mov dword [rbp + 0x20], 0xcf45f3ed
mov dword [rbp + 0x24], 0x464c5c05
mov dword [rbp + 0x28], 0x2fd0a391
mov dword [rbp + 0x2c], 0x259f8230
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x20], xmm0
call qword [sym.imp.mpclient.dll_MpClientUtilExportFunctions]
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x80]
mov rax, qword [rax + 0x108]
call fcn.1400fece0
mov edi, eax
test eax, eax
js 0x1400657bc
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
mov r8, r14
lea rdx, [rbp - 0x58]
mov rax, qword [rax + 0x18]
call fcn.1400fece0
mov edi, eax
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400652de
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call fcn.1400fece0
test edi, edi
js 0x1400657d1
mov rax, qword [rbp - 0x58]
mov qword [r14 + 0x38], rax
movzx r15d, r15b
mov dword [rbp - 0x78], r12d
call qword [sym.imp.mpclient.dll_MpClientUtilExportFunctions]
lea r8, [rbp - 0x78]
xor edx, edx
lea rcx, str.MpService_SigUpdServiceOptions
mov rax, qword [rax + 0xa0]
call fcn.1400fece0
nop
mov edi, dword [rbp - 0x78]
test eax, eax
cmovs edi, r12d
mov dword [rbp - 0x78], edi
test edi, edi
jne 0x1400653dd
mov edi, r12d
mov dword [rbp - 0x74], r12d
call qword [sym.imp.mpclient.dll_MpClientUtilExportFunctions]
lea rcx, [rbp - 0x74]
mov rax, qword [rax + 0x100]
call fcn.1400fece0
nop
test eax, eax
js 0x1400657b4
cmp dword [rbp - 0x74], r12d
jne 0x140065393
mov rax, qword [rsi]
lea rdx, str.UncDownload
mov rcx, rsi
mov rax, qword [rax + 0x18]
call fcn.1400fece0
test rax, rax
je 0x140065378
mov edi, 2
jmp 0x1400653dd
mov rax, qword [rsi]
lea rdx, str.HttpDownload
mov rcx, rsi
mov rax, qword [rax + 0x18]
call fcn.1400fece0
test rax, rax
je 0x14006539a
mov edi, 1
jmp 0x1400653dd
mov rax, qword [rsi]
lea rdx, str.ManagedUpdate
mov rcx, rsi
mov rax, qword [rax + 0x18]
call fcn.1400fece0
test rax, rax
je 0x1400653bc
mov edi, 4
jmp 0x1400653dd
mov rax, qword [rsi]
lea rdx, str.UnmanagedUpdate
mov rcx, rsi
mov rax, qword [rax + 0x18]
call fcn.1400fece0
test rax, rax
mov eax, 8
cmovne edi, eax
mov qword [rbp - 0x38], r12
mov qword [rbp - 0x80], r12
mov dword [rbp + 0x20], 0xc18d6007
mov dword [rbp + 0x24], 0x46ed610c
mov dword [rbp + 0x28], 0xda181d98
mov dword [rbp + 0x2c], 0xf85d4cb1
movaps xmm0, xmmword [rbp + 0x20]
movdqa xmmword [rbp + 0x20], xmm0
mov rcx, qword [0x14016b520]
call fcn.1400fb1bc
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x80]
call fcn.1400fece0
mov esi, eax
test eax, eax
js 0x140065818
mov rcx, qword [rbp - 0x80]
mov rax, qword [rcx]
lea r8, [r14 + 8]
mov qword [rsp + 0x30], rbx
mov qword [rsp + 0x28], r12
mov dword [rsp + 0x20], edi
lea r9d, [r15 + 1]
lea rdx, [rbp - 0x38]
mov rax, qword [rax + 0x18]
call fcn.1400fece0
mov esi, eax
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14006546e
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call fcn.1400fece0
test esi, esi
js 0x14006582d
mov rdx, qword [rbp - 0x38]
mov rcx, r14
call fcn.140065888
mov qword [rbp - 0x60], r12
xor r9d, r9d
lea r8, str.FallbackOrder
lea rdx, str.Signature_Updates
lea rcx, [rbp - 0x60]
call fcn.1400c0b18
lea rsi, str.HTTP
lea r8, str._Unknown_
mov r15, qword [0x14016b890]
test r15, r15
je 0x1400656a3
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [0x140162450], 5
jbe 0x140065693
movabs rdx, 0x400000000000
test qword [0x140162460], rdx
je 0x140065693
mov rax, qword [0x140162468]
and rax, rdx
cmp rax, qword [0x140162468]
jne 0x140065693
mov eax, dword [r14 + 0x2c]
mov dword [rbp - 0x74], eax
mov dword [rbp - 0x78], edi
cmp edi, 1
jne 0x140065516
mov rax, rsi
jmp 0x140065547
cmp edi, 2
jne 0x140065524
lea rax, [0x140122028]
jmp 0x140065547
cmp edi, 4
jne 0x140065532
lea rax, str.MANAGED
jmp 0x140065547
lea rax, str.UNMANAGED
cmp edi, 8
lea rcx, str._Unknown_
cmovne rax, rcx
mov qword [rbp - 0x20], rax
mov rax, qword [rbp - 0x60]
mov qword [rbp - 0x18], rax
mov rcx, qword [0x14016b888]
mov eax, dword [rcx + 0x48]
mov dword [rbp - 0x50], eax
mov eax, dword [rcx + 0x44]
mov dword [rbp - 0x4c], eax
mov eax, dword [rcx + 0x40]
mov dword [rbp - 0x48], eax
movzx eax, byte [rcx + 0x3c]
mov dword [rbp - 0x44], eax
movzx eax, byte [rcx + 0x3b]
mov dword [rbp - 0x40], eax
movzx eax, byte [rcx + 0x3a]
mov dword [rbp - 0x68], eax
movzx eax, byte [rcx + 0x39]
mov dword [rbp - 0x80], eax
movzx eax, byte [rcx + 0x38]
mov dword [rbp - 0x70], eax
mov rax, qword [rcx + 0x30]
mov qword [rbp - 0x10], rax
mov rax, qword [rcx + 0x28]
mov qword [rbp - 8], rax
mov rax, qword [rcx + 0x20]
mov qword [rbp], rax
mov rax, qword [rcx + 0x18]
mov qword [rbp + 8], rax
mov rax, qword [rcx + 0x10]
mov qword [rbp + 0x10], rax
mov rax, qword [rcx + 8]
mov qword [rbp + 0x20], rax
mov qword [rbp - 0x30], 0x2000000
lea rax, [rbp - 0x74]
mov qword [rsp + 0xb0], rax
lea rax, [rbp - 0x78]
mov qword [rsp + 0xa8], rax
lea rax, [rbp - 0x20]
mov qword [rsp + 0xa0], rax
lea rax, [rbp - 0x18]
mov qword [rsp + 0x98], rax
lea rax, [rbp - 0x50]
mov qword [rsp + 0x90], rax
lea rax, [rbp - 0x4c]
mov qword [rsp + 0x88], rax
lea rax, [rbp - 0x48]
mov qword [rsp + 0x80], rax
lea rax, [rbp - 0x44]
mov qword [rsp + 0x78], rax
lea rax, [rbp - 0x40]
mov qword [rsp + 0x70], rax
lea rax, [rbp - 0x68]
mov qword [rsp + 0x68], rax
lea rax, [rbp - 0x80]
mov qword [rsp + 0x60], rax
lea rax, [rbp - 0x70]
mov qword [rsp + 0x58], rax
lea rax, [rbp - 0x10]
mov qword [rsp + 0x50], rax
lea rax, [rbp - 8]
mov qword [rsp + 0x48], rax
lea rax, [rbp]
mov qword [rsp + 0x40], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x38], rax
lea rax, [rbp + 0x10]
mov qword [rsp + 0x30], rax
lea rax, [rbp + 0x20]
mov qword [rsp + 0x28], rax
lea rax, [rbp - 0x30]
mov qword [rsp + 0x20], rax
lea rdx, [0x14014e04c]
call fcn.140001c2c
mov rcx, r15
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea r8, str._Unknown_
mov rcx, qword [0x140162280]
lea rax, [0x140162280]
cmp rcx, rax
je 0x140065710
test byte [rcx + 0x1c], 4
je 0x140065710
mov edx, dword [r14 + 0x2c]
cmp edi, 1
je 0x1400656f3
cmp edi, 2
jne 0x1400656d3
lea rsi, [0x140122028]
jmp 0x1400656f3
cmp edi, 4
jne 0x1400656e1
lea rsi, str.MANAGED
jmp 0x1400656f3
lea rsi, str.UNMANAGED
mov eax, 8
cmp edi, eax
cmovne rsi, r8
mov rax, qword [rbp - 0x60]
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], edx
mov dword [rsp + 0x20], edi
mov r9, rsi
mov rcx, qword [rcx + 0x10]
call fcn.140065ca0
lea rcx, str.End:_Signatures_Update_Service_n
call fcn.1400ec5f0
mov rcx, qword [rbp - 0x60]
test rcx, rcx
je 0x14006572c
call qword [sym.imp.mpclient.dll_MpFreeMemory]
nop
mov rcx, qword [rbp - 0x38]
test rcx, rcx
je 0x140065742
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call fcn.1400fece0
nop
mov rcx, qword [rbp - 0x58]
test rcx, rcx
je 0x140065758
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call fcn.1400fece0
nop
mov rax, qword [r14]
mov rcx, r14
mov rax, qword [rax + 8]
call fcn.1400fece0
nop
mov rcx, qword [rbp - 0x28]
test rcx, rcx
je 0x14006577e
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call fcn.1400fece0
nop
test rbx, rbx
je 0x14006578c
mov rcx, rbx
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rbp + 0x30]
xor rcx, rsp
call fcn.140030c40
lea r11, [rsp + 0x180]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret
mov ecx, eax
call fcn.1400f10c4
int3
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x1400657d1
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call fcn.1400fece0
mov rcx, qword [0x140162280]
lea rax, [0x140162280]
cmp rcx, rax
je 0x140065802
test byte [rcx + 0x1c], 1
je 0x140065802
mov edx, 0xf
mov r9d, edi
lea r8, str.Nzs
mov rcx, qword [rcx + 0x10]
call fcn.140044450
mov edx, edi
lea rcx, str.ERROR:_Creating_Signatures_Update_Service_Context_Failed__lx_n
call fcn.1400ec5f0
mov ecx, edi
call fcn.1400f10c4
nop
mov rcx, qword [rbp - 0x80]
test rcx, rcx
je 0x14006582d
mov rax, qword [rcx]
mov rax, qword [rax + 8]
call fcn.1400fece0
mov edx, esi
mov rcx, qword [rbp - 0x58]
call fcn.140064d0c
mov rcx, qword [0x140162280]
lea rax, [0x140162280]
cmp rcx, rax
je 0x140065869
test byte [rcx + 0x1c], 1
je 0x140065869
mov edx, 0x10
mov r9d, esi
lea r8, str.Nzs
mov rcx, qword [rcx + 0x10]
call fcn.140044450
mov edx, esi
lea rcx, str.ERROR:_Creating_Signatures_Service_Context_Failed__lx_n
call fcn.1400ec5f0
mov ecx, esi
call fcn.1400f10c4
nop
mov ecx, eax
call fcn.1400f10c4
int3