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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x4af480]
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 0x425fe0
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jne 0x425f92
push eax
push 0x88
push esi
call fcn.0047ab70
add esp, 0xc
pop edi
pop esi
xor al, al
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d33b
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 0x425fe0
lea eax, [ebp - 0x20c]
push eax
push 0x1a1
push 3
push esi
call fcn.0047af20
add esp, 0x10
cmp eax, 6
jne 0x425f7f
mov eax, dword [ebp - 0x214]
mov byte [eax + 0x62c], 1
push 0x3f2
push esi
call ebx
mov edi, eax
test edi, edi
je 0x42609c
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
je 0x42609c
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 0x426052
push eax
push 0
push 0x10c
push esi
call fcn.0047ab70
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d33b
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 0x42609c
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x10d
push esi
call fcn.0047ab70
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d33b
mov esp, ebp
pop ebp
ret
push 0x3f0
push esi
call ebx
mov edi, eax
test edi, edi
je 0x426135
push edi
call dword [sym.imp.USER32.dll_IsWindowEnabled]
test eax, eax
je 0x426135
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
test eax, eax
jne 0x4260e6
push eax
push 0x9a
push esi
call fcn.0047ab70
add esp, 0xc
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d33b
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 0x426135
lea eax, [ebp - 0x20c]
push eax
push 0
push 0x89
push esi
call fcn.0047ab70
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d33b
mov esp, ebp
pop ebp
ret
push 0x3f6
push esi
call ebx
test eax, eax
je 0x42618a
lea eax, [ebp - 0x210]
mov ecx, esi
push eax
call fcn.00417830
add esp, 4
cmp dword [ebp - 0x210], 0
je 0x426162
cmp eax, 0x80000
jbe 0x42618a
push 0x80000
push 0xc7
push 1
push esi
call fcn.0047af20
add esp, 0x10
xor al, al
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0047d33b
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.0047d33b
mov esp, ebp
pop ebp
ret