Function at 0x4cc3a0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x58df70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x5fd02c
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString_4
lea eax, [esp + 0x34]
xor ebx, ebx
push eax
mov ecx, edi
mov dword [esp + 0x4c], ebx
call fcn.004bcbc0
mov ecx, dword [eax]
push str.LocCutListCfg.ini
push ecx
lea edx, [esp + 0x18]
push str._s_s
push edx
mov byte [esp + 0x58], 1
call sub.MFC42.DLL_CString::Format
add esp, 0x10
lea ecx, [esp + 0x34]
mov byte [esp + 0x48], bl
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, dword [edi + 0x7a8]
push 0x5fd02c
lea ecx, [esp + 0x3c]
mov dword [esp + 0x40], esi
call sub.MFC42.DLL_CString::CString_4
push esi
lea ecx, [esp + 0x3c]
push 0x5e2418
push ecx
mov byte [esp + 0x54], 2
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
mov ebp, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
add esp, 0xc
push edx
push eax
push str.CutListTotal
push str.LocCutList
call ebp
cmp esi, ebx
jle 0x4cc7b7
xor esi, esi
push 0x5fd02c
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::CString_4
push ebx
lea ecx, [esp + 0x18]
push 0x5e2418
push ecx
mov byte [esp + 0x54], 3
call sub.MFC42.DLL_CString::Format
mov edx, dword [edi + 0x7a4]
mov ecx, dword [esp + 0x1c]
add esp, 0xc
mov eax, dword [esi + edx + 0x40]
mov edx, dword [esp + 0x14]
push ecx
push eax
push str.FileName
push edx
call ebp
push 0x5fd02c
lea ecx, [esp + 0x38]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [edi + 0x7a4]
lea edx, [esp + 0x34]
mov byte [esp + 0x48], 4
mov ecx, dword [esi + eax]
push ecx
push 0x5e2418
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x20]
add esp, 0xc
push eax
push ecx
push str.CutTotal
push edx
call ebp
push 0x5fd02c
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [edi + 0x7a4]
mov byte [esp + 0x48], 5
mov ecx, dword [esi + eax + 0xc]
push ecx
mov edx, dword [esi + eax + 8]
lea eax, [esp + 0x34]
push edx
push str._0.4f
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x24]
add esp, 0x10
push ecx
push edx
push str.PageLen
push eax
call ebp
push 0x5fd02c
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [edi + 0x7a4]
mov byte [esp + 0x48], 6
mov edx, dword [esi + ecx + 0x14]
push edx
mov eax, dword [esi + ecx + 0x10]
lea ecx, [esp + 0x30]
push eax
push str._0.4f
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x20]
add esp, 0x10
push edx
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x18]
push eax
push str.PageWidth
push ecx
call ebp
push 0x5fd02c
lea ecx, [esp + 0x2c]
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [edi + 0x7a4]
mov byte [esp + 0x48], 7
mov eax, dword [esi + edx + 0x1c]
push eax
mov ecx, dword [esi + edx + 0x18]
lea edx, [esp + 0x2c]
push ecx
push str._0.4f
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x24]
add esp, 0x10
push eax
push ecx
push str.PageDist
push edx
call ebp
push 0x5fd02c
lea ecx, [esp + 0x28]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [edi + 0x7a4]
mov byte [esp + 0x48], 8
mov ecx, dword [esi + eax + 0x24]
push ecx
mov edx, dword [esi + eax + 0x20]
lea eax, [esp + 0x28]
push edx
push str._0.4f
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x24]
add esp, 0x10
push ecx
push edx
push str.BorderDistX
push eax
call ebp
push 0x5fd02c
lea ecx, [esp + 0x24]
call sub.MFC42.DLL_CString::CString_4
mov ecx, dword [edi + 0x7a4]
mov byte [esp + 0x48], 9
mov edx, dword [esi + ecx + 0x2c]
push edx
mov eax, dword [esi + ecx + 0x28]
lea ecx, [esp + 0x24]
push eax
push str._0.4f
push ecx
call sub.MFC42.DLL_CString::Format
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add esp, 0x10
push edx
push eax
push str.BorderDistY
push ecx
call ebp
push 0x5fd02c
lea ecx, [esp + 0x20]
call sub.MFC42.DLL_CString::CString_4
mov edx, dword [edi + 0x7a4]
mov byte [esp + 0x48], 0xa
mov eax, dword [esi + edx + 0x34]
push eax
mov ecx, dword [esi + edx + 0x30]
lea edx, [esp + 0x20]
push ecx
push str._0.4f
push edx
call sub.MFC42.DLL_CString::Format
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x24]
add esp, 0x10
push eax
push ecx
push str.SizeOffsetX
push edx
call ebp
push 0x5fd02c
lea ecx, [esp + 0x1c]
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [edi + 0x7a4]
mov byte [esp + 0x48], 0xb
mov ecx, dword [esi + eax + 0x3c]
push ecx
mov edx, dword [esi + eax + 0x38]
lea eax, [esp + 0x1c]
push edx
push str._0.4f
push eax
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
add esp, 0x10
push ecx
push edx
push str.SizeOffsetY
push eax
call ebp
mov ecx, dword [edi + 0x7a4]
mov edx, dword [esp + 0x10]
push edx
mov eax, dword [esi + ecx + 0x44]
push eax
mov eax, dword [esp + 0x1c]
push str.FilePath
push eax
call ebp
lea ecx, [esp + 0x18]
mov byte [esp + 0x48], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1c]
mov byte [esp + 0x48], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x48], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x24]
mov byte [esp + 0x48], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x48], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x2c]
mov byte [esp + 0x48], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov byte [esp + 0x48], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x34]
mov byte [esp + 0x48], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov byte [esp + 0x48], 2
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x3c]
inc ebx
add esi, 0x48
cmp ebx, eax
jl 0x4cc479
lea ecx, [esp + 0x38]
mov byte [esp + 0x48], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov dword [esp + 0x48], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x40]
pop edi
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret