Function at 0x4028c4
Capabilities:
Delete file

Disassembly:
jmp 0x42eac0
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x52705e
push eax
mov dword fs:[0], esp
sub esp, 0xb08
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0x25e8]
cmp eax, 1
jle 0x42eaf6
call fcn.00402f45
jmp 0x42ef97
mov eax, dword [ebp + 0x24b0]
test eax, eax
je 0x42eb0c
mov ecx, ebp
call fcn.004030f3
jmp 0x42ef97
mov al, byte [ebp + 0x20e4]
test al, al
jne 0x42eb22
mov ecx, ebp
call fcn.004030f3
jmp 0x42ef97
mov eax, dword [ebp + 0x21e8]
push 0
push eax
mov ecx, 0x566788
call fcn.004c1650
mov esi, eax
test esi, esi
mov dword [esp + 0x18], esi
jne 0x42eb4b
mov ecx, ebp
call fcn.004030f3
jmp 0x42ef97
mov eax, dword [ebp + 0x24a0]
test eax, eax
je 0x42ed0e
lea ecx, [esp + 0x10]
call fcn.004fdecc
mov dword [esp + 0xb20], 0
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [esp + 0x318]
push 0x400
push ecx
push 0x3ea6
push eax
call fcn.0040182a
add esp, 0x10
lea ecx, [esp + 0x10]
push 0x400
call sub.MFC42.DLL_CString::GetBuffer
mov edx, eax
lea edi, [esp + 0x318]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xffffffffffffffff
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ebx, dword [esp + 0x10]
lea ecx, [esp + 0x14]
mov dword [esp + 0xb20], 1
call fcn.004fdecc
mov byte [esp + 0xb20], 2
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [esp + 0x718]
push 0x400
push ecx
push 0x3f08
push eax
call fcn.0040182a
add esp, 0x10
lea ecx, [esp + 0x14]
push 0x400
call sub.MFC42.DLL_CString::GetBuffer
mov edx, eax
lea edi, [esp + 0x718]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xffffffffffffffff
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, dword [esp + 0x14]
push 1
push str.LostSelection
push str.WarningMessage
push ebx
push ecx
mov byte [esp + 0xb34], 3
push ebp
lea ecx, [esp + 0x80]
call fcn.0048fa40
lea ecx, [esp + 0x14]
mov byte [esp + 0xb20], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0xb20], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x68]
call fcn.0048fce0
lea ecx, [esp + 0xd4]
mov dword [esp + 0xb20], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xd0]
mov byte [esp + 0xb20], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xcc]
mov byte [esp + 0xb20], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc8]
mov byte [esp + 0xb20], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x68]
mov dword [esp + 0xb20], 0xffffffff
call sub.MFC42.DLL_CDialog::CDialog
mov esi, dword [esp + 0x18]
mov eax, dword [ebp + 0x222c]
test eax, eax
jne 0x42ed3c
mov edx, dword [ebp + 0x21e8]
push 0x80000001
push edx
push str.SaveEncodeSettings
push 0x566a74
call fcn.004ed7e0
add esp, 0x10
mov dword [ebp + 0x222c], eax
mov eax, dword [esi + 0x15c]
test eax, eax
je 0x42ed70
test ebp, ebp
jne 0x42ed4e
xor eax, eax
jmp 0x42ed51
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x222c]
mov edx, dword [ebp + 0x21e8]
push ecx
push eax
push edx
mov ecx, esi
call fcn.004c4d00
cmp eax, 0xfffffff9
je 0x42ef95
mov eax, dword [ebp + 0x222c]
test eax, eax
je 0x42ed9f
test byte [eax + 4], 1
je 0x42ed9f
push 0x80000001
push eax
mov eax, dword [ebp + 0x21e8]
push eax
push str.SaveEncodeSettings
push 0x566a74
call fcn.004ed9a0
add esp, 0x14
mov ecx, 7
xor eax, eax
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
test ebp, ebp
stosw word es:[edi], ax
jne 0x42edb8
mov dword [esp + 0x48], ebp
jmp 0x42edbf
mov ecx, dword [ebp + 0x20]
mov dword [esp + 0x48], ecx
lea edi, [ebp + 0x20e4]
mov dword [esp + 0x4c], 3
push edi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x54], edi
mov word [esp + 0x5c], 0x54
call dword [0x56cdc4]
lea edx, [esp + 0x48]
mov byte [eax + ebp + 0x20e5], 0
push edx
call dword [0x56dc64]
lea ebx, [ebp + 0x7f8]
push 5
mov ecx, ebx
call sub.MFC42.DLL_CWnd::ShowWindow
lea ecx, [esp + 0xdc]
call fcn.004ece10
mov eax, dword [ebp + 0x21e8]
push edi
push eax
lea ecx, [esp + 0xe4]
mov dword [esp + 0xb28], 0xb
call fcn.004ece70
mov esi, eax
test esi, esi
jne 0x42eeeb
mov ecx, 0xb
lea edi, [esp + 0x1c]
rep stosd dword es:[edi], eax
mov eax, dword [ebp + 0x21ec]
mov dword [esp + 0x1c], 2
mov ecx, dword [eax + 4]
mov dword [esp + 0x20], ecx
mov edx, dword [eax + 8]
mov dword [esp + 0x24], edx
mov eax, dword [eax + 4]
test eax, eax
je 0x42ee77
push eax
call fcn.0049d4a0
add esp, 4
mov dword [esp + 0x28], eax
jmp 0x42ee7f
mov dword [esp + 0x28], 0
mov ecx, dword [ebp + 0x24cc]
test ecx, ecx
je 0x42ee92
call fcn.0047b630
mov dword [esp + 0x2c], eax
mov ecx, dword [ebp + 0x24d0]
test ecx, ecx
je 0x42eea5
call fcn.00479190
mov dword [esp + 0x44], eax
mov cl, byte [ebp + 0x24d4]
lea eax, [ebp + 0x24d4]
test cl, cl
je 0x42eec3
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x1c]
or al, 1
mov dword [esp + 0x1c], eax
mov eax, dword [ebp + 0x222c]
push ebx
push fcn.0042e950
lea ecx, [esp + 0x24]
push eax
push ecx
push 1
push 0
lea ecx, [esp + 0xf4]
call fcn.004ed040
mov edi, dword [esp + 0x18]
mov esi, eax
push 0
push ebx
push fcn.0042e950
lea ecx, [esp + 0xe8]
call fcn.004ed6a0
test esi, esi
jne 0x42ef05
mov esi, eax
push 0
mov ecx, ebx
call sub.MFC42.DLL_CWnd::ShowWindow
test esi, esi
jne 0x42ef70
mov eax, dword [ebp + 0x25dc]
mov ecx, dword [ebp + 0x25e8]
cmp eax, ecx
jge 0x42ef31
test eax, eax
jl 0x42ef31
mov edx, dword [ebp + 0x25e4]
mov eax, dword [edx + eax*4]
jmp 0x42ef33
xor eax, eax
mov ecx, ebp
mov dword [eax], 0
call fcn.00401a7d
mov ecx, ebp
call fcn.0040156e
push edi
mov ecx, 0x566958
call sub.MFC42.DLL_CWinApp::AddToRecentFileList
lea ecx, [esp + 0xdc]
mov dword [esp + 0xb20], 0xffffffff
call fcn.004ece60
mov eax, 1
jmp 0x42ef97
push 0xffffffffffffffff
push 0x30
push 0x3e8e
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0xdc]
mov dword [esp + 0xb20], 0xffffffff
call fcn.004ece60
xor eax, eax
mov ecx, dword [esp + 0xb18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0xb14
ret