Function at 0x10002e80
Capabilities:
Get disk information via ioctl
Get storage device properties
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x100054cb
mov eax, dword fs:[0]
push eax
sub esp, 0xa70
mov eax, dword [0x10008008]
xor eax, esp
mov dword [esp + 0xa68], eax
push ebx
push esi
push edi
mov eax, dword [0x10008008]
xor eax, esp
push eax
lea eax, [esp + 0xa80]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
xor ebx, ebx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x24], ebx
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x30], ebx
push 0x208
mov dword [esp + 0xa8c], ebx
xor eax, eax
lea ecx, [esp + 0x70]
push ebx
push ecx
mov dword [esp + 0x6c], eax
mov dword [esp + 0x70], eax
mov dword [esp + 0x74], eax
mov dword [esp + 0x24], ebx
call sub.msvcrt.dll_memset
push 0x400
lea edx, [esp + 0x284]
push ebx
push edx
call sub.msvcrt.dll_memset
push 0x400
lea eax, [esp + 0x690]
push ebx
push eax
call sub.msvcrt.dll_memset
xor eax, eax
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], eax
add esp, 0x24
lea ecx, [esp + 0x24]
mov dword [esp + 0x5c], eax
mov dword [esp + 0x54], ebx
mov dword [esp + 0x58], ebx
call fcn.10002650
test eax, eax
je 0x100030cf
lea eax, [ebx + 0xe]
call fcn.10001000
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.10002550
mov edx, dword [esp + 0x38]
movzx ecx, word [edx]
mov eax, dword [eax + 0x10]
push ecx
push eax
lea edx, [esp + 0x78]
push 0x104
push edx
call fcn.10003945
add esp, 0x14
cmp eax, 0xffffffff
lea esi, [esp + 0x3c]
sete byte [esp + 0x17]
call fcn.10002340
cmp byte [esp + 0x17], bl
jne 0x100030cf
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea eax, [esp + 0x84]
push eax
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100030cf
mov edi, dword [sym.imp.KERNEL32.DLL_DeviceIoControl]
push ebx
lea ecx, [esp + 0x1c]
push ecx
push 0xc
lea edx, [esp + 0x6c]
push edx
push ebx
push ebx
push 0x2d1080
push esi
call edi
test eax, eax
je 0x100030c8
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea eax, [ebx + 0xf]
mov dword [esp + 0x18], ebx
call fcn.10001000
lea ecx, [esp + 0x3c]
push ecx
mov ecx, eax
call fcn.10002550
mov edx, dword [esp + 0x68]
mov eax, dword [eax + 0x10]
push edx
push eax
lea eax, [esp + 0x78]
push 0x104
push eax
call fcn.10003945
add esp, 0x14
cmp eax, 0xffffffff
lea esi, [esp + 0x3c]
sete byte [esp + 0x17]
call fcn.10002340
cmp byte [esp + 0x17], bl
jne 0x100030cf
push ebx
push ebx
push 3
push ebx
push 3
push ebx
lea ecx, [esp + 0x84]
push ecx
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x100030cf
push ebx
lea edx, [esp + 0x1c]
push edx
push 0x400
lea eax, [esp + 0x280]
push eax
push 0xc
lea ecx, [esp + 0x68]
push ecx
push 0x2d1400
push esi
call edi
test eax, eax
je 0x100030c8
mov eax, dword [esp + 0x284]
lea edi, [esp + 0x674]
lea ecx, [esp + 0x274]
call fcn.10002d30
mov edx, edi
push edx
call dword [sym.imp.msvcrt.dll__strlwr]
mov ecx, dword [esp + 0x24]
push 0x2d
mov eax, edi
push eax
push 0x2e
push ecx
call fcn.10003828
add esp, 0x14
mov dword [esp + 0x1c], 1
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
lea esi, [esp + 0x24]
mov dword [esp + 0xa88], 0xffffffff
call fcn.10002340
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0xa80]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xa68]
xor ecx, esp
call fcn.100037b0
mov esp, ebp
pop ebp
ret