Function at 0x140280310
Capabilities:
Check if file exists

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r14
push r15
lea rbp, [rsp - 0x70]
sub rsp, 0x170
mov qword [rsp + 0x70], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x1405420e0]
xor rax, rsp
mov qword [rbp + 0x60], rax
mov rdi, rcx
mov qword [rsp + 0x60], rcx
lea rax, vtable.sense::DynamicMpEngineModuleBase.0
mov qword [rcx], rax
xor r12d, r12d
mov qword [rcx + 8], r12
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rbp - 0x18], xmm0
mov word [rbp - 0x28], r12w
lea rbx, str.SOFTWAREMicrosoftWindows_Defender
mov rdx, rbx
lea rcx, [rbp - 0x28]
call fcn.140055574
nop
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rbp - 0x38], xmm0
mov word [rbp - 0x48], r12w
lea r15, [0x1403cb630]
mov rdx, r15
lea rcx, [rbp - 0x48]
call fcn.140055574
nop
movdqa xmm0, xmmword [0x140420310]
movdqu xmmword [rbp - 0x58], xmm0
mov word [rbp - 0x68], r12w
lea rsi, str.InstallLocation
mov rdx, rsi
lea rcx, [rbp - 0x68]
call fcn.140055574
mov qword [rsp + 0x38], 0xffffffff80000002
mov dword [rsp + 0x30], 0x4000000
lea rax, [rsp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x28]
lea r8, [rbp - 0x48]
lea rdx, [rbp - 0x68]
lea rcx, [rsp + 0x78]
call fcn.14020500c
nop
lea rcx, [rbp - 0x68]
call fcn.140055f70
nop
lea rcx, [rbp - 0x48]
call fcn.140055f70
nop
lea rcx, [rbp - 0x28]
call fcn.140055f70
cmp byte [rsp + 0x50], r12b
je 0x1402804a4
mov dword [rsp + 0x60], 0x80070490
call fcn.1400550c0
mov rcx, qword [rax + 8]
cmp dword [rcx], 2
jbe 0x1402805df
lea rax, [rsp + 0x60]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], 4
lea rax, str.The_call_to_read_from_the_registry_the_install_location_of_MpClient.dll_failed
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], 0x9e
mov qword [rbp + 0x40], rbx
mov qword [rbp + VarR8FromUI1], 0x48
mov qword [rbp + 0x50], rsi
mov qword [rbp + 0x58], Compress
lea rax, [rbp]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 6
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140485f3b]
call fcn.140001208
jmp 0x1402805df
mov r8d, SafeArrayGetDim
lea rdx, str.MpClient.dll
lea rcx, [rsp + 0x78]
call fcn.140068814
mov rdx, rax
lea rcx, [rsp + 0x78]
call fcn.14006fe84
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
call qword [sym.imp.KERNEL32.dll_LoadLibraryW]
nop dword [rax + rax]
mov rsi, rax
mov r14, qword [rdi + 8]
test r14, r14
je 0x14028051b
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
mov ebx, eax
mov rcx, r14
call qword [sym.imp.KERNEL32.dll_FreeLibrary]
nop dword [rax + rax]
mov ecx, ebx
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_SetLastError]
nop dword [rax + rax]
mov qword [rdi + 8], rsi
test rsi, rsi
jne 0x1402805df
call qword [sym.imp.api_ms_win_core_errorhandling_l1_1_0.dll_GetLastError]
nop dword [rax + rax]
movzx ecx, ax
or ecx, 0x80070000
test eax, eax
cmovle ecx, eax
mov dword [rsp + 0x60], ecx
call fcn.1400550c0
mov r10, qword [rax + 8]
cmp dword [r10], 2
jbe 0x1402805df
lea rax, [rsp + 0x60]
mov qword [rbp + 0x20], rax
mov qword [rbp + 0x28], 4
lea rax, str.Failed_to_load_MpClient.dll_module
mov qword [rbp + 0x30], rax
mov qword [rbp + 0x38], VarR8FromUI1
lea rcx, [rsp + 0x78]
cmp qword [rbp - 0x70], 8
cmovae rcx, qword [rsp + 0x78]
mov rax, r12
test rcx, rcx
je 0x1402805a6
mov r15, rcx
or rax, 0xffffffffffffffff
inc rax
cmp word [rcx + rax*2], r12w
jne 0x14028059c
mov qword [rbp + 0x40], r15
lea eax, [rax*2 + 2]
mov dword [rbp + 0x48], eax
mov dword [rbp + 0x4c], r12d
lea rax, [rbp]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 5
xor r9d, r9d
xor r8d, r8d
lea rdx, [0x140485f00]
mov rcx, r10
call fcn.140001208
nop
lea rcx, [rsp + 0x78]
call fcn.140055f70
nop
mov rax, rdi
mov rcx, qword [rbp + 0x60]
xor rcx, rsp
call fcn.140356560
lea r11, [rsp + 0x170]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r12
pop rdi
pop rbp
ret