Function at 0x44ae80
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x6b7b94
mov eax, dword fs:[0]
push eax
mov eax, 0x3054
call fcn.00616dc0
mov eax, dword [0x772a40]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x3038], ecx
mov byte [ebp - 0x302d], 0
mov dword [ebp - 0x3044], 0
mov dword [ebp - 0x303c], 0
mov eax, dword [ebp - 0x3044]
push eax
push str..PhysicalDrive_d
push 0x100
lea ecx, [ebp - 0x110]
push ecx
call fcn.0043d480
add esp, 0x10
push 0
push 0
push 3
push 0
push 3
push 0
lea edx, [ebp - 0x110]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x303c], eax
cmp dword [ebp - 0x303c], 0xffffffff
jne 0x44af23
mov al, byte [ebp - 0x302d]
jmp 0x44b16e
mov dword [ebp - 0x3048], 0
push 0xc
push 0
lea eax, [ebp - 0x2ffc]
push eax
call fcn.00650120
add esp, 0xc
mov dword [ebp - 0x2ffc], 0
mov dword [ebp - 0x2ff8], 0
push 0x2710
push 0
lea ecx, [ebp - 0x2ff0]
push ecx
call fcn.00650120
add esp, 0xc
push 0
lea edx, [ebp - 0x3048]
push edx
push 0x2710
mov eax, 1
imul ecx, eax, 0
lea edx, [ebp + ecx - 0x2ff0]
push edx
push 0xc
lea eax, [ebp - 0x2ffc]
push eax
push 0x2d1400
mov ecx, dword [ebp - 0x303c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x44afb2
mov al, byte [ebp - 0x302d]
jmp 0x44b16e
lea edx, [ebp - 0x2ff0]
mov dword [ebp - 0x3040], edx
mov dword [ebp - 0x3034], 0
mov dword [ebp - 0x304c], 1
lea eax, [ebp - 0x304c]
mov dword [ebp - 0x3050], eax
mov ecx, dword [ebp - 0x3050]
movsx edx, byte [ecx]
test edx, edx
je 0x44aff7
mov dword [ebp - 0x3034], 0
jmp 0x44b001
mov dword [ebp - 0x3034], 1
lea eax, [ebp - 0x4f8]
push eax
mov ecx, dword [ebp - 0x3034]
push ecx
mov edx, dword [ebp - 0x3040]
mov eax, dword [edx + 0x18]
push eax
lea ecx, [ebp - 0x2ff0]
push ecx
mov ecx, dword [ebp - 0x3038]
call fcn.0044ba40
lea edx, [ebp - 0x8e0]
push edx
mov eax, dword [ebp - 0x3034]
push eax
mov ecx, dword [ebp - 0x3040]
mov edx, dword [ecx + 0x10]
push edx
lea eax, [ebp - 0x2ff0]
push eax
mov ecx, dword [ebp - 0x3038]
call fcn.0044ba40
mov ecx, dword [ebp - 0x3038]
add ecx, 0x228
mov dword [ebp - 0x3054], ecx
push 0
mov ecx, dword [ebp - 0x3054]
call fcn.00442930
movsx edx, byte [eax]
test edx, edx
jne 0x44b15b
mov eax, 1
imul ecx, eax, 0
movsx edx, byte [ebp + ecx - 0x4f8]
push edx
call fcn.0065f9b0
add esp, 4
test eax, eax
jne 0x44b0bd
mov eax, 1
imul ecx, eax, 0x13
movsx edx, byte [ebp + ecx - 0x4f8]
push edx
call fcn.0065f9b0
add esp, 4
test eax, eax
je 0x44b15b
lea eax, [ebp - 0x4f8]
push eax
lea ecx, [ebp - 0x302c]
call fcn.00442b10
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x8e0]
push ecx
lea ecx, [ebp - 0x3014]
call fcn.00442b10
mov byte [ebp - 4], 1
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x3058], esp
lea edx, [ebp - 0x302c]
push edx
call fcn.00442ba0
mov dword [ebp - 0x305c], eax
mov byte [ebp - 4], 2
sub esp, 0x18
mov ecx, esp
mov dword [ebp - 0x3060], esp
lea eax, [ebp - 0x3014]
push eax
call fcn.00442ba0
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x3038]
call fcn.0044b930
mov byte [ebp - 0x302d], 1
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x3014]
call fcn.00442a70
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x302c]
call fcn.00442a70
mov ecx, dword [ebp - 0x303c]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x302d]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00616d7d
mov esp, ebp
pop ebp
ret