Function at 0x404f60
Capabilities:
Connect to wmi namespace via wbemlocator
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x447e9c
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push esi
push edi
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x404f96
cmp eax, 0x80010106
jne 0x4050a8
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 0x404fbd
cmp eax, 0x80010119
jne 0x4050a2
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x44be00
push 1
push 0
push 0x44be10
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4050a2
push 0xc
mov dword [ebp - 0x10], 0
call fcn.00422e2a
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x40502a
push str.ROOTCIMV2
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x4051e9
jmp 0x40502c
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], esi
test esi, esi
je 0x4051f3
lea edx, [ebp - 0x10]
mov dword [ebp - 4], 1
mov eax, dword [ebp - 0x14]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push dword [esi]
push eax
call dword [ecx + 0xc]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.00404e70
test esi, esi
js 0x405099
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x4050ba
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
push str.SELECT__FROM_Win32_ComputerSystemProduct
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
call fcn.00404df0
mov esi, eax
push 0x45341c
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 2
call fcn.00404df0
mov byte [ebp - 4], 3
mov esi, dword [esi]
test esi, esi
je 0x4050f2
mov esi, dword [esi]
jmp 0x4050f4
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x4050fe
mov edx, dword [eax]
jmp 0x405100
xor edx, edx
mov eax, dword [ebp - 0x10]
lea edi, [ebp - 0x18]
push edi
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.00404e70
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00404e70
test esi, esi
js 0x405090
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
test ecx, ecx
je 0x4051b6
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
nop
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x1c]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x20], 0
je 0x4051b6
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x38]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x453420
push eax
call dword [ecx + 0x10]
mov ecx, dword [ebp - 0x30]
mov edx, 0x45c9a0
sub edx, ecx
lea ebx, [ebx]
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x405190
lea eax, [ebp - 0x38]
push eax
call esi
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x405150
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.00423cb0
push 0x8007000e
call fcn.00423cb0
int3