Function at 0x4677c2
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 0x4d72c2
mov eax, dword fs:[0]
push eax
sub esp, 0xe88
mov eax, dword [0x55f6c0]
xor eax, esp
mov dword [esp + 0xe80], eax
push ebx
push esi
push edi
mov eax, dword [0x55f6c0]
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.0048b151
push eax
lea ecx, [esp + 0x1c]
call fcn.00402821
and dword [esp + 0xea0], 0
lea ecx, [esp + 0x18]
call fcn.0040266c
xor eax, eax
push 0x206
push eax
mov word [esp + 0x8c], ax
lea eax, [esp + 0x8e]
push eax
call fcn.004ae4c0
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.004ac4f0
add esp, 0x14
lea eax, [esp + 0x54]
push eax
lea ecx, [esp + 0x1c]
call fcn.0040274c
push 1
push dword [esp + 0x1c]
push str.system_driver
push esi
call fcn.00464fb6
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 0x467af0
mov eax, dword [0x536524]
mov dword [esp + 0x64], eax
mov eax, dword [0x536528]
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, 0x53652c
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 0x46792e
cmp eax, 2
jne 0x467af0
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 0x467af0
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.0040253e
mov byte [esp + 0xea0], 1
call fcn.0048b151
push eax
lea ecx, [esp + 0x4c]
call fcn.00402821
mov byte [esp + 0xea0], 2
call fcn.0048b151
push eax
lea ecx, [esp + 0x24]
call fcn.00402821
push edi
push esi
lea eax, [esp + 0x28]
push ebx
push eax
mov byte [esp + 0xeb0], 3
call fcn.00402a45
add esp, 0x10
call fcn.0048b151
push eax
lea ecx, [esp + 0x20]
call fcn.00402821
push dword [esp + 0x40]
lea eax, [esp + 0x20]
push dword [esp + 0x40]
mov byte [esp + 0xea8], 4
push ebx
push eax
call fcn.00402a45
add esp, 0x10
call fcn.0048b151
push eax
lea ecx, [esp + 0x28]
call fcn.00402821
push dword [esp + 0x50]
lea eax, [esp + 0x28]
push dword [esp + 0x50]
mov byte [esp + 0xea8], 5
push ebx
push eax
call fcn.00402a45
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.00464fb6
mov eax, esi
call fcn.00464467
push edi
push dword [esp + 0x2c]
push str.drive_name
push esi
call fcn.00464fb6
push edi
push dword [esp + 0x24]
push str.total_size_in_bytes
push esi
call fcn.00464fb6
push edi
push dword [esp + 0x20]
push str.free_space_in_bytes
push esi
call fcn.00464fb6
push edi
mov edi, dword [esp + 0x28]
push edi
push str.used_space_in_bytes
push esi
call fcn.00464fb6
call fcn.00464491
lea ecx, [edi - 0x10]
call fcn.00402883
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.00402883
mov ecx, dword [esp + 0x48]
add ecx, 0xfffffff0
call fcn.00402883
mov byte [esp + 0xea0], 0
mov ecx, dword [esp + 0x28]
add ecx, 0xfffffff0
call fcn.00402883
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 0x5a
jbe 0x4678be
mov ecx, dword [esp + 0x18]
add ecx, 0xfffffff0
call fcn.00402883
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.004aa923
mov esp, ebp
pop ebp
ret