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

Disassembly:
push 0xffffffffffffffff
push 0x64ea10
mov eax, dword fs:[0]
push eax
sub esp, 0x38
mov eax, dword [0x7496c8]
xor eax, esp
mov dword [esp + 0x34], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x7496c8]
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 0x699ad0
push 1
push ebx
push 0x699ac0
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jl 0x528a3f
push str.rootcimv2
lea ecx, [esp + 0x1c]
call fcn.005284b0
mov eax, dword [esp + 0x18]
cmp eax, ebx
je 0x528a15
mov ecx, dword [eax]
jmp 0x528a17
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 0x528a59
call edx
call dword [sym.imp.ole32.dll_CoUninitialize]
mov dword [esp + 0x54], edi
lea ecx, [esp + 0x18]
call fcn.00528460
xor eax, eax
jmp 0x528b98
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 0x528a8f
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 0x528af1
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.004011f0
mov dword [esp + 0x54], edi
lea ecx, [esp + 0x18]
call fcn.00528460
xor eax, eax
jmp 0x528b98
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 0x528b43
cmp word [esp + 0x2c], 8
jne 0x528b43
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 0x528b47
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.004011f0
mov dword [esp + 0x54], 0xffffffff
lea ecx, [esp + 0x18]
call fcn.00528460
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.00613241
add esp, 0x44
ret