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

Disassembly:
push 0x674
mov eax, 0x46b03b
call fcn.00443760
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.0043e180
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.0043e180
add esp, 0xc
cmp dword [ebp - 0x654], 0xc8
mov dword [ebx + 0xa44], 0x4545c8
jle 0x40510e
push 0x14
call fcn.0040809d
push eax
push 0x475100
lea eax, [ebp - 0x224]
push 0x104
push eax
call fcn.0043f3d3
add esp, 0x14
jmp 0x4052f6
push 0x475150
xor ecx, ecx
lea esi, [ebp - 0x650]
call fcn.00406890
mov esi, eax
lea eax, [ebp - 0x444]
push eax
call fcn.0043ec59
pop ecx
test esi, esi
jle 0x4052d0
lea ecx, [ebp - 0x654]
push ecx
lea ecx, [ebp - 0x650]
push ecx
lea eax, [esi + 2]
xor ecx, ecx
call fcn.004068cb
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 0x40529c
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.0043e180
add esp, 0xc
cmp esi, 0x400
jb 0x405219
mov eax, esi
mov dword [ebp - 0x680], eax
fild dword [ebp - 0x680]
test eax, eax
jge 0x4051f3
fadd dword [0x479db8]
fmul qword [0x479dc8]
push ecx
push ecx
lea eax, [ebp - 0x64c]
fstp qword [esp]
push str._.2f_GB
push 0x103
push eax
call fcn.0043f3d3
add esp, 0x14
jmp 0x405233
push esi
push str._d_MB
lea eax, [ebp - 0x64c]
push 0x103
push eax
call fcn.0043f3d3
add esp, 0x10
mov edi, 0x475174
push edi
call fcn.0043f03a
pop ecx
cmp eax, esi
jbe 0x405268
push 0xa
call fcn.0040809d
push eax
push 0x475100
lea eax, [ebp - 0x224]
push 0x104
push eax
call fcn.0043f3d3
add esp, 0x14
xor edi, edi
jmp 0x4052c0
lea eax, [ebp - 0x64c]
push eax
push edi
push 0xb
mov dword [ebx + 0xa44], 0xffffff
call fcn.0040809d
pop ecx
push eax
lea eax, [ebp - 0x224]
push 0x104
push eax
call fcn.0043f3d3
add esp, 0x14
push 3
pop edi
jmp 0x4052c0
xor edi, edi
push 0xc
inc edi
call fcn.0040809d
push eax
push 0x475100
lea eax, [ebp - 0x224]
push 0x104
push eax
call fcn.0043f3d3
add esp, 0x14
mov eax, dword [ebp - 0x654]
add eax, 0xfffffff0
call fcn.004031f6
jmp 0x4052f4
push 2
pop edi
push 0xc
call fcn.0040809d
push eax
push 0x475100
lea eax, [ebp - 0x224]
push 0x104
push eax
call fcn.0043f3d3
add esp, 0x14
xor esi, esi
lea eax, [ebx + 0xd50]
cmp dword [eax], 4
jne 0x40532d
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.0040809d
pop ecx
push eax
push 0x3e8
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
cmp edi, 3
je 0x405342
push esi
push dword [ebx + 0x7f0]
call dword [sym.imp.USER32.dll_EnableWindow]
push esi
jmp 0x405352
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.0040e6e7
mov eax, dword [eax]
mov dword [ebx + 0xa48], eax
lea eax, [ebp - 0x224]
push eax
push dword [ebx + 0xa24]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push 4
push 0x19
push 0x11d
push 0x64
push 0xa5
push esi
push dword [ebx + 0xa24]
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.004437e3
ret