Function at 0x402f9a
Capabilities:
Delete file

Disassembly:
jmp 0x42ded0
push 0xffffffffffffffff
push 0x526f7a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8b8
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
xor ebx, ebx
push 0x7f02
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov edi, eax
mov dword [esp + 0x18], edi
push 1
lea ecx, [ebp + 0x838]
push ebx
mov dword [esp + 0x8d8], ebx
call fcn.0040134d
mov esi, dword [ebp + 0x25fc]
cmp esi, ebx
je 0x42df45
mov ecx, esi
call fcn.004df1c0
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov esi, dword [ebp + 0x21ec]
cmp esi, ebx
je 0x42df5f
mov ecx, esi
call fcn.00492f70
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [ebp + 0x24cc]
cmp ecx, ebx
je 0x42df6f
mov edx, dword [ecx]
push 1
call dword [edx]
mov ecx, dword [ebp + 0x24d0]
cmp ecx, ebx
je 0x42df7f
mov eax, dword [ecx]
push 1
call dword [eax]
cmp dword [ebp + 0x25f0], ebx
je 0x42dfc7
mov eax, dword [ebp + 0x25e8]
xor esi, esi
cmp eax, ebx
jle 0x42dfc7
cmp esi, eax
jge 0x42dfb8
cmp esi, ebx
jl 0x42dfb8
mov ecx, dword [ebp + 0x25e4]
mov edi, dword [ecx + esi*4]
cmp edi, ebx
je 0x42dfb8
mov ecx, edi
call fcn.0040110e
push edi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebp + 0x25e8]
inc esi
cmp esi, eax
jl 0x42df97
mov edi, dword [esp + 0x18]
mov eax, dword [ebp + 0x25e4]
push eax
call sub.MFC42.DLL_operatordelete
push 0x80
call sub.MFC42.DLL_operatornew
add esp, 8
mov ecx, ebp
mov dword [ebp + 0x25e4], eax
mov dword [ebp + 0x25e8], ebx
mov dword [ebp + 0x25ec], 0x1f
mov dword [ebp + 0x25f4], 0x40
call fcn.00402c70
push 0x78
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [esp + 0x10], eax
cmp eax, ebx
mov byte [esp + 0x8d0], 1
je 0x42e032
mov edx, dword [esp + 0x8d8]
mov ecx, eax
push edx
call fcn.004ded00
jmp 0x42e034
xor eax, eax
mov ecx, eax
mov byte [esp + 0x8d0], 0
mov dword [ebp + 0x25fc], eax
call fcn.004e0220
test eax, eax
jne 0x42e05c
cmp edi, ebx
je 0x42e680
mov eax, edi
jmp 0x42e68c
mov ecx, dword [ebp + 0x25fc]
call fcn.004e1360
lea ecx, [esp + 0x1c]
call fcn.004de7d0
mov ecx, dword [ebp + 0x25fc]
lea eax, [ebp + 0x7f8]
mov dword [esp + 0x44], 1
mov dword [esp + 0x48], fcn.0042e8b0
mov dword [esp + 0x4c], eax
mov dword [esp + 0x10], ebx
call fcn.004e1400
test eax, eax
jle 0x42e17d
push 0x118
call sub.MFC42.DLL_operatornew
add esp, 4
cmp eax, ebx
je 0x42e161
mov ecx, eax
call fcn.00401523
cmp eax, ebx
mov dword [esp + 0x14], eax
je 0x42e161
mov ecx, dword [ebp + 0x25ec]
mov esi, dword [ebp + 0x25e8]
lea edx, [ecx + 1]
cmp esi, edx
jne 0x42e145
mov eax, dword [ebp + 0x25f4]
add eax, ecx
lea ecx, [eax*4 + 4]
push ecx
call sub.MFC42.DLL_operatornew
mov edx, dword [ebp + 0x25ec]
mov esi, dword [ebp + 0x25e4]
mov ebx, eax
lea ecx, [edx*4 + 4]
mov edi, ebx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov eax, dword [ebp + 0x25e4]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [ebp + 0x25f4]
mov eax, dword [ebp + 0x25ec]
add eax, ecx
add esp, 8
mov dword [ebp + 0x25e4], ebx
mov dword [ebp + 0x25ec], eax
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov edx, dword [ebp + 0x25e8]
mov ecx, dword [ebp + 0x25e4]
mov dword [ecx + edx*4], eax
mov eax, dword [ebp + 0x25e8]
inc eax
mov dword [ebp + 0x25e8], eax
mov esi, dword [esp + 0x10]
mov ecx, dword [ebp + 0x25fc]
inc esi
mov dword [esp + 0x10], esi
call fcn.004e1400
cmp esi, eax
jl 0x42e0a1
mov ecx, dword [ebp + 0x25fc]
push 0xffffffffffffffff
mov dword [ebp + 0x25dc], ebx
call fcn.004e0500
mov ecx, dword [ebp + 0x25fc]
push 0xffffffffffffffff
mov esi, eax
call fcn.004e05b0
cmp dword [ebp + 0x22d8], ebx
jne 0x42e1b2
push eax
push esi
mov ecx, ebp
call fcn.00402a31
jmp 0x42e1b9
mov ecx, ebp
call fcn.00401749
mov eax, dword [ebp + 0x2230]
mov ecx, dword [ebp + 0x25fc]
lea esi, [eax + eax*2]
shl esi, 4
add esi, 0x5534a8
mov edx, dword [esi + 4]
mov eax, dword [esi]
push edx
push eax
push 0xffffffffffffffff
call fcn.004e0500
mov edi, dword [sym.imp.KERNEL32.dll_MulDiv]
push eax
call edi
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push ecx
mov ecx, dword [ebp + 0x25fc]
push edx
push 0xffffffffffffffff
call fcn.004e05b0
push eax
call edi
mov eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
lea esi, [ebp + 0x7f8]
push 5
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
lea ecx, [esp + 0x1c]
push ecx
mov ecx, dword [ebp + 0x25fc]
call fcn.004df460
push ebx
mov ecx, esi
mov edi, eax
call sub.MFC42.DLL_CWnd::ShowWindow
cmp edi, ebx
je 0x42e65a
mov ecx, dword [ebp + 0x25fc]
push 0xffffffffffffffff
call fcn.004e0800
test eax, eax
je 0x42e65a
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea esi, [ebp + 0x24d4]
cmp esi, ebx
jne 0x42e265
push ebx
call edi
mov byte [esi], 0
mov ecx, dword [ebp + 0x25fc]
call fcn.004e01a0
mov dword [ebp + 0x21e8], eax
mov eax, dword [ebp + 0x25dc]
cmp eax, dword [ebp + 0x25e8]
jge 0x42e293
cmp eax, ebx
jl 0x42e293
mov edx, dword [ebp + 0x25e4]
mov eax, dword [edx + eax*4]
jmp 0x42e295
xor eax, eax
mov dword [eax], ebx
mov ecx, dword [ebp + 0x25fc]
push 0xffffffffffffffff
call fcn.004e0c50
mov ecx, dword [ebp + 0x25fc]
push 0xffffffffffffffff
mov dword [ebp + 0x24cc], eax
call fcn.004e0f40
push 0x18
mov dword [ebp + 0x24d0], eax
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
mov dword [esp + 0x10], esi
cmp esi, ebx
mov byte [esp + 0x8d0], 2
je 0x42e2f0
mov ecx, dword [ebp + 0x25fc]
push 0xffffffffffffffff
call fcn.004e0800
push eax
mov ecx, esi
call fcn.00492b60
jmp 0x42e2f2
xor eax, eax
mov dword [ebp + 0x21ec], eax
mov eax, dword [eax + 4]
push ebx
mov byte [esp + 0x8d4], 0
mov dword [eax + 0x10], ebx
mov ecx, dword [ebp + 0x21ec]
push ecx
lea ecx, [ebp + 0x838]
call fcn.0040134d
mov eax, dword [esp + 0x8dc]
mov dword [ebp + 0x24b0], ebx
cmp eax, ebx
je 0x42e38f
mov byte [ebp + 0x20e4], 0
mov dword [ebp + 0x2228], 1
mov eax, dword [0x566a38]
inc eax
mov dword [0x566a38], eax
mov dword [ebp + 0x24b4], eax
mov eax, dword [ebp + 0x25dc]
mov ecx, dword [ebp + 0x25e8]
cmp eax, ecx
jge 0x42e37b
cmp eax, ebx
jl 0x42e37b
mov edx, dword [ebp + 0x25e4]
mov eax, dword [edx + eax*4]
mov dword [eax], 1
mov eax, dword [esp + 0x8d8]
push eax
call edi
jmp 0x42e3cb
xor eax, eax
mov dword [eax], 1
mov eax, dword [esp + 0x8d8]
push eax
call edi
jmp 0x42e3cb
mov esi, dword [esp + 0x8d8]
lea eax, [ebp + 0x20e4]
cmp esi, eax
je 0x42e3a8
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
mov ecx, 0x566958
mov dword [ebp + 0x2228], ebx
call sub.MFC42.DLL_CWinApp::AddToRecentFileList
push 2
push esi
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
mov dword [ebp + 0x24b0], eax
mov ecx, ebp
call fcn.00401a7d
lea ecx, [ebp + 0x5b4]
cmp ecx, ebx
je 0x42e3ed
cmp dword [ecx + 0x20], ebx
je 0x42e3ed
mov edx, dword [ebp + 0x21ec]
push edx
call fcn.004016b8
mov ecx, ebp
call fcn.00401e97
mov ecx, ebp
call fcn.00402a8b
mov ecx, ebp
call fcn.0040156e
cmp dword [ebp + 0x24b0], ebx
je 0x42e5b2
lea ecx, [esp + 0x10]
call fcn.004fdecc
mov byte [esp + 0x8d0], 3
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [esp + 0xc8]
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 + 0xc8]
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 byte [esp + 0x8d0], 4
call fcn.004fdecc
mov byte [esp + 0x8d0], 5
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [esp + 0x4c8]
push 0x400
push ecx
push 0x4e56
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 + 0x4c8]
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.ReadOnly
push str.WarningMessage
push ebx
push ecx
mov byte [esp + 0x8e4], 6
push ebp
lea ecx, [esp + 0x6c]
call fcn.0048fa40
lea ecx, [esp + 0x14]
mov byte [esp + 0x8d0], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x8d0], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
call fcn.0048fce0
lea ecx, [esp + 0xc0]
mov byte [esp + 0x8d0], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xbc]
mov byte [esp + 0x8d0], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xb8]
mov byte [esp + 0x8d0], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xb4]
mov byte [esp + 0x8d0], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x54]
mov byte [esp + 0x8d0], 0
call sub.MFC42.DLL_CDialog::CDialog
xor ebx, ebx
mov ecx, dword [ebp + 0x25fc]
call fcn.004e1400
cmp eax, 1
jle 0x42e5c9
mov ecx, ebp
call fcn.00401eec
mov ecx, dword [ebp + 0x25fc]
call fcn.004e1e20
test eax, eax
je 0x42e61c
lea esi, [ebp + 0x24d4]
push 0x55407c
push esi
call fcn.004771f0
mov ecx, dword [ebp + 0x25fc]
add esp, 8
push esi
call fcn.004e1fe0
test eax, eax
jne 0x42e61c
cmp ebp, ebx
je 0x42e603
mov eax, dword [ebp + 0x20]
mov edx, dword [0x566a70]
push ebx
push 0x4e31
push eax
push edx
call fcn.00472e10
add esp, 0x10
mov byte [esi], 0
mov eax, dword [ebp + 0x858]
push ebx
push ebx
push eax
call dword [sym.imp.USER32.dll_InvalidateRect]
mov ecx, dword [ebp + 0x858]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x42e64c
push 0x7f00
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
mov eax, 1
jmp 0x42e695
mov edx, dword [ebp + 0x21ec]
push 1
push edx
lea ecx, [ebp + 0x838]
call fcn.0040134d
mov eax, dword [ebp + 0x20]
push eax
call dword [sym.imp.USER32.dll_UpdateWindow]
mov eax, dword [esp + 0x18]
cmp eax, ebx
jne 0x42e68c
push 0x7f00
push ebx
call dword [sym.imp.USER32.dll_LoadCursorA]
push eax
call dword [sym.imp.USER32.dll_SetCursor]
xor eax, eax
mov ecx, dword [esp + 0x8c8]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8c4
ret 8