Function at 0x44b210
Capabilities:
Get disk information via ioctl

Disassembly:
sub esp, 0xb8
mov eax, dword [0x46f650]
xor eax, esp
mov dword [esp + 0xb4], eax
cmp dword [ecx + 0x18], 0
mov dword [esp + 0x14], ecx
je 0x44b481
push ebp
push edi
push 0x12
push 0
push 0
push 0x460a64
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov edi, eax
lea eax, [esp + 0x2c]
push eax
push 0
push 0x460a64
push 0
push edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x40], 0x1c
mov ebp, 1
mov dword [esp + 0x28], 0
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
test eax, eax
je 0x44b478
push esi
mov edi, edi
test ebp, ebp
je 0x44b477
mov ebp, dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailW]
push 0
lea ecx, [esp + 0x10]
push ecx
push 0
push 0
lea edx, [esp + 0x40]
push edx
push edi
mov dword [esp + 0x24], 0
call ebp
mov eax, dword [esp + 0xc]
push eax
call fcn.0040b5c4
add esp, 4
mov esi, eax
lea ecx, [esp + 0x4c]
push ecx
mov dword [esi], 6
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x10]
push edx
push eax
push esi
lea ecx, [esp + 0x40]
push ecx
push edi
mov dword [esp + 0x64], 0x1c
call ebp
mov ebp, eax
test ebp, ebp
je 0x44b46e
mov eax, dword [esp + 0x60]
xor edi, edi
push edi
push eax
lea edx, [esp + 0x18]
push edx
mov dword [esp + 0x1c], eax
call dword [sym.imp.SETUPAPI.dll_CM_Get_Parent]
test eax, eax
jne 0x44b3be
test edi, edi
jne 0x44b3be
mov edx, dword [esp + 0x10]
push edi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x70]
push ecx
push edi
push 0xa
push edx
mov dword [esp + 0x34], 0x58
call dword [sym.imp.SETUPAPI.dll_CM_Get_DevNode_Registry_PropertyW]
mov eax, dword [esp + 0x20]
mov edi, dword [eax + 0x10]
test edi, edi
je 0x44b3a4
jmp 0x44b340
lea ecx, [edi + 0x12]
lea eax, [esp + 0x68]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x44b36d
test dx, dx
je 0x44b369
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x44b36d
add eax, 4
add ecx, 4
test dx, dx
jne 0x44b347
xor eax, eax
jmp 0x44b372
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x44b382
mov edi, dword [edi + 0x830]
test edi, edi
jne 0x44b340
jmp 0x44b3a4
lea ecx, [esi + 4]
push ecx
lea edx, [edi + 0x190]
push 0x104
push edx
call fcn.00429007
mov eax, dword [esp + 0x6c]
add esp, 0xc
mov dword [edi + 0x3a8], eax
mov ecx, dword [esp + 0x10]
push 0
push ecx
lea edx, [esp + 0x18]
push edx
call dword [sym.imp.SETUPAPI.dll_CM_Get_Parent]
test eax, eax
je 0x44b307
push esi
call fcn.0040b5f3
add esp, 4
test edi, edi
je 0x44b43f
push 0
push 0
push 3
push 0
push 2
push 0
lea eax, [edi + 0x190]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x44b43f
push 0
lea ecx, [esp + 0x10]
push ecx
push 0xc
lea edx, [esp + 0x30]
push edx
push 0
push 0
push 0x2d1080
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push esi
mov ebp, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
lea ecx, [edi + 0x398]
lea ebx, [ebx]
test ebp, ebp
je 0x44b43f
cmp dword [ecx], 0xffffffff
je 0x44b434
inc eax
add ecx, 4
cmp eax, 4
jl 0x44b420
jmp 0x44b43f
mov ecx, dword [esp + 0x28]
mov dword [edi + eax*4 + 0x398], ecx
mov eax, dword [esp + 0x18]
inc eax
lea edx, [esp + 0x30]
push edx
push eax
push 0x460a64
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
push 0
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
mov edi, dword [esp + 0x14]
test eax, eax
jne 0x44b280
jmp 0x44b477
push esi
call fcn.0040b5f3
add esp, 4
pop esi
push edi
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
pop edi
pop ebp
mov ecx, dword [esp + 0xb4]
xor ecx, esp
call fcn.00428d44
add esp, 0xb8
ret