Function at 0x463d57
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 0x4dfdae
mov eax, dword fs:[0]
push eax
sub esp, 0xe88
mov eax, dword [0x56f710]
xor eax, esp
mov dword [esp + 0xe80], eax
push ebx
push esi
push edi
mov eax, dword [0x56f710]
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.0049219b
push eax
lea ecx, [esp + 0x1c]
call fcn.00402802
and dword [esp + 0xea0], 0
lea ecx, [esp + 0x18]
call fcn.0040264d
xor eax, eax
push 0x206
push eax
mov word [esp + 0x8c], ax
lea eax, [esp + 0x8e]
push eax
call fcn.004b62d0
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.004b3e93
add esp, 0x14
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040272d
push 1
push dword [esp + 0x1c]
push str.system_driver
push esi
call fcn.00461543
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 0x464085
mov eax, dword [0x542d10]
mov dword [esp + 0x64], eax
mov eax, dword [0x542d14]
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, 0x542d18
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 0x463ec3
cmp eax, 2
jne 0x464085
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 0x464085
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.0040254f
mov byte [esp + 0xea0], 1
call fcn.0049219b
push eax
lea ecx, [esp + 0x4c]
call fcn.00402802
mov byte [esp + 0xea0], 2
call fcn.0049219b
push eax
lea ecx, [esp + 0x24]
call fcn.00402802
push edi
push esi
lea eax, [esp + 0x28]
push ebx
push eax
mov byte [esp + 0xeb0], 3
call fcn.00402a07
add esp, 0x10
call fcn.0049219b
push eax
lea ecx, [esp + 0x20]
call fcn.00402802
push dword [esp + 0x40]
lea eax, [esp + 0x20]
push dword [esp + 0x40]
mov byte [esp + 0xea8], 4
push ebx
push eax
call fcn.00402a07
add esp, 0x10
call fcn.0049219b
push eax
lea ecx, [esp + 0x28]
call fcn.00402802
push dword [esp + 0x50]
lea eax, [esp + 0x28]
push dword [esp + 0x50]
mov byte [esp + 0xea8], 5
push ebx
push eax
call fcn.00402a07
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.00461543
mov eax, esi
call fcn.004609f4
push edi
push dword [esp + 0x2c]
push str.drive_name
push esi
call fcn.00461543
push edi
push dword [esp + 0x24]
push str.total_size_in_bytes
push esi
call fcn.00461543
push edi
push dword [esp + 0x20]
push str.free_space_in_bytes
push esi
call fcn.00461543
push edi
mov edi, dword [esp + 0x28]
push edi
push str.used_space_in_bytes
push esi
call fcn.00461543
call fcn.00460a1e
lea ecx, [edi - 0x10]
call fcn.00402845
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.00402845
mov ecx, dword [esp + 0x48]
add ecx, 0xfffffff0
call fcn.00402845
mov byte [esp + 0xea0], 0
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.00402845
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 0x5a
jbe 0x463e53
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00402845
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.004b228f
mov esp, ebp
pop ebp
ret