Function at 0x48cc20
Capabilities:
Get storage device properties

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493dc3
mov eax, dword fs:[0]
push eax
push ecx
sub esp, 0x5c
mov eax, dword [0x4ae248]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x3c], reloc.NETAPI32.dll_NetApiBufferFree
mov byte [ebp - 0x31], 0
mov ecx, dword [ebp + 0xc]
call fcn.00489fd0
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
call fcn.00430080
push 0
push 0
push 3
push 0
push 3
push 0
mov ecx, dword [ebp + 0xc]
call fcn.0041f110
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 0xffffffff
jne 0x48cc99
xor al, al
jmp 0x48ceff
mov dword [ebp - 0x30], 0
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 0x24], ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x38], 0
push 0
lea edx, [ebp - 0x40]
push edx
push 0x18
lea eax, [ebp - 0x30]
push eax
push 0
push 0
push 0x70000
mov ecx, dword [ebp - 0x3c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0
je 0x48cef2
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 0x28]
mov dword [edx + 0x8c], eax
push 0xc
push 0
lea ecx, [ebp - 0x4c]
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0x4c], 0
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x50], 0xa000
mov dword [ebp - 0x54], 0
mov dword [ebp - 4], 0
push 0xa000
call fcn.004928c4
add esp, 4
mov dword [ebp - 0x6c], eax
mov edx, dword [ebp - 0x6c]
mov dword [ebp - 0x64], edx
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x54], eax
jmp 0x48cd5b
mov dword [ebp - 4], reloc.NETAPI32.dll_NetApiBufferFree
jmp 0x48cd69
push 0xa000
push 0
mov ecx, dword [ebp - 0x54]
push ecx
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0x58], 0
push 0
lea edx, [ebp - 0x58]
push edx
push 0x9fff
mov eax, dword [ebp - 0x54]
push eax
push 0xc
lea ecx, [ebp - 0x4c]
push ecx
push 0x2d1400
mov edx, dword [ebp - 0x3c]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x48ce7a
mov eax, dword [ebp - 0x54]
mov byte [eax + 0x9fff], 0
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x5c], ecx
mov edx, dword [ebp - 0x5c]
cmp dword [edx + 0x10], 0
je 0x48cde9
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x10], 0xa000
jae 0x48cde9
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x54]
add edx, dword [ecx + 0x10]
push edx
mov ecx, dword [ebp + 0xc]
add ecx, 0x38
call fcn.00415840
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x18], 0
je 0x48ce13
mov ecx, dword [ebp - 0x5c]
cmp dword [ecx + 0x18], 0xa000
jae 0x48ce13
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 0x54]
add eax, dword [edx + 0x18]
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x1c
call fcn.00415840
mov ecx, dword [ebp - 0x5c]
cmp dword [ecx + 0xc], 0
je 0x48ce3d
mov edx, dword [ebp - 0x5c]
cmp dword [edx + 0xc], 0xa000
jae 0x48ce3d
mov eax, dword [ebp - 0x5c]
mov ecx, dword [ebp - 0x54]
add ecx, dword [eax + 0xc]
push ecx
mov ecx, dword [ebp + 0xc]
add ecx, 0x54
call fcn.00415840
mov edx, dword [ebp - 0x5c]
cmp dword [edx + 0x14], 0
je 0x48ce67
mov eax, dword [ebp - 0x5c]
cmp dword [eax + 0x14], 0xa000
jae 0x48ce67
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ebp - 0x54]
add edx, dword [ecx + 0x14]
push edx
mov ecx, dword [ebp + 0xc]
add ecx, 0x70
call fcn.00415840
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x5c]
mov edx, dword [ecx + 0x1c]
mov dword [eax + 0x90], edx
mov byte [ebp - 0x31], 1
push 0xa000
push 0
mov eax, dword [ebp - 0x54]
push eax
call sub.MSVCR100.dll_memset
add esp, 0xc
mov dword [ebp - 0x58], 0
push 0
lea ecx, [ebp - 0x58]
push ecx
push 0x9fff
mov edx, dword [ebp - 0x54]
push edx
push 0
push 0
push 0x2d0c10
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x48cee0
mov ecx, dword [ebp - 0x54]
mov byte [ecx + 0x9fff], 0
lea edx, [ebp - 0x54]
mov dword [ebp - 0x60], edx
mov eax, dword [ebp - 0x60]
add eax, 0x10
push eax
mov ecx, dword [ebp + 0xc]
add ecx, 0x1c
call fcn.00415840
mov byte [ebp - 0x31], 1
mov ecx, dword [ebp - 0x54]
mov dword [ebp - 0x68], ecx
mov edx, dword [ebp - 0x68]
push edx
call sub.MSVCR100.dll_void___cdecl_operator_delete___void__
add esp, 4
mov eax, dword [ebp - 0x3c]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x31]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00492cee
mov esp, ebp
pop ebp
ret