Function at 0x10104a70
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1012e6ce
mov eax, dword fs:[0]
push eax
sub esp, 0x70
mov eax, dword [0x1015e074]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38], 0
lea ecx, [ebp - 0x34]
call fcn.10003a50
mov dword [ebp - 4], 0
push 0
push 0
push 3
push 0
push 3
push 0
push str..PhysicalDrive0
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 0xffffffff
jne 0x10104af6
mov ecx, dword [ebp + 8]
call fcn.10003a50
mov eax, dword [ebp - 0x38]
or eax, 1
mov dword [ebp - 0x38], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10003900
mov eax, dword [ebp + 8]
jmp 0x10104d06
xor ecx, ecx
mov byte [ebp - 0x39], cl
lea ecx, [ebp - 0x39]
call fcn.10073660
mov dword [ebp - 0x68], eax
lea edx, [ebp - 0x68]
push edx
mov eax, dword [ebp - 0x50]
push eax
lea ecx, [ebp - 0x4c]
call fcn.10073a90
mov byte [ebp - 4], 1
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x5c], 0
push 0
lea ecx, [ebp - 0x5c]
push ecx
push 8
lea edx, [ebp - 0x7c]
push edx
push 0xc
lea eax, [ebp - 0x1c]
push eax
push 0x2d1400
lea ecx, [ebp - 0x4c]
call fcn.100418b0
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10104b8d
mov ecx, dword [ebp + 8]
call fcn.10003a50
mov ecx, dword [ebp - 0x38]
or ecx, 1
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.100736f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10003900
mov eax, dword [ebp + 8]
jmp 0x10104d06
mov edx, dword [ebp - 0x78]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x54], eax
mov ecx, dword [ebp - 0x54]
push ecx
call fcn.10089eb8
add esp, 4
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
je 0x10104bc8
mov edx, dword [ebp - 0x54]
push edx
push 0
mov eax, dword [ebp - 0x44]
push eax
call fcn.1008ba20
add esp, 0xc
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x58], ecx
jmp 0x10104bcf
mov dword [ebp - 0x58], 0
mov edx, dword [ebp - 0x58]
push edx
lea ecx, [ebp - 0x40]
call fcn.1001b0a0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x40]
call fcn.1001ac20
mov dword [ebp - 0x6c], eax
lea ecx, [ebp - 0x4c]
call fcn.100418b0
mov dword [ebp - 0x70], eax
push 0
lea eax, [ebp - 0x5c]
push eax
mov ecx, dword [ebp - 0x60]
push ecx
mov edx, dword [ebp - 0x6c]
push edx
push 0xc
lea eax, [ebp - 0x1c]
push eax
push 0x2d1400
mov ecx, dword [ebp - 0x70]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x10104c5c
mov ecx, dword [ebp + 8]
call fcn.10003a50
mov edx, dword [ebp - 0x38]
or edx, 1
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.100736b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.100736f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10003900
mov eax, dword [ebp + 8]
jmp 0x10104d06
lea ecx, [ebp - 0x40]
call fcn.1001ac20
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x64], ecx
cmp dword [ebp - 0x64], 0
jne 0x10104cb3
mov ecx, dword [ebp + 8]
call fcn.10003a50
mov edx, dword [ebp - 0x38]
or edx, 1
mov dword [ebp - 0x38], edx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.100736b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.100736f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10003900
mov eax, dword [ebp + 8]
jmp 0x10104d06
lea ecx, [ebp - 0x40]
call fcn.1001ac20
add eax, dword [ebp - 0x64]
push eax
lea ecx, [ebp - 0x34]
call fcn.1000ced0
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003950
mov ecx, dword [ebp - 0x38]
or ecx, 1
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x40]
call fcn.100736b0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x4c]
call fcn.100736f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x34]
call fcn.10003900
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10089497
mov esp, ebp
pop ebp
ret