Function at 0x4026d0
Capabilities:
Check if file exists
Terminate process

Disassembly:
push 0xffffffffffffffff
push 0x40a4fb
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push edi
mov eax, dword [0x411028]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
cmp dword [0x411620], 0
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
je 0x402924
lea ecx, [esp + 0x14]
call dword [0x40b5cc]
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
call dword [0x40b5cc]
mov byte [esp + 0x24], 1
mov eax, dword [0x411620]
lea edi, [esi + 0x144]
push eax
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
push edi
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
mov ecx, dword [esp + 0x14]
mov edi, dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
push ecx
lea edx, [esi + 0x14c]
push 0x40bd80
push edx
call edi
mov eax, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push str._s.dmp
push ecx
call edi
mov edx, dword [esp + 0x28]
add esp, 0x18
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebp, dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
test eax, eax
je 0x4027c9
mov eax, dword [esi + 0x110]
mov edi, dword [esp + 0x10]
push 0
push 0
push 0x1004
push eax
call ebx
push edi
mov dword [esp + 0x1c], eax
call ebp
mov ecx, dword [esp + 0x18]
push 0
push 0
push 0
push 0
push eax
push ecx
push 1
lea ecx, [esi + 0xf0]
call sub.mfc90u.dll_CListCtrl::InsertItem
mov edi, dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov edx, dword [esp + 0x14]
push edx
lea eax, [esp + 0x14]
push str._s.txt
push eax
call edi
mov ecx, dword [esp + 0x1c]
add esp, 0xc
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x40282a
mov edx, dword [esi + 0x110]
mov edi, dword [esp + 0x10]
push 0
push 0
push 0x1004
push edx
call ebx
push edi
mov dword [esp + 0x1c], eax
call ebp
push 0
push 0
push 0
push 0
push eax
mov eax, dword [esp + 0x2c]
push eax
push 1
lea ecx, [esi + 0xf0]
call sub.mfc90u.dll_CListCtrl::InsertItem
mov edi, dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
mov ecx, dword [esp + 0x14]
push ecx
lea edx, [esp + 0x14]
push str._s.png
push edx
call edi
mov eax, dword [esp + 0x1c]
add esp, 0xc
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402885
mov ecx, dword [esi + 0x110]
mov edi, dword [esp + 0x10]
push 0
push 0
push 0x1004
push ecx
call ebx
push edi
mov dword [esp + 0x1c], eax
call ebp
mov edx, dword [esp + 0x18]
push 0
push 0
push 0
push 0
push eax
push edx
push 1
lea ecx, [esi + 0xf0]
call sub.mfc90u.dll_CListCtrl::InsertItem
mov eax, dword [esi + 0x110]
xor edi, edi
push edi
push edi
push 0x1004
push eax
call ebx
test eax, eax
jle 0x4028c5
jmp 0x4028a0
push 1
push edi
lea ecx, [esi + 0xf0]
call sub.mfc90u.dll_CListCtrl::SetCheck
mov ecx, dword [esi + 0x110]
push 0
push 0
push 0x1004
push ecx
inc edi
call ebx
cmp edi, eax
jl 0x4028a0
mov edx, dword [esp + 0x14]
push edx
lea edi, [esi + 0x148]
call ebp
push eax
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator]
push 0
push 0x40bc88
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Find]
push eax
lea eax, [esp + 0x1c]
push eax
mov ecx, edi
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Left]
push eax
mov ecx, edi
mov byte [esp + 0x28], 2
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_1]
lea ecx, [esp + 0x18]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esi + 0x110]
push 0
push 0
push 0x1004
push ecx
call ebx
test eax, eax
jne 0x402941
push eax
call dword [sym.imp.MSVCR90.dll_exit]
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x18
ret