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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x577ee5
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5c4680]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x30], 0
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jge 0x4869b9
push 0x485f00
mov eax, dword [ebp - 0x2c]
push eax
push str.Failed_to_initialize_COM_library._Error_code:
push 0x5cc210
call fcn.00485150
add esp, 8
mov ecx, eax
call fcn.004866a0
mov ecx, eax
call fcn.00486820
push 0x57e349
mov ecx, dword [ebp + 8]
call fcn.004022c0
mov ecx, dword [ebp - 0x30]
or ecx, 1
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 8]
jmp 0x486e5f
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 - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jge 0x486a27
push 0x485f00
mov edx, dword [ebp - 0x2c]
push edx
push str.Failed_to_initialize_security._Error_code:
push 0x5cc210
call fcn.00485150
add esp, 8
mov ecx, eax
call fcn.004866a0
mov ecx, eax
call fcn.00486820
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x57e34a
mov ecx, dword [ebp + 8]
call fcn.004022c0
mov eax, dword [ebp - 0x30]
or eax, 1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
jmp 0x486e5f
mov dword [ebp - 0x34], 0
lea ecx, [ebp - 0x34]
push ecx
push 0x59a12c
push 1
push 0
push 0x59a13c
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jge 0x486a9c
push 0x485f00
mov edx, dword [ebp - 0x2c]
push edx
push str.Failed_to_create_IWbemLocator_object._Error_code:
push 0x5cc210
call fcn.00485150
add esp, 8
mov ecx, eax
call fcn.004866a0
mov ecx, eax
call fcn.00486820
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x57e34b
mov ecx, dword [ebp + 8]
call fcn.004022c0
mov eax, dword [ebp - 0x30]
or eax, 1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
jmp 0x486e5f
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x38]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push str.ROOTCIMv2
lea ecx, [ebp - 0x58]
call fcn.00479030
mov dword [ebp - 0x50], eax
mov edx, dword [ebp - 0x50]
mov dword [ebp - 0x54], edx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x54]
call fcn.004793d0
push eax
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ecx + 0xc]
call eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x58]
call fcn.00479300
cmp dword [ebp - 0x2c], 0
jge 0x486b5a
push 0x485f00
mov ecx, dword [ebp - 0x2c]
push ecx
push str.Failed_to_connect_to_WMI._Error_code:
push 0x5cc210
call fcn.00485150
add esp, 8
mov ecx, eax
call fcn.004866a0
mov ecx, eax
call fcn.00486820
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [eax + 8]
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x57e362
mov ecx, dword [ebp + 8]
call fcn.004022c0
mov eax, dword [ebp - 0x30]
or eax, 1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
jmp 0x486e5f
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov ecx, dword [ebp - 0x38]
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jge 0x486be4
push 0x485f00
mov edx, dword [ebp - 0x2c]
push edx
push str.Failed_to_set_proxy_blanket._Error_code:
push 0x5cc210
call fcn.00485150
add esp, 8
mov ecx, eax
call fcn.004866a0
mov ecx, eax
call fcn.00486820
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x57e363
mov ecx, dword [ebp + 8]
call fcn.004022c0
mov edx, dword [ebp - 0x30]
or edx, 1
mov dword [ebp - 0x30], edx
mov eax, dword [ebp + 8]
jmp 0x486e5f
mov dword [ebp - 0x3c], 0
lea eax, [ebp - 0x3c]
push eax
push 0
push 0x30
push str.SELECT__FROM_Win32_DiskDrive
lea ecx, [ebp - 0x70]
call fcn.00478f90
mov dword [ebp - 0x5c], eax
mov ecx, dword [ebp - 0x5c]
mov dword [ebp - 0x60], ecx
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x60]
call fcn.004793d0
push eax
push 0x57e4f4
lea ecx, [ebp - 0x6c]
call fcn.00478f90
mov dword [ebp - 0x64], eax
mov edx, dword [ebp - 0x64]
mov dword [ebp - 0x68], edx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x68]
call fcn.004793d0
push eax
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ecx + 0x50]
call eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x6c]
call fcn.00479300
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x70]
call fcn.00479300
cmp dword [ebp - 0x2c], 0
jge 0x486cd7
push 0x485f00
mov ecx, dword [ebp - 0x2c]
push ecx
push str.Query_for_Win32_DiskDrive_failed._Error_code:
push 0x5cc210
call fcn.00485150
add esp, 8
mov ecx, eax
call fcn.004866a0
mov ecx, eax
call fcn.00486820
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ecx + 8]
call eax
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x57e364
mov ecx, dword [ebp + 8]
call fcn.004022c0
mov ecx, dword [ebp - 0x30]
or ecx, 1
mov dword [ebp - 0x30], ecx
mov eax, dword [ebp + 8]
jmp 0x486e5f
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x48], 0
cmp dword [ebp - 0x3c], 0
je 0x486e16
lea edx, [ebp - 0x48]
push edx
lea eax, [ebp - 0x40]
push eax
push 1
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x48], 0
jne 0x486d17
jmp 0x486e16
push 0
push 0
lea edx, [ebp - 0x80]
push edx
push 0
push str.SerialNumber
mov eax, dword [ebp - 0x40]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x40]
push edx
mov eax, dword [ecx + 0x10]
call eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0
jl 0x486df9
mov ecx, dword [ebp - 0x78]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantInit]
push eax
mov edx, dword [ebp - 0x78]
push edx
lea ecx, [ebp - 0x28]
call fcn.00407de0
mov dword [ebp - 4], 3
lea eax, [ebp - 0x80]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x3c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [eax + 8]
call edx
mov eax, dword [ebp - 0x38]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x38]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x34]
push eax
mov ecx, dword [edx + 8]
call ecx
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [ebp - 0x41]
call fcn.00401740
push eax
lea edx, [ebp - 0x84]
push edx
lea ecx, [ebp - 0x28]
call fcn.00403dc0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x28]
call fcn.00441840
mov edx, dword [eax]
push edx
mov ecx, dword [ebp + 8]
call fcn.00485000
mov eax, dword [ebp - 0x30]
or eax, 1
mov dword [ebp - 0x30], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00403c70
mov eax, dword [ebp + 8]
jmp 0x486e5f
lea ecx, [ebp - 0x80]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov edx, dword [ebp - 0x40]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x40]
push ecx
mov edx, dword [eax + 8]
call edx
jmp 0x486ce5
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0x38]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x38]
push eax
mov ecx, dword [edx + 8]
call ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [eax + 8]
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x57e365
mov ecx, dword [ebp + 8]
call fcn.004022c0
mov eax, dword [ebp - 0x30]
or eax, 1
mov dword [ebp - 0x30], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005313f0
mov esp, ebp
pop ebp
ret