Function at 0x44f070
Capabilities:
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x56556b
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x639ac0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0xc
mov dword [ebp - 0x14], 0
call fcn.004f69f2
mov ebx, eax
mov dword [ebp - 0x1c], eax
add esp, 4
mov dword [ebp - 0x20], ebx
mov edi, dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov dword [ebp - 4], 0
test ebx, ebx
je 0x44f0e3
push 0x5c4610
mov dword [ebx + 4], 0
mov dword [ebx + 8], 1
call edi
mov dword [ebx], eax
test eax, eax
je 0x44f3d3
jmp 0x44f0e8
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x24], ebx
test ebx, ebx
je 0x44f3dd
push 0xc
mov dword [ebp - 4], 1
call fcn.004f69f2
mov esi, eax
mov dword [ebp - 0x20], eax
add esp, 4
mov dword [ebp - 0x28], esi
mov byte [ebp - 4], 2
test esi, esi
je 0x44f13c
push str.SELECT__FROM_Win32_DiskDrive
mov dword [esi + 4], 0
mov dword [esi + 8], 1
call edi
mov dword [esi], eax
test eax, eax
je 0x44f3e7
jmp 0x44f141
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 4], 1
mov dword [ebp - 0x28], esi
test esi, esi
je 0x44f3f1
lea eax, [ebp - 0x38]
mov dword [ebp - 0x10], 0
push eax
mov dword [ebp - 0x18], 0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
mov byte [ebp - 4], 4
call fcn.00455b90
test al, al
je 0x44f182
push str.WMI:_Get_DD
call fcn.00455a00
add esp, 4
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x14]
push edx
push 0
push 0x20
push dword [esi]
mov ecx, dword [eax]
push dword [ebx]
push eax
call dword [ecx + 0x50]
test eax, eax
jns 0x44f1af
push str.WMI:_Get_WMI_info_failed__1_
call fcn.00455a00
add esp, 4
xor edi, edi
jmp 0x44f32f
call fcn.00455b90
test al, al
je 0x44f1c5
push str.WMI:_Get_WMI_info_success
call fcn.00455a00
add esp, 4
mov edi, dword [ebp + 0xc]
lea edx, [ebp - 0x18]
push edx
or eax, 0xffffffff
lea edx, [ebp - 0x10]
add edi, 0x4bc08
mov ecx, 0xc8
rep stosd dword es:[edi], eax
mov eax, dword [ebp - 0x14]
xor edi, edi
push edx
push 1
push 0x2710
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x44f321
mov ebx, dword [ebp + 0xc]
nop dword [eax]
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x44f31b
cmp edi, 0xc8
jge 0x44f31b
cmp eax, 1
jb 0x44f31b
cmp dword [ebp - 0x10], 0
je 0x44f31b
call fcn.00455b90
test al, al
je 0x44f250
push edi
push str.DiskDrive:_result__d
push 0x6411e0
call fcn.00432fe0
push 0x6411e0
call fcn.00455a00
add esp, 0x10
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x38]
push 0
push 0
push edx
mov ecx, dword [eax]
or esi, 0xffffffff
push 0
push str.Index
push eax
call dword [ecx + 0x10]
test eax, eax
js 0x44f278
cmp word [ebp - 0x38], 3
cmove esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0x38]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Partitions
push eax
call dword [ecx + 0x10]
cmp esi, 0xffffffff
je 0x44f2db
test eax, eax
js 0x44f2db
cmp word [ebp - 0x38], 3
jne 0x44f2db
call fcn.00455b90
test al, al
je 0x44f2c9
push dword [ebp - 0x30]
push esi
push str.DiskDrive:__d__d
push 0x6411e0
call fcn.00432fe0
push 0x6411e0
call fcn.00455a00
add esp, 0x14
cmp esi, 0xc7
ja 0x44f2db
mov eax, dword [ebp - 0x30]
mov dword [ebx + esi*4 + 0x4bc08], eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
call fcn.00455b90
test al, al
je 0x44f2fa
push str.DiskDrive:_next_result
call fcn.00455a00
add esp, 4
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x18]
push edx
lea edx, [ebp - 0x10]
inc edi
push edx
mov ecx, dword [eax]
push 1
push 0x2710
push eax
call dword [ecx + 0x10]
test eax, eax
jns 0x44f200
mov ebx, dword [ebp - 0x1c]
mov esi, dword [ebp - 0x20]
mov eax, dword [ebp - 0x14]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
mov edi, 1
lea eax, [ebp - 0x38]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
mov ecx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
jne 0x44f381
mov eax, dword [esi]
test eax, eax
je 0x44f359
push eax
call ecx
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x44f370
push eax
call fcn.004f69ed
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004f6a22
mov ecx, dword [sym.imp.OLEAUT32.dll_SysStringLen]
add esp, 8
or eax, 0xffffffff
lock xadd dword [ebx + 8], eax
dec eax
jne 0x44f3bd
mov eax, dword [ebx]
test eax, eax
je 0x44f39b
push eax
call ecx
mov dword [ebx], 0
mov eax, dword [ebx + 4]
test eax, eax
je 0x44f3b2
push eax
call fcn.004f69ed
add esp, 4
mov dword [ebx + 4], 0
push 0xc
push ebx
call fcn.004f6a22
add esp, 8
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0x8007000e
call fcn.004f8630
push 0x8007000e
call fcn.004f8630
push 0x8007000e
call fcn.004f8630
push 0x8007000e
call fcn.004f8630
int3