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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [0x43c4ec]
and word [ebp - 0x464], 0
push ebx
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], eax
push 0x3f7
mov ecx, 0x82
push dword [esi + 4]
xor eax, eax
lea edi, [ebp - 0x462]
rep stosd dword es:[edi], eax
call ebx
lea ecx, [ebp - 0x464]
push 0x104
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x464]
test eax, eax
je 0x416568
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x464]
push ecx
push eax
lea ecx, [ebp - 8]
call fcn.00404cc7
and word [ebp - 0x258], 0
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x256]
rep stosd dword es:[edi], eax
push eax
push 0x43fca4
lea ecx, [ebp - 8]
mov dword [esi + 0xdc4], 0x4545c8
call fcn.00404a42
mov edi, eax
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
test edi, edi
pop ecx
jle 0x41672a
add edi, 2
lea eax, [ebp - 0xc]
push edi
push 0
push eax
lea ecx, [ebp - 8]
call fcn.004182e4
and dword [ebp - 0x1c], 0
xor eax, eax
and dword [ebp - 0x24], eax
lea edi, [ebp - 0x18]
and dword [ebp - 0x14], eax
stosd dword es:[edi], eax
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
je 0x4166f6
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push 0x14
pop ecx
call fcn.004327e0
and word [ebp - 0x66c], 0
mov edx, eax
mov ecx, 0x81
xor eax, eax
lea edi, [ebp - 0x66a]
cmp edx, 0x400
rep stosd dword es:[edi], eax
mov dword [ebp - 4], edx
stosw word es:[edi], ax
jb 0x41666d
and dword [ebp - 0x28], 0
mov dword [ebp - 0x2c], edx
fild qword [ebp - 0x2c]
mov edi, dword [sym.imp.MSVCRT.dll__snwprintf]
push ecx
push ecx
lea eax, [ebp - 0x66c]
fmul dword [0x436118]
fstp qword [esp]
push str._.2f_GB
push 0x103
push eax
call edi
add esp, 0x14
jmp 0x41668a
mov edi, dword [sym.imp.MSVCRT.dll__snwprintf]
push edx
push str._d_MB
lea eax, [ebp - 0x66c]
push 0x103
push eax
call edi
add esp, 0x10
push 0x43fc80
call dword [sym.imp.MSVCRT.dll__wtoi]
cmp eax, dword [ebp - 4]
pop ecx
jbe 0x4166c0
push 0xa
call fcn.0040770e
pop ecx
push eax
push 0x43caa8
lea eax, [ebp - 0x258]
push 0x104
push eax
call edi
add esp, 0x10
and dword [ebp - 4], 0
jmp 0x416720
and dword [esi + 0xdc4], 0
lea eax, [ebp - 0x66c]
push eax
push 0x43fc80
push 0xb
call fcn.0040770e
pop ecx
push eax
lea eax, [ebp - 0x258]
push 0x104
push eax
call edi
add esp, 0x14
mov dword [ebp - 4], 3
jmp 0x416720
push 0xc
mov dword [ebp - 4], 1
call fcn.0040770e
pop ecx
push eax
push 0x43caa8
lea eax, [ebp - 0x258]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea ecx, [ebp - 0xc]
call fcn.00404beb
jmp 0x416754
push 0xc
mov dword [ebp - 4], 2
call fcn.0040770e
pop ecx
push eax
push 0x43caa8
lea eax, [ebp - 0x258]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
cmp dword [ebp - 4], 3
push 0x3e8
push dword [esi + 4]
je 0x41677d
call ebx
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 0
push eax
call edi
push 0x3e9
push dword [esi + 4]
call ebx
push 0
jmp 0x416796
call ebx
mov edi, dword [sym.imp.USER32.dll_EnableWindow]
push 1
push eax
call edi
push 0x3e9
push dword [esi + 4]
call ebx
push 1
push eax
call edi
mov ebx, dword [sym.imp.USER32.dll_InvalidateRect]
lea eax, [ebp - 0x4c]
push 1
push eax
push dword [esi + 4]
mov dword [ebp - 0x4c], 0xfa
mov dword [ebp - 0x48], 0x113
mov dword [ebp - 0x44], 0x19a
mov dword [ebp - 0x40], 0x177
call ebx
call fcn.0041aa84
mov eax, dword [eax]
mov dword [esi + 0xdc8], eax
lea eax, [ebp - 0x258]
push eax
push dword [esi + 0xda8]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 4
push 0x19
push 0x11d
push 0x64
pop edi
push edi
push 0xa5
push 0
push dword [esi + 0xda8]
call dword [sym.imp.USER32.dll_SetWindowPos]
lea eax, [ebp - 0x3c]
push 1
push eax
mov dword [ebp - 0x3c], 0xa0
push dword [esi + 4]
mov dword [ebp - 0x38], edi
mov dword [ebp - 0x34], 0x204
mov dword [ebp - 0x30], 0x7d
call ebx
lea ecx, [ebp - 8]
call fcn.00404beb
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret