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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x556523
mov eax, dword fs:[0]
push eax
sub esp, 0x204
mov eax, dword [0x61308c]
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 edi, ecx
mov dword [ebp - 0x1f8], edi
push str.CDtlCore::GetSystemDescription
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x20c], edi
mov dword [ebp - 0x1dc], 0
call fcn.00415950
mov dword [ebp - 4], 1
mov eax, dword fs:[0x2c]
mov ecx, dword [eax]
mov eax, dword [0x61e950]
cmp eax, dword [ecx + 4]
jle 0x42b43b
push 0x61e950
call fcn.00512275
add esp, 4
cmp dword [0x61e950], 0xffffffff
jne 0x42b43b
mov byte [ebp - 4], 2
xor eax, eax
mov dword [0x61e964], 0
mov dword [0x61e968], 0
mov dword [0x61e968], 7
mov dword [0x61e964], 0
mov word [0x61e954], ax
mov byte [ebp - 4], 2
push 0x577080
call fcn.005125cc
add esp, 4
mov byte [ebp - 4], 1
push 0x61e950
call fcn.00512236
add esp, 4
cmp dword [0x61e964], 0
je 0x42b47b
xor eax, eax
mov dword [edi + 0x14], 7
mov dword [edi + 0x10], 0
mov word [edi], ax
mov byte [ebp - 4], 4
cmp edi, 0x61e954
je 0x42b472
push 0xffffffffffffffff
push eax
push 0x61e954
mov ecx, edi
call fcn.004048d0
mov byte [ebp - 4], 1
jmp 0x42bca9
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x42b4be
cmp eax, 0x80010106
je 0x42b4be
push eax
push str.error_CoInitializeEx_failed:_0x_08lx_n
push 0x60
push str.DtlCore.cpp
push 1
call fcn.0040a150
push eax
call fcn.0040a3e0
add esp, 0x18
mov ecx, edi
push 0x590540
call fcn.0040c900
jmp 0x42bca9
lea eax, [ebp - 0x1e4]
mov dword [ebp - 0x1e4], 0
push eax
push 0x57d178
push 1
push 0
push 0x57d248
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jns 0x42b4fe
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x590544
mov ecx, edi
call fcn.0040c900
jmp 0x42bca9
push str.ROOTCIMV2
lea ecx, [ebp - 0x1f0]
mov dword [ebp - 0x1e0], 0
call fcn.00415a40
mov byte [ebp - 4], 5
mov eax, dword [eax]
test eax, eax
je 0x42b526
mov edx, dword [eax]
jmp 0x42b528
xor edx, edx
mov eax, dword [ebp - 0x1e4]
lea esi, [ebp - 0x1e0]
push esi
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push edx
push eax
call dword [ecx + 0xc]
mov esi, eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1f0]
test ecx, ecx
je 0x42b567
call fcn.00415d40
mov dword [ebp - 0x1f0], 0
test esi, esi
jns 0x42b58e
mov eax, dword [ebp - 0x1e4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x590560
mov ecx, edi
call fcn.0040c900
jmp 0x42bca9
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x1e0]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x42b5db
mov eax, dword [ebp - 0x1e0]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1e4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x590564
mov ecx, edi
call fcn.0040c900
jmp 0x42bca9
push str.SELECT__FROM_Win32_OperatingSystem
lea ecx, [ebp - 0x1f4]
mov dword [ebp - 0x1e8], 0
call fcn.0042c840
mov esi, eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0x1f0]
push 0x59058c
call fcn.0042c840
mov byte [ebp - 4], 7
mov esi, dword [esi]
test esi, esi
je 0x42b619
mov esi, dword [esi]
jmp 0x42b61b
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x42b625
mov edx, dword [eax]
jmp 0x42b627
xor edx, edx
mov eax, dword [ebp - 0x1e0]
lea ebx, [ebp - 0x1e8]
push ebx
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
mov esi, eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0x1f0]
test ecx, ecx
je 0x42b65f
call fcn.00415d40
mov dword [ebp - 0x1f0], 0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x1f4]
test ecx, ecx
je 0x42b67c
call fcn.00415d40
mov dword [ebp - 0x1f4], 0
test esi, esi
jns 0x42b6af
mov eax, dword [ebp - 0x1e0]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x1e4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x590590
mov ecx, edi
call fcn.0040c900
jmp 0x42bca9
mov ecx, dword [ebp - 0x1e8]
mov dword [ebp - 0x1ec], 0
mov dword [ebp - 0x1f8], 0
test ecx, ecx
je 0x42bc51
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ebx, dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CDuiString::destructor_void_]
nop dword [eax]
mov eax, dword [ecx]
lea edx, [ebp - 0x1f8]
push edx
lea edx, [ebp - 0x1ec]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x1f8], 0
je 0x42bc4b
lea eax, [ebp - 0x208]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov eax, dword [ebp - 0x1ec]
lea edx, [ebp - 0x208]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Caption
push eax
call dword [ecx + 0x10]
cmp word [ebp - 0x208], 1
je 0x42b7ad
push dword [ebp - 0x200]
xor eax, eax
mov ecx, 0x61e954
mov word [ebp - 0x208], ax
call fcn.0040cb70
push ecx
push 0x5905a4
mov ecx, 0x61e954
call fcn.0040cda0
cmp eax, 0xffffffff
je 0x42b7a2
push 0xffffffffffffffff
add eax, 0xa
mov ecx, 0x61e954
push eax
lea eax, [ebp - 0x44]
push eax
call fcn.0040d0a0
mov byte [ebp - 4], 8
cmp eax, 0x61e954
je 0x42b796
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x61e954
call fcn.004048d0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x44]
call fcn.00409540
lea eax, [ebp - 0x208]
push eax
call esi
jmp 0x42b7b9
mov eax, 1
mov word [ebp - 0x208], ax
cmp dword [0x61e968], 8
lea ecx, [ebp - 0x1d8]
mov eax, 0x61e954
cmovae eax, dword [0x61e954]
push 0xffffffffffffffff
push eax
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CDuiString::constructor_wchar_t_const___int_]
mov byte [ebp - 4], 9
lea edx, [ebp - 0x208]
mov eax, dword [ebp - 0x1ec]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.OSArchitecture
push eax
call dword [ecx + 0x10]
mov ax, word [ebp - 0x208]
test ax, ax
je 0x42b8e8
cmp ax, 1
je 0x42b8e8
push 0x5905d8
mov ecx, 0x61e954
call fcn.0040ccc0
push dword [ebp - 0x200]
mov ecx, 0x61e954
call fcn.0040ccc0
lea eax, [ebp - 0x208]
push eax
call esi
cmp dword [0x61e968], 8
lea ecx, [ebp - 0x1d8]
mov eax, 0x61e954
cmovae eax, dword [0x61e954]
push eax
call dword [0x5787e0]
lea ecx, [ebp - 0x1d8]
call dword [sym.imp.DTLUI.dll_public:_void___thiscall_DuiLib::CDuiString::MakeUpper_void_]
push ecx
push 0x5905dc
mov ecx, 0x61e954
call fcn.0040cda0
cmp eax, 0xffffffff
je 0x42bab2
push eax
lea eax, [ebp - 0x5c]
mov ecx, 0x61e954
push eax
call fcn.0040cee0
mov byte [ebp - 4], 0xa
cmp eax, 0x61e954
je 0x42b8ad
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x61e954
call fcn.004048d0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x5c]
call fcn.00409540
push 0
push 0
mov edx, 0x5905e0
lea ecx, [ebp - 0x74]
call fcn.0044b7f0
add esp, 8
mov byte [ebp - 4], 0xb
mov ecx, 0x61e954
push eax
call fcn.0040cbc0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x74]
jmp 0x42baad
push 0xc
push 0
push str.Home_Edition
mov ecx, 0x61e954
call fcn.004080c0
cmp eax, 0xffffffff
je 0x42b970
push eax
lea eax, [ebp - 0x8c]
mov ecx, 0x61e954
push eax
call fcn.0040cee0
mov byte [ebp - 4], 0xc
cmp eax, 0x61e954
je 0x42b92c
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x61e954
call fcn.004048d0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x8c]
call fcn.00409540
push 0
push 0
mov edx, str.STR_HOME_EDTITION
lea ecx, [ebp - 0xa4]
call fcn.0044b7f0
add esp, 8
mov byte [ebp - 4], 0xd
mov ecx, 0x61e954
push eax
call fcn.0040cbc0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xa4]
call fcn.00409540
push 0xc
push 0
push str.Professional
mov ecx, 0x61e954
call fcn.004080c0
cmp eax, 0xffffffff
je 0x42b9f8
push eax
lea eax, [ebp - 0xbc]
mov ecx, 0x61e954
push eax
call fcn.0040cee0
mov byte [ebp - 4], 0xe
cmp eax, 0x61e954
je 0x42b9b4
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x61e954
call fcn.004048d0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xbc]
call fcn.00409540
push 0
push 0
mov edx, str.STR_PROFESSIONAL
lea ecx, [ebp - 0xd4]
call fcn.0044b7f0
add esp, 8
mov byte [ebp - 4], 0xf
mov ecx, 0x61e954
push eax
call fcn.0040cbc0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xd4]
call fcn.00409540
push 0
push 0x590670
lea ecx, [ebp - 0x1d8]
call dword [sym.imp.DTLUI.dll_public:_int___thiscall_DuiLib::CDuiString::Find_wchar_t_const___int_const]
cmp eax, 0xffffffff
je 0x42bab2
push 0x590678
mov ecx, 0x61e954
call fcn.0040ccc0
lea eax, [ebp - 0x1f4]
mov dword [ebp - 0x1f4], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
cmp dword [ebp - 0x1f4], 0
push 0
setne al
push 0
test al, al
je 0x42ba81
mov edx, 0x59067c
lea ecx, [ebp - 0xec]
call fcn.0044b7f0
add esp, 8
mov byte [ebp - 4], 0x10
mov ecx, 0x61e954
push eax
call fcn.0040cbc0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0xec]
jmp 0x42baad
mov edx, str.STR_32BIT
lea ecx, [ebp - 0x104]
call fcn.0044b7f0
add esp, 8
mov byte [ebp - 4], 0x11
mov ecx, 0x61e954
push eax
call fcn.0040cbc0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x104]
call fcn.00409540
mov eax, dword [ebp - 0x1ec]
lea edx, [ebp - 0x208]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.CSDVersion
push eax
call dword [ecx + 0x10]
mov ax, word [ebp - 0x208]
test ax, ax
je 0x42bc2f
cmp ax, 1
je 0x42bc2f
push 0x5906bc
mov ecx, 0x61e954
call fcn.0040ccc0
push dword [ebp - 0x200]
mov ecx, 0x61e954
call fcn.0040ccc0
lea eax, [ebp - 0x208]
push eax
call esi
push ecx
push 0x5906c0
mov ecx, 0x61e954
call fcn.0040cda0
cmp eax, 0xffffffff
je 0x42bb71
push eax
lea eax, [ebp - 0x11c]
mov ecx, 0x61e954
push eax
call fcn.0040cee0
mov byte [ebp - 4], 0x12
cmp eax, 0x61e954
je 0x42bb53
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x61e954
call fcn.004048d0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x11c]
call fcn.00409540
push 0x5906e0
mov ecx, 0x61e954
call fcn.0040ccc0
push ecx
push str.Service_Pack_2
mov ecx, 0x61e954
call fcn.0040cda0
cmp eax, 0xffffffff
je 0x42bbd0
push eax
lea eax, [ebp - 0x134]
mov ecx, 0x61e954
push eax
call fcn.0040cee0
mov byte [ebp - 4], 0x13
cmp eax, 0x61e954
je 0x42bbb2
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x61e954
call fcn.004048d0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x134]
call fcn.00409540
push 0x590708
mov ecx, 0x61e954
call fcn.0040ccc0
push ecx
push str.Service_Pack_3
mov ecx, 0x61e954
call fcn.0040cda0
cmp eax, 0xffffffff
je 0x42bc2f
push eax
lea eax, [ebp - 0x14c]
mov ecx, 0x61e954
push eax
call fcn.0040cee0
mov byte [ebp - 4], 0x14
cmp eax, 0x61e954
je 0x42bc11
push 0xffffffffffffffff
push 0
push eax
mov ecx, 0x61e954
call fcn.004048d0
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x14c]
call fcn.00409540
push 0x590730
mov ecx, 0x61e954
call fcn.0040ccc0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1d8]
call ebx
mov ecx, dword [ebp - 0x1e8]
test ecx, ecx
jne 0x42b6e0
jmp 0x42bc51
mov ecx, dword [ebp - 0x1e8]
mov edx, dword [ebp - 0x1e0]
test edx, edx
je 0x42bc67
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1e8]
mov edx, dword [ebp - 0x1e4]
test edx, edx
je 0x42bc7d
mov eax, dword [edx]
push edx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1e8]
test ecx, ecx
je 0x42bc87
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x1ec]
test ecx, ecx
je 0x42bc97
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
push 0x61e954
mov ecx, edi
call fcn.0040c990
mov dword [ebp - 0x1dc], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00415860
mov eax, edi
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.005120a1
mov esp, ebp
pop ebp
ret