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

Disassembly:
push 0x34
mov eax, 0x4bbb9c
call fcn.0048501f
xor ebx, ebx
mov dword [ebp - 0x18], ebx
lea eax, [ebp - 0x18]
push eax
push 0x4cc730
push 1
push ebx
push 0x4cc800
mov dword [ebp - 4], ebx
call dword [sym.imp.ole32.dll_CoCreateInstance]
cmp eax, ebx
jge 0x473ba2
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x473b9b
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
jmp 0x473edd
mov dword [ebp - 0x14], ebx
mov esi, dword [ebp - 0x18]
push str.ROOTCIMV2
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.004655e1
mov eax, dword [eax]
mov ecx, dword [esi]
lea edx, [ebp - 0x14]
push edx
push ebx
push ebx
push 0x80
push ebx
push ebx
push ebx
push eax
push esi
mov byte [ebp - 4], 2
call dword [ecx + 0xc]
push dword [ebp - 0x28]
mov esi, dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov edi, eax
mov byte [ebp - 4], 1
call esi
cmp edi, ebx
jge 0x473bfb
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x473b8a
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
jmp 0x473b8a
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push dword [ebp - 0x14]
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
cmp eax, ebx
jl 0x473be9
push 1
push dword [ebp + 8]
lea ecx, [ebp - 0x24]
call fcn.0045e62a
push 0x4bed18
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 3
call fcn.0041cb8c
push 0x4ecda4
lea ecx, [ebp + 8]
call fcn.0040ba90
push dword [ebp - 0x24]
lea eax, [ebp + 8]
push str.ASSOCIATORS_OF_Win32_LogicalDisk.DeviceID_s_where_ResultClass__Win32_DiskPartition
push eax
mov byte [ebp - 4], 4
call fcn.0041cbb1
add esp, 0xc
mov dword [ebp - 0x10], ebx
push dword [ebp + 8]
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 5
call fcn.004655e1
mov dword [ebp - 0x28], eax
push 0x4c689c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 6
call fcn.004713e1
mov ecx, dword [ebp - 0x28]
mov ecx, dword [ecx]
mov eax, dword [eax]
lea edx, [ebp - 0x10]
push edx
push ebx
push 0x30
push ecx
mov dword [ebp - 0x28], eax
push dword [ebp - 0x28]
mov eax, dword [edi]
push edi
mov byte [ebp - 4], 7
call dword [eax + 0x50]
push dword [ebp - 0x1c]
mov edi, eax
call esi
push dword [ebp - 0x2c]
mov byte [ebp - 4], 5
call esi
cmp edi, ebx
jge 0x473cdd
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x473cc2
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040dd20
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040dd20
jmp 0x473be9
push 0x4ecda4
lea ecx, [ebp - 0x28]
call fcn.0040ba90
mov byte [ebp - 4], 8
mov dword [ebp - 0x20], ebx
jmp 0x473d54
mov dword [ebp - 0x1c], ebx
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x1c]
push ecx
push 1
push 0x7d0
push dword [ebp - 0x10]
mov byte [ebp - 4], 9
call dword [eax + 0x10]
cmp dword [ebp - 0x20], ebx
je 0x473d7f
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x40]
push edx
push ebx
push str.DeviceID
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0x473d43
cmp word [ebp - 0x40], 8
je 0x473d5b
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x473d54
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x10], ebx
jne 0x473cf3
jmp 0x473d90
lea eax, [ebp - 0x40]
push eax
lea ecx, [ebp - 0x2c]
call fcn.0047213a
push eax
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 0xa
call fcn.0041cb3f
mov ecx, dword [ebp - 0x2c]
add ecx, 0xfffffff0
call fcn.0040dd20
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x473d90
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp - 0x28]
lea eax, [ebp + 8]
push str.ASSOCIATORS_OF_Win32_DiskPartition.DeviceID_s_where_ResultClass__Win32_DiskDrive
push eax
call fcn.0041cbb1
mov eax, dword [ebp - 0x10]
add esp, 0xc
cmp eax, ebx
je 0x473db4
mov dword [ebp - 0x10], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push dword [ebp + 8]
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x30]
call fcn.004655e1
mov dword [ebp - 0x2c], eax
push 0x4c689c
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xb
call fcn.004713e1
mov ecx, dword [ebp - 0x2c]
mov ecx, dword [ecx]
mov eax, dword [eax]
lea edx, [ebp - 0x10]
push edx
push ebx
push 0x30
push ecx
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x2c]
mov eax, dword [edi]
push edi
mov byte [ebp - 4], 0xc
call dword [eax + 0x50]
push dword [ebp - 0x1c]
mov edi, eax
call esi
push dword [ebp - 0x30]
call esi
cmp edi, ebx
jge 0x473e15
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040dd20
jmp 0x473cb1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x20], ebx
cmp eax, ebx
je 0x473e87
mov dword [ebp - 0x1c], ebx
mov ecx, dword [eax]
lea edx, [ebp - 0x20]
push edx
lea edx, [ebp - 0x1c]
push edx
push 1
push 0x7d0
push eax
mov byte [ebp - 4], 0xd
call dword [ecx + 0x10]
cmp dword [ebp - 0x20], ebx
je 0x473e76
lea eax, [ebp - 0x40]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov eax, dword [ebp - 0x1c]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x40]
push edx
push ebx
push str.Index
push eax
call dword [ecx + 0x10]
cmp eax, ebx
jl 0x473e76
cmp word [ebp - 0x40], 3
jne 0x473e76
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x473e76
mov ecx, dword [ebp - 0x38]
mov dword [eax], ecx
mov eax, dword [ebp - 0x1c]
mov byte [ebp - 4], 8
cmp eax, ebx
je 0x473e87
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp - 0x28]
add ecx, 0xfffffff0
call fcn.0040dd20
mov eax, dword [ebp - 0x10]
mov byte [ebp - 4], 4
cmp eax, ebx
je 0x473ea3
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [ebp + 8]
add ecx, 0xfffffff0
call fcn.0040dd20
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040dd20
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], bl
cmp eax, ebx
je 0x473ec9
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x18]
or dword [ebp - 4], 0xffffffff
cmp eax, ebx
je 0x473eda
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
xor eax, eax
inc eax
call fcn.004850f7
ret 8