Function at 0x1000df00
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x37f4
call fcn.100440d0
mov eax, dword [0x1008bb60]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
jmp 0x1000df37
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x10
jge 0x1000e1b9
mov dword [ebp - 0x114], 0
mov ecx, dword [ebp - 4]
push ecx
push str..PhysicalDrive_d
lea edx, [ebp - 0x110]
push edx
call fcn.10041cb1
add esp, 0xc
push 0
push 0
push 3
push 0
push 3
push 0
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0xffffffff
jne 0x1000df90
jmp 0x1000e1b4
mov dword [ebp - 0x2834], 0
push 0xc
push 0
lea ecx, [ebp - 0x120]
push ecx
call fcn.10041d70
add esp, 0xc
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x11c], 0
push 0x2710
push 0
lea edx, [ebp - 0x2830]
push edx
call fcn.10041d70
add esp, 0xc
push 0
lea eax, [ebp - 0x2834]
push eax
push 0x2710
lea ecx, [ebp - 0x2830]
push ecx
push 0xc
lea edx, [ebp - 0x120]
push edx
push 0x2d1400
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1000e19b
lea ecx, [ebp - 0x2830]
mov dword [ebp - 0x300c], ecx
lea edx, [ebp - 0x33f8]
push edx
push 0
mov eax, dword [ebp - 0x300c]
mov ecx, dword [eax + 0xc]
push ecx
lea edx, [ebp - 0x2830]
push edx
call fcn.1000dc00
add esp, 0x10
lea eax, [ebp - 0x3008]
push eax
push 0
mov ecx, dword [ebp - 0x300c]
mov edx, dword [ecx + 0x10]
push edx
lea eax, [ebp - 0x2830]
push eax
call fcn.1000dc00
add esp, 0x10
lea ecx, [ebp - 0x2c20]
push ecx
push 0
mov edx, dword [ebp - 0x300c]
mov eax, dword [edx + 0x14]
push eax
lea ecx, [ebp - 0x2830]
push ecx
call fcn.1000dc00
add esp, 0x10
lea edx, [ebp - 0x37e0]
push edx
push 1
mov eax, dword [ebp - 0x300c]
mov ecx, dword [eax + 0x18]
push ecx
lea edx, [ebp - 0x2830]
push edx
call fcn.1000dc00
add esp, 0x10
push 0
mov ecx, 0x1008d38c
call fcn.1000f330
movsx eax, byte [eax]
test eax, eax
jne 0x1000e119
movsx ecx, byte [ebp - 0x37e0]
push ecx
call fcn.100454fe
add esp, 4
test eax, eax
jne 0x1000e0de
movsx edx, byte [ebp - 0x37cd]
push edx
call fcn.100454fe
add esp, 4
test eax, eax
je 0x1000e119
lea eax, [ebp - 0x37e0]
push eax
mov ecx, 0x1008d38c
call fcn.10025f80
push eax
call fcn.10041df0
add esp, 8
lea ecx, [ebp - 0x3008]
push ecx
mov ecx, 0x1008d390
call fcn.10025f80
push eax
call fcn.10041df0
add esp, 8
mov dword [ebp - 8], 1
push 0x2710
push 0
lea edx, [ebp - 0x2830]
push edx
call fcn.10041d70
add esp, 0xc
push 0
lea eax, [ebp - 0x2834]
push eax
push 0x2710
lea ecx, [ebp - 0x2830]
push ecx
push 0
push 0
push 0x700a0
mov edx, dword [ebp - 0x114]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1000e160
jmp 0x1000e199
lea eax, [ebp - 0x2830]
mov dword [ebp - 0x37ec], eax
mov ecx, dword [ebp - 0x37ec]
xor edx, edx
cmp dword [ecx + 8], 0xc
sete dl
mov dword [ebp - 0x37f0], edx
mov eax, dword [ebp - 0x37ec]
mov ecx, dword [eax + 0x18]
mov dword [ebp - 0x37e8], ecx
mov edx, dword [eax + 0x1c]
mov dword [ebp - 0x37e4], edx
jmp 0x1000e1a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x37f4], eax
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1000df2e
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.10041acb
mov esp, ebp
pop ebp
ret