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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x53d3cc
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x572844]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push 0x558da8
push 1
push 0
push 0x558db8
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4880a9
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], 0
push 0xc
mov eax, dword [eax]
mov edi, dword [eax + 0xc]
call fcn.0051da6d
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x487f8d
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 0x4881a0
jmp 0x487f8f
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], esi
test esi, esi
je 0x4881a0
mov dword [ebp - 4], 1
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [esi]
mov ecx, edi
push dword [ebp - 0x14]
call dword [0x541740]
call edi
mov esi, eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call fcn.00487da0
test esi, esi
js 0x488096
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 0x488086
mov dword [ebp - 0x18], 0
lea ecx, [ebp - 0x28]
mov eax, dword [eax]
push str.SELECT__FROM_Win32_OperatingSystem
mov edi, dword [eax + 0x50]
call fcn.00487d10
mov dword [ebp - 4], 2
mov eax, dword [eax]
test eax, eax
je 0x48802c
mov esi, dword [eax]
jmp 0x48802e
xor esi, esi
push 0x5521a0
lea ecx, [ebp - 0x24]
call fcn.00487d10
mov byte [ebp - 4], 3
mov eax, dword [eax]
test eax, eax
je 0x488049
mov eax, dword [eax]
jmp 0x48804b
xor eax, eax
lea ecx, [ebp - 0x18]
push ecx
push 0
push 0x30
push esi
push eax
push dword [ebp - 0x10]
mov ecx, edi
call dword [0x541740]
call edi
mov esi, eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x24]
call fcn.00487da0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00487da0
test esi, esi
jns 0x4880bd
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax]
push eax
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x541740]
call esi
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x541740]
call esi
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x18]
xor bl, bl
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
test eax, eax
je 0x488153
mov esi, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
mov esi, dword [esi + 0x10]
mov ecx, esi
push 1
push 0xffffffffffffffff
push eax
call dword [0x541740]
call esi
cmp dword [ebp - 0x20], 0
je 0x488153
mov eax, dword [ebp - 0x1c]
lea ecx, [ebp - 0x38]
push 0
push 0
push ecx
mov esi, dword [eax]
push 0
push 0x5521a4
push eax
mov esi, dword [esi + 0x10]
mov ecx, esi
call dword [0x541740]
call esi
push str.Windows_10
push dword [ebp - 0x30]
call fcn.0052053b
add esp, 8
test eax, eax
setne al
or bl, al
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x541740]
call esi
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x4880d4
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x541740]
call esi
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
mov esi, dword [ecx + 8]
mov ecx, esi
call dword [0x541740]
call esi
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ecx]
mov esi, dword [edx + 8]
mov ecx, esi
call dword [0x541740]
call esi
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push 0x8007000e
call fcn.0051ef30
int3