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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57609c
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 0x451ef7
cmp eax, 0x80010106
jne 0x452155
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 0x451f1e
cmp eax, 0x80010119
jne 0x45214f
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x57d990
push 1
push 0
push 0x57d9a0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x45214f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
push 0xc
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
call fcn.00545c27
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x451f93
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 0x45222a
jmp 0x451f95
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x452234
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 0x452016
mov ecx, dword [esi]
test ecx, ecx
je 0x451ff1
push ecx
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x452008
push eax
call fcn.00545d6c
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00545b41
mov eax, dword [ebp - 0x20]
add esp, 8
test eax, eax
js 0x452146
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 0x452140
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.00455930
mov dword [ebp - 4], 2
mov esi, dword [eax]
test esi, esi
je 0x45206d
mov esi, dword [esi]
jmp 0x45206f
xor esi, esi
push 0x592d3c
lea ecx, [ebp - 0x20]
call fcn.00455930
mov byte [ebp - 4], 3
mov eax, dword [eax]
test eax, eax
je 0x45208a
mov eax, dword [eax]
jmp 0x45208c
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 0x4520ec
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x4520e5
test esi, esi
je 0x4520e5
mov eax, dword [esi]
test eax, eax
je 0x4520c3
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4520da
push eax
call fcn.00545d6c
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00545b41
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x452137
lock xadd dword [esi + 8], edi
dec edi
jne 0x452137
test esi, esi
je 0x452137
mov eax, dword [esi]
test eax, eax
je 0x452115
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x45212c
push eax
call fcn.00545d6c
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00545b41
add esp, 8
cmp dword [ebp - 0x28], 0
jge 0x452168
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 0x4521f6
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 0x4521f6
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 0x592d40
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 0x4521d0
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 0x452190
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.005453b0
push 0x8007000e
call fcn.005453b0
int3