Function at 0x405fe0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x40b62d
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x39c
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x10]
call sub.MFC42u.DLL_CString::CString_1
mov eax, dword [esi + 0x1c0]
mov ebp, dword [sym.imp.USER32.dll_SendMessageW]
xor ebx, ebx
xor edi, edi
push ebx
push ebx
push 0x1004
push eax
mov dword [esp + 0x3c4], ebx
call ebp
cmp eax, ebx
jle 0x4060ee
mov eax, dword [esp + 0x3bc]
cmp eax, ebx
je 0x406077
cmp eax, 1
je 0x406077
cmp eax, 2
je 0x406051
cmp eax, 3
jne 0x4060d5
push edi
lea ecx, [esi + 0x1a0]
call sub.MFC42u.DLL_CListCtrl::GetItemData
push eax
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::operator_1
push 0x40f5ec
lea ecx, [esp + 0x14]
call sub.MFC42u.DLL_CString::operator_1
jmp 0x4060d5
push 1
lea ecx, [esp + 0x18]
push edi
push ecx
lea ecx, [esi + 0x1a0]
call sub.MFC42u.DLL_CListCtrl::GetItemText
push 0x40f5ec
lea edx, [esp + 0x1c]
push eax
push edx
mov byte [esp + 0x3c0], 1
call sub.MFC42u.DLL_operator
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x3b8], 2
call sub.MFC42u.DLL_CString::operator
lea ecx, [esp + 0x18]
mov byte [esp + 0x3b4], 1
call fcn.0040a3e8
lea ecx, [esp + 0x14]
mov byte [esp + 0x3b4], bl
call fcn.0040a3e8
mov eax, dword [esi + 0x1c0]
push ebx
push ebx
push 0x1004
push eax
inc edi
call ebp
cmp edi, eax
jl 0x406033
mov edi, dword [esp + 0x3bc]
cmp edi, ebx
je 0x4061b4
cmp edi, 2
je 0x4061b4
cmp edi, 1
je 0x406114
cmp edi, 3
jne 0x40624d
push ebx
push str.Text_Files_.txt_.txtAll_Files_._.
push 0xa00006
push ebx
push 0x40f588
push ebx
lea ecx, [esp + 0x84]
call sub.MFC42u.DLL_CFileDialog::CFileDialog
cmp edi, 1
mov byte [esp + 0x3b4], 4
mov dword [esp + 0xfc], 0x40f578
je 0x406155
mov dword [esp + 0xfc], 0x40f568
lea ecx, [esp + 0x6c]
call sub.MFC42u.DLL_CFileDialog::DoModal
cmp eax, 2
jne 0x40618c
mov byte [esp + 0x3b4], 5
lea ecx, [esp + 0x11c]
call fcn.0040a3e8
lea ecx, [esp + 0x6c]
mov byte [esp + 0x3b4], bl
call fcn.0040a3ca
jmp 0x40624d
lea ecx, [esp + 0x10]
push ecx
push ecx
mov edx, esp
mov dword [esp + 0x1c], esp
push edx
lea ecx, [esp + 0x78]
call sub.MFC42u.DLL_CFileDialog::GetPathName
call fcn.00409c40
add esp, 8
mov byte [esp + 0x3b4], 6
jmp 0x40616b
lea ecx, [esp + 0x2c]
call sub.MFC42u.DLL_CWnd::CWnd
mov dword [esp + 0x2c], 0x40c704
push 0x94df
lea eax, [esp + 0x20]
push esi
push eax
push 0x1044
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3c4], 3
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov dword [esp + 0x34], ebx
mov dword [esp + 0x38], ebx
call sub.MFC42u.DLL_CEdit::Create
mov ecx, dword [esp + 0x10]
push ecx
lea ecx, [esp + 0x30]
call sub.MFC42u.DLL_CWnd::SetWindowTextW
mov edx, dword [esp + 0x4c]
push 0xffffffffffffffff
push ebx
push 0xb1
push edx
call ebp
mov eax, dword [esp + 0x4c]
push ebx
push ebx
push 0xb7
push eax
call ebp
mov ecx, dword [esp + 0x4c]
push ebx
push ebx
push 0x301
push ecx
call ebp
push 0x40fa34
lea ecx, [esp + 0x30]
call sub.MFC42u.DLL_CWnd::SetWindowTextW
lea ecx, [esp + 0x2c]
mov byte [esp + 0x3b4], bl
call sub.MFC42u.DLL_CEdit::CEdit
lea ecx, [esp + 0x10]
mov dword [esp + 0x3b4], 0xffffffff
call fcn.0040a3e8
mov ecx, dword [esp + 0x3ac]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x3a8
ret 4