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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fada8
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x541a34]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x14], 0
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x48831d
cmp dword [ebp + 0xc], 0
je 0x4882ca
mov eax, dword [ebp - 0x10]
push eax
push str.Failed_to_initialize_COM_library._Error_code___X
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0045a850
add esp, 0xc
push 0x487760
mov edx, dword [ebp - 0x10]
push edx
push 0x449390
push str.Failed_to_initialize_COM_library._Error_code__0x
push 0x545948
call fcn.00445c70
add esp, 8
mov ecx, eax
call fcn.00446d90
mov ecx, eax
call fcn.00487a80
mov ecx, eax
call fcn.00487c20
push 0x51d4ce
mov ecx, dword [ebp + 8]
call fcn.004566f0
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
jmp 0x488842
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 [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x4883b2
cmp dword [ebp + 0xc], 0
je 0x488359
mov ecx, dword [ebp - 0x10]
push ecx
push str.Failed_to_initialize_security._Error_code___X
mov edx, dword [ebp + 0xc]
push edx
call fcn.0045a850
add esp, 0xc
push 0x487760
mov eax, dword [ebp - 0x10]
push eax
push 0x449390
push str.Failed_to_initialize_security._Error_code__0x
push 0x545948
call fcn.00445c70
add esp, 8
mov ecx, eax
call fcn.00446d90
mov ecx, eax
call fcn.00487a80
mov ecx, eax
call fcn.00487c20
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x51d4ce
mov ecx, dword [ebp + 8]
call fcn.004566f0
mov ecx, dword [ebp - 0x14]
or ecx, 1
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
jmp 0x488842
mov dword [ebp - 0x18], 0
lea edx, [ebp - 0x18]
push edx
push 0x517f58
push 1
push 0
push 0x517f48
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x488460
cmp dword [ebp + 0xc], 0
je 0x4883f9
mov eax, dword [ebp - 0x10]
push eax
push str.Failed_to_create_IWbemLocator_object.._Error_code___X
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.0045a850
add esp, 0xc
push 0x487760
mov edx, dword [ebp - 0x10]
push edx
push 0x449390
push str._Err_code__0x
push str.Failed_to_create_IWbemLocator_object.
push 0x545948
call fcn.00445c70
add esp, 8
push eax
call fcn.00445c70
add esp, 8
mov ecx, eax
call fcn.00446d90
mov ecx, eax
call fcn.00487a80
mov ecx, eax
call fcn.00487c20
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x51d4ce
mov ecx, dword [ebp + 8]
call fcn.004566f0
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
jmp 0x488842
mov dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push str.ROOTCIMV2
lea ecx, [ebp - 0x38]
call fcn.00487940
mov dword [ebp - 0x30], eax
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x34], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
call fcn.00487c40
push eax
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx + 0xc]
call eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.00487a00
cmp dword [ebp - 0x10], 0
jge 0x488549
cmp dword [ebp + 0xc], 0
je 0x4884e2
mov ecx, dword [ebp - 0x10]
push ecx
push str.Could_not_connect._Error_code___X
mov edx, dword [ebp + 0xc]
push edx
call fcn.0045a850
add esp, 0xc
push 0x487760
mov eax, dword [ebp - 0x10]
push eax
push 0x449390
push str.Could_not_connect._Error_code__0x
push 0x545948
call fcn.00445c70
add esp, 8
mov ecx, eax
call fcn.00446d90
mov ecx, eax
call fcn.00487a80
mov ecx, eax
call fcn.00487c20
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x51d4ce
mov ecx, dword [ebp + 8]
call fcn.004566f0
mov edx, dword [ebp - 0x14]
or edx, 1
mov dword [ebp - 0x14], edx
mov eax, dword [ebp + 8]
jmp 0x488842
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x4885fe
cmp dword [ebp + 0xc], 0
je 0x488589
mov ecx, dword [ebp - 0x10]
push ecx
push str.Could_not_set_proxy_blanket._Error_code___X
mov edx, dword [ebp + 0xc]
push edx
call fcn.0045a850
add esp, 0xc
push 0x487760
mov eax, dword [ebp - 0x10]
push eax
push 0x449390
push str.Could_not_set_proxy_blanket._Error_code__0x
push 0x545948
call fcn.00445c70
add esp, 8
mov ecx, eax
call fcn.00446d90
mov ecx, eax
call fcn.00487a80
mov ecx, eax
call fcn.00487c20
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [eax + 8]
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x51d4ce
mov ecx, dword [ebp + 8]
call fcn.004566f0
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 8]
jmp 0x488842
mov dword [ebp - 0x20], 0
lea ecx, [ebp - 0x20]
push ecx
push 0
push 0x30
push str.SELECT__FROM_Win32_ComputerSystemProduct
lea ecx, [ebp - 0x50]
call fcn.004878a0
mov dword [ebp - 0x3c], eax
mov edx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], edx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x40]
call fcn.00487c40
push eax
push 0x50a278
lea ecx, [ebp - 0x4c]
call fcn.004878a0
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x48], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
call fcn.00487c40
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [edx + 0x50]
call ecx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.00487a00
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.00487a00
cmp dword [ebp - 0x10], 0
jge 0x48872a
cmp dword [ebp + 0xc], 0
je 0x4886a7
mov edx, dword [ebp - 0x10]
push edx
push str.Query_for_operating_system_name_failed._Error_code___X
mov eax, dword [ebp + 0xc]
push eax
call fcn.0045a850
add esp, 0xc
push 0x487760
mov ecx, dword [ebp - 0x10]
push ecx
push 0x449390
push str._Error_code__0x
push str.Query_for_operating_system_name_failed.
push 0x545948
call fcn.00445c70
add esp, 8
push eax
call fcn.00445c70
add esp, 8
mov ecx, eax
call fcn.00446d90
mov ecx, eax
call fcn.00487a80
mov ecx, eax
call fcn.00487c20
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x51d4ce
mov ecx, dword [ebp + 8]
call fcn.004566f0
mov ecx, dword [ebp - 0x14]
or ecx, 1
mov dword [ebp - 0x14], ecx
mov eax, dword [ebp + 8]
jmp 0x488842
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x2c], 0
push 0
lea ecx, [ebp - 0x28]
call fcn.0044ddc0
mov dword [ebp - 4], 3
cmp dword [ebp - 0x20], 0
je 0x4887eb
lea edx, [ebp - 0x2c]
push edx
lea eax, [ebp - 0x24]
push eax
push 1
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x2c], 0
jne 0x488778
jmp 0x4887eb
push 0
push 0
lea edx, [ebp - 0x70]
push edx
push 0
push str.UUID
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ecx + 0x10]
call eax
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x68]
push ecx
lea ecx, [ebp - 0x60]
call fcn.0044ddc0
mov dword [ebp - 0x58], eax
mov edx, dword [ebp - 0x58]
mov dword [ebp - 0x5c], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x5c]
call fcn.00443490
push eax
lea ecx, [ebp - 0x28]
call fcn.0044e400
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x60]
call fcn.0044e100
lea eax, [ebp - 0x70]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [edx + 8]
call ecx
jmp 0x488749
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x18]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x20]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.0044dd90
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.0044e100
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret