Function at 0x425cc0
Capabilities:
Check if file exists
Get file attributes
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4ae480]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
push 8
push esi
call dword [sym.imp.USER32.dll_GetWindowLongW]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x3ea
push esi
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x210], 0
call ebx
mov edi, eax
test edi, edi
je 0x425d80
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jne 0x425d32
push eax
push 0x88
push esi
call fcn.00479a10
add esp, 0xc
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047c26b
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x425d80
lea eax, [ebp - 0x20c]
push eax
push 0x1a1
push 3
push esi
call fcn.00479dc0
add esp, 0x10
cmp eax, 6
jne 0x425d1f
mov eax, dword [ebp - 0x214]
mov byte [eax + 0x62c], 1
push 0x3f2
push esi
call ebx
mov edi, eax
test edi, edi
je 0x425e3c
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
je 0x425e3c
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov edi, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
lea eax, [ebp - 0x20c]
push eax
call edi
cmp eax, 0xffffffff
lea eax, [ebp - 0x20c]
jne 0x425df2
push eax
push 0
push 0x10c
push esi
call fcn.00479a10
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047c26b
mov esp, ebp
pop ebp
ret
push 0x104
push eax
push 0x3ea
push esi
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
lea eax, [ebp - 0x20c]
push eax
call edi
cmp eax, 0xffffffff
je 0x425e3c
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x10d
push esi
call fcn.00479a10
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047c26b
mov esp, ebp
pop ebp
ret
push 0x3f0
push esi
call ebx
mov edi, eax
test edi, edi
je 0x425ed5
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x425ed5
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jne 0x425e86
push eax
push 0x9a
push esi
call fcn.00479a10
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047c26b
mov esp, ebp
pop ebp
ret
push 0x104
lea eax, [ebp - 0x20c]
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x425ed5
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x89
push esi
call fcn.00479a10
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047c26b
mov esp, ebp
pop ebp
ret
push 0x3f6
push esi
call ebx
test eax, eax
je 0x425f2a
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.004177a0
add esp, 4
cmp dword [ebp - 0x210], 0
je 0x425f02
cmp eax, 0x80000
jbe 0x425f2a
push 0x80000
push 0xc7
push 1
push esi
call fcn.00479dc0
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047c26b
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
pop edi
pop esi
cmp dword [eax + 0x61c], 0
pop ebx
sete al
xor ecx, ebp
call fcn.0047c26b
mov esp, ebp
pop ebp
ret