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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x417161
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
mov eax, dword [0x427024]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x3c], edi
mov dword [ebp - 4], 0
xorps xmm0, xmm0
mov dword [ebp - 0x40], 0
push 0
movq qword [edi], xmm0
push 0
mov dword [ebp - 0x44], edi
mov dword [edi], 0
mov dword [edi + 4], 0
call fcn.00406300
mov dword [edi], eax
push 0
mov dword [ebp - 4], 0
push 0
mov dword [ebp - 0x40], 1
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
js 0x404afc
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 0x4048f7
cmp eax, 0x80010119
jne 0x404afc
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push 0x41a524
push 1
push 0
push 0x41a514
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x404afc
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x1c], 0
call fcn.00402610
mov dword [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x40493f
mov edx, dword [eax]
jmp 0x404941
xor edx, edx
mov eax, dword [ebp - 0x24]
lea esi, [ebp - 0x1c]
push esi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0
mov esi, eax
call fcn.004026c0
test esi, esi
js 0x404af3
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 0x404aea
push str.SELECT__FROM_AntivirusProduct
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x18], 0
call fcn.00402570
mov esi, eax
push 0x41aa00
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 2
call fcn.00402570
mov byte [ebp - 4], 3
mov esi, dword [esi]
test esi, esi
je 0x4049cf
mov esi, dword [esi]
jmp 0x4049d1
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x4049db
mov edx, dword [eax]
jmp 0x4049dd
xor edx, edx
mov eax, dword [ebp - 0x1c]
lea ebx, [ebp - 0x20]
push ebx
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
lea ecx, [ebp - 0x14]
mov esi, eax
call fcn.004026c0
lea ecx, [ebp - 0x3c]
mov byte [ebp - 4], 0
call fcn.004026c0
test esi, esi
js 0x404aea
nop
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x14]
push edx
lea edx, [ebp - 0x18]
mov dword [ebp - 0x14], 0
push edx
push 1
mov dword [ebp - 0x18], 0
mov ecx, dword [eax]
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
mov esi, eax
test esi, esi
jne 0x404acb
cmp dword [ebp - 0x14], eax
jbe 0x404acb
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x38]
push esi
push esi
push edx
mov ecx, dword [eax]
push esi
push 0x41aa04
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x404acb
cmp word [ebp - 0x38], 8
jne 0x404acb
push dword [ebp - 0x30]
lea ecx, [ebp - 0x5c]
call fcn.00404f00
lea edx, [ebp - 0x5c]
mov dword [ebp - 4], 4
lea ecx, [ebp - 0x74]
call fcn.0040c0f0
mov byte [ebp - 4], 5
mov ebx, dword [edi]
push eax
push dword [ebx + 4]
push ebx
call fcn.00406670
mov ecx, eax
mov eax, 0x7fffffe
sub eax, dword [edi + 4]
cmp eax, 1
jb 0x404b20
inc dword [edi + 4]
mov dword [ebx + 4], ecx
mov eax, dword [ecx + 4]
mov dword [eax], ecx
lea ecx, [ebp - 0x74]
call fcn.00404fe0
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.00404ec0
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x404ad8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
cmp esi, 1
jne 0x404a10
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
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00415b3b
mov esp, ebp
pop ebp
ret
push str.list_T__too_long
call dword [sym.imp.MSVCP140.dll_void___cdecl_std::_Xlength_error_char_const__]
int3