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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10070408
mov eax, dword fs:[0]
push eax
sub esp, 0xa8
mov eax, dword [0x1008b274]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xb4], 0
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 0x10079808
push 1
push 0
push 0x100797f8
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jge 0x1001de4c
push str._Err_code__0x
push str.Failed_to_create_IWbemLocator_object.
push 0x1008cd88
call fcn.10007880
add esp, 8
push eax
call fcn.10007880
add esp, 8
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0
jne 0x1001dddb
mov dword [ebp - 0x3c], 0
jmp 0x1001dde9
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x28]
add eax, dword [edx + 4]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x84], edx
mov eax, 0xe00
not eax
and eax, dword [ebp - 0x84]
mov ecx, 0x800
and ecx, 0xe00
and ecx, 0xffff
or eax, ecx
mov edx, dword [ebp - 0x3c]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x28]
call fcn.1001d570
mov dword [ebp - 0x88], eax
mov ecx, dword [ebp - 0x88]
push ecx
call fcn.10008670
add esp, 4
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 1
jmp 0x1001e3c1
mov dword [ebp - 0x1c], 0
push str.ROOTCIMV2
lea ecx, [ebp - 0x40]
call fcn.1001d470
mov dword [ebp - 0x8c], eax
mov edx, dword [ebp - 0x8c]
mov dword [ebp - 0x68], edx
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x68]
cmp dword [eax], 0
je 0x1001de8a
mov ecx, dword [ebp - 0x68]
mov edx, dword [ecx]
mov eax, dword [edx]
mov dword [ebp - 0x80], eax
jmp 0x1001de91
mov dword [ebp - 0x80], 0
lea ecx, [ebp - 0x1c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp - 0x80]
push edx
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ecx]
mov eax, dword [edx + 0xc]
call eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x40], 0
je 0x1001ded2
mov ecx, dword [ebp - 0x40]
call fcn.100200a0
mov dword [ebp - 0x40], 0
cmp dword [ebp - 0x10], 0
jge 0x1001df7f
push str.Could_not_connect._Error_code__0x
push 0x1008cd88
call fcn.10007880
add esp, 8
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x1001df00
mov dword [ebp - 0x44], 0
jmp 0x1001df0e
mov ecx, dword [ebp - 0x2c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x2c]
add eax, dword [edx + 4]
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x90], edx
mov eax, 0xe00
not eax
and eax, dword [ebp - 0x90]
mov ecx, 0x800
and ecx, 0xe00
and ecx, 0xffff
or eax, ecx
mov edx, dword [ebp - 0x44]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x2c]
call fcn.1001d570
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
push ecx
call fcn.10008670
add esp, 4
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 0x1001e3c1
push str.Connected_to_ROOTCIMV2_WMI_namespace
push 0x1008cd88
call fcn.10007880
add esp, 8
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
push eax
call fcn.10008670
add esp, 4
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 0x1001e07c
push str.Could_not_set_proxy_blanket._Error_code__0x
push 0x1008cd88
call fcn.10007880
add esp, 8
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0
jne 0x1001dfef
mov dword [ebp - 0x48], 0
jmp 0x1001dffd
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x30]
add ecx, dword [eax + 4]
mov dword [ebp - 0x48], ecx
mov edx, dword [ebp - 0x48]
mov eax, dword [edx + 0x14]
mov dword [ebp - 0x9c], eax
mov ecx, 0xe00
not ecx
and ecx, dword [ebp - 0x9c]
mov edx, 0x800
and edx, 0xe00
and edx, 0xffff
or ecx, edx
mov eax, dword [ebp - 0x48]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp - 0x10]
push ecx
mov ecx, dword [ebp - 0x30]
call fcn.1001d570
mov dword [ebp - 0xa0], eax
mov edx, dword [ebp - 0xa0]
push edx
call fcn.10008670
add esp, 4
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 0x1001e3c1
mov dword [ebp - 0x24], 0
push str.SELECT__FROM_Win32_BIOS
lea ecx, [ebp - 0x50]
call fcn.1001d3c0
mov dword [ebp - 0xa4], eax
mov edx, dword [ebp - 0xa4]
mov dword [ebp - 0x6c], edx
mov dword [ebp - 4], 1
push 0x100735d0
lea ecx, [ebp - 0x4c]
call fcn.1001d3c0
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x70], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x6c]
cmp dword [ecx], 0
je 0x1001e0da
mov edx, dword [ebp - 0x6c]
mov eax, dword [edx]
mov ecx, dword [eax]
mov dword [ebp - 0x74], ecx
jmp 0x1001e0e1
mov dword [ebp - 0x74], 0
mov edx, dword [ebp - 0x70]
cmp dword [edx], 0
je 0x1001e0f5
mov eax, dword [ebp - 0x70]
mov ecx, dword [eax]
mov edx, dword [ecx]
mov dword [ebp - 0x78], edx
jmp 0x1001e0fc
mov dword [ebp - 0x78], 0
lea eax, [ebp - 0x24]
push eax
push 0
push 0x30
mov ecx, dword [ebp - 0x74]
push ecx
mov edx, dword [ebp - 0x78]
push edx
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ecx]
mov eax, dword [edx + 0x50]
call eax
mov dword [ebp - 0x10], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x4c], 0
je 0x1001e136
mov ecx, dword [ebp - 0x4c]
call fcn.100200a0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x50], 0
je 0x1001e152
mov ecx, dword [ebp - 0x50]
call fcn.100200a0
mov dword [ebp - 0x50], 0
cmp dword [ebp - 0x10], 0
jge 0x1001e21b
push str._Error_code__0x
push str.Query_for_operating_system_name_failed.
push 0x1008cd88
call fcn.10007880
add esp, 8
push eax
call fcn.10007880
add esp, 8
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 0
jne 0x1001e18e
mov dword [ebp - 0x54], 0
jmp 0x1001e19c
mov ecx, dword [ebp - 0x34]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x34]
add eax, dword [edx + 4]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0xac], edx
mov eax, 0xe00
not eax
and eax, dword [ebp - 0xac]
mov ecx, 0x800
and ecx, 0xe00
and ecx, 0xffff
or eax, ecx
mov edx, dword [ebp - 0x54]
mov dword [edx + 0x14], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x34]
call fcn.1001d570
mov dword [ebp - 0xb0], eax
mov ecx, dword [ebp - 0xb0]
push ecx
call fcn.10008670
add esp, 4
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]
mov eax, 1
jmp 0x1001e3c1
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x7c], 0
cmp dword [ebp - 0x24], 0
je 0x1001e397
lea ecx, [ebp - 0x7c]
push ecx
lea edx, [ebp - 0x14]
push edx
push 1
push 0xffffffffffffffff
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 - 0x38], eax
cmp dword [ebp - 0x7c], 0
jne 0x1001e25b
jmp 0x1001e397
mov dword [ebp - 0x20], 0
push 0
push 0
lea ecx, [ebp - 0x64]
push ecx
push 0
push str.Model
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 - 0x38], eax
movzx eax, word [ebp - 0x64]
cmp eax, 8
jne 0x1001e2a8
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.1004cf90
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
push edx
push 0x1008c6f0
call fcn.10058dd0
add esp, 8
push 0
push 0
lea eax, [ebp - 0x64]
push eax
push 0
push str.Manufacturer
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 - 0x38], eax
movzx edx, word [ebp - 0x64]
cmp edx, 8
jne 0x1001e2ee
mov eax, dword [ebp - 0x5c]
push eax
call fcn.1004cf90
mov dword [ebp - 0x20], eax
mov ecx, dword [ebp - 0x20]
push ecx
push 0x1008c6f0
call fcn.10058dd0
add esp, 8
push 0
push 0
lea edx, [ebp - 0x64]
push edx
push 0
push str.Name
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 - 0x38], eax
movzx ecx, word [ebp - 0x64]
cmp ecx, 8
jne 0x1001e334
mov edx, dword [ebp - 0x5c]
push edx
call fcn.1004cf90
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
push 0x1008c6f0
call fcn.10058dd0
add esp, 8
push 0
push 0
lea ecx, [ebp - 0x64]
push ecx
push 0
push str.SerialNumber
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 - 0x38], eax
movzx eax, word [ebp - 0x64]
cmp eax, 8
jne 0x1001e37a
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.1004cf90
mov dword [ebp - 0x20], eax
mov edx, dword [ebp - 0x20]
push edx
push 0x1008c6f0
call fcn.10058dd0
add esp, 8
lea eax, [ebp - 0x64]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [ebp - 0x14]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [edx + 8]
call ecx
jmp 0x1001e229
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 - 0x24]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [edx + 8]
call ecx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret