Function at 0x4bc570
Capabilities:
Delete file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x586e41
push eax
mov eax, 0x11c4
mov dword fs:[0], esp
call fcn.00552f40
push edi
mov edi, dword [esp + 0x11d8]
push 0
push 1
mov ecx, dword [edi + 0x128]
mov eax, dword [edi]
mov edx, dword [ecx + 4]
mov ecx, edi
push edx
call dword [eax + 0x1bc]
test eax, eax
jne 0x4bc5dd
push 0x759
push str.Data_not_save_n_nplease_save_first
call fcn.004c31a0
add esp, 8
xor eax, eax
pop edi
mov ecx, dword [esp + 0x11c4]
mov dword fs:[0], ecx
add esp, 0x11d0
ret
push ebx
push ebp
push esi
push 0
push 0xc80
push 2
push 0x2710
lea ecx, [esp + 0x74]
call fcn.004016d0
push 0
push 0xc80
push 2
push 0x2710
lea ecx, [esp + 0x60c]
mov dword [esp + 0x11ec], 0
call fcn.004016d0
mov eax, dword [esp + 0x11e8]
mov esi, edi
sub esi, eax
push 1
neg esi
sbb esi, esi
push edi
and esi, eax
lea eax, [esp + 0x6c]
lea ecx, [esp + 0xb9c]
push eax
push ecx
mov byte [esp + 0x11ec], 1
call fcn.004bc510
push 1
lea edx, [esp + 0x610]
push esi
lea eax, [esp + 0xecc]
push edx
push eax
call fcn.004bc510
mov eax, dword [esp + 0x1218]
add esp, 0x20
test eax, eax
je 0x4bc702
push edi
push 1
call fcn.004710c0
mov ebx, eax
mov eax, dword [0x66509c]
add esp, 8
test eax, eax
je 0x4bc69c
mov ecx, dword [eax + 0x20]
push ebx
push 1
push 0x406
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ebp, 1
cmp ebx, ebp
jl 0x4bc719
push edi
push ebp
call fcn.004a74e0
mov eax, dword [0x66509c]
add esp, 8
test eax, eax
je 0x4bc6e4
mov edx, dword [eax + 0x20]
push 0
push ebp
push 0x402
push edx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0x128]
mov ecx, dword [eax + 4]
push ecx
mov ecx, dword [0x63e530]
push 0x10c4
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
push esi
lea edx, [esp + 0x600]
push edi
lea eax, [esp + 0x6c]
push edx
push eax
call fcn.004bc490
add esp, 0x10
inc ebp
cmp ebp, ebx
jle 0x4bc6a5
jmp 0x4bc719
push esi
lea ecx, [esp + 0x600]
push edi
lea edx, [esp + 0x6c]
push ecx
push edx
call fcn.004bc490
add esp, 0x10
lea eax, [esp + 0x64]
push 1
push eax
call fcn.0044ff40
add esp, 8
test esi, esi
je 0x4bc73e
lea ecx, [esp + 0x5fc]
push 1
push ecx
call fcn.0044ff40
add esp, 8
mov eax, dword [esp + 0x11f8]
test eax, eax
je 0x4bc761
mov edx, dword [edi + 0x2c]
mov eax, dword [esp + 0x11ec]
push edx
push eax
lea ecx, [esp + 0x1c]
push 0x5fe2b8
push ecx
jmp 0x4bc77d
mov edx, dword [edi + 0x128]
mov ecx, dword [esp + 0x11ec]
mov eax, dword [edx + 4]
lea edx, [esp + 0x14]
push eax
push ecx
push 0x5fe2b8
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0x10
lea eax, [esp + 0x14]
push eax
call fcn.0044e5b0
mov edi, 0x5fc52c
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call edi
lea ecx, [esp + 0xeb4]
push 0x619640
lea edx, [esp + 0xb98]
push ecx
lea eax, [esp + 0x1c]
push edx
push eax
push 1
call fcn.004bc0e0
add esp, 0x14
call fcn.004f1410
mov eax, dword [esp + 0x11f4]
mov esi, 1
test eax, eax
je 0x4bc879
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
mov edx, dword [esp + 0x11f0]
lea ecx, [esp + 0x14]
push ecx
push edx
lea eax, [esp + 0x18]
push 0x607ba0
push eax
mov byte [esp + 0x11ec], 2
call sub.MFC42.DLL_CString::Format
mov eax, dword [0x64b2e0]
push 0
mov ecx, dword [eax + 0xad8]
mov edx, dword [eax + 0xad4]
mov eax, dword [eax + 0xad0]
push ecx
push edx
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0x30]
push eax
push ecx
push edx
push 0
push 0
call fcn.00516d10
add esp, 0x30
lea ecx, [esp + 0x10]
mov esi, eax
mov byte [esp + 0x11dc], 1
call sub.MFC42.DLL_CString::CString
lea eax, [esp + 0xb94]
push eax
call edi
lea ecx, [esp + 0xeb4]
push ecx
call edi
lea ecx, [esp + 0x5fc]
mov byte [esp + 0x11dc], 0
call fcn.0045b900
lea ecx, [esp + 0x64]
mov dword [esp + 0x11dc], 0xffffffff
call fcn.0045b900
mov ecx, dword [esp + 0x11d4]
mov eax, esi
pop esi
pop ebp
pop ebx
pop edi
mov dword fs:[0], ecx
add esp, 0x11d0
ret