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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9e79
mov eax, dword fs:[0]
push eax
sub esp, 0x84
mov eax, dword [0x50f52c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov eax, dword [ebp + 0x40]
mov dword [ebp - 0x58], eax
mov dword [ebp - 4], 2
mov dword [ebp - 0x44], 1
xor ebx, ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x38], ebx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x4c], ebx
mov byte [ebp - 4], 3
push ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jge 0x4521cb
mov dword [ebp - 0x68], str.CoInitializeEx_failed
push 0x4fd428
lea ecx, [ebp - 0x68]
push ecx
call fcn.004b3137
push ebx
push ebx
push ebx
push 3
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
test eax, eax
jge 0x4521f5
mov dword [ebp - 0x70], str.CoInitializeSecurity_failed
push 0x4fd428
lea edx, [ebp - 0x70]
push edx
call fcn.004b3137
lea eax, [ebp - 0x40]
push eax
push 0x4ef918
push 1
push ebx
push 0x4ef9e8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jge 0x452225
mov dword [ebp - 0x64], 0x4eac84
push 0x4fd428
lea ecx, [ebp - 0x64]
push ecx
call fcn.004b3137
mov eax, dword [ebp - 0x40]
mov edx, dword [eax]
lea ecx, [ebp - 0x34]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.ROOTCIMV2
push eax
mov edx, dword [edx + 0xc]
call edx
test eax, eax
jge 0x452258
mov dword [ebp - 0x54], str.ConnectServer_failed
push 0x4fd428
lea eax, [ebp - 0x54]
push eax
call fcn.004b3137
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jge 0x452285
mov dword [ebp - 0x48], str.CoSetProxyBlanket_failed
push 0x4fd428
lea edx, [ebp - 0x48]
push edx
call fcn.004b3137
lea eax, [ebp + 8]
push eax
push str.SELECT__FROM
lea ecx, [ebp - 0x30]
push ecx
call fcn.00401a30
mov byte [ebp - 4], 4
push 0x4e25d8
lea edx, [ebp + 0x44]
push edx
call fcn.00402620
add esp, 0x14
test al, al
je 0x4522e4
lea eax, [ebp + 0x44]
push eax
push str._WHERE
lea ecx, [ebp - 0x8c]
push ecx
call fcn.00401a30
add esp, 0xc
mov byte [ebp - 4], 5
push eax
lea ecx, [ebp - 0x30]
call fcn.00401990
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x8c]
call fcn.00490320
mov esi, 8
cmp dword [ebp - 0x18], esi
mov eax, dword [ebp - 0x2c]
jae 0x4522f4
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
cmp eax, ebx
jne 0x452314
mov dword [ebp - 0x5c], 0x4e27d5
push 0x4fd428
lea edx, [ebp - 0x5c]
push edx
call fcn.004b3137
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
lea edi, [ebp - 0x38]
push edi
push ebx
push 0x30
push eax
push 0x4eafa0
push ecx
mov eax, dword [edx + 0x50]
call eax
test eax, eax
jge 0x452345
mov dword [ebp - 0x6c], str.ExecQuery_failed
push 0x4fd428
lea ecx, [ebp - 0x6c]
push ecx
call fcn.004b3137
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x4523b0
mov edx, dword [eax]
lea ecx, [ebp - 0x4c]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
push 1
push 0xffffffffffffffff
push eax
mov edx, dword [edx + 0x10]
call edx
test eax, eax
jge 0x452379
mov dword [ebp - 0x50], str.Next_failed
push 0x4fd428
lea eax, [ebp - 0x50]
push eax
call fcn.004b3137
cmp dword [ebp + 0x3c], esi
mov ecx, dword [ebp + 0x28]
jae 0x452384
lea ecx, [ebp + 0x28]
mov eax, dword [ebp - 0x3c]
mov edx, dword [eax]
push ebx
push ebx
mov esi, dword [ebp - 0x58]
push esi
push ebx
push ecx
push eax
mov eax, dword [edx + 0x10]
call eax
test eax, eax
jge 0x4523b0
mov dword [ebp - 0x60], str.Get_failed
push 0x4fd428
lea ecx, [ebp - 0x60]
push ecx
call fcn.004b3137
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x30]
call fcn.00490320
mov dword [ebp - 4], 2
jmp 0x4524ba
mov eax, dword [ebp - 0x3c]
cmp eax, ebx
je 0x4524cc
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x3c], ebx
mov eax, dword [ebp - 0x38]
cmp eax, ebx
je 0x4524de
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov dword [ebp - 0x38], ebx
mov eax, dword [ebp - 0x40]
cmp eax, ebx
je 0x4524f0
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov dword [ebp - 0x40], ebx
mov eax, dword [ebp - 0x34]
cmp eax, ebx
je 0x452502
mov ecx, dword [eax]
push eax
mov edx, dword [ecx + 8]
call edx
mov dword [ebp - 0x34], ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [ebp - 4], 1
lea ecx, [ebp + 8]
call fcn.00490320
mov byte [ebp - 4], bl
lea ecx, [ebp + 0x24]
call fcn.00490320
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x44]
call fcn.00490320
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004b3057
mov esp, ebp
pop ebp
ret 0x58