Function at 0x10108c10
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101943a0
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.1015c7bb
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 0x10108cf7
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 0x10108da8
cmp eax, 0x80010119
je 0x10108da8
mov esi, dword [0x101fc354]
test esi, esi
je 0x10108d72
push eax
push str.In_HardwareUtils::GetSystemInfo._Failed_to_initialize_security.__x
push 0x101ace8c
push 0x101ace8c
push str.HardwareUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x1c
test bl, bl
jmp 0x101091a8
cmp eax, 0x80010106
je 0x10108c8e
mov esi, dword [0x101fc354]
test esi, esi
je 0x10108d38
push eax
push str.In_HardwareUtils::GetSystemInfo_CoInitialize_failed_with_hres:__ld
push 0x101ace8c
push 0x101ace8c
push str.HardwareUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x1c
xor bl, bl
jmp 0x10109416
mov ecx, dword [0x101fc358]
test ecx, ecx
je 0x101091b0
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 0x101ace8c
push 0x32
push ecx
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x18
xor bl, bl
jmp 0x10109416
mov ecx, dword [0x101fc358]
test ecx, ecx
je 0x10108da1
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 0x101ace8c
push 0x32
push ecx
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x18
test bl, bl
jmp 0x101091a8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x28], 0
push eax
push 0x1019fadc
push 1
push 0
push 0x1019facc
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x10108e38
mov esi, dword [0x101fc354]
test esi, esi
je 0x10108e04
push str.In_HardwareUtils::GetSystemInfo._Failed_to_create_IWbemLocator_object.
push 0x101ace8c
push 0x101ace8c
push str.HardwareUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x18
test bl, bl
jmp 0x101091a8
mov eax, dword [0x101fc358]
test eax, eax
je 0x10108e31
mov esi, dword [eax]
push str.In_HardwareUtils::GetSystemInfo._Failed_to_create_IWbemLocator_object.
push str.HardwareUtils
push 0x101ace8c
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x32
push eax
call dword [0x1019a4f8]
call esi
add esp, 0x14
test bl, bl
jmp 0x101091a8
push str.ROOTCIMV2
lea ecx, [ebp - 0x48]
mov dword [ebp - 0x24], 0
call fcn.100028b0
mov byte [ebp - 4], 1
mov eax, dword [eax]
test eax, eax
je 0x10108e5a
mov ecx, dword [eax]
jmp 0x10108e5c
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 0x10108eda
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x10108ed3
test esi, esi
je 0x10108ed3
mov eax, dword [esi]
test eax, eax
je 0x10108eb1
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10108ec8
push eax
call fcn.1015c7b6
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1015cb05
add esp, 8
mov dword [ebp - 0x48], 0
mov esi, dword [0x101fc354]
test ebx, ebx
jns 0x10108f4b
test esi, esi
je 0x10108f15
push str.In_HardwareUtils::GetSystemInfo._Could_not_connect.
push 0x101ace8c
push 0x101ace8c
push str.HardwareUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x18
jmp 0x10109191
mov eax, dword [0x101fc358]
test eax, eax
je 0x10109191
mov esi, dword [eax]
push str.In_HardwareUtils::GetSystemInfo._Could_not_connect.
push str.HardwareUtils
push 0x101ace8c
mov esi, dword [esi + 0x34]
mov ecx, esi
push 0x32
push eax
call dword [0x1019a4f8]
call esi
add esp, 0x14
jmp 0x10109191
test esi, esi
je 0x10108f79
push str.Connected_to_ROOTCIMV2_WMI_namespace
push 0x101ace8c
push 0x101ace8c
push str.HardwareUtils
push str.OOBEUtils
push 0x1e
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x18
jmp 0x10108fa6
mov eax, dword [0x101fc358]
test eax, eax
je 0x10108fa6
mov esi, dword [eax]
push str.Connected_to_ROOTCIMV2_WMI_namespace
push str.HardwareUtils
push 0x101ace8c
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 0x1010900f
mov esi, dword [0x101fc354]
test esi, esi
je 0x10108ff8
push str.In_HardwareUtils::GetSystemInfo._Could_not_set_proxy_blanket.
push 0x101ace8c
push 0x101ace8c
push str.HardwareUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x18
jmp 0x1010917e
mov eax, dword [0x101fc358]
test eax, eax
je 0x1010917e
push str.In_HardwareUtils::GetSystemInfo._Could_not_set_proxy_blanket.
jmp 0x1010915f
push str.SELECT__FROM_Win32_ComputerSystem
lea ecx, [ebp - 0x4c]
mov dword [ebp - 0x2c], 0
call fcn.100fb8d0
mov esi, eax
push 0x101d9490
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 2
call fcn.100fb8d0
mov byte [ebp - 4], 3
mov ecx, dword [esi]
test ecx, ecx
je 0x10109044
mov edx, dword [ecx]
jmp 0x10109046
xor edx, edx
mov eax, dword [eax]
test eax, eax
je 0x10109050
mov ecx, dword [eax]
jmp 0x10109052
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 0x101090c2
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x101090bb
test esi, esi
je 0x101090bb
mov eax, dword [esi]
test eax, eax
je 0x10109099
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x101090b0
push eax
call fcn.1015c7b6
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1015cb05
add esp, 8
mov dword [ebp - 0x48], 0
mov byte [ebp - 4], 0
mov esi, dword [ebp - 0x4c]
test esi, esi
je 0x10109115
lock xadd dword [esi + 8], edi
dec edi
jne 0x1010910e
test esi, esi
je 0x1010910e
mov eax, dword [esi]
test eax, eax
je 0x101090ec
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10109103
push eax
call fcn.1015c7b6
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.1015cb05
add esp, 8
mov dword [ebp - 0x4c], 0
test ebx, ebx
jns 0x101091b7
mov esi, dword [0x101fc354]
test esi, esi
je 0x10109151
push str.In_HardwareUtils::GetSystemInfo._Query_for_operating_system_name_failed.
push 0x101ace8c
push 0x101ace8c
push str.HardwareUtils
push str.OOBEUtils
push 0x32
mov ecx, esi
call dword [0x1019a4f8]
call esi
add esp, 0x18
jmp 0x1010917e
mov eax, dword [0x101fc358]
test eax, eax
je 0x1010917e
push str.In_HardwareUtils::GetSystemInfo._Query_for_operating_system_name_failed.
mov esi, dword [eax]
push str.HardwareUtils
push 0x101ace8c
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 0x101091b0
call dword [sym.imp.ole32.dll_CoUninitialize]
xor bl, bl
jmp 0x10109416
xor eax, eax
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 4
test eax, eax
je 0x101091d4
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 0x101093a6
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 0x10109457
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.10001e80
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 6
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x1c]
push eax
call fcn.1001e640
mov edx, esi
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10109275
sub edx, edi
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.10001e80
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x101092cb
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x101092c1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10109452
push edx
push ecx
call fcn.1015cb05
add esp, 8
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10109457
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.10001e80
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 7
mov esi, dword [ebp - 0x38]
lea ecx, [ebp - 0x1c]
push eax
call fcn.1001e640
mov edx, esi
lea edi, [edx + 2]
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x10109330
sub edx, edi
mov ecx, eax
sar edx, 1
push edx
push esi
call fcn.10001e80
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x50]
cmp edx, 8
jb 0x10109386
mov ecx, dword [ebp - 0x64]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x1010937c
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10109452
push edx
push ecx
call fcn.1015cb05
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 0x101091c0
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 0x101093eb
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x68]
push eax
push dword [eax]
call fcn.10109860
mov byte [ebp - 4], 0
mov bl, 1
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x10109416
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.10019440
push 0x40
push dword [ebp - 0x1c]
call fcn.1015cb05
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.1015c7a5
mov esp, ebp
pop ebp
ret
call fcn.10168635
push 0x80004003
call fcn.1015c410
int3