Function at 0x1003bbe0
Capabilities:
Get volume information via ioctl

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1020a558
push 0x1018d616
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x10223008]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x20], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x9c], edx
mov dword [ebp - 0x94], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x90], eax
mov dword [ebp - 0xa4], 0
mov dword [ebp - 0x24], 0
push 0x60
push 0
lea eax, [ebp - 0x8c]
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
xorps xmm0, xmm0
movq qword [ebp - 0x2c], xmm0
xor esi, esi
xor eax, eax
mov dword [ebp - 0xa0], eax
xor edi, edi
mov dword [ebp - 0x98], edi
mov dword [ebp - 4], eax
push edi
mov ebx, dword [sym.imp.KERNEL32.dll_SetLastError]
call ebx
mov ecx, dword [ebp - 0x94]
call fcn.1003ae10
test eax, eax
jne 0x1003be12
mov ecx, dword [ebp - 0x9c]
call fcn.1003aee0
test eax, eax
jne 0x1003be12
push 4
push dword [ebp - 0x90]
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
jne 0x1003be12
push 4
push dword [ebp - 0x90]
call dword [sym.imp.KERNEL32.dll_IsBadWritePtr]
test eax, eax
jne 0x1003be12
mov eax, dword [ebp - 0x90]
mov dword [eax], edi
mov eax, dword [ebp - 0x94]
cmp dword [eax + 0x40], 1
je 0x1003bce2
push 0x32
jmp 0x1003be14
push 0
lea ecx, [ebp - 0x24]
push ecx
push 0x60
lea ecx, [ebp - 0x8c]
push ecx
push 0
push 0
push 0x90064
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1003be16
mov eax, dword [ebp - 0x5c]
add eax, 0xf
mov dword [ebp - 0xa8], eax
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ecx, eax
mov dword [ebp - 0xac], ecx
test ecx, ecx
jne 0x1003bd39
push 0xe
jmp 0x1003be14
mov edx, dword [ebp - 0x9c]
mov eax, dword [edx + 0x18]
mov dword [ebp - 0x2c], eax
mov eax, dword [edx + 0x1c]
mov dword [ebp - 0x28], eax
push 0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0xa8]
push ecx
push 8
lea eax, [ebp - 0x2c]
push eax
push 0x90068
mov eax, dword [ebp - 0x94]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x1003be16
mov eax, dword [ebp - 0xac]
add eax, 0xc
movzx ecx, word [eax + 0x14]
add ecx, eax
mov dword [ebp - 0xb0], ecx
mov edx, dword [eax + 0x18]
add edx, eax
cmp ecx, edx
jae 0x1003bdbb
cmp dword [ecx], 0x80
jne 0x1003bdb0
mov eax, dword [ecx + 0x10]
mov dword [ebp - 0xa0], eax
movzx esi, word [ecx + 0x14]
add esi, ecx
jmp 0x1003bdbd
add ecx, dword [ecx + 4]
mov dword [ebp - 0xb0], ecx
jmp 0x1003bd93
xor eax, eax
test esi, esi
je 0x1003be16
test eax, eax
je 0x1003be16
add eax, 4
push eax
push 8
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
mov dword [ebp - 0x98], edi
test edi, edi
je 0x1003bd32
mov eax, dword [ebp - 0xa0]
mov dword [edi], eax
push eax
push esi
lea eax, [edi + 4]
push eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
mov eax, dword [ebp - 0x90]
mov dword [eax], edi
mov dword [ebp - 0xa4], 1
jmp 0x1003be16
push 0x57
call ebx
mov dword [ebp - 4], 0xfffffffe
call fcn.1003be4e
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.1018d5a4
mov esp, ebp
pop ebp
ret 4