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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x66c
mov eax, dword [0x4384ec]
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 0x415a11
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.00404cce
and word [ebp - 0x258], 0
mov ecx, 0x82
xor eax, eax
lea edi, [ebp - 0x256]
rep stosd dword es:[edi], eax
push eax
push 0x43bd10
lea ecx, [ebp - 8]
mov dword [esi + 0xc6c], 0x4545c8
call fcn.00404a49
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x464]
push eax
call dword [sym.imp.MSVCRT.dll_wcslen]
cmp dword [ebp - 0xc], 0
pop ecx
mov edi, eax
jle 0x415c5e
push 0
push 0x43b434
lea ecx, [ebp - 8]
call fcn.00404a49
mov dword [ebp - 4], 1
dec edi
lea ecx, [ebp + eax*2 - 0x464]
inc eax
inc ecx
inc ecx
cmp eax, edi
jg 0x415aaa
mov dx, word [ecx]
test dx, dx
je 0x415aaa
cmp dx, 0x5c
je 0x415a8b
cmp dx, 0x2f
je 0x415a8b
and dword [ebp - 4], 0
push dword [ebp - 8]
call dword [sym.imp.SHLWAPI.dll_PathIsRootW]
test eax, eax
jne 0x415c32
xor edi, edi
cmp dword [ebp - 4], edi
jne 0x415c32
mov eax, dword [ebp - 0xc]
lea ecx, [ebp - 8]
add eax, 2
push eax
lea eax, [ebp - 0xc]
push edi
push eax
call fcn.00417884
mov dword [ebp - 0x1c], edi
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 0x415bfe
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x10]
push 0x14
pop ecx
call fcn.0042e760
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 0x415b75
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 [0x4320e0]
fstp qword [esp]
push str._.2f_GB
push 0x103
push eax
call edi
add esp, 0x14
jmp 0x415b92
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 0x43bcec
call dword [sym.imp.MSVCRT.dll__wtoi]
cmp eax, dword [ebp - 4]
pop ecx
jbe 0x415bc8
push 0xa
call fcn.00407563
pop ecx
push eax
push 0x438aa0
lea eax, [ebp - 0x258]
push 0x104
push eax
call edi
add esp, 0x10
and dword [ebp - 4], 0
jmp 0x415c28
and dword [esi + 0xc6c], 0
lea eax, [ebp - 0x66c]
push eax
push 0x43bcec
push 0xb
call fcn.00407563
pop ecx
push eax
lea eax, [ebp - 0x258]
push 0x104
push eax
call edi
add esp, 0x14
mov dword [ebp - 4], 3
jmp 0x415c28
push 0xc
mov dword [ebp - 4], 1
call fcn.00407563
pop ecx
push eax
push 0x438aa0
lea eax, [ebp - 0x258]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
lea ecx, [ebp - 0xc]
call fcn.00404bf2
jmp 0x415c88
push 0x13
call fcn.00407563
pop ecx
push eax
push 0x438aa0
lea eax, [ebp - 0x258]
push 0x104
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x10
mov dword [ebp - 4], 5
jmp 0x415c88
push 0xc
mov dword [ebp - 4], 2
call fcn.00407563
pop ecx
push eax
push 0x438aa0
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 0x415cb1
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 0x415cca
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.0041a1dd
mov eax, dword [eax]
mov dword [esi + 0xc70], eax
lea eax, [ebp - 0x258]
push eax
push dword [esi + 0xc50]
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 + 0xc50]
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.00404bf2
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret