Function at 0x1011b9f0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x10204eb8
push 0x10199d60
mov eax, dword fs:[0]
push eax
add esp, 0xfffffea4
mov eax, dword [0x1020a06c]
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 0x1011ba77
xor al, al
jmp 0x1011bd36
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 0x1011baf2
mov eax, dword [ebp - 0x140]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x1011bd36
mov ecx, dword [ebp - 0x134]
push ecx
call fcn.1014c922
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.1019aa40
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 0x1011bbbb
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.1014c91d
add esp, 4
cmp dword [ebp - 0x148], 0
jne 0x1011bb9e
mov dword [ebp - 0x15c], 0
jmp 0x1011bbb4
mov dword [ebp - 0x13c], 0x8123
mov ecx, dword [ebp - 0x13c]
mov dword [ebp - 0x15c], ecx
xor al, al
jmp 0x1011bd36
mov edx, dword [ebp - 0x13c]
cmp dword [edx + 0x18], 0
jne 0x1011bc21
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.1014c91d
add esp, 4
cmp dword [ebp - 0x14c], 0
jne 0x1011bc04
mov dword [ebp - 0x160], 0
jmp 0x1011bc1a
mov dword [ebp - 0x13c], 0x8123
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0x160], eax
xor al, al
jmp 0x1011bd36
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.101ab965
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.1014c91d
add esp, 4
cmp dword [ebp - 0x150], 0
jne 0x1011bc85
mov dword [ebp - 0x164], 0
jmp 0x1011bc9b
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 0x1011bd36
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.1014c2d1
mov esp, ebp
pop ebp
ret 0xc