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

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x57481c
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 0x450f17
cmp eax, 0x80010106
jne 0x451175
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 0x450f3e
cmp eax, 0x80010119
jne 0x45116f
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 0x45116f
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
push 0xc
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
call fcn.00544577
mov esi, eax
add esp, 4
mov dword [ebp - 0x2c], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x450fb3
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 0x45124a
jmp 0x450fb5
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x451254
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 0x451036
mov ecx, dword [esi]
test ecx, ecx
je 0x451011
push ecx
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x451028
push eax
call fcn.005446bc
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00544491
mov eax, dword [ebp - 0x20]
add esp, 8
test eax, eax
js 0x451166
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 0x451160
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.00455380
mov dword [ebp - 4], 2
mov esi, dword [eax]
test esi, esi
je 0x45108d
mov esi, dword [esi]
jmp 0x45108f
xor esi, esi
push 0x591b0c
lea ecx, [ebp - 0x20]
call fcn.00455380
mov byte [ebp - 4], 3
mov eax, dword [eax]
test eax, eax
je 0x4510aa
mov eax, dword [eax]
jmp 0x4510ac
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 0x45110c
mov ecx, edi
lock xadd dword [esi + 8], ecx
dec ecx
jne 0x451105
test esi, esi
je 0x451105
mov eax, dword [esi]
test eax, eax
je 0x4510e3
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x4510fa
push eax
call fcn.005446bc
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00544491
add esp, 8
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
mov esi, dword [ebp - 0x2c]
test esi, esi
je 0x451157
lock xadd dword [esi + 8], edi
dec edi
jne 0x451157
test esi, esi
je 0x451157
mov eax, dword [esi]
test eax, eax
je 0x451135
push eax
call ebx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x45114c
push eax
call fcn.005446bc
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.00544491
add esp, 8
cmp dword [ebp - 0x28], 0
jge 0x451188
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 0x451216
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 0x451216
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 0x591b10
push eax
call dword [ecx + 0x10]
mov ecx, dword [ebp - 0x38]
mov edx, 0x5b8c00
sub edx, ecx
movzx eax, word [ecx]
lea ecx, [ecx + 2]
mov word [edx + ecx - 2], ax
test ax, ax
jne 0x4511f0
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 0x4511b0
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.00543d00
push 0x8007000e
call fcn.00543d00
int3