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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x544741
mov eax, dword fs:[0]
push eax
sub esp, 0x74
mov eax, dword [0x57906c]
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 - 0x14], edi
mov dword [ebp - 0x7c], edi
mov dword [ebp - 0x64], 0
mov ebx, dword [sym.imp.ole32.dll_CoUninitialize]
call ebx
push 0x567a10
lea ecx, [ebp - 0x2c]
call fcn.004078f0
mov dword [ebp - 4], 1
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x4273e4
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0040ca00
jmp 0x427687
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
js 0x42767a
lea eax, [ebp - 0x44]
mov dword [ebp - 0x44], 0
push eax
push 0x555c64
push 1
push 0
push 0x555c74
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x42767a
push ecx
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x40], 0
call fcn.0040f4f0
mov byte [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
je 0x427449
mov edx, dword [eax]
jmp 0x42744b
xor edx, edx
mov eax, dword [ebp - 0x44]
lea esi, [ebp - 0x40]
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
lea ecx, [ebp - 0x3c]
call fcn.0040f5b0
test esi, esi
js 0x42749b
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x40]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
jns 0x4274a3
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x44]
jmp 0x427674
push str.SELECT__FROM_Win32_ComputerSystemProduct
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x48], 0
call fcn.0040f450
mov esi, eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
push 0x567c48
call fcn.0040f450
mov byte [ebp - 4], 4
mov esi, dword [esi]
test esi, esi
je 0x4274d8
mov esi, dword [esi]
jmp 0x4274da
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x4274e4
mov edx, dword [eax]
jmp 0x4274e6
xor edx, edx
mov eax, dword [ebp - 0x40]
lea ebx, [ebp - 0x48]
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], 3
lea ecx, [ebp - 0x3c]
call fcn.0040f5b0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.0040f5b0
mov ebx, dword [sym.imp.ole32.dll_CoUninitialize]
test esi, esi
js 0x427492
cmp dword [ebp - 0x48], 0
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x30], 0
je 0x42765f
nop dword [eax]
push ecx
lea ecx, [ebp - 0x78]
call fcn.00407810
mov byte [ebp - 4], 5
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x48]
push edx
lea edx, [ebp - 0x4c]
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x30], 0
je 0x427653
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x3c]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push eax
call dword [ecx + 0x1c]
lea eax, [ebp - 0x34]
push eax
push 1
push dword [ebp - 0x3c]
call dword [sym.imp.OLEAUT32.dll_SafeArrayLock]
test eax, eax
js 0x427633
lea eax, [ebp - 0x38]
push eax
push 1
push dword [ebp - 0x3c]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetLBound]
test eax, eax
js 0x427633
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 0x3c]
call dword [sym.imp.OLEAUT32.dll_SafeArrayUnaccessData]
test eax, eax
js 0x427605
mov eax, dword [ebp - 0x4c]
lea edx, [ebp - 0x14]
push 0
push edx
lea edx, [ebp - 0x60]
mov ecx, dword [eax]
push edx
push 0
push str.IdentifyingNumber
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x14], 8
jne 0x4275fb
cmp word [ebp - 0x60], 1
je 0x4275fb
mov esi, dword [ebp - 0x58]
push esi
call fcn.00409c70
add esp, 4
lea ecx, [ebp - 0x2c]
push eax
push esi
call fcn.00409010
lea eax, [ebp - 0x60]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
push dword [ebp - 0x3c]
call dword [sym.imp.OLEAUT32.dll_SafeArrayGetElement]
test eax, eax
js 0x427633
mov eax, dword [ebp - 0x4c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.00407760
cmp dword [ebp - 0x48], 0
jne 0x427540
jmp 0x42765f
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0040ca00
mov dword [ebp - 0x64], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.00407760
jmp 0x42768e
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x78]
call fcn.00407760
mov eax, dword [ebp - 0x40]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x44]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x48]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
call ebx
lea eax, [ebp - 0x2c]
mov ecx, edi
push eax
call fcn.0040ca00
mov dword [ebp - 0x64], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.004078a0
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.004c61ad
mov esp, ebp
pop ebp
ret