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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101945d0
mov eax, dword fs:[0]
push eax
sub esp, 0x64
mov eax, dword [0x101f62b4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x68], ecx
xorps xmm0, xmm0
movlpd qword [ebp - 0x1c], xmm0
push 0x40
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
call fcn.1015c88b
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [ebp - 0x1c], eax
push 0
push 0
mov dword [ebp - 4], 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
xor bl, bl
mov byte [ebp - 0x41], bl
test eax, eax
js 0x10109287
mov bl, 1
mov byte [ebp - 0x41], bl
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]
test eax, eax
jns 0x10109338
cmp eax, 0x80010119
je 0x10109338
mov esi, dword [0x101fc274]
test esi, esi
je 0x10109302
push eax
push str.In_HardwareUtils::GetSystemInfo._Failed_to_initialize_security.__x
push 0x101ace0c
push 0x101ace0c
push str.HardwareUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x1c
test bl, bl
jmp 0x10109738
cmp eax, 0x80010106
je 0x1010921e
mov esi, dword [0x101fc274]
test esi, esi
je 0x101092c8
push eax
push str.In_HardwareUtils::GetSystemInfo_CoInitialize_failed_with_hres:__ld
push 0x101ace0c
push 0x101ace0c
push str.HardwareUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x1c
xor bl, bl
jmp 0x101099a6
mov ecx, dword [0x101fc278]
test ecx, ecx
je 0x10109740
mov esi, dword [ecx]
push eax
push str.In_HardwareUtils::GetSystemInfo_CoInitialize_failed_with_hres:__ld
push str.HardwareUtils
mov esi, dword [esi + 0x34]
push 0x101ace0c
push 0x32
push ecx
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x18
xor bl, bl
jmp 0x101099a6
mov ecx, dword [0x101fc278]
test ecx, ecx
je 0x10109331
mov esi, dword [ecx]
push eax
push str.In_HardwareUtils::GetSystemInfo._Failed_to_initialize_security.__x
push str.HardwareUtils
mov esi, dword [esi + 0x34]
push 0x101ace0c
push 0x32
push ecx
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x18
test bl, bl
jmp 0x10109738
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push 0x1019fa5c
push 1
push 0
push 0x1019fa4c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x101093c8
mov esi, dword [0x101fc274]
test esi, esi
je 0x10109394
push str.In_HardwareUtils::GetSystemInfo._Failed_to_create_IWbemLocator_object.
push 0x101ace0c
push 0x101ace0c
push str.HardwareUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x18
test bl, bl
jmp 0x10109738
mov eax, dword [0x101fc278]
test eax, eax
je 0x101093c1
mov esi, dword [eax]
push str.In_HardwareUtils::GetSystemInfo._Failed_to_create_IWbemLocator_object.
push str.HardwareUtils
push 0x101ace0c
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x32
push eax
call dword [0x1019a4f8]
call esi
add esp, 0x14
test bl, bl
jmp 0x10109738
push str.ROOTCIMV2
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x24], 0
call fcn.10002790
mov byte [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x101093ea
mov ecx, dword [eax]
jmp 0x101093ec
xor ecx, ecx
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
push edx
push 0
push 0
mov esi, dword [eax]
push 0
push 0
push 0
mov esi, dword [esi + 0xc]
push 0
push ecx
push eax
mov ecx, esi
call dword [0x1019a4f8]
call esi
mov byte [ebp - 4], 0
or edi, 0xffffffff
mov esi, dword [ebp - 0x48]
mov ebx, eax
test esi, esi
je 0x1010946a
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x10109463
test esi, esi
je 0x10109463
mov eax, dword [esi]
test eax, eax
je 0x10109441
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10109458
push eax
call fcn.1015c886
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1015cbd5
add esp, 8
mov dword [ebp - 0x48], 0
mov esi, dword [0x101fc274]
test ebx, ebx
jns 0x101094db
test esi, esi
je 0x101094a5
push str.In_HardwareUtils::GetSystemInfo._Could_not_connect.
push 0x101ace0c
push 0x101ace0c
push str.HardwareUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x18
jmp 0x10109721
mov eax, dword [0x101fc278]
test eax, eax
je 0x10109721
mov esi, dword [eax]
push str.In_HardwareUtils::GetSystemInfo._Could_not_connect.
push str.HardwareUtils
push 0x101ace0c
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x32
push eax
call dword [0x1019a4f8]
call esi
add esp, 0x14
jmp 0x10109721
test esi, esi
je 0x10109509
push str.Connected_to_ROOTCIMV2_WMI_namespace
push 0x101ace0c
push 0x101ace0c
push str.HardwareUtils
push str.OOBEUtils
push 0x1e
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x18
jmp 0x10109536
mov eax, dword [0x101fc278]
test eax, eax
je 0x10109536
mov esi, dword [eax]
push str.Connected_to_ROOTCIMV2_WMI_namespace
push str.HardwareUtils
push 0x101ace0c
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x1e
push eax
call dword [0x1019a4f8]
call esi
add esp, 0x14
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x24]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x1010959f
mov esi, dword [0x101fc274]
test esi, esi
je 0x10109588
push str.In_HardwareUtils::GetSystemInfo._Could_not_set_proxy_blanket.
push 0x101ace0c
push 0x101ace0c
push str.HardwareUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x18
jmp 0x1010970e
mov eax, dword [0x101fc278]
test eax, eax
je 0x1010970e
push str.In_HardwareUtils::GetSystemInfo._Could_not_set_proxy_blanket.
jmp 0x101096ef
push str.SELECT__FROM_Win32_ComputerSystem
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x2c], 0
call fcn.100fc130
mov esi, eax
push 0x101d9228
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.100fc130
mov byte [ebp - 4], 3
mov ecx, dword [esi]
test ecx, ecx
je 0x101095d4
mov edx, dword [ecx]
jmp 0x101095d6
xor edx, edx
mov eax, dword [eax]
test eax, eax
je 0x101095e0
mov ecx, dword [eax]
jmp 0x101095e2
xor ecx, ecx
mov eax, dword [ebp - 0x24]
lea ebx, [ebp - 0x2c]
push ebx
push 0
push 0x30
mov esi, dword [eax]
push edx
push ecx
push eax
mov esi, dword [esi + 0x50]
mov ecx, esi
call dword [0x1019a4f8]
call esi
mov esi, dword [ebp - 0x48]
mov ebx, eax
test esi, esi
je 0x10109652
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x1010964b
test esi, esi
je 0x1010964b
mov eax, dword [esi]
test eax, eax
je 0x10109629
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10109640
push eax
call fcn.1015c886
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1015cbd5
add esp, 8
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x101096a5
lock xadd dword [esi + 8], edi
dec edi
jne 0x1010969e
test esi, esi
je 0x1010969e
mov eax, dword [esi]
test eax, eax
je 0x1010967c
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10109693
push eax
call fcn.1015c886
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1015cbd5
add esp, 8
mov dword [ebp - 0x4c], 0
test ebx, ebx
jns 0x10109747
mov esi, dword [0x101fc274]
test esi, esi
je 0x101096e1
push str.In_HardwareUtils::GetSystemInfo._Query_for_operating_system_name_failed.
push 0x101ace0c
push 0x101ace0c
push str.HardwareUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x18
jmp 0x1010970e
mov eax, dword [0x101fc278]
test eax, eax
je 0x1010970e
push str.In_HardwareUtils::GetSystemInfo._Query_for_operating_system_name_failed.
mov esi, dword [eax]
push str.HardwareUtils
push 0x101ace0c
push 0x32
mov esi, dword [esi + 0x34]
mov ecx, esi
push eax
call dword [0x1019a4f8]
call esi
add esp, 0x14
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1019a4f8]
call esi
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1019a4f8]
call esi
cmp byte [ebp - 0x41], 0
je 0x10109740
call dword [sym.imp.ole32.dll_CoUninitialize]
xor bl, bl
jmp 0x101099a6
xor eax, eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x10109764
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1019a4f8]
call esi
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
mov esi, dword [eax]
push 1
push 0xffffffffffffffff
push eax
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x1019a4f8]
call esi
test eax, eax
jne 0x10109936
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x101099e7
mov esi, dword [eax]
lea ecx, [ebp - 0x40]
push 0
push 0
push ecx
mov esi, dword [esi + 0x10]
mov ecx, esi
push 0
push str.Manufacturer
push eax
call dword [0x1019a4f8]
call esi
push 0x10
xor eax, eax
mov dword [ebp - 0x54], 0
push str.manufacturerName
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
call fcn.10001d60
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x1c]
push eax
call fcn.1001e770
mov edx, esi
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10109805
sub edx, edi
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.10001d60
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x1010985b
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x10109851
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101099e2
push edx
push ecx
call fcn.1015cbd5
add esp, 8
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x101099e7
mov esi, dword [eax]
lea ecx, [ebp - 0x40]
push 0
push 0
push ecx
mov esi, dword [esi + 0x10]
mov ecx, esi
push 0
push str.Model
push eax
call dword [0x1019a4f8]
call esi
push 9
xor eax, eax
mov dword [ebp - 0x54], 0
push str.modelName
lea ecx, [ebp - 0x64]
mov dword [ebp - 0x50], 7
mov word [ebp - 0x64], ax
call fcn.10001d60
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x1c]
push eax
call fcn.1001e770
mov edx, esi
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x101098c0
sub edx, edi
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.10001d60
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x10109916
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1010990c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x101099e2
push edx
push ecx
call fcn.1015cbd5
add esp, 8
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
lea eax, [ebp - 0x40]
mov byte [ebp - 4], 4
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x14]
jmp 0x10109750
mov eax, dword [ebp - 0x24]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1019a4f8]
call esi
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1019a4f8]
call esi
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1019a4f8]
call esi
cmp byte [ebp - 0x41], 0
je 0x1010997b
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x68]
push eax
push dword [eax]
call fcn.10109df0
mov byte [ebp - 4], 0
mov bl, 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x101099a6
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x1019a4f8]
call esi
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
lea eax, [ebp - 0x1c]
push eax
mov ecx, eax
call fcn.10019590
push 0x40
push dword [ebp - 0x1c]
call fcn.1015cbd5
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1015c875
mov esp, ebp
pop ebp
ret
call fcn.101686f5
push 0x80004003
call fcn.1015c4e0
int3