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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
push 0xffffffffffffffff
push 0x431e81
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
push esi
push edi
mov eax, dword [0x448090]
xor eax, esp
push eax
lea eax, [esp + 0x48]
mov dword fs:[0], eax
mov dword [esp + 0x2c], edx
mov esi, ecx
mov ecx, dword [ebp + 8]
mov dword [esp + 0x24], 0
mov dword [edx], 0
call fcn.004023e0
mov dword [esp + 0x28], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x50], 0
mov dword [esp + 0x1c], 0
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]
mov dword [esp + 0x14], 0
mov byte [esp + 0x50], 2
test eax, eax
jns 0x404327
cmp eax, 0x80010119
jne 0x40435a
mov eax, dword [esp + 0x20]
test eax, eax
je 0x404335
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea eax, [esp + 0x20]
push eax
push 0x43bdcc
push 1
push 0
push 0x435718
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x40439e
mov dword [esp + 0x20], 0
mov esi, dword [esp + 0x18]
mov byte [esp + 0x13], 0
mov dword [esp + 0x50], 2
test byte [esp + 0x24], 1
je 0x404379
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp byte [esp + 0x13], 0
je 0x4045d0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x24], eax
test eax, eax
jne 0x404416
push 0x80004003
call fcn.0041dc60
mov edi, dword [esp + 0x20]
test edi, edi
je 0x40435a
test esi, esi
jne 0x4043fb
mov dword [esp + 0x18], esi
mov byte [esp + 0x50], 3
mov dword [esp + 0x24], 1
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4043c9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov dword [esp + 0x38], 0
mov eax, dword [edi]
push esi
push edi
call dword [eax + 0xc]
test eax, eax
js 0x40435e
mov byte [esp + 0x13], 1
jmp 0x404363
push esi
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [esp + 0x18], esi
test esi, esi
jne 0x4043ae
push 0x8007000e
call fcn.00402950
mov esi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push str.SELECT__FROM_AntiVirusProduct
call esi
mov edi, eax
mov dword [esp + 0x18], edi
test edi, edi
jne 0x404437
push 0x8007000e
call fcn.00402950
push 0x43bbe4
mov byte [esp + 0x54], 4
call esi
mov esi, eax
mov dword [esp + 0x30], esi
test esi, esi
jne 0x404457
push 0x8007000e
call fcn.00402950
mov byte [esp + 0x50], 5
mov eax, dword [esp + 0x14]
test eax, eax
je 0x40446a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x14]
push edx
push 0
push 0
push edi
mov dword [esp + 0x24], 0
mov ecx, dword [eax]
push esi
push eax
call dword [ecx + 0x50]
test eax, eax
push esi
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
setns byte [esp + 0x17]
call esi
push edi
call esi
cmp byte [esp + 0x13], 0
je 0x4045d0
xor eax, eax
mov dword [esp + 0x28], 1
mov byte [esp + 0x13], 1
mov dword [esp + 0x18], eax
mov byte [esp + 0x50], 6
mov esi, dword [esp + 0x14]
mov dword [esp + 0x24], eax
test esi, esi
je 0x404394
lea ecx, [ecx]
test eax, eax
je 0x4044da
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x1c]
push ecx
push 1
mov dword [esp + 0x24], 0
mov eax, dword [esi]
push 0xffffffffffffffff
push esi
call dword [eax + 0x10]
test eax, eax
jne 0x4045bd
mov eax, dword [esp + 0x2c]
mov edi, dword [ebp + 8]
inc dword [eax]
cmp byte [esp + 0x13], 0
je 0x404515
mov byte [esp + 0x13], 0
jmp 0x404523
push 2
push 0x43bbec
mov ecx, edi
call fcn.004032b0
lea eax, [esp + 0x34]
xorps xmm0, xmm0
push eax
movdqa xmmword [esp + 0x38], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [esp + 0x50], 7
mov eax, dword [esp + 0x18]
test eax, eax
je 0x404394
mov ecx, dword [eax]
push 0
push 0
lea edx, [esp + 0x3c]
push edx
push 0
push str.displayName
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x404598
mov eax, 8
cmp ax, word [esp + 0x34]
jne 0x404598
mov edx, dword [esp + 0x3c]
test edx, edx
jne 0x40457a
xor ecx, ecx
jmp 0x40458f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x404580
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.004032b0
lea eax, [esp + 0x34]
push eax
mov byte [esp + 0x54], 6
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [esp + 0x14]
test esi, esi
je 0x404394
mov eax, dword [esp + 0x18]
jmp 0x4044d0
mov byte [esp + 0x50], 2
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4045d0
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x50], 1
mov eax, dword [esp + 0x14]
test eax, eax
je 0x4045e3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [esp + 0x50], 0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x4045f6
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [esp + 0x50], 0xffffffff
mov edi, dword [esp + 0x20]
test edi, edi
je 0x40460c
mov ecx, dword [edi]
push edi
call dword [ecx + 8]
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x48]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret