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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57580c
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
push 0
push 0
call dword [sym.imp.ole32.dll_CoInitializeEx]
test eax, eax
jns 0x451b97
cmp eax, 0x80010106
jne 0x451df5
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 0x451bbe
cmp eax, 0x80010119
jne 0x451def
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x57d970
push 1
push 0
push 0x57d980
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x451def
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
push 0xc
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
call fcn.005453f7
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x451c33
push str.ROOTCIMV2
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [esi], eax
test eax, eax
je 0x451eca
jmp 0x451c35
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x451ed4
lea eax, [ebp - 0x10]
mov dword [ebp - 4], 1
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esi]
push dword [ebp - 0x14]
call edi
or edi, 0xffffffff
mov dword [ebp - 0x20], eax
mov dword [ebp - 4], 0xffffffff
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
mov ebx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jne 0x451cb6
mov ecx, dword [esi]
test ecx, ecx
je 0x451c91
push ecx
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x451ca8
push eax
call fcn.0054553c
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00545311
mov eax, dword [ebp - 0x20]
add esp, 8
test eax, eax
js 0x451de6
push 0
push 0
push 3
push 3
push 0
push 0
push 0xa
push dword [ebp - 0x10]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
mov eax, dword [ebp - 0x10]
js 0x451de0
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x2c]
mov eax, dword [eax]
push str.SELECT__FROM_Win32_ComputerSystemProduct
mov eax, dword [eax + 0x50]
mov dword [ebp - 0x28], eax
call fcn.004554b0
mov dword [ebp - 4], 2
mov esi, dword [eax]
test esi, esi
je 0x451d0d
mov esi, dword [esi]
jmp 0x451d0f
xor esi, esi
push 0x592cd4
lea ecx, [ebp - 0x20]
call fcn.004554b0
mov byte [ebp - 4], 3
mov eax, dword [eax]
test eax, eax
je 0x451d2a
mov eax, dword [eax]
jmp 0x451d2c
xor eax, eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0x30
push esi
push eax
push dword [ebp - 0x10]
call dword [ebp - 0x28]
mov esi, dword [ebp - 0x20]
mov dword [ebp - 0x28], eax
test esi, esi
je 0x451d8c
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x451d85
test esi, esi
je 0x451d85
mov eax, dword [esi]
test eax, eax
je 0x451d63
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x451d7a
push eax
call fcn.0054553c
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00545311
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x451dd7
lock xadd dword [esi + 8], edi
dec edi
jne 0x451dd7
test esi, esi
je 0x451dd7
mov eax, dword [esi]
test eax, eax
je 0x451db5
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x451dcc
push eax
call fcn.0054553c
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00545311
add esp, 8
cmp dword [ebp - 0x28], 0
jge 0x451e08
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x24], 0
test ecx, ecx
je 0x451e96
mov edi, dword [sym.imp.OLEAUT32.dll_VariantClear]
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
nop dword [eax]
mov eax, dword [ecx]
lea edx, [ebp - 0x24]
push edx
lea edx, [ebp - 0x1c]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x24], 0
je 0x451e96
lea eax, [ebp - 0x40]
push eax
call edi
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x40]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x592cd8
push eax
call dword [ecx + 0x10]
mov ecx, dword [ebp - 0x38]
mov edx, 0x5ba1d0
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x451e70
lea eax, [ebp - 0x40]
push eax
call esi
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x18]
test ecx, ecx
jne 0x451e30
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 0xc]
mov al, 1
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.00544b80
push 0x8007000e
call fcn.00544b80
int3