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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x102ea47a
mov eax, dword fs:[0]
push eax
sub esp, 0x94
mov eax, dword [0x104230a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], 0
lea ecx, [ebp - 0x28]
call fcn.10055100
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x30], 0
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
mov dword [ebp - 0xa0], eax
push 0
push 0
push 0
push 3
push 4
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 0x100909c3
jmp 0x10090cde
lea eax, [ebp - 0x3c]
push eax
push 0x103bd8d0
push 1
push 0
push 0x103bd8c0
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jge 0x100909e9
jmp 0x10090cde
lea ecx, [ebp - 0x34]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x102f6bac
lea ecx, [ebp - 0x5c]
call fcn.10091700
mov dword [ebp - 0x54], eax
mov edx, dword [ebp - 0x54]
mov dword [ebp - 0x58], edx
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x58]
call fcn.1004d910
push eax
mov eax, dword [ebp - 0x3c]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x3c]
push edx
mov eax, dword [ecx + 0xc]
call eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x5c]
call fcn.10091790
cmp dword [ebp - 0x2c], 0
jge 0x10090a44
jmp 0x10090cde
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
mov ecx, dword [ebp - 0x34]
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jge 0x10090a6a
jmp 0x10090cde
lea edx, [ebp - 0x38]
push edx
push 0
push 0x30
push str.SELECT__FROM_Win32_OperatingSystem
lea ecx, [ebp - 0x74]
call fcn.100916b0
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x64], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x64]
call fcn.1004d910
push eax
push 0x102f6be8
lea ecx, [ebp - 0x70]
call fcn.100916b0
mov dword [ebp - 0x68], eax
mov ecx, dword [ebp - 0x68]
mov dword [ebp - 0x6c], ecx
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x6c]
call fcn.1004d910
push eax
mov edx, dword [ebp - 0x34]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x34]
push ecx
mov edx, dword [eax + 0x50]
call edx
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x70]
call fcn.10091790
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x74]
call fcn.10091790
cmp dword [ebp - 0x2c], 0
jge 0x10090aec
jmp 0x10090cde
lea eax, [ebp - 0x78]
push eax
lea ecx, [ebp - 0x30]
push ecx
push 1
push 0xffffffffffffffff
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jl 0x10090b15
cmp dword [ebp - 0x78], 0
jne 0x10090b1a
jmp 0x10090cde
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
push 0
lea ecx, [ebp - 0x4c]
push ecx
push 0
push str.Caption
lea ecx, [ebp - 0x84]
call fcn.100916b0
mov dword [ebp - 0x7c], eax
mov edx, dword [ebp - 0x7c]
mov dword [ebp - 0x80], edx
mov byte [ebp - 4], 4
mov ecx, dword [ebp - 0x80]
call fcn.1004d910
push eax
mov eax, dword [ebp - 0x30]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x30]
push edx
mov eax, dword [ecx + 0x10]
call eax
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x84]
call fcn.10091790
cmp dword [ebp - 0x2c], 0
jl 0x10090b8f
movzx ecx, word [ebp - 0x4c]
cmp ecx, 8
jne 0x10090b8f
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x28]
call fcn.100761b0
lea eax, [ebp - 0x4c]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0x102f6bf4
lea ecx, [ebp - 0x28]
call fcn.100761b0
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
push 0
lea edx, [ebp - 0x4c]
push edx
push 0
push str.OSArchitecture
lea ecx, [ebp - 0x90]
call fcn.100916b0
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 5
mov ecx, dword [ebp - 0x8c]
call fcn.1004d910
push eax
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [edx + 0x10]
call ecx
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x90]
call fcn.10091790
cmp dword [ebp - 0x2c], 0
jl 0x10090c27
movzx edx, word [ebp - 0x4c]
cmp edx, 8
jne 0x10090c27
mov eax, dword [ebp - 0x44]
push eax
lea ecx, [ebp - 0x28]
call fcn.100761b0
lea ecx, [ebp - 0x4c]
push ecx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0x102f6c08
lea ecx, [ebp - 0x28]
call fcn.100761b0
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
push 0
lea eax, [ebp - 0x4c]
push eax
push 0
push 0x102f6c10
lea ecx, [ebp - 0x9c]
call fcn.100916b0
mov dword [ebp - 0x94], eax
mov ecx, dword [ebp - 0x94]
mov dword [ebp - 0x98], ecx
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x98]
call fcn.1004d910
push eax
mov edx, dword [ebp - 0x30]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [eax + 0x10]
call edx
mov dword [ebp - 0x2c], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x9c]
call fcn.10091790
cmp dword [ebp - 0x2c], 0
jl 0x10090cbf
movzx eax, word [ebp - 0x4c]
cmp eax, 8
jne 0x10090cbf
mov ecx, dword [ebp - 0x44]
push ecx
lea ecx, [ebp - 0x28]
call fcn.100761b0
lea edx, [ebp - 0x4c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push 0x102f6c18
lea ecx, [ebp - 0x28]
call fcn.100761b0
xor eax, eax
jne 0x1009099d
cmp dword [ebp - 0x30], 0
je 0x10090cf5
mov ecx, dword [ebp - 0x30]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x30]
push eax
mov ecx, dword [edx + 8]
call ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x38], 0
je 0x10090d0c
mov edx, dword [ebp - 0x38]
mov eax, dword [edx]
mov ecx, dword [ebp - 0x38]
push ecx
mov edx, dword [eax + 8]
call edx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x34], 0
je 0x10090d23
mov eax, dword [ebp - 0x34]
mov ecx, dword [eax]
mov edx, dword [ebp - 0x34]
push edx
mov eax, dword [ecx + 8]
call eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x3c], 0
je 0x10090d3a
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ecx]
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [edx + 8]
call ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0xa0], 0x80010106
je 0x10090d4c
call dword [sym.imp.ole32.dll_CoUninitialize]
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp + 8]
call fcn.10055030
mov eax, dword [ebp - 0x50]
or eax, 1
mov dword [ebp - 0x50], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.10054ff0
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.100a9f90
mov esp, ebp
pop ebp
ret