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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57501c
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 0x4515f7
cmp eax, 0x80010106
jne 0x451855
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 0x45161e
cmp eax, 0x80010119
jne 0x45184f
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x57c970
push 1
push 0
push 0x57c980
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x45184f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
push 0xc
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
call fcn.00544cc7
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x451693
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 0x45192a
jmp 0x451695
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x451934
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 0x451716
mov ecx, dword [esi]
test ecx, ecx
je 0x4516f1
push ecx
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x451708
push eax
call fcn.00544e0c
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00544be1
mov eax, dword [ebp - 0x20]
add esp, 8
test eax, eax
js 0x451846
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 0x451840
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.00455a60
mov dword [ebp - 4], 2
mov esi, dword [eax]
test esi, esi
je 0x45176d
mov esi, dword [esi]
jmp 0x45176f
xor esi, esi
push 0x591bac
lea ecx, [ebp - 0x20]
call fcn.00455a60
mov byte [ebp - 4], 3
mov eax, dword [eax]
test eax, eax
je 0x45178a
mov eax, dword [eax]
jmp 0x45178c
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 0x4517ec
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x4517e5
test esi, esi
je 0x4517e5
mov eax, dword [esi]
test eax, eax
je 0x4517c3
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4517da
push eax
call fcn.00544e0c
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00544be1
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x451837
lock xadd dword [esi + 8], edi
dec edi
jne 0x451837
test esi, esi
je 0x451837
mov eax, dword [esi]
test eax, eax
je 0x451815
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x45182c
push eax
call fcn.00544e0c
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00544be1
add esp, 8
cmp dword [ebp - 0x28], 0
jge 0x451868
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 0x4518f6
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 0x4518f6
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 0x591bb0
push eax
call dword [ecx + 0x10]
mov ecx, dword [ebp - 0x38]
mov edx, 0x5b8d58
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4518d0
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 0x451890
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.00544450
push 0x8007000e
call fcn.00544450
int3