Function at 0x1003ab27
Capabilities:
Get storage device properties

Disassembly:
mov eax, 0x10093f68
call fcn.1006d4b8
sub esp, 0x40
push ebx
xor ebx, ebx
mov dword [ebp - 0x38], 0xf
push esi
mov dword [ebp - 0x4c], ebx
push edi
mov dword [ebp - 0x3c], ebx
mov byte [ebp - 0x4c], bl
push ebx
push ebx
push 3
push ebx
push 3
push ebx
push 0x100a3e1c
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x1003abb2
mov esi, dword [ebp + 8]
mov eax, dword [ebp - 0x38]
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
cmp eax, 0x10
jb 0x1003ad42
mov ecx, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x14], ecx
cmp eax, 0x1000
jb 0x1003ad39
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
call fcn.10004486
mov eax, dword [ebp - 0x10]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x14]
jmp 0x1003ad39
mov dword [ebp - 0x20], 0x10039e14
mov dword [ebp - 0x1c], edi
push ebx
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 1
push eax
push 8
lea eax, [ebp - 0x28]
mov dword [ebp - 0x34], ebx
push eax
push 9
lea eax, [ebp - 0x34]
mov dword [ebp - 0x30], ebx
push eax
push 0x2d1400
push edi
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1003ac00
mov esi, dword [ebp + 8]
mov dword [esi], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], 0xf
mov byte [esi], bl
jmp 0x1003ad00
mov esi, dword [ebp - 0x24]
push esi
call fcn.1006d25c
mov ebx, eax
pop ecx
test ebx, ebx
je 0x1003ac1e
push esi
push 0
push ebx
call fcn.1006fb00
add esp, 0xc
jmp 0x1003ac20
xor ebx, ebx
mov dword [ebp - 0x14], ebx
push 0
lea eax, [ebp - 0x18]
mov byte [ebp - 4], 3
push eax
push esi
push ebx
push 9
lea eax, [ebp - 0x34]
push eax
push 0x2d1400
push edi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
jne 0x1003ac66
mov esi, dword [ebp + 8]
mov dword [esi], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
test ebx, ebx
je 0x1003ac61
push ebx
call fcn.1006d2a8
pop ecx
jmp 0x1003ad00
mov eax, dword [ebx + 0x18]
test eax, eax
jne 0x1003ac87
mov esi, dword [ebp + 8]
push ebx
mov dword [esi], eax
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0xf
mov byte [esi], al
call fcn.1006d2a8
pop ecx
jmp 0x1003ad00
lea edx, [ebx + eax]
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x1003ac8f
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x4c]
call fcn.10004d3f
cmp dword [ebp - 0x38], 0x10
lea esi, [ebp - 0x4c]
lea eax, [ebp - 0x4c]
cmovae esi, dword [ebp - 0x4c]
lea ecx, [ebp - 0x4c]
add esi, dword [ebp - 0x3c]
cmp dword [ebp - 0x38], 0x10
push fcn.1007c860
cmovae eax, dword [ebp - 0x4c]
add eax, dword [ebp - 0x3c]
cmp dword [ebp - 0x38], 0x10
push eax
cmovae ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x10]
push ecx
push eax
call fcn.1003a211
add esp, 0x10
lea ecx, [ebp - 0x4c]
push esi
push dword [eax]
lea eax, [ebp - 0x14]
push eax
call fcn.10041a12
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x4c]
push eax
mov ecx, esi
call fcn.10002563
push ebx
call fcn.1006d2a8
pop ecx
test edi, edi
je 0x1003ad0b
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x38]
cmp eax, 0x10
jb 0x1003ad42
mov ecx, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x10], ecx
mov dword [ebp - 0x14], eax
cmp eax, 0x1000
jb 0x1003ad39
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10004486
mov eax, dword [ebp - 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x10]
push eax
push ecx
call fcn.1006d29a
pop ecx
pop ecx
mov ecx, dword [ebp - 0xc]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret