Function at 0x447680
Capabilities:
Get disk information
Get disk size

Disassembly:
push ebp
mov ebp, esp
mov ecx, 0x10
push 0
push 0
dec ecx
jne 0x447688
push ecx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x447991
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
call fcn.00446c10
mov eax, dword [ebp - 0xc]
call fcn.00408338
test eax, eax
jl 0x447950
inc eax
mov dword [ebp - 0x44], eax
mov dword [ebp - 8], 0
lea eax, [ebp - 0x10]
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov edx, dword [edx + ecx*4]
call fcn.004069b8
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.0042c1d0
mov eax, dword [ebp - 0x10]
call fcn.00407200
push eax
call sub.kernel32.dll_GetDriveTypeW
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x4c]
call fcn.0041d070
mov ecx, dword [ebp - 0x4c]
lea eax, [ebp - 0x48]
mov edx, 0x4479a8
call fcn.004073f0
mov edx, dword [ebp - 0x48]
mov eax, dword [ebp - 4]
call fcn.0042c1d0
lea eax, [ebp - 0x30]
mov edx, 0x105
call fcn.00407318
lea eax, [ebp - 0x34]
mov edx, 0x105
call fcn.00407318
lea eax, [ebp - 0x30]
call fcn.00406b48
mov word [eax], 0
lea eax, [ebp - 0x34]
call fcn.00406b48
mov word [eax], 0
xor eax, eax
mov dword [ebp - 0x40], eax
xor eax, eax
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x34]
call fcn.00406a80
push eax
mov eax, dword [ebp - 0x34]
call fcn.00407200
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x3c]
push eax
lea eax, [ebp - 0x38]
push eax
mov eax, dword [ebp - 0x30]
call fcn.00406a80
push eax
mov eax, dword [ebp - 0x30]
call fcn.00407200
push eax
mov eax, dword [ebp - 0x10]
call fcn.00407200
push eax
call sub.kernel32.dll_GetVolumeInformationW
test eax, eax
je 0x44793a
lea eax, [ebp - 0x30]
call fcn.0042a8a0
lea eax, [ebp - 0x34]
call fcn.0042a8a0
lea eax, [ebp - 0x50]
mov ecx, dword [ebp - 0x30]
mov edx, 0x4479d0
call fcn.004073f0
mov edx, dword [ebp - 0x50]
mov eax, dword [ebp - 4]
call fcn.0042c1d0
mov eax, dword [ebp - 0x38]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x58]
mov eax, 8
call fcn.0041d224
mov ecx, dword [ebp - 0x58]
lea eax, [ebp - 0x54]
mov edx, 0x4479f8
call fcn.004073f0
mov edx, dword [ebp - 0x54]
mov eax, dword [ebp - 4]
call fcn.0042c1d0
mov eax, dword [ebp - 0x3c]
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x60]
call fcn.0041d070
mov ecx, dword [ebp - 0x60]
lea eax, [ebp - 0x5c]
mov edx, 0x447a28
call fcn.004073f0
mov edx, dword [ebp - 0x5c]
mov eax, dword [ebp - 4]
call fcn.0042c1d0
mov eax, dword [ebp - 0x40]
xor edx, edx
push edx
push eax
lea edx, [ebp - 0x68]
mov eax, 8
call fcn.0041d224
mov ecx, dword [ebp - 0x68]
lea eax, [ebp - 0x64]
mov edx, 0x447a5c
call fcn.004073f0
mov edx, dword [ebp - 0x64]
mov eax, dword [ebp - 4]
call fcn.0042c1d0
lea eax, [ebp - 0x6c]
mov ecx, dword [ebp - 0x34]
mov edx, 0x447a90
call fcn.004073f0
mov edx, dword [ebp - 0x6c]
mov eax, dword [ebp - 4]
call fcn.0042c1d0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x28], 0
mov dword [ebp - 0x24], 0
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x18]
push eax
mov eax, dword [ebp - 0x10]
call fcn.00407200
push eax
call sub.kernel32.dll_GetDiskFreeSpaceExW
test eax, eax
je 0x44793a
push dword [ebp - 0x14]
push dword [ebp - 0x18]
lea eax, [ebp - 0x74]
call fcn.0041d070
mov ecx, dword [ebp - 0x74]
lea eax, [ebp - 0x70]
mov edx, 0x447ab8
call fcn.004073f0
mov edx, dword [ebp - 0x70]
mov eax, dword [ebp - 4]
call fcn.0042c1d0
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
lea eax, [ebp - 0x7c]
call fcn.0041d070
mov ecx, dword [ebp - 0x7c]
lea eax, [ebp - 0x78]
mov edx, 0x447ae8
call fcn.004073f0
mov edx, dword [ebp - 0x78]
mov eax, dword [ebp - 4]
call fcn.0042c1d0
push dword [ebp - 0x24]
push dword [ebp - 0x28]
lea eax, [ebp - 0x84]
call fcn.0041d070
mov ecx, dword [ebp - 0x84]
lea eax, [ebp - 0x80]
mov edx, 0x447b10
call fcn.004073f0
mov edx, dword [ebp - 0x80]
mov eax, dword [ebp - 4]
call fcn.0042c1d0
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0042c1d0
inc dword [ebp - 8]
dec dword [ebp - 0x44]
jne 0x4476c4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x447998
lea eax, [ebp - 0x84]
mov edx, 0x10
call fcn.0040660c
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.0040660c
lea eax, [ebp - 0x10]
call fcn.004065ac
lea eax, [ebp - 0xc]
mov edx, dword [0x427388]
call fcn.004084f0
ret