Function at 0x4179ef
Capabilities:
Get disk size

Disassembly:
push 0x7c
mov eax, 0x4503bb
call fcn.0044d453
mov eax, dword [ecx]
push 0
push str.MainWindow_PathChoose_bkgrd
lea edx, [ebp - 0x60]
push edx
mov dword [ebp - 0x7c], ecx
call dword [eax + 0x18]
and dword [ebp - 0x68], 0
mov esi, eax
push 0x14
lea edi, [ebx + 0xa8]
pop ecx
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x110]
sub eax, dword [ebx + 0x10c]
sar eax, 2
test eax, eax
je 0x417c0c
mov dword [ebp - 0x70], 0xa
mov edi, dword [ebp - 0x7c]
push 0
push str.MainWindow_ButtonChoosePath
push ebx
push 2
pop ecx
call fcn.00423ce0
push dword [ebp - 0x70]
mov esi, eax
push 0x19
pop ecx
push 0xa
mov eax, 0xc8
pop edx
mov dword [ebp - 0x64], esi
call fcn.00423c60
mov eax, dword [ebx + 0xfc]
lea ecx, [ebp - 0x64]
cmp ecx, eax
jae 0x417abe
mov ecx, dword [ebx + 0xf8]
lea edx, [ebp - 0x64]
cmp ecx, edx
ja 0x417abe
mov esi, edx
sub esi, ecx
sar esi, 2
cmp eax, dword [ebx + 0x100]
jne 0x417a9c
lea eax, [ebx + 0xf8]
call fcn.00417f6a
mov eax, dword [ebx + 0xf8]
lea ecx, [eax + esi*4]
mov eax, dword [ebx + 0xfc]
xor esi, esi
cmp eax, esi
je 0x417ab5
mov ecx, dword [ecx]
mov dword [eax], ecx
add dword [ebx + 0xfc], 4
jmp 0x417ae9
cmp eax, dword [ebx + 0x100]
jne 0x417ad1
lea eax, [ebx + 0xf8]
call fcn.00417f6a
mov eax, dword [ebx + 0xfc]
test eax, eax
je 0x417ae0
mov ecx, dword [ebp - 0x64]
mov dword [eax], ecx
add dword [ebx + 0xfc], 4
xor esi, esi
mov eax, dword [section..data]
mov ecx, section..data
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x6c], eax
mov edi, dword [ebp - 0x68]
mov dword [ebp - 4], esi
mov ecx, dword [ebx + 0x10c]
lea eax, [ebp - 0x80]
shl edi, 2
push 0x45a358
add ecx, edi
push eax
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], esi
call fcn.00404e82
mov eax, dword [eax]
pop ecx
pop ecx
push esi
push esi
lea ecx, [ebp - 0x78]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
mov eax, dword [ebp - 0x80]
add eax, 0xfffffff0
call fcn.00402c12
mov eax, dword [ebx + 0x10c]
push dword [ebx + 0xa4]
add eax, edi
push eax
call fcn.00402785
push dword [ebp - 0x74]
push dword [ebp - 0x78]
test eax, eax
jne 0x417b93
lea eax, [ebp - 0x88]
push eax
call fcn.00418d80
add esp, 0xc
mov byte [ebp - 4], 1
push dword [eax]
mov eax, dword [ebx + 0x10c]
push dword [edi + eax]
lea eax, [ebp - 0x6c]
push 0x45a360
push eax
call fcn.004058ae
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x88]
jmp 0x417bc9
lea eax, [ebp - 0x84]
push eax
call fcn.00418d80
add esp, 0xc
mov byte [ebp - 4], 2
push dword [eax]
mov eax, dword [ebx + 0x10c]
push dword [edi + eax]
lea eax, [ebp - 0x6c]
push 0x45a384
push eax
call fcn.004058ae
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x84]
add esp, 0x10
add eax, 0xfffffff0
call fcn.00402c12
mov edi, dword [ebp - 0x6c]
mov esi, dword [ebp - 0x64]
mov eax, edi
call fcn.00426b60
or dword [ebp - 4], 0xffffffff
lea eax, [edi - 0x10]
call fcn.00402c12
mov eax, dword [ebx + 0x110]
sub eax, dword [ebx + 0x10c]
inc dword [ebp - 0x68]
add dword [ebp - 0x70], 0x19
sar eax, 2
cmp dword [ebp - 0x68], eax
jb 0x417a3d
mov edi, dword [ebp - 0x7c]
push 0
push str.MainWindow_ButtonChoosePath
push ebx
push 2
pop ecx
call fcn.00423ce0
mov esi, eax
mov dword [ebx + 0x108], esi
mov eax, dword [ebx + 0x110]
sub eax, dword [ebx + 0x10c]
push 0xa
sar eax, 2
imul eax, eax, 0x19
pop edx
add eax, edx
push eax
push 0x19
pop ecx
mov eax, 0xc8
call fcn.00423c60
mov esi, dword [ebx + 0x108]
mov eax, 0x45a39c
call fcn.00426b60
xor eax, eax
inc eax
call fcn.0044d4d6
ret