Function at 0x4828d0
Capabilities:
Get disk information via ioctl

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x107c
call fcn.0056b140
mov eax, dword [0x61b000]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0x1c
xor eax, eax
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], eax
push 0x12
push 0
push 0
push 0x6077a8
call dword [sym.imp.SETUPAPI.dll_SetupDiGetClassDevsW]
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffff
jne 0x48293b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
jmp 0x482c25
mov dword [ebp - 0x2c], 0
mov dword [ebp - 0x28], 0
jmp 0x482954
mov ecx, dword [ebp - 0x28]
add ecx, 1
mov dword [ebp - 0x28], ecx
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInfo]
test eax, eax
je 0x482c18
mov byte [ebp - 0x1040], 0
push 0x7fd
push 0
lea edx, [ebp - 0x103f]
push edx
call fcn.00568440
add esp, 0xc
mov byte [ebp - 0x840], 0
push 0x7fd
push 0
lea eax, [ebp - 0x83f]
push eax
call fcn.00568440
add esp, 0xc
mov dword [ebp - 0x1060], 0x7fe
mov dword [ebp - 0x3c], 0x7fe
lea ecx, [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x1060]
push edx
lea eax, [ebp - 0x1040]
push eax
lea ecx, [ebp - 0x34]
push ecx
push 0xc
lea edx, [ebp - 0x20]
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceRegistryPropertyA]
test eax, eax
jne 0x4829e8
jmp 0x48294b
push 0x5e304c
lea ecx, [ebp - 0x1040]
push ecx
call fcn.00437aa0
add esp, 8
test eax, eax
jne 0x482a05
jmp 0x48294b
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x105c], 0x1c
xor edx, edx
mov dword [ebp - 0x1058], edx
mov dword [ebp - 0x1054], edx
mov dword [ebp - 0x1050], edx
mov dword [ebp - 0x104c], edx
mov dword [ebp - 0x1048], edx
mov dword [ebp - 0x1044], edx
mov dword [ebp - 0x38], 0
mov eax, 1
test eax, eax
je 0x482c13
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x107c], ecx
lea edx, [ebp - 0x105c]
push edx
mov eax, dword [ebp - 0x107c]
push eax
push 0x6077a8
lea ecx, [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x30]
push edx
call dword [sym.imp.SETUPAPI.dll_SetupDiEnumDeviceInterfaces]
mov ecx, dword [ebp - 0x40]
add ecx, 1
mov dword [ebp - 0x40], ecx
test eax, eax
jne 0x482aa7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x4e0
je 0x482aa2
cmp dword [ebp - 0x24], 0x103
jne 0x482aa7
jmp 0x482c13
push 0
lea edx, [ebp - 0x2c]
push edx
push 0
push 0
lea eax, [ebp - 0x105c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailW]
test eax, eax
jne 0x482af4
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x7a
jne 0x482aef
mov edx, dword [ebp - 0x2c]
push edx
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [eax], 6
jmp 0x482af4
jmp 0x482c13
push 0
push 0
mov ecx, dword [ebp - 0x2c]
push ecx
mov edx, dword [ebp - 0x38]
push edx
lea eax, [ebp - 0x105c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.SETUPAPI.dll_SetupDiGetDeviceInterfaceDetailW]
test eax, eax
jne 0x482b34
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x24], eax
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x38], 0
jmp 0x482c13
mov dword [ebp - 0x1068], 0
push 0
push 0
push 3
push 0
push 3
push 0
mov eax, dword [ebp - 0x38]
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x1064], eax
push 0
lea ecx, [ebp - 0x1068]
push ecx
push 0xc
lea edx, [ebp - 0x1074]
push edx
push 0
push 0
push 0x2d1080
mov eax, dword [ebp - 0x1064]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x482bf0
mov dword [ebp - 0x1078], 0
jmp 0x482ba4
mov ecx, dword [ebp - 0x1078]
add ecx, 1
mov dword [ebp - 0x1078], ecx
mov edx, dword [ebp - 0x1078]
cmp edx, dword [ebp + 0xc]
jge 0x482bf0
mov eax, dword [ebp - 0x1078]
push eax
mov ecx, dword [ebp + 8]
call fcn.00484000
mov ecx, dword [ebp - 0x1070]
cmp ecx, dword [eax + 0x8c]
jne 0x482bee
lea edx, [ebp - 0x1040]
push edx
mov eax, dword [ebp - 0x1078]
push eax
mov ecx, dword [ebp + 8]
call fcn.00484000
add eax, 0x1c
mov ecx, eax
call fcn.00406110
jmp 0x482bf0
jmp 0x482b95
mov ecx, dword [ebp - 0x1064]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x38]
push edx
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0x38], 0
jmp 0x482a43
jmp 0x48294b
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.SETUPAPI.dll_SetupDiDestroyDeviceInfoList]
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00560c61
mov esp, ebp
pop ebp
ret