Function at 0x100a41a0
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd48
mov eax, dword [0x102683e0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
mov ebx, dword [ebp + 8]
xor al, al
push esi
push edi
mov edi, edx
mov byte [ebp - 0xd1d], al
mov esi, ecx
mov dword [ebp - 0xd28], 0
nop
test al, al
jne 0x100a44d9
push 0x200
lea eax, [ebp - 0x50c]
push 0
push eax
call fcn.101a01b0
push dword [ebp - 0xd28]
lea eax, [ebp - 0x50c]
push str..PhysicalDrive_d
push 0xffffffffffffffff
push 0xff
push eax
call fcn.101a197d
add esp, 0x20
lea eax, [ebp - 0x50c]
push 0
push 0
push 3
push 0
push 3
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xd2c], eax
cmp eax, 0xffffffff
je 0x100a44bd
push 0x800
xorps xmm0, xmm0
mov dword [ebp - 0xd10], 0
lea eax, [ebp - 0xd0c]
movq qword [ebp - 0xd1c], xmm0
push 0
push eax
mov dword [ebp - 0xd14], 0
mov dword [ebp - 0xd1c], 0
mov dword [ebp - 0xd18], 0
call fcn.101a01b0
add esp, 0xc
lea eax, [ebp - 0xd10]
push 0
push eax
push 0x800
lea eax, [ebp - 0xd0c]
push eax
push 0xc
lea eax, [ebp - 0xd1c]
push eax
push 0x2d1400
push dword [ebp - 0xd2c]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x100a44ab
push 0xff
lea eax, [ebp - 0x10b]
mov byte [ebp - 0x10c], 0
push 0
push eax
call fcn.101a01b0
push 0xff
lea eax, [ebp - 0x20b]
mov byte [ebp - 0x20c], 0
push 0
push eax
call fcn.101a01b0
push 0xff
lea eax, [ebp - 0x30b]
mov byte [ebp - 0x30c], 0
push 0
push eax
call fcn.101a01b0
mov edx, dword [ebp - 0xcfc]
lea eax, [ebp - 0x20c]
push eax
push 0
lea ecx, [ebp - 0xd0c]
call fcn.100a3b30
mov edx, dword [ebp - 0xcf8]
lea eax, [ebp - 0x30c]
push eax
push 0
lea ecx, [ebp - 0xd0c]
call fcn.100a3b30
mov edx, dword [ebp - 0xcf4]
lea eax, [ebp - 0x10c]
push eax
push 1
lea ecx, [ebp - 0xd0c]
call fcn.100a3b30
movsx eax, byte [ebp - 0x10c]
push eax
call fcn.101a94a0
add esp, 0x40
test eax, eax
jne 0x100a437c
movsx eax, byte [ebp - 0xf9]
push eax
call fcn.101a94a0
add esp, 4
test eax, eax
je 0x100a44b1
lea eax, [ebp - 0x10c]
push eax
lea ecx, [ebp - 0xd44]
call fcn.10003120
mov dword [ebp - 0xd24], eax
cmp esi, eax
je 0x100a43c7
cmp dword [esi + 0x14], 0x10
jb 0x100a43ae
push dword [esi]
call fcn.101a02f0
mov eax, dword [ebp - 0xd24]
add esp, 4
mov dword [esi + 0x14], 0xf
mov ecx, esi
mov dword [esi + 0x10], 0
push eax
mov byte [esi], 0
call fcn.1000f160
cmp dword [ebp - 0xd30], 0x10
jb 0x100a43de
push dword [ebp - 0xd44]
call fcn.101a02f0
add esp, 4
lea eax, [ebp - 0x20c]
push eax
lea ecx, [ebp - 0xd44]
call fcn.10003120
mov dword [ebp - 0xd24], eax
cmp edi, eax
je 0x100a4429
cmp dword [edi + 0x14], 0x10
jb 0x100a4410
push dword [edi]
call fcn.101a02f0
mov eax, dword [ebp - 0xd24]
add esp, 4
mov dword [edi + 0x14], 0xf
mov ecx, edi
mov dword [edi + 0x10], 0
push eax
mov byte [edi], 0
call fcn.1000f160
cmp dword [ebp - 0xd30], 0x10
jb 0x100a4440
push dword [ebp - 0xd44]
call fcn.101a02f0
add esp, 4
lea eax, [ebp - 0x30c]
push eax
lea ecx, [ebp - 0xd44]
call fcn.10003120
mov dword [ebp - 0xd24], eax
cmp ebx, eax
je 0x100a448b
cmp dword [ebx + 0x14], 0x10
jb 0x100a4472
push dword [ebx]
call fcn.101a02f0
mov eax, dword [ebp - 0xd24]
add esp, 4
mov dword [ebx + 0x14], 0xf
mov ecx, ebx
mov dword [ebx + 0x10], 0
push eax
mov byte [ebx], 0
call fcn.1000f160
cmp dword [ebp - 0xd30], 0x10
jb 0x100a44a2
push dword [ebp - 0xd44]
call fcn.101a02f0
add esp, 4
mov byte [ebp - 0xd1d], 1
jmp 0x100a44b1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0xd2c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xd28]
mov al, byte [ebp - 0xd1d]
inc ecx
mov dword [ebp - 0xd28], ecx
cmp ecx, 0x10
jl 0x100a41d0
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.101a0193
mov esp, ebp
pop ebp
ret