Function at 0x10027400
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3124
call fcn.10092490
mov eax, dword [0x10117d48]
xor eax, ebp
mov dword [ebp - 0xc], eax
mov dword [ebp - 8], 0
mov dword [ebp - 4], 0
mov dword [ebp - 4], 0
jmp 0x10027437
mov eax, dword [ebp - 4]
add eax, 1
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0x10
jge 0x10027685
mov dword [ebp - 0x214], 0
mov ecx, dword [ebp - 4]
push ecx
push str..PhysicalDrive_d
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
push 0
push 0
push 3
push 0
push 1
push 0
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0xffffffff
jne 0x100274ad
lea ecx, [ebp - 0x210]
push ecx
push str.ReadPhysicalDriveInNTWithZeroRights___CreateFile__ws__failed
push 1
call fcn.100b1bb0
push eax
call fcn.100b2460
add esp, 0x10
jmp 0x10027680
mov dword [ebp - 0x2934], 0
xor edx, edx
mov dword [ebp - 0x220], edx
mov dword [ebp - 0x21c], edx
mov dword [ebp - 0x218], edx
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
push 0x2710
push 0
lea eax, [ebp - 0x2930]
push eax
call fcn.10092830
add esp, 0xc
push 0
lea ecx, [ebp - 0x2934]
push ecx
push 0x2710
lea edx, [ebp - 0x2930]
push edx
push 0xc
lea eax, [ebp - 0x220]
push eax
push 0x2d1400
mov ecx, dword [ebp - 0x214]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x10027644
lea edx, [ebp - 0x2930]
mov dword [ebp - 0x2d24], edx
push 0x3e8
push 0
lea eax, [ebp - 0x3110]
push eax
call fcn.10092830
add esp, 0xc
push 0x3e8
push 0
lea ecx, [ebp - 0x2d20]
push ecx
call fcn.10092830
add esp, 0xc
lea edx, [ebp - 0x2d20]
push edx
push 0
mov eax, dword [ebp - 0x2d24]
mov ecx, dword [eax + 0x10]
push ecx
lea edx, [ebp - 0x2930]
push edx
call fcn.10027140
add esp, 0x10
lea eax, [ebp - 0x2d20]
push eax
call fcn.10027070
add esp, 4
lea ecx, [ebp - 0x3110]
push ecx
push 0
mov edx, dword [ebp - 0x2d24]
mov eax, dword [edx + 0x18]
push eax
lea ecx, [ebp - 0x2930]
push ecx
call fcn.10027140
add esp, 0x10
lea edx, [ebp - 0x3110]
mov dword [ebp - 0x3118], edx
mov eax, dword [ebp - 0x3118]
add eax, 1
mov dword [ebp - 0x311c], eax
mov ecx, dword [ebp - 0x3118]
mov dl, byte [ecx]
mov byte [ebp - 0x311d], dl
add dword [ebp - 0x3118], 1
cmp byte [ebp - 0x311d], 0
jne 0x100275d3
mov eax, dword [ebp - 0x3118]
sub eax, dword [ebp - 0x311c]
mov dword [ebp - 0x3124], eax
mov ecx, dword [ebp - 0x3124]
push ecx
lea edx, [ebp - 0x3110]
push edx
call fcn.100273a0
add esp, 8
lea eax, [ebp - 0x3110]
push eax
call fcn.10027070
add esp, 4
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0x2d20]
push edx
lea eax, [ebp - 0x3110]
push eax
call fcn.10026c40
add esp, 0xc
jmp 0x10027673
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x3114], eax
mov ecx, dword [ebp - 0x3114]
push ecx
lea edx, [ebp - 0x210]
push edx
push str.ReadPhysicalDriveInNTWithZeroRights___DeviceIoControl_1__ws__failed:_d
push 1
call fcn.100b1bb0
push eax
call fcn.100b2460
add esp, 0x14
mov eax, dword [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x1002742e
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.1008efb4
mov esp, ebp
pop ebp
ret