Function at 0x48b2f3
Capabilities:
Get common file path
Get disk information
Get disk size
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x514140
mov eax, dword fs:[0]
push eax
sub esp, 0xe88
mov eax, dword [0x5ff740]
xor eax, esp
mov dword [esp + 0xe80], eax
push ebx
push esi
push edi
mov eax, dword [0x5ff740]
xor eax, esp
push eax
lea eax, [esp + 0xe98]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x38], esi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov dword [esp + 0x34], eax
call fcn.004be6f3
push eax
lea ecx, [esp + 0x1c]
call fcn.004027f9
and dword [esp + 0xea0], 0
lea ecx, [esp + 0x18]
call fcn.00402639
xor eax, eax
push 0x206
push eax
mov word [esp + 0x8c], ax
lea eax, [esp + 0x8e]
push eax
call fcn.004e38a0
add esp, 0xc
push 0x104
lea eax, [esp + 0x88]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
lea eax, [esp + 0x28c]
push eax
lea eax, [esp + 0x490]
push eax
lea eax, [esp + 0x694]
push eax
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x94]
push eax
call fcn.004e0033
add esp, 0x14
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
call fcn.00402719
push 1
push dword [esp + 0x1c]
push str.system_driver
push esi
call fcn.00488adf
mov dword [esp + 0x14], 0x41
mov ebx, str._llu
mov ecx, dword [esp + 0x14]
xor eax, eax
add ecx, 0xffffffbf
inc eax
shl eax, cl
mov ecx, dword [esp + 0x34]
test ecx, eax
je 0x48b621
mov eax, dword [0x5c6e20]
mov dword [esp + 0x64], eax
mov eax, dword [0x5c6e24]
movzx ecx, word [esp + 0x14]
mov dword [esp + 0x68], eax
xor eax, eax
lea edi, [esp + 0x6c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov esi, 0x5c6e28
lea edi, [esp + 0x74]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
xor eax, eax
lea edi, [esp + 0x7a]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [esp + 0x64]
push eax
mov word [esp + 0x68], cx
mov word [esp + 0x78], cx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
je 0x48b45f
cmp eax, 2
jne 0x48b621
mov eax, 0x100
push eax
lea ecx, [esp + 0x490]
push ecx
xor esi, esi
push esi
push esi
push esi
push eax
lea eax, [esp + 0x2a4]
push eax
lea eax, [esp + 0x80]
push eax
call dword [sym.imp.KERNEL32.dll_GetVolumeInformationW]
cmp eax, esi
je 0x48b621
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x58]
push eax
push esi
lea eax, [esp + 0x70]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [esp + 0x54]
mov edx, dword [esp + 0x2c]
mov ecx, dword [esp + 0x58]
mov esi, eax
sub eax, dword [esp + 0x2c]
mov dword [esp + 0x3c], edx
mov edx, dword [esp + 0x30]
mov edi, ecx
sbb ecx, edx
mov dword [esp + 0x4c], eax
lea eax, [esp + 0x64]
mov dword [esp + 0x50], ecx
push eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x44], edx
call fcn.0040253b
mov byte [esp + 0xea0], 1
call fcn.004be6f3
push eax
lea ecx, [esp + 0x4c]
call fcn.004027f9
mov byte [esp + 0xea0], 2
call fcn.004be6f3
push eax
lea ecx, [esp + 0x24]
call fcn.004027f9
push edi
push esi
lea eax, [esp + 0x28]
push ebx
push eax
mov byte [esp + 0xeb0], 3
call fcn.00402a1d
add esp, 0x10
call fcn.004be6f3
push eax
lea ecx, [esp + 0x20]
call fcn.004027f9
push dword [esp + 0x40]
lea eax, [esp + 0x20]
push dword [esp + 0x40]
mov byte [esp + 0xea8], 4
push ebx
push eax
call fcn.00402a1d
add esp, 0x10
call fcn.004be6f3
push eax
lea ecx, [esp + 0x28]
call fcn.004027f9
push dword [esp + 0x50]
lea eax, [esp + 0x28]
push dword [esp + 0x50]
mov byte [esp + 0xea8], 5
push ebx
push eax
call fcn.00402a1d
mov esi, dword [esp + 0x48]
add esp, 0x10
xor edi, edi
inc edi
push edi
push 0
push str.drive_info
push esi
call fcn.00488adf
mov eax, esi
call fcn.00487f90
push edi
push dword [esp + 0x2c]
push str.drive_name
push esi
call fcn.00488adf
push edi
push dword [esp + 0x24]
push str.total_size_in_bytes
push esi
call fcn.00488adf
push edi
push dword [esp + 0x20]
push str.free_space_in_bytes
push esi
call fcn.00488adf
push edi
mov edi, dword [esp + 0x28]
push edi
push str.used_space_in_bytes
push esi
call fcn.00488adf
call fcn.00487fba
lea ecx, [edi - 0x10]
call fcn.0040285b
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [esp + 0x48]
add ecx, 0xfffffff0
call fcn.0040285b
mov byte [esp + 0xea0], 0
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.0040285b
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 0x5a
jbe 0x48b3ef
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.0040285b
mov ecx, dword [esp + 0xe98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0xe80]
xor ecx, esp
call fcn.004de422
mov esp, ebp
pop ebp
ret