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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cee38
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 0x467229
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.0044e5a0
lea eax, [ebp - 0x500]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x564], 1
call fcn.0044ef20
add esp, 4
test al, al
je 0x467095
push 0x5dff98
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 0x467095
mov bl, 1
jmp 0x467097
xor bl, bl
lea ecx, [ebp - 0x500]
mov dword [ebp - 4], 0xffffffff
call fcn.0044e660
test bl, bl
je 0x4670bf
push 0x5dff98
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.004893f0
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.004895d0
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.00489710
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 0x467140
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 0x467249
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 0x5e1258
lea ecx, [ebp - 0x564]
call fcn.00442a40
lea ecx, [ebp - 0x90]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4671d4
sub ecx, edx
lea eax, [ebp - 0x90]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x564]
call fcn.00442a40
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 0x46721e
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