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

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d2a1
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x42f040]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x44], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x6c], edi
mov dword [ebp - 0x48], 0
movq qword [edi], xmm0
push 0x20
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.0041bee5
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [edi], eax
push 0
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x48], 1
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x4052f6
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jns 0x404f00
cmp eax, 0x80010119
jne 0x4052f6
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push 0x4215a4
push 1
push 0
push 0x4215b4
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4052f6
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x1c], 0
push ecx
lea ecx, [ebp - 0x18]
mov eax, dword [eax]
mov esi, dword [eax + 0xc]
call fcn.00401c20
mov dword [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x404f50
mov eax, dword [eax]
jmp 0x404f52
xor eax, eax
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push eax
push dword [ebp - 0x24]
call esi
mov byte [ebp - 4], 0
mov ecx, eax
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x20], ecx
test esi, esi
je 0x404fbf
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x404fbf
test esi, esi
je 0x404fbf
mov eax, dword [esi]
test eax, eax
je 0x404f9a
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x404fb1
push eax
call fcn.0041bee0
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0041c16d
mov ecx, dword [ebp - 0x20]
add esp, 8
test ecx, ecx
js 0x4052ed
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x1c]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x4052e4
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x20], 0
push str.SELECT__FROM_AntivirusProduct
mov eax, dword [eax]
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x3c], eax
call fcn.00401b80
mov dword [ebp - 4], 2
mov esi, dword [eax]
test esi, esi
je 0x405016
mov esi, dword [esi]
jmp 0x405018
xor esi, esi
push 0x421bc4
lea ecx, [ebp - 0x18]
call fcn.00401b80
mov byte [ebp - 4], 3
mov eax, dword [eax]
test eax, eax
je 0x405033
mov eax, dword [eax]
jmp 0x405035
xor eax, eax
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0x30
push esi
push eax
push dword [ebp - 0x1c]
call dword [ebp - 0x3c]
mov esi, dword [ebp - 0x18]
mov dword [ebp - 0x3c], eax
test esi, esi
je 0x40509a
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x405093
test esi, esi
je 0x405093
mov eax, dword [esi]
test eax, eax
je 0x405071
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x405088
push eax
call fcn.0041bee0
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0041c16d
add esp, 8
mov dword [ebp - 0x18], 0
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x40]
test esi, esi
je 0x4050e9
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x4050e9
test esi, esi
je 0x4050e9
mov eax, dword [esi]
test eax, eax
je 0x4050c7
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4050de
push eax
call fcn.0041bee0
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.0041c16d
add esp, 8
cmp dword [ebp - 0x3c], 0
jl 0x4052e4
mov eax, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov dword [ebp - 0x44], eax
nop dword [eax + eax]
mov ecx, dword [ebp - 0x20]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
push edx
push 1
mov dword [ebp - 0x28], 0
mov eax, dword [ecx]
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
mov esi, eax
test esi, esi
jne 0x4052c5
cmp dword [ebp - 0x18], eax
jbe 0x4052c5
mov ecx, dword [ebp - 0x28]
lea edx, [ebp - 0x38]
push esi
push esi
push edx
mov eax, dword [ecx]
push esi
push 0x421bc8
push ecx
call dword [eax + 0x10]
test eax, eax
js 0x4052c5
cmp word [ebp - 0x38], 8
jne 0x4052c5
mov edx, dword [ebp - 0x30]
xorps xmm0, xmm0
mov eax, edx
mov dword [ebp - 0x58], esi
movups xmmword [ebp - 0x68], xmm0
mov dword [ebp - 0x54], esi
lea ecx, [eax + 2]
mov dword [ebp - 0x40], ecx
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x405176
sub eax, dword [ebp - 0x40]
lea ecx, [ebp - 0x68]
sar eax, 1
push eax
push edx
call fcn.004020e0
lea edx, [ebp - 0x68]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x84]
call fcn.0040d040
mov dword [ebp - 0x40], eax
mov byte [ebp - 4], 5
cmp dword [edi + 4], 0x7ffffff
mov eax, dword [edi]
mov dword [ebp - 0x3c], eax
je 0x405322
mov dword [ebp - 0x50], edi
mov byte [ebp - 4], 6
push 0x20
mov dword [ebp - 0x4c], 0
call fcn.0041bee5
mov edx, dword [ebp - 0x3c]
mov ecx, eax
mov eax, dword [ebp - 0x40]
xorps xmm0, xmm0
add esp, 4
movups xmmword [ecx + 8], xmm0
mov dword [ecx + 0x18], 0
mov dword [ecx + 0x1c], 0
movups xmm0, xmmword [eax]
movups xmmword [ecx + 8], xmm0
movq xmm0, qword [eax + 0x10]
movq qword [ecx + 0x18], xmm0
mov dword [eax + 0x10], 0
mov dword [eax + 0x14], 0xf
mov byte [eax], 0
inc dword [edi + 4]
mov eax, dword [edx + 4]
mov dword [ecx], edx
mov dword [ecx + 4], eax
mov dword [edx + 4], ecx
mov dword [eax], ecx
lea ecx, [ebp - 0x50]
mov dword [ebp - 0x4c], 0
call fcn.00406350
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x70]
cmp ecx, 0xf
jbe 0x40526f
mov edx, dword [ebp - 0x84]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x405265
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40531c
push ecx
push edx
call fcn.0041c16d
add esp, 8
mov byte [ebp - 4], 0
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
cmp ecx, 7
jbe 0x4052be
mov edx, dword [ebp - 0x68]
lea ecx, [ecx*2 + 2]
mov eax, edx
cmp ecx, 0x1000
jb 0x4052b4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40531c
push ecx
push edx
call fcn.0041c16d
add esp, 8
lea eax, [ebp - 0x38]
push eax
call dword [ebp - 0x44]
mov ecx, dword [ebp - 0x28]
test ecx, ecx
je 0x4052d2
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp esi, 1
jne 0x405100
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0041bed2
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push str.list_too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
int3