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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10062a28
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x1007e274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
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
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0x1006c8e8
push 1
push 0
push 0x1006c8d8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x1001865b
push 0x10007f10
mov ecx, dword [ebp - 0x10]
push ecx
push 0x100133f0
push str._Err_code__0x
push str.Failed_to_create_IWbemLocator_object.
push 0x1007fda8
call fcn.10007370
add esp, 8
push eax
call fcn.10007370
add esp, 8
mov ecx, eax
call fcn.10013250
mov ecx, eax
call fcn.10017f00
mov ecx, eax
call fcn.10009cd0
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x10018a50
mov dword [ebp - 0x1c], 0
lea edx, [ebp - 0x1c]
push edx
push 0
push 0
push 0
push 0
push 0
push 0
push str.ROOTCIMV2
lea ecx, [ebp - 0x38]
call fcn.10017e20
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x34]
call fcn.10018090
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [edx + 0xc]
call ecx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x38]
call fcn.10017ee0
cmp dword [ebp - 0x10], 0
jge 0x10018711
push 0x10007f10
mov edx, dword [ebp - 0x10]
push edx
push 0x100133f0
push str.Could_not_connect._Error_code__0x
push 0x1007fda8
call fcn.10007370
add esp, 8
mov ecx, eax
call fcn.10013250
mov ecx, eax
call fcn.10017f00
mov ecx, eax
call fcn.10009cd0
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]
mov eax, 1
jmp 0x10018a50
push 0x10007f10
push str.Connected_to_ROOTCIMV2_WMI_namespace
push 0x1007fda8
call fcn.10007370
add esp, 8
mov ecx, eax
call fcn.10009cd0
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov ecx, dword [ebp - 0x1c]
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x100187b1
push 0x10007f10
mov edx, dword [ebp - 0x10]
push edx
push 0x100133f0
push str.Could_not_set_proxy_blanket._Error_code__0x
push 0x1007fda8
call fcn.10007370
add esp, 8
mov ecx, eax
call fcn.10013250
mov ecx, eax
call fcn.10017f00
mov ecx, eax
call fcn.10009cd0
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x1c]
push edx
mov eax, dword [ecx + 8]
call eax
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]
mov eax, 1
jmp 0x10018a50
mov dword [ebp - 0x24], 0
lea edx, [ebp - 0x24]
push edx
push 0
push 0x30
push str.SELECT__FROM_Win32_BIOS
lea ecx, [ebp - 0x50]
call fcn.10017d80
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov dword [ebp - 4], 1
mov ecx, dword [ebp - 0x40]
call fcn.10018090
push eax
push 0x10066590
lea ecx, [ebp - 0x4c]
call fcn.10017d80
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x48]
call fcn.10018090
push eax
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x1c]
push ecx
mov edx, dword [eax + 0x50]
call edx
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.10017ee0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x50]
call fcn.10017ee0
cmp dword [ebp - 0x10], 0
jge 0x100188aa
push 0x10007f10
mov eax, dword [ebp - 0x10]
push eax
push 0x100133f0
push str._Error_code__0x
push str.Query_for_operating_system_name_failed.
push 0x1007fda8
call fcn.10007370
add esp, 8
push eax
call fcn.10007370
add esp, 8
mov ecx, eax
call fcn.10013250
mov ecx, eax
call fcn.10017f00
mov ecx, eax
call fcn.10009cd0
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]
mov eax, 1
jmp 0x10018a50
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x2c], 0
cmp dword [ebp - 0x24], 0
je 0x10018a26
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
push ecx
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 0x24]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x2c], 0
jne 0x100188ea
jmp 0x10018a26
mov dword [ebp - 0x20], 0
push 0
push 0
lea eax, [ebp - 0x60]
push eax
push 0
push str.Model
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x28], eax
movzx edx, word [ebp - 0x60]
cmp edx, 8
jne 0x10018937
mov eax, dword [ebp - 0x58]
push eax
call fcn.1003f750
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0x1007f700
call fcn.1004b580
add esp, 8
push 0
push 0
lea edx, [ebp - 0x60]
push edx
push 0
push str.Manufacturer
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx + 0x10]
call eax
mov dword [ebp - 0x28], eax
movzx ecx, word [ebp - 0x60]
cmp ecx, 8
jne 0x1001897d
mov edx, dword [ebp - 0x58]
push edx
call fcn.1003f750
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
push 0x1007f700
call fcn.1004b580
add esp, 8
push 0
push 0
lea ecx, [ebp - 0x60]
push ecx
push 0
push str.Name
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x28], eax
movzx eax, word [ebp - 0x60]
cmp eax, 8
jne 0x100189c3
mov ecx, dword [ebp - 0x58]
push ecx
call fcn.1003f750
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
push edx
push 0x1007f700
call fcn.1004b580
add esp, 8
push 0
push 0
lea eax, [ebp - 0x60]
push eax
push 0
push str.SerialNumber
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x28], eax
movzx edx, word [ebp - 0x60]
cmp edx, 8
jne 0x10018a09
mov eax, dword [ebp - 0x58]
push eax
call fcn.1003f750
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0x1007f700
call fcn.1004b580
add esp, 8
lea edx, [ebp - 0x60]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x14]
push edx
mov eax, dword [ecx + 8]
call eax
jmp 0x100188b8
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
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ecx + 8]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret