Function at 0x140055270
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r14
push r15
lea rbp, [rsp - 0x47]
sub rsp, 0xb0
mov rax, qword [0x1400f7040]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor edx, edx
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x1400552fa
lea rdx, str.Error:_Unable_to_initialize_COM_library.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140050ec0
lea rdx, [0x140054150]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
xor al, al
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400bdbc0
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov rsp, r11
pop r15
pop r14
pop rbp
ret
xor r15d, r15d
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x14005535e
lea rdx, str.Error:_Unable_to_initialize_security.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140050ec0
lea rdx, [0x140054150]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x1400552cf
mov qword [rbp - 9], r15
lea rax, [rbp - 9]
mov qword [rsp + 0x20], rax
lea r9, [0x1400db530]
xor edx, edx
mov r8d, 1
lea rcx, [0x1400db540]
call qword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x140055394
lea rdx, str.Error:_Unable_to_create_IWbemLocator_object.
jmp 0x140055337
mov qword [rbp + 7], r15
mov rax, qword [rbp - 9]
mov rcx, qword [rax]
mov rdi, qword [rcx + 0x18]
mov ecx, 0x18
call fcn.1400bdd00
mov rbx, rax
mov qword [rbp - 0x19], rax
test rax, rax
je 0x1400553eb
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], 1
lea rcx, str.ROOTCIMV2
call qword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov qword [rbx], rax
test rax, rax
je 0x1400557bf
jmp 0x1400553ee
mov rbx, r15
mov qword [rbp - 0x19], rbx
test rbx, rbx
je 0x1400557ca
lea rax, [rbp + 7]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r15
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], r15d
mov qword [rsp + 0x20], r15
xor r9d, r9d
xor r8d, r8d
mov rdx, qword [rbx]
mov rcx, qword [rbp - 9]
call rdi
mov edi, eax
mov ecx, 0xffffffff
lock xadd dword [rbx + 0x10], ecx
cmp ecx, 1
jne 0x140055468
mov rcx, qword [rbx]
test rcx, rcx
je 0x140055449
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x14005545b
call fcn.1400bdf84
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.1400bdf84
test edi, edi
jns 0x1400554a4
lea rdx, str.Error:_Unable_to_connect_to_WMI.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140050ec0
lea rdx, [0x140054150]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x1400552cf
mov qword [rsp + 0x40], r15
mov dword [rsp + 0x38], r15d
mov qword [rsp + 0x30], r15
mov dword [rsp + 0x28], 3
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
mov edx, 0xffffffff
xor ecx, ecx
call qword [sym.imp.ole32.dll_CoInitializeSecurity]
mov qword [rbp - 1], r15
mov rax, qword [rbp + 7]
mov rcx, qword [rax]
mov r14, qword [rcx + 0xa0]
mov ecx, 0x18
call fcn.1400bdd00
mov rbx, rax
mov qword [rbp - 0x19], rax
test rax, rax
je 0x140055523
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbx], xmm0
mov qword [rbx + 0x10], rax
mov qword [rbx + 8], r15
mov dword [rbx + 0x10], 1
lea rcx, str.SELECT__FROM_AntiVirusProduct
call fcn.1400bec90
mov qword [rbx], rax
jmp 0x140055526
mov rbx, r15
mov qword [rbp - 0x19], rbx
test rbx, rbx
je 0x1400557ca
mov rsi, qword [rbx]
mov ecx, 0x18
call fcn.1400bdd00
mov rdi, rax
mov qword [rbp - 0x11], rax
test rax, rax
je 0x140055574
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rdi], xmm0
mov qword [rdi + 0x10], rax
mov qword [rdi + 8], r15
mov dword [rdi + 0x10], 1
lea rcx, [0x1400e25c8]
call fcn.1400bec90
mov qword [rdi], rax
jmp 0x140055577
mov rdi, r15
mov qword [rbp - 0x11], rdi
test rdi, rdi
je 0x1400557b4
lea rax, [rbp - 1]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r15
mov r9d, 0x30
mov r8, rsi
mov rdx, qword [rdi]
mov rcx, qword [rbp + 7]
call r14
mov esi, eax
mov ecx, 0xffffffff
lock xadd dword [rdi + 0x10], ecx
cmp ecx, 1
jne 0x1400555e7
mov rcx, qword [rdi]
test rcx, rcx
je 0x1400555c7
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rdi], r15
mov rcx, qword [rdi + 8]
test rcx, rcx
je 0x1400555d9
call fcn.1400bdf84
mov qword [rdi + 8], r15
mov edx, 0x18
mov rcx, rdi
call fcn.1400bdf84
nop
mov eax, 0xffffffff
lock xadd dword [rbx + 0x10], eax
cmp eax, 1
jne 0x140055626
mov rcx, qword [rbx]
test rcx, rcx
je 0x140055607
call qword [sym.imp.OLEAUT32.dll_SysStringLen]
mov qword [rbx], r15
mov rcx, qword [rbx + 8]
test rcx, rcx
je 0x140055619
call fcn.1400bdf84
mov qword [rbx + 8], r15
mov edx, 0x18
mov rcx, rbx
call fcn.1400bdf84
test esi, esi
jns 0x14005566c
lea rdx, str.Error:_Query_for_antivirus_products_failed.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140050ec0
lea rdx, [0x140054150]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp + 7]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
jmp 0x1400552cf
mov qword [rbp + 0xf], r15
mov dword [rbp + 0x2f], r15d
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x140055771
mov rax, qword [rcx]
lea r9, [rbp + 0x2f]
mov qword [rsp + 0x20], r9
lea r9, [rbp + 0xf]
mov edx, 0xffffffff
mov r8d, 1
call qword [rax + 0x20]
mov rcx, qword [rbp + 0xf]
cmp dword [rbp + 0x2f], 0
je 0x140055762
mov rax, qword [rcx]
mov qword [rsp + 0x28], r15
mov qword [rsp + 0x20], r15
lea r9, [rbp + 0x17]
xor r8d, r8d
lea rdx, str.displayName
call qword [rax + 0x20]
test eax, eax
js 0x14005570a
lea rdx, str.Antivirus_detected:
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t___std::wcout]
call fcn.14005a3b0
mov rcx, rax
mov rdx, qword [rbp + 0x1f]
call fcn.14005a3b0
lea rdx, [0x14005a590]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64___cdecl_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t__::operator___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64____cdecl___class_std::basic_ostream_wchar_t__struct_std::char_traits_wchar_t______ptr64_____ptr64]
lea rcx, [rbp + 0x17]
call qword [sym.imp.OLEAUT32.dll_VariantCopy]
jmp 0x14005572d
lea rdx, str.Failed_to_retrieve_antivirus_name.
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.140050ec0
lea rdx, [0x140054150]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov rcx, qword [rbp + 0xf]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp + 7]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 9]
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 1]
mov rax, qword [rcx]
call qword [rax + 0x10]
call qword [sym.imp.ole32.dll_CoUninitialize]
mov al, 1
jmp 0x1400552d1
test rcx, rcx
je 0x14005576d
mov rax, qword [rcx]
call qword [rax + 0x10]
mov rcx, qword [rbp - 1]
mov rdx, qword [rbp + 7]
test rdx, rdx
je 0x140055787
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [rbp - 1]
mov rdx, qword [rbp - 9]
test rdx, rdx
je 0x14005579d
mov rax, qword [rdx]
mov rcx, rdx
call qword [rax + 0x10]
mov rcx, qword [rbp - 1]
test rcx, rcx
je 0x1400557a8
mov rax, qword [rcx]
call qword [rax + 0x10]
lea rdx, str.No_antivirus_detected.
jmp 0x140055337
mov ecx, 0x8007000e
call fcn.1400bec80
nop
mov ecx, 0x8007000e
call fcn.1400bec80
nop
mov ecx, 0x8007000e
call fcn.1400bec80
int3