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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cedf8
mov eax, dword fs:[0]
push eax
sub esp, 0x560
mov eax, dword [0x640844]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
cmp dword [ebp + 0xc], 0x43f
mov dword [ebp - 0x564], 0
jne 0x467249
push 0x208
lea eax, [ebp - 0x298]
push 0
push eax
call fcn.004ef230
add esp, 0xc
lea eax, [ebp - 0x298]
push 0x104
push eax
push dword [ebp + 0x10]
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBackslashW]
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveBlanksW]
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x500]
call fcn.0044e5c0
lea eax, [ebp - 0x500]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x564], 1
call fcn.0044ef40
add esp, 4
test al, al
je 0x4670b5
push 0x5dff68
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
push eax
call fcn.004f9052
add esp, 8
test eax, eax
je 0x4670b5
mov bl, 1
jmp 0x4670b7
xor bl, bl
lea ecx, [ebp - 0x500]
mov dword [ebp - 4], 0xffffffff
call fcn.0044e680
test bl, bl
je 0x4670df
push 0x5dff68
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x298]
push eax
lea ecx, [ebp - 0x500]
call fcn.00489430
mov ecx, dword [edi + 0x24]
lea edx, [ebp - 0x500]
push edx
mov dword [ebp - 4], 1
mov eax, dword [ecx]
call dword [eax + 0x5c]
lea ecx, [ebp - 0x500]
mov dword [ebp - 4], 0xffffffff
call fcn.00419a70
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextW]
lea eax, [ebp - 0x298]
push eax
push dword [edi + 0x2c]
call ebx
lea ecx, [ebp - 0x560]
call fcn.00489610
mov ecx, dword [edi + 0x24]
lea edx, [ebp - 0x560]
push edx
mov dword [ebp - 4], 2
mov eax, dword [ecx]
call dword [eax + 0x60]
lea ecx, [ebp - 0x560]
call fcn.00489750
lea edx, [ebp - 0x4a0]
sub edx, eax
nop
movzx ecx, word [eax]
lea eax, [eax + 2]
mov word [edx + eax - 2], cx
test cx, cx
jne 0x467160
lea eax, [ebp - 0x4a0]
push eax
call dword [sym.imp.SHLWAPI.dll_PathStripToRootW]
push 0
lea eax, [ebp - 0x56c]
push eax
lea esi, [edi + 0x48]
push esi
lea eax, [ebp - 0x4a0]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
push 0x40
lea eax, [ebp - 0x90]
push eax
push dword [esi + 4]
push dword [esi]
call dword [sym.imp.SHLWAPI.dll_StrFormatByteSizeW]
call fcn.0041a4a0
mov ecx, eax
test ecx, ecx
je 0x467269
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x564], eax
push 0x7e
lea ecx, [ebp - 0x564]
mov byte [ebp - 4], 3
call fcn.0041aa70
push 1
push 0x5e1208
lea ecx, [ebp - 0x564]
call fcn.00442a60
lea ecx, [ebp - 0x90]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4671f4
sub ecx, edx
lea eax, [ebp - 0x90]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x564]
call fcn.00442a60
mov esi, dword [ebp - 0x564]
push esi
push dword [edi + 0x38]
call ebx
mov byte [ebp - 4], 2
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x46723e
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
lea ecx, [ebp - 0x560]
call fcn.00419a70
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ed0cc
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.0041a0e0
int3