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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x5552b0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
xor ebx, ebx
push ebx
call dword [sym.imp.ole32.dll_CoInitialize]
cmp byte [0x568461], bl
je 0x4b6435
lea eax, [ebp - 0x10c]
push eax
push 0x5020f8
push 1
push ebx
push 0x5021c8
mov dword [ebp - 0x10c], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x4b642f
mov eax, dword [ebp - 0x10c]
lea edx, [ebp - 0x110]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
mov dword [ebp - 0x110], ebx
mov ecx, dword [eax]
push str.ROOTCIMV2
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0x4b6421
mov eax, dword [ebp - 0x110]
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
mov eax, dword [ebp - 0x110]
js 0x4b6419
lea edx, [ebp - 0x114]
push edx
push ebx
push 0x30
push str.SELECT__FROM_Win32_OperatingSystem
mov dword [ebp - 0x114], ebx
mov ecx, dword [eax]
push 0x52550c
push eax
mov eax, dword [ecx + 0x50]
call eax
test eax, eax
jns 0x4b6447
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
xor eax, eax
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004e4746
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0x118], ebx
cmp eax, ebx
je 0x4b655d
mov esi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov ecx, dword [eax]
lea edx, [ebp - 0x118]
push edx
lea edx, [ebp - 0x11c]
push edx
push 1
push 0xffffffffffffffff
push eax
mov eax, dword [ecx + 0x10]
call eax
cmp dword [ebp - 0x118], ebx
je 0x4b6557
push 0xfe
lea edx, [ebp - 0x106]
xor ecx, ecx
push ebx
push edx
mov word [ebp - 0x108], cx
call fcn.004e8ba0
mov eax, dword [ebp - 0x11c]
mov ecx, dword [eax]
add esp, 0xc
push ebx
push ebx
lea edx, [ebp - 0x130]
push edx
push ebx
push str.LastBootUpTime
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
jne 0x4b650e
cmp word [ebp - 0x130], 1
je 0x4b650e
mov eax, dword [ebp - 0x128]
lea edx, [ebp - 0x108]
sub edx, eax
mov edi, edi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
cmp cx, bx
jne 0x4b64e0
lea ecx, [ebp - 0x130]
push ecx
call esi
lea edx, [ebp - 0x108]
push 0x2e
push edx
call fcn.004e56ec
add esp, 8
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x108]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4b6517
sub eax, edx
sar eax, 1
cmp eax, 0x20
jae 0x4b6547
xor eax, eax
lea ecx, [ecx]
movzx ecx, word [ebp + eax - 0x108]
mov word [eax + 0x56e188], cx
add eax, 2
cmp cx, bx
jne 0x4b6530
mov eax, dword [ebp - 0x114]
cmp eax, ebx
jne 0x4b6461
jmp 0x4b655d
mov eax, dword [ebp - 0x114]
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov eax, dword [ebp - 0x110]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [ebp - 0x10c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, 0x56e188
lea edx, [eax + 2]
nop
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x4b6590
sub eax, edx
sar eax, 1
xor ecx, ecx
cmp ecx, eax
mov ecx, dword [ebp - 4]
sbb eax, eax
pop esi
xor ecx, ebp
neg eax
pop ebx
call fcn.004e4746
mov esp, ebp
pop ebp
ret