Function at 0x1402445bc
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x60]
sub rsp, 0x160
mov qword [rsp + 0x60], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x14049e510]
xor rax, rsp
mov qword [rbp + 0x50], rax
mov rdi, rcx
mov qword [rsp + 0x58], rcx
lea rax, vtable.sense::DynamicMpEngineModuleBase.0
mov qword [rcx], rax
xor r12d, r12d
mov qword [rcx + 8], r12
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rbp - 0x28], xmm0
mov word [rbp - 0x38], r12w
lea rbx, str.SOFTWAREMicrosoftWindows_Defender
mov rdx, rbx
lea rcx, [rbp - 0x38]
call fcn.14004d5c4
nop
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rbp - 0x48], xmm0
mov word [rbp - 0x58], r12w
lea r15, [0x140344690]
mov rdx, r15
lea rcx, [rbp - 0x58]
call fcn.14004d5c4
nop
movdqa xmm0, xmmword [0x14038ac40]
movdqu xmmword [rbp - 0x68], xmm0
mov word [rbp - 0x78], r12w
lea rsi, str.InstallLocation
mov rdx, rsi
lea rcx, [rbp - 0x78]
call fcn.14004d5c4
mov dword [rsp + 0x30], 0x4000000
mov byte [rsp + 0x28], r12b
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x38]
lea r8, [rbp - 0x58]
lea rdx, [rbp - 0x78]
lea rcx, [rsp + 0x68]
call fcn.1401d612c
nop
lea rcx, [rbp - 0x78]
call fcn.14004e0f0
nop
lea rcx, [rbp - 0x58]
call fcn.14004e0f0
nop
lea rcx, [rbp - 0x38]
call fcn.14004e0f0
cmp byte [rsp + 0x50], r12b
je 0x14024474c
mov dword [rsp + 0x58], 0x80070490
call fcn.14004d8a4
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x140244869
lea rax, [rsp + 0x58]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 4
lea rax, str.The_call_to_read_from_the_registry_the_install_location_of_MpClient.dll_failed
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], 0x9e
mov qword [rbp + 0x30], rbx
mov qword [rbp + 0x38], VarR8FromUI1
mov qword [rbp + 0x40], rsi
mov qword [rbp + 0x48], Compress
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403e14c2]
call fcn.140001158
jmp 0x140244869
mov r8d, SafeArrayGetDim
lea rdx, str.MpClient.dll
lea rcx, [rsp + 0x68]
call fcn.14005e1e8
mov rdx, rax
lea rcx, [rsp + 0x68]
call fcn.140064f70
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov rsi, rax
mov r14, qword [rdi + 8]
test r14, r14
je 0x1402447ab
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
mov ebx, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
mov qword [rdi + 8], rsi
test rsi, rsi
jne 0x140244869
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [rsp + 0x58], ecx
call fcn.14004d8a4
mov r10, qword [rax + 8]
cmp dword [r10], 2
jbe 0x140244869
lea rax, [rsp + 0x58]
mov qword [rbp + 0x10], rax
mov qword [rbp + 0x18], 4
lea rax, str.Failed_to_load_MpClient.dll_module
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], VarR8FromUI1
lea rcx, [rsp + 0x68]
cmp qword [rbp - 0x80], 8
cmovae rcx, qword [rsp + 0x68]
mov rax, r12
test rcx, rcx
je 0x140244830
mov r15, rcx
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r12w
jne 0x140244826
mov qword [rbp + 0x30], r15
lea eax, [rax*2 + 2]
mov dword [rbp + 0x38], eax
mov dword [rbp + 0x3c], r12d
lea rax, [rbp - 0x10]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x1403e145a]
mov rcx, r10
call fcn.140001158
nop
lea rcx, [rsp + 0x68]
call fcn.14004e0f0
nop
mov rax, rdi
mov rcx, qword [rbp + 0x50]
xor rcx, rsp
call fcn.1402dfdb0
lea r11, [rsp + 0x160]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret