Function at 0x1011c7f0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10206070
push 0x1019ab20
mov eax, dword fs:[0]
push eax
add esp, 0xfffffea4
mov eax, dword [0x1020b06c]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov dword [ebp - 0x16c], ecx
mov eax, dword [ebp + 8]
push eax
push str..PhysicalDrive_d
lea ecx, [ebp - 0x120]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0
lea edx, [ebp - 0x120]
push edx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0xffffffff
jne 0x1011c877
xor al, al
jmp 0x1011cb36
xor eax, eax
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x124], eax
xor ecx, ecx
mov dword [ebp - 0x138], ecx
mov dword [ebp - 0x134], ecx
mov dword [ebp - 0x12c], 0
mov dword [ebp - 0x128], 0
push 0
lea edx, [ebp - 0x130]
push edx
push 8
lea eax, [ebp - 0x138]
push eax
push 0xc
lea ecx, [ebp - 0x12c]
push ecx
push 0x2d1400
mov edx, dword [ebp - 0x140]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1011c8f2
mov eax, dword [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1011cb36
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.1014d816
add esp, 4
mov dword [ebp - 0x158], eax
mov edx, dword [ebp - 0x158]
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x134]
push eax
push 0
mov ecx, dword [ebp - 0x13c]
push ecx
call fcn.1019bb90
add esp, 0xc
push 0
lea edx, [ebp - 0x130]
push edx
mov eax, dword [ebp - 0x134]
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
push 0xc
lea edx, [ebp - 0x12c]
push edx
push 0x2d1400
mov eax, dword [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1011c9bb
mov ecx, dword [ebp - 0x140]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x148], edx
mov eax, dword [ebp - 0x148]
push eax
call fcn.1014d811
add esp, 4
cmp dword [ebp - 0x148], 0
jne 0x1011c99e
mov dword [ebp - 0x15c], 0
jmp 0x1011c9b4
mov dword [ebp - 0x13c], 0x8123
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x15c], ecx
xor al, al
jmp 0x1011cb36
mov edx, dword [ebp - 0x13c]
cmp dword [edx + 0x18], 0
jne 0x1011ca21
mov eax, dword [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x14c], ecx
mov edx, dword [ebp - 0x14c]
push edx
call fcn.1014d811
add esp, 4
cmp dword [ebp - 0x14c], 0
jne 0x1011ca04
mov dword [ebp - 0x160], 0
jmp 0x1011ca1a
mov dword [ebp - 0x13c], 0x8123
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x160], eax
xor al, al
jmp 0x1011cb36
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x13c]
mov edx, dword [ebp - 0x13c]
add edx, dword [ecx + 0x18]
push edx
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.101ac855
add esp, 0xc
mov edx, dword [ebp - 0x140]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x150], eax
mov ecx, dword [ebp - 0x150]
push ecx
call fcn.1014d811
add esp, 4
cmp dword [ebp - 0x150], 0
jne 0x1011ca85
mov dword [ebp - 0x164], 0
jmp 0x1011ca9b
mov dword [ebp - 0x13c], 0x8123
mov edx, dword [ebp - 0x13c]
mov dword [ebp - 0x164], edx
mov byte [ebp - 0x141], 1
mov dword [ebp - 4], 0xfffffffe
mov al, byte [ebp - 0x141]
jmp 0x1011cb36
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1014d1c5
mov esp, ebp
pop ebp
ret 0xc