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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4b1efc
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x4d500c]
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 0x4c0d9c
push 1
push 0
push 0x4c0d8c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x45ab7d
push 0xc
mov dword [ebp - 0x10], 0
call fcn.0044b027
mov esi, eax
add esp, 4
mov dword [ebp - 0x28], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x45ab05
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 0x45acb4
jmp 0x45ab07
xor esi, esi
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], esi
test esi, esi
je 0x45acbe
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.0042f150
test esi, esi
js 0x45ab74
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 0x45ab91
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.0042f0b0
mov esi, eax
push 0x4c7040
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 2
call fcn.0042f0b0
mov esi, dword [esi]
mov byte [ebp - 4], 3
test esi, esi
je 0x45abc9
mov esi, dword [esi]
jmp 0x45abcb
xor esi, esi
mov eax, dword [eax]
test eax, eax
je 0x45abd5
mov edx, dword [eax]
jmp 0x45abd7
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.0042f150
lea ecx, [ebp - 0x28]
mov dword [ebp - 4], 0xffffffff
call fcn.0042f150
test esi, esi
js 0x45ab6b
mov ecx, dword [ebp - 0x18]
xor bl, bl
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
test ecx, ecx
je 0x45ac85
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 0x45ac85
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x38]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push 0x4c6f60
push eax
call dword [ecx + 0x10]
push str.Windows_10
push dword [ebp - 0x30]
call fcn.00472ebb
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 0x45ac28
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.004a60c0
push 0x8007000e
call fcn.004a60c0
int3