Function at 0x40507a
Capabilities:
Get disk size
Get graphical window text

Disassembly:
push 0x674
mov eax, 0x46b1b8
call fcn.00443910
push 2
pop edi
mov ecx, 0x485f6c
lea esi, [ebp - 0x650]
call fcn.00402b4a
xor esi, esi
xor eax, eax
mov dword [ebp - 4], esi
push 0x21a
mov word [ebp - 0x444], ax
lea eax, [ebp - 0x442]
push esi
push eax
call fcn.0043e330
add esp, 0xc
push 0x3f7
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push 0x105
lea ecx, [ebp - 0x444]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov dword [ebp - 0x654], eax
lea eax, [ebp - 0x444]
push eax
lea eax, [ebp - 0x650]
push eax
call fcn.00402c33
xor eax, eax
push 0x208
mov word [ebp - 0x224], ax
lea eax, [ebp - 0x222]
push esi
push eax
call fcn.0043e330
add esp, 0xc
cmp dword [ebp - 0x654], 0xc8
mov dword [ebx + 0xa48], 0x4545c8
jle 0x405153
push 0x14
call fcn.0040836d
push eax
push 0x475100
lea eax, [ebp - 0x224]
push 0x104
push eax
call fcn.0043f583
add esp, 0x14
jmp 0x40533b
push 0x475150
xor ecx, ecx
lea esi, [ebp - 0x650]
call fcn.00406a54
mov esi, eax
lea eax, [ebp - 0x444]
push eax
call fcn.0043ee09
pop ecx
test esi, esi
jle 0x405315
lea ecx, [ebp - 0x654]
push ecx
lea ecx, [ebp - 0x650]
push ecx
lea eax, [esi + 2]
xor ecx, ecx
call fcn.00406a8f
and dword [ebp - 0x66c], 0
xor eax, eax
and dword [ebp - 0x664], eax
and dword [ebp - 0x65c], eax
lea edi, [ebp - 0x668]
stosd dword es:[edi], eax
lea edi, [ebp - 0x660]
stosd dword es:[edi], eax
lea edi, [ebp - 0x658]
stosd dword es:[edi], eax
lea eax, [ebp - 0x65c]
push eax
lea eax, [ebp - 0x664]
push eax
lea eax, [ebp - 0x66c]
push eax
push dword [ebp - 0x654]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4052e1
mov esi, dword [ebp - 0x65c]
mov eax, dword [ebp - 0x658]
shrd esi, eax, 0x14
shr eax, 0x14
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x64c], ax
lea eax, [ebp - 0x64a]
push eax
call fcn.0043e330
add esp, 0xc
cmp esi, 0x400
jb 0x40525e
mov eax, esi
mov dword [ebp - 0x680], eax
fild dword [ebp - 0x680]
test eax, eax
jge 0x405238
fadd dword [0x479e48]
fmul qword [0x479e58]
push ecx
push ecx
lea eax, [ebp - 0x64c]
fstp qword [esp]
push str._.2f_GB
push 0x103
push eax
call fcn.0043f583
add esp, 0x14
jmp 0x405278
push esi
push str._d_MB
lea eax, [ebp - 0x64c]
push 0x103
push eax
call fcn.0043f583
add esp, 0x10
mov edi, str.50.0
push edi
call fcn.0043f1ea
pop ecx
cmp eax, esi
jbe 0x4052ad
push 0xa
call fcn.0040836d
push eax
push 0x475100
lea eax, [ebp - 0x224]
push 0x104
push eax
call fcn.0043f583
add esp, 0x14
xor edi, edi
jmp 0x405305
lea eax, [ebp - 0x64c]
push eax
push edi
push 0xb
mov dword [ebx + 0xa48], 0xffffff
call fcn.0040836d
pop ecx
push eax
lea eax, [ebp - 0x224]
push 0x104
push eax
call fcn.0043f583
add esp, 0x14
push 3
pop edi
jmp 0x405305
xor edi, edi
push 0xc
inc edi
call fcn.0040836d
push eax
push 0x475100
lea eax, [ebp - 0x224]
push 0x104
push eax
call fcn.0043f583
add esp, 0x14
mov eax, dword [ebp - 0x654]
add eax, 0xfffffff0
call fcn.004031f6
jmp 0x405339
push 2
pop edi
push 0xc
call fcn.0040836d
push eax
push 0x475100
lea eax, [ebp - 0x224]
push 0x104
push eax
call fcn.0043f583
add esp, 0x14
xor esi, esi
lea eax, [ebx + 0xd54]
cmp dword [eax], 4
jne 0x405372
push esi
push dword [ebx + 0x970]
mov dword [ebx + 0x488], esi
mov dword [eax], edi
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
call fcn.0040836d
pop ecx
push eax
push 0x3e8
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp edi, 3
je 0x405387
push esi
push dword [ebx + 0x7f0]
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
jmp 0x405397
push 1
push dword [ebx + 0x7f0]
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
push dword [ebx + 0x86c]
call dword [sym.imp.USER32.dll_EnableWindow]
push 1
lea eax, [ebp - 0x67c]
push eax
push dword [ebx + 4]
mov dword [ebp - 0x67c], 0xfa
mov dword [ebp - 0x678], 0x113
mov dword [ebp - 0x674], 0x1d7
mov dword [ebp - 0x670], 0x172
call dword [sym.imp.USER32.dll_InvalidateRect]
call fcn.0040e904
mov eax, dword [eax]
mov dword [ebx + 0xa4c], eax
lea eax, [ebp - 0x224]
push eax
push dword [ebx + 0xa28]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 4
push 0x19
push 0x11d
push 0x64
push 0xa5
push esi
push dword [ebx + 0xa28]
call dword [sym.imp.USER32.dll_SetWindowPos]
push ebx
call fcn.00403cec
mov eax, dword [ebp - 0x650]
add eax, 0xfffffff0
call fcn.004031f6
mov eax, edi
call fcn.00443993
ret