Function at 0x407ad2
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41cf70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2b4
mov dword [ebp - 0x2a8], ecx
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 2
mov ecx, dword [ebp + 8]
call fcn.00401d30
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x18], 0
jmp 0x407b3a
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x10]
jge 0x407d93
mov edx, dword [ebp - 0x18]
push edx
mov ecx, dword [ebp + 8]
call fcn.00401da0
push eax
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator_2
push 0
lea ecx, [ebp - 0x20]
call fcn.00401ee0
push eax
call fcn.004144cc
add esp, 8
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x154]
push eax
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00414500
add esp, 0xc
mov dword [ebp - 0x24], 1
mov byte [ebp - 0x160], 0
mov edx, dword [ebp - 0x154]
mov dword [ebp - 0x158], edx
mov dword [ebp - 0x15c], 0
jmp 0x407bbb
mov eax, dword [ebp - 0x15c]
add eax, 1
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x15c]
cmp ecx, dword [ebp - 0x158]
jge 0x407c92
lea edx, [ebp - 0x290]
push edx
mov eax, dword [ebp - 0x15c]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00414500
add esp, 0xc
lea edx, [ebp - 0x28c]
push edx
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [eax + 4]
push ecx
push 0x424598
lea edx, [ebp - 0x1c]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
push 0x4245a0
lea eax, [ebp - 0x28c]
push eax
call fcn.00406f40
add esp, 8
test eax, eax
jne 0x407c36
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x2a8]
call fcn.004080bd
mov byte [ebp - 0x160], al
push ecx
mov ecx, esp
mov dword [ebp - 0x294], esp
lea edx, [ebp - 0x1c]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x2ac], eax
call fcn.004026f3
add esp, 4
mov dword [ebp - 0x2b0], eax
cmp dword [ebp - 0x2b0], 0
je 0x407c71
mov dword [ebp - 0x24], 0
jmp 0x407bac
lea ecx, [ebp - 0x1c]
call fcn.00401ee0
push eax
mov eax, dword [ebp - 0x15c]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00414673
add esp, 0xc
jmp 0x407bac
mov edx, dword [ebp - 0x28]
push edx
call fcn.0041b6cc
add esp, 4
and eax, 0xff
test eax, eax
je 0x407cbb
mov eax, dword [ebp - 0x28]
push eax
call fcn.0041b637
add esp, 4
mov dword [ebp - 0x2b4], eax
jmp 0x407ccd
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.0041470e
add esp, 4
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x24], 0
je 0x407d08
lea ecx, [ebp - 0x20]
call fcn.00401ee0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push ecx
mov ecx, esp
mov dword [ebp - 0x298], esp
lea edx, [ebp - 0x20]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x2b8], eax
mov ecx, dword [ebp - 0x2a8]
add ecx, 8
call fcn.0040b0a4
push 0x4245b4
mov eax, dword [ebp - 0x2a8]
add eax, 4
push eax
lea ecx, [ebp - 0x164]
push ecx
call sub.MFC42.DLL_operator_2
mov byte [ebp - 4], 3
push ecx
mov ecx, esp
mov dword [ebp - 0x29c], esp
lea edx, [ebp - 0x164]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x2bc], eax
mov ecx, dword [ebp - 0x2a8]
call fcn.00407dda
mov eax, dword [ebp - 0x160]
and eax, 0xff
test eax, eax
je 0x407d7f
push ecx
mov ecx, esp
mov dword [ebp - 0x2a0], esp
lea edx, [ebp - 0x14]
push edx
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x2c0], eax
mov ecx, dword [ebp - 0x2a8]
call fcn.004081b8
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x164]
call sub.MFC42.DLL_CString::CString
jmp 0x407b31
mov dword [ebp - 0x2a4], 1
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x2a4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4