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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x451856
mov eax, dword fs:[0]
push eax
sub esp, 0x498
mov eax, dword [0x4a2a80]
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 ebx, ecx
mov dword [ebp - 0x4a4], ebx
mov esi, dword [ebx + 4]
lea eax, [ebp - 0x48c]
mov dword [ebp - 0x490], 0
mov dword [ebp - 0x4a0], eax
mov dword [ebp - 0x480], 0
mov dword [ebp - 4], 1
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x478], 0
mov dword [ebp - 4], 3
lea eax, [ebp - 0x474]
push 0x5c
push 0
push eax
call fcn.00438050
lea eax, [ebp - 0x218]
mov dword [ebp - 0x474], 0x58
mov dword [ebp - 0x458], eax
add esp, 0xc
lea eax, [ebp - 0x418]
mov dword [ebp - 0x454], 0x104
mov dword [ebp - 0x450], eax
mov eax, dword [0x4a4654]
mov dword [ebp - 0x46c], eax
xor eax, eax
mov dword [ebp - 0x438], 0x48e194
mov dword [ebp - 0x44c], 0x100
mov dword [ebp - 0x440], 0x88082e
mov dword [ebp - 0x468], 0x48e130
mov dword [ebp - 0x430], 0x430aa0
mov dword [ebp - 0x470], esi
mov word [ebp - 0x218], ax
mov word [ebp - 0x418], ax
mov dword [ebp - 4], 4
mov dword [ebp - 0x494], 0x48e120
mov dword [ebp - 4], 5
lea eax, [ebp - 0x498]
mov ecx, dword [ebx + 0x54]
push eax
mov dword [ebp - 0x444], str.Select_where_to_output_the_file_list
call fcn.0042f4d0
mov byte [ebp - 4], 6
call fcn.0040c5f0
mov ecx, eax
test ecx, ecx
je 0x4308a5
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x49c], esi
mov byte [ebp - 4], 8
push dword [ebx + 0x68]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov edi, eax
lea ebx, [edi + 1]
test ebx, ebx
js 0x4308af
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x43062c
push ebx
lea ecx, [ebp - 0x49c]
call fcn.00418aa0
mov esi, dword [ebp - 0x49c]
mov eax, dword [ebp - 0x4a4]
push ebx
push esi
push dword [eax + 0x68]
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp edi, 0xffffffff
jne 0x430650
push dword [esi - 8]
push esi
call fcn.0043a963
add esp, 8
mov edi, eax
test edi, edi
js 0x4308af
cmp edi, dword [esi - 8]
jg 0x4308af
xor eax, eax
mov dword [esi - 0xc], edi
lea ecx, [ebp - 0x49c]
mov word [esi + edi*2], ax
call fcn.00430c80
lea ecx, [ebp - 0x49c]
call fcn.00430d30
mov esi, dword [ebp - 0x49c]
or ebx, 0xffffffff
mov edx, dword [esi - 0xc]
test edx, edx
jle 0x43075c
mov eax, dword [ebp - 0x498]
lea ecx, [esi - 0x10]
lea edi, [eax - 0x10]
cmp ecx, edi
je 0x4306f9
cmp dword [edi + 0xc], 0
jl 0x4306e6
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x4306e6
push ecx
call fcn.0042e920
add esp, 4
mov dword [ebp - 0x4a0], eax
mov ecx, ebx
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4306db
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x4a0]
add eax, 0x10
mov dword [ebp - 0x498], eax
jmp 0x4306f9
push edx
push esi
lea ecx, [ebp - 0x498]
call fcn.0042fc70
mov eax, dword [ebp - 0x498]
mov ecx, dword [eax - 8]
mov edx, 1
sub edx, dword [eax - 4]
or ecx, edx
jge 0x43071b
push 0
lea ecx, [ebp - 0x498]
call fcn.00418aa0
mov eax, dword [ebp - 0x498]
push eax
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
mov eax, dword [ebp - 0x498]
push dword [eax - 8]
push eax
call fcn.0043a963
mov edx, eax
add esp, 8
test edx, edx
js 0x4308af
mov ecx, dword [ebp - 0x498]
cmp edx, dword [ecx - 8]
jg 0x4308af
mov dword [ecx - 0xc], edx
xor ecx, ecx
mov eax, dword [ebp - 0x498]
mov word [eax + edx*2], cx
mov eax, dword [ebp - 0x498]
cmp dword [eax - 0xc], 0
jle 0x430785
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, dword [ebp - 0x448]
cmp eax, 0xffffffff
cmovne ecx, dword [ebp - 0x498]
mov dword [ebp - 0x448], ecx
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [ebp - 0x470]
test ecx, ecx
cmove ecx, eax
mov eax, dword [ebp - 0x480]
mov dword [ebp - 0x470], ecx
test eax, eax
jne 0x4307bf
call fcn.00435c85
mov dword [ebp - 0x480], eax
test eax, eax
jne 0x4307bf
push 0xe
call dword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x430821
push 0
push 0
push eax
call fcn.00435d87
lea eax, [ebp - 0x494]
push eax
lea eax, [ebp - 0x48c]
push eax
call fcn.004181b0
add esp, 8
lea eax, [ebp - 0x474]
cmp dword [ebp - 0x41c], 0
push eax
je 0x4307f7
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
jmp 0x4307fd
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
mov dword [ebp - 0x490], 0
test eax, eax
je 0x430821
lea eax, [ebp - 0x218]
push eax
mov eax, dword [ebp - 0x4a4]
push dword [eax + 0x68]
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov byte [ebp - 4], 6
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x43083c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x498]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x43085b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x48c]
mov dword [ebp - 0x4a0], eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 0x480]
test eax, eax
je 0x430885
push eax
call fcn.00435d31
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.00436441
mov esp, ebp
pop ebp
ret 0x10
push 0x80004005
call fcn.0040d970
push 0x80070057
call fcn.0040d970
int3