Function at 0x415da4
Capabilities:
Delete file

Disassembly:
mov eax, 0x42c338
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x12c
push ebx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
mov ecx, dword [0x43b000]
push edi
push edi
call fcn.0041b07d
and byte [esi + 0x230], 0
mov dword [esi + 0x564], edi
mov dword [esi + 0x558], edi
lea eax, [ebp - 0x14]
mov esi, 0x441ef8
push eax
mov ecx, esi
call fcn.00403db2
push 0x43ceec
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], edi
push eax
call sub.MFC42.DLL_operator_2
push dword [eax]
mov edi, dword [sym.imp.MSVCRT.dll_remove]
mov byte [ebp - 4], 1
call edi
and byte [ebp - 4], 0
pop ecx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00403db2
push 0x43cefc
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 2
push eax
call sub.MFC42.DLL_operator_2
push dword [eax]
mov byte [ebp - 4], 3
call edi
pop ecx
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [0x441f14]
mov eax, dword [eax - 8]
add eax, 0x14
push eax
call sub.MFC42.DLL_operatornew
mov dword [ebp - 0x1c], eax
pop ecx
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
call fcn.00403db2
push str.DDECREQ.dat
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 4
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 5
push ecx
push dword [eax]
mov ebx, dword [sym.imp.MSVCRT.dll__findfirst]
call ebx
pop ecx
mov byte [ebp - 4], 4
pop ecx
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov byte [ebp - 0xd], cl
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
cmp byte [ebp - 0xd], 0
je 0x415f4e
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.00403db2
lea ecx, [ebp - 0x124]
mov dword [ebp - 4], 6
push ecx
push dword [eax]
push 0x43cf1c
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCRT.dll_sprintf]
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x1c]
call edi
pop ecx
lea eax, [ebp - 0x18]
push eax
mov ecx, esi
call fcn.00403db2
push str.DDECREQ.dat
push eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 4
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 5
push ecx
push dword [eax]
jmp 0x415eb0
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
call fcn.00403db2
push str.._
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 7
push eax
call sub.MFC42.DLL_operator_2
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 8
push ecx
push dword [eax]
call ebx
pop ecx
mov byte [ebp - 4], 7
pop ecx
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov byte [ebp - 0xd], cl
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
cmp byte [ebp - 0xd], 0
je 0x41600d
lea eax, [ebp - 0x20]
mov ecx, esi
push eax
call fcn.00403db2
lea ecx, [ebp - 0x124]
mov dword [ebp - 4], 9
push ecx
push dword [eax]
push 0x43cf2c
push dword [ebp - 0x1c]
call dword [sym.imp.MSVCRT.dll_sprintf]
or dword [ebp - 4], 0xffffffff
add esp, 0x10
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
push dword [ebp - 0x1c]
call edi
pop ecx
lea eax, [ebp - 0x14]
push eax
mov ecx, esi
call fcn.00403db2
push str.._
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 4], 7
push eax
call sub.MFC42.DLL_operator_2
jmp 0x415f6f
push dword [ebp - 0x1c]
call sub.MFC42.DLL_operatordelete
pop ecx
pop edi
mov ecx, dword [ebp - 0xc]
pop esi
mov al, 1
mov dword fs:[0], ecx
pop ebx
leave
ret