Function at 0x449bd0
Capabilities:
Get disk information via ioctl
Reference wmi statements

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x481773
mov eax, dword fs:[0]
push eax
sub esp, 0x78
mov eax, dword [0x4ac084]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0x64], ecx
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.00402e80
add eax, 0x10
mov dword [ebp - 0x2c], eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 4], 0
call fcn.0044aa40
mov esi, dword [ebp - 0x2c]
push 0
push 0
push 3
push 0
push 3
push SysReAllocString
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
mov dword [ebp - 0x30], edi
cmp edi, 0xffffffff
jne 0x449c67
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x60], eax
test eax, eax
jle 0x44a101
movzx eax, ax
or eax, 0x80070000
mov dword [ebp - 0x60], eax
jmp 0x44a101
push 0
lea eax, [ebp - 0x40]
mov dword [ebp - 0x44], 0
push eax
push 0xc
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x40], 0
push eax
push 0
push 0
push 0x2d1080
xorps xmm0, xmm0
push edi
movq qword [ebp - 0x4c], xmm0
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x44a0f6
xorps xmm0, xmm0
mov dword [ebp - 0x34], 0
movq qword [ebp - 0x3c], xmm0
mov dword [ebp - 0x3c], 0
mov dword [ebp - 0x38], 0
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x34], 1
call fcn.0044bcf0
mov byte [ebp - 4], 4
call fcn.00403450
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x449cf1
push 0x80004005
call fcn.004039a0
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x28], eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x28]
push dword [ebp - 0x48]
push str..PHYSICALDRIVE_d
push eax
call fcn.004040a0
add esp, 0xc
mov dword [ebp - 0x20], 0
push str.SELECT__FROM_Win32_DiskDrive
mov byte [ebp - 4], 6
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
mov esi, eax
mov dword [ebp - 0x1c], esi
test esi, esi
jne 0x449d41
push 0x8007000e
call fcn.004039a0
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 7
push eax
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0x3c]
call fcn.0044bdc0
push esi
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 6
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
cmp dword [ebp - 0x60], 0
jl 0x44a07b
call fcn.00403450
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x449d89
push 0x80004005
call fcn.004039a0
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
lea esi, [eax + 0x10]
mov dword [ebp - 0x24], esi
mov byte [ebp - 4], 8
call fcn.00403450
xor ecx, ecx
mov edx, eax
test edx, edx
setne cl
test ecx, ecx
jne 0x449db8
push 0x80004005
call fcn.004039a0
mov eax, dword [edx]
mov ecx, edx
mov eax, dword [eax + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x20]
push edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x18], 0
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x18], 0
je 0x44a016
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov esi, dword [ebp - 0x28]
lea eax, [ebp - 0x5c]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x5c], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 0
push 0
mov byte [ebp - 4], 0xb
lea edx, [ebp - 0x5c]
mov eax, dword [ebp - 0x14]
push edx
push 0
push str.DeviceID
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov dword [ebp - 0x60], eax
test eax, eax
js 0x44a0d4
cmp word [ebp - 0x5c], 1
je 0x449fc8
mov ecx, dword [ebp - 0x54]
xor eax, eax
test ecx, ecx
setne al
test eax, eax
je 0x449ce7
mov eax, esi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x449e7e
test dx, dx
je 0x449e7a
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x449e7e
add eax, 4
add ecx, 4
test dx, dx
jne 0x449e58
xor eax, eax
jmp 0x449e83
sbb eax, eax
or eax, 1
test eax, eax
setne al
test al, al
jne 0x449fc8
lea eax, [ebp - 0x5c]
push eax
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x5c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.SerialNumber
push eax
call dword [ecx + 0x10]
cmp word [ebp - 0x5c], 1
je 0x449f1d
lea eax, [ebp - 0x74]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x74], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 8
push 0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0xc
push eax
lea eax, [ebp - 0x74]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
js 0x44a0ce
mov edx, dword [ebp - 0x6c]
test edx, edx
jne 0x449eef
xor ecx, ecx
jmp 0x449f09
mov ecx, edx
lea edi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x449ef4
sub ecx, edi
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x24]
call fcn.004039c0
lea eax, [ebp - 0x74]
mov byte [ebp - 4], 0xb
push eax
call edi
lea eax, [ebp - 0x5c]
push eax
call edi
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x5c]
push 0
push 0
push edx
mov ecx, dword [eax]
push 0
push str.Signature
push eax
call dword [ecx + 0x10]
cmp word [ebp - 0x5c], 1
je 0x449fc8
push 0x13
push 0
lea eax, [ebp - 0x5c]
push eax
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
lea eax, [ebp - 0x84]
xorps xmm0, xmm0
push eax
movups xmmword [ebp - 0x84], xmm0
call dword [sym.imp.OLEAUT32.dll_VariantClear]
push 8
push 0
lea eax, [ebp - 0x5c]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.OLEAUT32.dll_VariantTimeToDosDateTime]
test eax, eax
js 0x44a0ce
mov edx, dword [ebp - 0x7c]
test edx, edx
jne 0x449f98
xor ecx, ecx
jmp 0x449fb5
mov ecx, edx
lea edi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x449fa0
sub ecx, edi
mov edi, dword [sym.imp.OLEAUT32.dll_VariantCopy]
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x1c]
call fcn.004039c0
lea eax, [ebp - 0x84]
push eax
call edi
lea eax, [ebp - 0x5c]
push eax
call edi
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x449fdf
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov dword [ebp - 0x14], 0
mov byte [ebp - 4], 0xa
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 0x20]
push edx
lea edx, [ebp - 0x14]
mov dword [ebp - 0x18], 0
push edx
mov ecx, dword [eax]
push 1
push 0xffffffffffffffff
push eax
call dword [ecx + 0x10]
cmp dword [ebp - 0x18], 0
jne 0x449e01
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x1c]
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x44a027
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push edi
push esi
push str.:_s:_s
push dword [ebp - 0x64]
call fcn.004040a0
add esp, 0x10
mov dword [ebp - 0x60], 0
mov byte [ebp - 4], 8
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x44a05c
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 6
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44a078
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edi, dword [ebp - 0x30]
mov byte [ebp - 4], 5
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x44a08c
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov byte [ebp - 4], 4
or eax, 0xffffffff
mov edx, dword [ebp - 0x28]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44a0ab
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x38]
test ecx, ecx
je 0x44a0bc
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [ebp - 0x3c]
test ecx, ecx
je 0x44a0c9
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esi, dword [ebp - 0x2c]
jmp 0x44a0fd
push eax
call fcn.004039a0
lea eax, [ebp - 0x5c]
push eax
call edi
mov byte [ebp - 4], 9
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x44a0eb
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov esi, dword [ebp - 0x24]
mov edi, dword [ebp - 0x1c]
jmp 0x44a040
mov dword [ebp - 0x60], 0x80004005
test edi, edi
je 0x44a108
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x44a127
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x60]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00458d41
mov esp, ebp
pop ebp
ret 8