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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [0x43b4ec]
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 0x41642f
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 0x43ed3c
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 0x4165f1
add edi, 2
lea eax, [ebp - 0xc]
push edi
push 0
push eax
lea ecx, [ebp - 8]
call fcn.004182b1
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 0x4165bd
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push 0x14
pop ecx
call fcn.004324a0
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 0x416534
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 [0x435118]
fstp qword [esp]
push str._.2f_GB
push 0x103
push eax
call edi
add esp, 0x14
jmp 0x416551
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 0x43ed18
call dword [sym.imp.MSVCRT.dll__wtoi]
cmp eax, dword [ebp - 4]
pop ecx
jbe 0x416587
push 0xa
call fcn.0040755c
pop ecx
push eax
push 0x43baa0
lea eax, [ebp - 0x258]
push 0x104
push eax
call edi
add esp, 0x10
and dword [ebp - 4], 0
jmp 0x4165e7
and dword [esi + 0xdc4], 0
lea eax, [ebp - 0x66c]
push eax
push 0x43ed18
push 0xb
call fcn.0040755c
pop ecx
push eax
lea eax, [ebp - 0x258]
push 0x104
push eax
call edi
add esp, 0x14
mov dword [ebp - 4], 3
jmp 0x4165e7
push 0xc
mov dword [ebp - 4], 1
call fcn.0040755c
pop ecx
push eax
push 0x43baa0
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 0x41661b
push 0xc
mov dword [ebp - 4], 2
call fcn.0040755c
pop ecx
push eax
push 0x43baa0
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 0x416644
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 0x41665d
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.0041aa51
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