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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a307c
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4c400c]
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 0x4b1c44
push 1
push 0
push 0x4b1c34
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x46c85d
push 0xc
mov dword [ebp - 0x10], 0
call fcn.0043ce07
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x46c7e5
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 0x46c994
jmp 0x46c7e7
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], esi
test esi, esi
je 0x46c99e
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
push edx
push 0
push 0
mov ecx, dword [eax]
push 0
push 0
push 0
push 0
push dword [esi]
mov dword [ebp - 4], 1
push eax
call dword [ecx + 0xc]
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
mov esi, eax
call fcn.00424ee0
test esi, esi
js 0x46c854
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
jns 0x46c871
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]
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
push str.SELECT__FROM_Win32_OperatingSystem
lea ecx, [ebp - 0x28]
mov dword [ebp - 0x18], 0
call fcn.00424e40
mov esi, eax
push 0x4b68a8
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 2
call fcn.00424e40
mov esi, dword [esi]
mov byte [ebp - 4], 3
test esi, esi
je 0x46c8a9
mov esi, dword [esi]
jmp 0x46c8ab
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x46c8b5
mov edx, dword [eax]
jmp 0x46c8b7
xor edx, edx
mov eax, dword [ebp - 0x10]
lea edi, [ebp - 0x18]
push edi
push 0
push 0x30
mov ecx, dword [eax]
push esi
push edx
push eax
call dword [ecx + 0x50]
lea ecx, [ebp - 0x24]
mov esi, eax
call fcn.00424ee0
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.00424ee0
test esi, esi
js 0x46c84b
mov ecx, dword [ebp - 0x18]
xor bl, bl
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
test ecx, ecx
je 0x46c965
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ecx]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x1c]
push edx
push 1
push 0xffffffffffffffff
push ecx
call dword [eax + 0x10]
cmp dword [ebp - 0x20], 0
je 0x46c965
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x38]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x4b67c8
push eax
call dword [ecx + 0x10]
push str.Windows_10
push dword [ebp - 0x30]
call fcn.00498f42
add esp, 8
test eax, eax
setne al
or bl, al
lea eax, [ebp - 0x38]
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 0x46c908
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov ecx, dword [ebp - 0x14]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov ecx, dword [ebp - 0x18]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
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.004973c0
push 0x8007000e
call fcn.004973c0
int3