Function at 0x451470
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x634de6
mov eax, dword fs:[0]
push eax
mov eax, 0x302c
call fcn.00599790
mov eax, dword [0x6d5600]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
push 0
push str..PhysicalDrive_d
lea eax, [ebp - 0x110]
xor bl, bl
push 0x100
push eax
call fcn.0044fa10
add esp, 0x10
lea eax, [ebp - 0x110]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x451722
push 0x2710
lea eax, [ebp - 0x2ff0]
mov dword [ebp - 0x3030], 0
push 0
push eax
mov dword [ebp - 0x2ff4], 0
mov dword [ebp - 0x2ffc], 0
mov dword [ebp - 0x2ff8], 0
call fcn.005d5420
add esp, 0xc
lea eax, [ebp - 0x3030]
push 0
push eax
push 0x2710
lea eax, [ebp - 0x2ff0]
push eax
push 0xc
lea eax, [ebp - 0x2ffc]
push eax
push 0x2d1400
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x451722
lea eax, [ebp - 0x4f8]
mov ecx, edi
push eax
push 0
push dword [ebp - 0x2fd8]
lea eax, [ebp - 0x2ff0]
push eax
call fcn.00452260
lea eax, [ebp - 0x8e0]
mov ecx, edi
push eax
push 0
push dword [ebp - 0x2fe0]
lea eax, [ebp - 0x2ff0]
push eax
call fcn.00452260
cmp dword [edi + 0x23c], 0x10
lea eax, [edi + 0x228]
jb 0x4515a0
mov eax, dword [eax]
cmp byte [eax], bl
jne 0x451717
movsx eax, byte [ebp - 0x4f8]
push eax
call fcn.005e2300
add esp, 4
test eax, eax
jne 0x4515d4
movsx eax, byte [ebp - 0x4e5]
push eax
call fcn.005e2300
add esp, 4
test eax, eax
je 0x451717
lea ecx, [ebp - 0x4f8]
mov dword [ebp - 0x302c], 0
mov dword [ebp - 0x301c], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3018], 0xf
mov byte [ebp - 0x302c], bl
mov al, byte [ecx]
inc ecx
test al, al
jne 0x451601
sub ecx, edx
lea eax, [ebp - 0x4f8]
push ecx
push eax
lea ecx, [ebp - 0x302c]
call fcn.00451ee0
lea ecx, [ebp - 0x8e0]
mov dword [ebp - 0x3014], 0
mov dword [ebp - 4], 0
lea edx, [ecx + 1]
mov dword [ebp - 0x3004], 0
mov dword [ebp - 0x3000], 0xf
mov byte [ebp - 0x3014], 0
mov al, byte [ecx]
inc ecx
test al, al
jne 0x451652
sub ecx, edx
lea eax, [ebp - 0x8e0]
push ecx
push eax
lea ecx, [ebp - 0x3014]
call fcn.00451ee0
sub esp, 0x18
mov byte [ebp - 4], 1
lea eax, [ebp - 0x302c]
mov dword [ebp - 0x3034], esp
mov ecx, esp
push eax
call fcn.0044fb70
sub esp, 0x18
mov byte [ebp - 4], 2
lea eax, [ebp - 0x3014]
mov ecx, esp
push eax
call fcn.0044fb70
mov ecx, edi
mov byte [ebp - 4], 1
call fcn.004518a0
mov ecx, dword [ebp - 0x3000]
mov bl, 1
cmp ecx, 0x10
jb 0x4516e1
mov edx, dword [ebp - 0x3014]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x4516d7
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451740
push ecx
push edx
call fcn.005994f5
add esp, 8
mov ecx, dword [ebp - 0x3018]
cmp ecx, 0x10
jb 0x451717
mov edx, dword [ebp - 0x302c]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x45170d
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x451740
push ecx
push edx
call fcn.005994f5
add esp, 8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
jmp 0x451724
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005994b1
mov esp, ebp
pop ebp
ret
call fcn.005e01aa
int3