Function at 0x407b92
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d330
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 0x407bfa
mov eax, dword [ebp - 0x18]
add eax, 1
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 0x18]
cmp ecx, dword [ebp - 0x10]
jge 0x407e53
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.0041487c
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.004148b0
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 0x407c7b
mov eax, dword [ebp - 0x15c]
add eax, 1
mov dword [ebp - 0x15c], eax
mov ecx, dword [ebp - 0x15c]
cmp ecx, dword [ebp - 0x158]
jge 0x407d52
lea edx, [ebp - 0x290]
push edx
mov eax, dword [ebp - 0x15c]
push eax
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.004148b0
add esp, 0xc
lea edx, [ebp - 0x28c]
push edx
mov eax, dword [ebp - 0x2a8]
mov ecx, dword [eax + 4]
push ecx
push 0x4245a4
lea edx, [ebp - 0x1c]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0x10
push 0x4245ac
lea eax, [ebp - 0x28c]
push eax
call fcn.00407020
add esp, 8
test eax, eax
jne 0x407cf6
lea ecx, [ebp - 0x14]
push ecx
mov ecx, dword [ebp - 0x2a8]
call fcn.0040817d
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 0x407d31
mov dword [ebp - 0x24], 0
jmp 0x407c6c
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.00414a23
add esp, 0xc
jmp 0x407c6c
mov edx, dword [ebp - 0x28]
push edx
call fcn.0041ba7c
add esp, 4
and eax, 0xff
test eax, eax
je 0x407d7b
mov eax, dword [ebp - 0x28]
push eax
call fcn.0041b9e7
add esp, 4
mov dword [ebp - 0x2b4], eax
jmp 0x407d8d
mov ecx, dword [ebp - 0x28]
push ecx
call fcn.00414abe
add esp, 4
mov dword [ebp - 0x2b4], eax
cmp dword [ebp - 0x24], 0
je 0x407dc8
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.0040b314
push 0x4245c0
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.00407e9a
mov eax, dword [ebp - 0x160]
and eax, 0xff
test eax, eax
je 0x407e3f
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.00408278
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x164]
call sub.MFC42.DLL_CString::CString
jmp 0x407bf1
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