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

Disassembly:
push 0x4c
mov eax, 0x428306
call fcn.00424311
xor ebx, ebx
push ebx
push ebx
mov byte [ebp - 0xd], bl
call dword [sym.imp.ole32.dll_CoInitializeEx]
cmp eax, ebx
jl 0x407de2
mov byte [ebp - 0xd], 1
mov dword [ebp - 4], ebx
mov dword [ebp - 0x20], ebx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x20]
push eax
push 0x42c79c
push 1
push ebx
push 0x42c86c
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x407e2d
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x407e17
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0xd], bl
je 0x407e26
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
jmp 0x408232
mov dword [ebp - 0x1c], ebx
mov byte [ebp - 4], 5
mov edi, dword [ebp - 0x20]
push 0xc
call fcn.004168f3
mov esi, eax
pop ecx
mov dword [ebp - 0x40], esi
mov byte [ebp - 4], 6
cmp esi, ebx
je 0x407e58
push 0x42ec98
call fcn.00407c4d
jmp 0x407e5a
xor eax, eax
mov byte [ebp - 4], 5
mov dword [ebp - 0x30], eax
cmp eax, ebx
jne 0x407e6f
push 0x8007000e
call fcn.004223c0
mov byte [ebp - 4], 7
mov ecx, dword [edi]
lea edx, [ebp - 0x1c]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push dword [eax]
push edi
call dword [ecx + 0xc]
mov esi, eax
mov byte [ebp - 4], 5
lea edi, [ebp - 0x30]
call fcn.00407c0d
cmp esi, ebx
jge 0x407ead
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x407ea8
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x407e07
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x1c]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jge 0x407eda
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x407ed5
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x407e07
mov dword [ebp - 0x18], ebx
mov byte [ebp - 4], 0xd
mov esi, dword [ebp - 0x1c]
push str.SELECT__FROM_Win32_ComputerSystemProduct
lea edi, [ebp - 0x28]
call fcn.00407a7a
mov dword [ebp - 0x30], eax
mov byte [ebp - 4], 0xe
push 0x42ecdc
lea edi, [ebp - 0x2c]
call fcn.00407a7a
mov byte [ebp - 4], 0xf
mov ecx, dword [ebp - 0x30]
mov ecx, dword [ecx]
cmp ecx, ebx
je 0x407f16
mov ecx, dword [ecx]
jmp 0x407f18
xor ecx, ecx
mov eax, dword [eax]
cmp eax, ebx
je 0x407f22
mov eax, dword [eax]
jmp 0x407f24
xor eax, eax
mov edx, dword [esi]
lea edi, [ebp - 0x18]
push edi
push ebx
push 0x30
push ecx
push eax
push esi
call dword [edx + 0x50]
mov esi, eax
mov byte [ebp - 4], 0xe
lea edi, [ebp - 0x2c]
call fcn.00407c0d
mov byte [ebp - 4], 0xd
lea edi, [ebp - 0x28]
call fcn.00407c0d
cmp esi, ebx
jge 0x407f78
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x407f62
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x407f73
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x407e07
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 0x14
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x2c], ebx
mov byte [ebp - 4], 0x15
mov dword [ebp - 0x24], ebx
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x30], ebx
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x28], ebx
mov byte [ebp - 4], 0x18
cmp dword [ebp - 0x18], ebx
je 0x40807e
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
lea ecx, [ebp - 0x34]
push ecx
lea ecx, [ebp - 0x14]
push ecx
push 1
push 0xffffffffffffffff
push dword [ebp - 0x18]
call dword [eax + 0x10]
cmp dword [ebp - 0x34], ebx
je 0x40807e
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x58]
push edx
push ebx
push 0x42ece0
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x50]
lea ecx, [ebp - 0x2c]
call fcn.00407ad7
lea eax, [ebp - 0x58]
push eax
call esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x58]
push edx
push ebx
push str.IdentifyingNumber
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x50]
lea ecx, [ebp - 0x24]
call fcn.00407ad7
lea eax, [ebp - 0x58]
push eax
call esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x58]
push edx
push ebx
push str.Version
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x50]
lea ecx, [ebp - 0x24]
call fcn.00407ad7
lea eax, [ebp - 0x58]
push eax
call esi
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x58]
push edx
push ebx
push str.UUID
push eax
call dword [ecx + 0x10]
push dword [ebp - 0x50]
lea ecx, [ebp - 0x28]
call fcn.00407ad7
lea eax, [ebp - 0x58]
push eax
call esi
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x408075
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x18], ebx
jne 0x407fad
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x2c]
push eax
call fcn.00407b40
mov byte [ebp - 4], 0x19
lea ecx, [ebp - 0x30]
push ecx
lea ecx, [ebp - 0x3c]
push ecx
push eax
call fcn.00407b40
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x28]
push ecx
lea ecx, [ebp - 0x38]
push ecx
push eax
call fcn.00407b40
mov byte [ebp - 4], 0x1b
mov esi, eax
call fcn.00407bbb
push dword [eax]
call fcn.004222a0
mov esi, eax
mov dword [ebp - 0x44], esi
mov byte [ebp - 4], 0x1d
lea edi, [ebp - 0x38]
call fcn.00407c0d
mov byte [ebp - 4], 0x1e
lea edi, [ebp - 0x3c]
call fcn.00407c0d
mov byte [ebp - 4], 0x1f
lea edi, [ebp - 0x40]
call fcn.00407c0d
xor edi, edi
cmp byte [esi], bl
je 0x4080fa
inc edi
cmp byte [esi + edi], bl
jne 0x4080f4
lea eax, [edi + 1]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
cmp eax, ebx
jne 0x408183
mov byte [ebp - 4], 0x18
push esi
call fcn.00416791
pop ecx
mov byte [ebp - 4], 0x17
lea edi, [ebp - 0x28]
call fcn.00407c0d
mov byte [ebp - 4], 0x16
lea edi, [ebp - 0x30]
call fcn.00407c0d
mov byte [ebp - 4], 0x15
lea edi, [ebp - 0x24]
call fcn.00407c0d
mov byte [ebp - 4], 0x14
lea edi, [ebp - 0x2c]
call fcn.00407c0d
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x40815c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x40816d
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x40817e
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x407e07
mov ecx, dword [ebp + 8]
mov dword [ecx], eax
mov ecx, dword [ebp + 0xc]
mov dword [ecx], edi
mov cl, byte [esi]
mov byte [eax], cl
cmp cl, bl
je 0x4081a3
mov edx, esi
sub edx, eax
inc eax
mov cl, byte [edx + eax]
mov byte [eax], cl
cmp cl, bl
jne 0x408199
mov byte [ebp - 4], 0x18
push esi
call fcn.00416791
pop ecx
mov byte [ebp - 4], 0x17
lea edi, [ebp - 0x28]
call fcn.00407c0d
mov byte [ebp - 4], 0x16
lea edi, [ebp - 0x30]
call fcn.00407c0d
mov byte [ebp - 4], 0x15
lea edi, [ebp - 0x24]
call fcn.00407c0d
mov byte [ebp - 4], 0x14
lea edi, [ebp - 0x2c]
call fcn.00407c0d
mov byte [ebp - 4], 0xd
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x4081ef
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x18]
cmp eax, ebx
je 0x408200
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x1c]
cmp eax, ebx
je 0x408211
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x408221
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
cmp byte [ebp - 0xd], bl
je 0x408230
call dword [sym.imp.ole32.dll_CoUninitialize]
mov al, 1
call fcn.004243e9
ret