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

Disassembly:
push 0xffffffffffffffff
push 0x659140
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x755898]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x755898]
xor eax, esp
push eax
lea eax, [esp + 0x4c]
mov dword fs:[0], eax
mov eax, dword [esp + 0x60]
mov esi, dword [esp + 0x5c]
xor ebx, ebx
mov dword [esp + 0x28], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x54], ebx
push ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x20], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push ebx
push ebx
push ebx
push 3
push 2
push ebx
push ebx
or edi, 0xffffffff
push edi
push ebx
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea ecx, [esp + 0x20]
push ecx
push 0x6a4c50
push 1
push ebx
push 0x6a4c40
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x530fcf
push str.rootcimv2
lea ecx, [esp + 0x1c]
call fcn.00530a40
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x530fa5
mov ecx, dword [eax]
jmp 0x530fa7
xor ecx, ecx
mov eax, dword [esp + 0x20]
mov edx, dword [eax]
lea ebp, [esp + 0x14]
push ebp
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
cmp eax, ebx
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
jge 0x530fe9
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [esp + 0x54], edi
lea ecx, [esp + 0x18]
call fcn.005309f0
xor eax, eax
jmp 0x531128
call edx
xor eax, eax
mov dword [esp + 0x24], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x44], ebx
mov word [esp + 0x40], ax
mov byte [esp + 0x54], 1
push ebx
push esi
push str.Win32_LogicalDisk.DeviceID__s_
lea ecx, [esp + 0x48]
call fcn.004021b0
mov eax, dword [esp + 0x3c]
cmp eax, ebx
jne 0x53101f
lea eax, [esp + 0x40]
mov ebp, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push eax
call ebp
push ebx
lea edx, [esp + 0x20]
push edx
push ebx
mov esi, eax
mov eax, dword [esp + 0x20]
mov ecx, dword [eax]
push ebx
push esi
push eax
mov eax, dword [ecx + 0x18]
call eax
cmp eax, ebx
jge 0x531081
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
push esi
mov dword [esp + 0x18], ebx
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [esp + 0x54], bl
lea ecx, [esp + 0x3c]
call fcn.00401210
mov dword [esp + 0x54], edi
lea ecx, [esp + 0x18]
call fcn.005309f0
xor eax, eax
jmp 0x531128
mov edi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
push esi
call edi
push str.VolumeName
call ebp
push ebx
push ebx
lea edx, [esp + 0x34]
push edx
mov esi, eax
mov eax, dword [esp + 0x28]
mov ecx, dword [eax]
push ebx
push esi
push eax
mov eax, dword [ecx + 0x10]
call eax
push esi
mov ebp, eax
call edi
cmp ebp, ebx
jl 0x5310d3
cmp word [esp + 0x2c], 8
jne 0x5310d3
mov ecx, dword [esp + 0x34]
mov esi, dword [esp + 0x28]
push ecx
mov ecx, esi
call fcn.004017f0
cmp dword [esi + 8], ebx
mov esi, 1
jg 0x5310d7
mov esi, dword [esp + 0x24]
lea edx, [esp + 0x2c]
push edx
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x1c], ebx
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [esp + 0x14], ebx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov byte [esp + 0x54], bl
lea ecx, [esp + 0x3c]
call fcn.00401210
mov dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.005309f0
mov eax, esi
mov ecx, dword [esp + 0x4c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x34]
xor ecx, esp
call fcn.0061d2ff
add esp, 0x44
ret