Function at 0x100732d
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0x438
mov eax, 0x1015422
call fcn.0100942d
mov esi, ecx
mov ecx, dword [esi + 0xce8]
push 0x461
call sub.MFC42u.dll_CWnd::GetDlgItem
push 0
push 1
push dword [eax + 0x20]
call sub.MFC42u.dll_CWnd::GetDescendantWindow
lea ecx, [ebp - 0x438]
mov dword [ebp - 0x430], eax
call sub.MFC42u.dll_CString::CString_2
and dword [ebp - 4], 0
lea ecx, [ebp - 0x444]
call sub.MFC42u.dll_CString::CString_2
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 1
call sub.MFC42u.dll_CString::CString_2
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
lea eax, [ebp - 0x420]
push eax
mov eax, dword [esi + 0xce8]
mov ebx, 0x104
push ebx
push 0x466
push dword [eax + 0x20]
mov byte [ebp - 4], 2
call edi
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x438]
call fcn.01008d2c
mov ecx, dword [ebp - 0x430]
call fcn.01006d1c
lea ecx, [ebp - 0x428]
mov dword [ebp - 0x43c], eax
call sub.MFC42u.dll_CString::CString_2
xor eax, eax
mov byte [ebp - 4], 3
mov dword [ebp - 0x440], eax
cmp dword [ebp - 0x43c], eax
je 0x10075fc
mov ecx, dword [ebp - 0x430]
call fcn.01006d04
dec eax
lea ecx, [ebp - 0x424]
mov dword [ebp - 0x42c], eax
call sub.MFC42u.dll_CString::Empty
push 0x5c
lea ecx, [ebp - 0x438]
call fcn.01006c94
jmp 0x10074c3
mov ecx, dword [ebp - 0x430]
push ebx
lea eax, [ebp - 0x218]
push eax
push 0
push dword [ebp - 0x42c]
call sub.MFC42u.dll_CListCtrl::GetItemText
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x434]
push eax
call sub.MFC42u.dll_operator_1
push eax
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 4
call sub.MFC42u.dll_CString::operator_1
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 3
call sub.MFC42u.dll_CString::CString
push dword [ebp - 0x444]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10074c3
test al, 0x10
je 0x10074c3
push 0x22
lea ecx, [ebp - 0x424]
call fcn.01006c94
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x424]
call sub.MFC42u.dll_CString::operator_2
push 0x10025d8
lea ecx, [ebp - 0x424]
call sub.MFC42u.dll_CString::operator_2
inc dword [ebp - 0x440]
mov ecx, dword [ebp - 0x430]
push 2
push dword [ebp - 0x42c]
call fcn.01006ce0
mov dword [ebp - 0x42c], eax
cmp eax, 0xffffffff
jne 0x1007425
mov eax, dword [ebp - 0x440]
cmp dword [ebp - 0x43c], eax
jle 0x10075b7
lea ecx, [ebp - 0x428]
call sub.MFC42u.dll_CString::Empty
lea eax, [ebp - 0x434]
push eax
mov ecx, esi
call sub.MFC42u.dll_CFileDialog::GetFileName
push eax
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 5
call sub.MFC42u.dll_CString::operator_1
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 3
call sub.MFC42u.dll_CString::CString
mov ecx, dword [ebp - 0x428]
mov eax, dword [ecx - 8]
test eax, eax
je 0x10075a5
jle 0x1007543
movzx eax, word [ecx]
jmp 0x1007545
xor eax, eax
push 0x22
pop ecx
cmp cx, ax
je 0x10075a5
lea eax, [ebp - 0x428]
push eax
push ecx
lea eax, [ebp - 0x43c]
push eax
call fcn.01006cb6
push 0x10025d8
push eax
lea eax, [ebp - 0x434]
push eax
mov byte [ebp - 4], 6
call sub.MFC42u.dll_operator_1
push eax
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 7
call sub.MFC42u.dll_CString::operator_1
lea ecx, [ebp - 0x434]
mov byte [ebp - 4], 6
call sub.MFC42u.dll_CString::CString
lea ecx, [ebp - 0x43c]
mov byte [ebp - 4], 3
call sub.MFC42u.dll_CString::CString
lea eax, [ebp - 0x428]
push eax
lea ecx, [ebp - 0x424]
call fcn.01008f60
push dword [ebp - 0x424]
mov eax, dword [esi + 0xce8]
push 0x480
mov ebx, 0x468
push ebx
push dword [eax + 0x20]
call edi
push dword [ebp - 0x424]
mov eax, dword [esi + 0xce8]
push 0x47c
push ebx
push dword [eax + 0x20]
call edi
mov eax, dword [ebp - 0x424]
mov eax, dword [eax - 8]
inc eax
mov dword [esi + 0x8d4], eax
jmp 0x1007633
push 0x1001e8c
push 0x480
mov dword [esi + 0x8d4], eax
mov eax, dword [esi + 0xce8]
mov ebx, 0x468
push ebx
push dword [eax + 0x20]
call edi
mov eax, dword [esi + 0xce8]
push 0x1001e8c
push 0x47c
push ebx
push dword [eax + 0x20]
call edi
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 2
call sub.MFC42u.dll_CString::CString
lea ecx, [ebp - 0x424]
mov byte [ebp - 4], 1
call sub.MFC42u.dll_CString::CString
lea ecx, [ebp - 0x444]
mov byte [ebp - 4], 0
call sub.MFC42u.dll_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x438]
call sub.MFC42u.dll_CString::CString
call fcn.010094bf
ret