Function at 0x499390
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c906d
mov eax, dword fs:[0]
push eax
sub esp, 0x28
push ebx
push esi
push edi
mov eax, dword [0x4fca20]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x28], ecx
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ecx], vtable.SystemInfo::MainSystemInfo.0
mov dword [ecx + 4], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
push 0x4debd0
push 1
push ebx
push 0x4deca0
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
mov eax, dword [ebp - 0x18]
js 0x499553
cmp eax, ebx
je 0x499553
mov dword [ebp - 0x14], ebx
push str.rootCIMV2
mov byte [ebp - 4], 2
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x24], esi
cmp esi, ebx
jne 0x49941e
push 0x8007000e
call fcn.00401000
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax]
lea edx, [ebp - 0x14]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push eax
mov eax, dword [ecx + 0xc]
mov byte [ebp - 4], 3
call eax
test eax, eax
js 0x499536
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x499536
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push eax
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x499536
mov dword [ebp - 0x1c], ebx
mov esi, dword [ebp - 0x14]
push str.Select__FROM_Win32_ComputerSystem
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 4
call fcn.0046b7e0
mov edi, eax
push 0x4d9b9c
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
mov dword [ebp - 0x20], 1
call fcn.0046b7e0
mov edi, dword [edi]
mov eax, dword [eax]
mov ecx, dword [esi]
lea edx, [ebp - 0x1c]
push edx
push ebx
push 0x30
push edi
push eax
mov eax, dword [ecx + 0x50]
push esi
mov dword [ebp - 4], 6
mov dword [ebp - 0x20], 3
call eax
test eax, eax
js 0x4994c4
mov byte [ebp - 0xd], bl
cmp dword [ebp - 0x1c], ebx
jne 0x4994c8
mov byte [ebp - 0xd], 1
mov ecx, dword [ebp - 0x2c]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push ecx
call esi
mov edx, dword [ebp - 0x30]
push edx
mov dword [ebp - 4], 4
call esi
mov eax, dword [ebp - 0x1c]
cmp byte [ebp - 0xd], bl
je 0x499501
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x4994f9
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x24]
push eax
call esi
jmp 0x49953d
lea ecx, [ebp - 0x34]
push ecx
mov ecx, dword [ebp - 0x28]
add ecx, 4
push ecx
push 1
mov dword [ebp - 0x34], ebx
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push 0xffffffffffffffff
push eax
call edx
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 3
cmp eax, ebx
je 0x49952e
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x24]
push eax
call esi
jmp 0x49953d
push esi
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 1
cmp eax, ebx
je 0x499550
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x18]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x499562
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x28]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret