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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x486198
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4ba1f0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x74], eax
cmp edi, ebx
je 0x41065e
cmp word [edi], bx
je 0x41065e
xor ecx, ecx
push 0x2e
mov eax, str.ASSOCIATORS_OF_Win32_DiskPartition.DeviceID
lea esi, [ebp - 0x30]
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x64], ebx
mov dword [ebp - 0x60], ebx
mov dword [ebp - 0x68], ebx
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x1c], 7
mov dword [ebp - 0x20], ebx
mov word [ebp - 0x30], cx
call fcn.00401bf0
mov eax, edi
mov dword [ebp - 4], ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x410440
sub eax, edx
sar eax, 1
push eax
mov eax, edi
lea ecx, [ebp - 0x30]
call fcn.004114f0
push 0x32
mov eax, str._WHERE_AssocClass__Win32_LogicalDiskToPartition
lea ecx, [ebp - 0x30]
call fcn.004114f0
lea edx, [ebp - 0x6c]
push edx
push 0x4993bc
push 1
push ebx
push 0x49948c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x410600
mov eax, dword [ebp - 0x6c]
mov ecx, dword [eax]
lea edx, [ebp - 0x64]
push edx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push str.ROOTCIMV2
push eax
mov eax, dword [ecx + 0xc]
call eax
test eax, eax
js 0x410600
mov ecx, dword [ebp - 0x64]
push ebx
push ebx
push 3
push 3
push ebx
push ebx
push 0xa
push ecx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
test eax, eax
js 0x410600
mov ecx, dword [ebp - 0x30]
mov edi, 8
cmp dword [ebp - 0x1c], edi
jae 0x4104d6
lea ecx, [ebp - 0x30]
mov eax, dword [ebp - 0x64]
mov edx, dword [eax]
lea esi, [ebp - 0x60]
push esi
push ebx
push 0x30
push ecx
push 0x49bd78
push eax
mov eax, dword [edx + 0x50]
call eax
cmp eax, ebx
jl 0x410605
cmp dword [ebp - 0x60], ebx
je 0x410605
nop
xor ecx, ecx
mov dword [ebp - 0x48], 7
mov dword [ebp - 0x4c], ebx
mov word [ebp - 0x5c], cx
push ebx
mov eax, 0x49bc04
lea esi, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.00401bf0
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
lea ecx, [ebp - 0x70]
push ecx
lea ecx, [ebp - 0x68]
push ecx
mov byte [ebp - 4], 2
mov eax, dword [ebp - 0x60]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push 1
push 0xffffffffffffffff
push eax
call edx
cmp eax, ebx
jl 0x4105f3
cmp dword [ebp - 0x70], ebx
je 0x4105f3
mov eax, dword [ebp - 0x68]
mov ecx, dword [eax]
push ebx
push ebx
lea edx, [ebp - 0x84]
push edx
push ebx
push str.Name
push eax
mov eax, dword [ecx + 0x10]
call eax
test eax, eax
js 0x410586
cmp word [ebp - 0x84], di
jne 0x410586
mov eax, dword [ebp - 0x7c]
mov ecx, esi
push ecx
call fcn.00411180
mov eax, dword [ebp - 0x68]
mov edx, dword [eax]
mov edx, dword [edx + 0x10]
push ebx
push ebx
lea ecx, [ebp - 0x84]
push ecx
push ebx
push str.FreeSpace
push eax
call edx
cmp eax, ebx
jl 0x4105bf
cmp word [ebp - 0x84], di
jne 0x4105bf
mov eax, dword [ebp - 0x7c]
push eax
call fcn.00466c4d
add esp, 4
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], edx
cmp dword [ebp - 0x4c], ebx
je 0x4105d4
mov edi, dword [ebp - 0x74]
lea ecx, [ebp - 0x5c]
call fcn.004112f0
mov edi, 8
mov byte [ebp - 4], bl
cmp dword [ebp - 0x48], edi
jb 0x4105e8
mov ecx, dword [ebp - 0x5c]
push ecx
call fcn.004657ea
add esp, 4
cmp dword [ebp - 0x60], ebx
jne 0x410500
jmp 0x410605
lea esi, [ebp - 0x5c]
mov byte [ebp - 4], bl
call fcn.00447f00
jmp 0x410605
mov edi, 8
mov eax, dword [ebp - 0x68]
cmp eax, ebx
je 0x410617
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 0x68], ebx
mov eax, dword [ebp - 0x60]
cmp eax, ebx
je 0x410629
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x60], ebx
mov eax, dword [ebp - 0x64]
cmp eax, ebx
je 0x41063b
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x64], ebx
mov eax, dword [ebp - 0x6c]
cmp eax, ebx
je 0x41064d
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 0x6c], ebx
cmp dword [ebp - 0x1c], edi
jb 0x41065e
mov eax, dword [ebp - 0x30]
push eax
call fcn.004657ea
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.004657f5
mov esp, ebp
pop ebp
ret