Function at 0x41ece1
Capabilities:
Check if file exists
Delete file

Disassembly:
push 0x308
mov eax, 0x62324c
call fcn.00503bb3
mov ebx, ecx
mov edi, dword [ebp + 8]
xor ecx, ecx
mov eax, dword [ebp + 0x10]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x310], edi
mov dword [ebp - 0x30c], ecx
mov dword [ebp - 0x308], eax
xor eax, eax
mov dword [edi + 0x10], ecx
mov dword [edi + 0x14], 7
mov word [edi], ax
inc eax
mov dword [ebp - 0x220], ecx
mov dword [ebp - 0x30c], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], cl
push 0x208
mov dword [ebp - 4], eax
lea eax, [ebp - 0x218]
push ecx
push eax
call fcn.0051c7f0
and dword [ebp - 0x250], 0
add esp, 0xc
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
lea ecx, [ebp - 0x298]
mov byte [ebp - 4], 2
call fcn.004084e6
lea ecx, [ebp - 0x304]
mov byte [ebp - 4], 3
call fcn.0041ded7
mov ecx, ebx
call fcn.0041ebc2
cmp dword [esi + 0x10], 0
jbe 0x41ef7e
mov eax, dword [ebp - 0x308]
cmp dword [eax + 0x10], 0
jbe 0x41ef7e
push esi
lea ecx, [ebp - 0x304]
call fcn.0041e853
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x304]
call fcn.0041e0c3
push eax
lea ecx, [ebp - 0x260]
call fcn.0040528a
lea ecx, [ebp - 0x248]
call fcn.00403602
xor eax, eax
push eax
sub esp, 0x18
mov ecx, esp
mov dword [ecx + 0x10], eax
mov dword [ecx + 0x14], eax
lea eax, [ebp - 0x260]
push eax
call fcn.004031db
lea eax, [ebp - 0x248]
push eax
call fcn.0040a080
add esp, 0x20
cmp dword [eax + 0x14], 8
jb 0x41ee10
mov eax, dword [eax]
cmp dword [ebx + 0x14], 8
mov ecx, ebx
jb 0x41ee1a
mov ecx, dword [ebx]
push eax
push ecx
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x248]
mov esi, eax
call fcn.004019ec
test esi, esi
je 0x41ef7e
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x41ee5c
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 9
push str.timestamp
lea ecx, [ebp - 0x230]
call fcn.00403598
push 0
call fcn.00528f33
pop ecx
push edx
push eax
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x298]
call fcn.004087fe
push 7
push str.content
lea ecx, [ebp - 0x230]
call fcn.00403598
push dword [ebp - 0x308]
lea eax, [ebp - 0x230]
push eax
lea ecx, [ebp - 0x298]
call fcn.0040873c
lea eax, [ebp - 0x248]
push eax
lea ecx, [ebp - 0x298]
call fcn.00408bc6
push eax
lea ecx, [ebp - 0x230]
call fcn.0040528a
lea ecx, [ebp - 0x248]
call fcn.00403602
cmp dword [ebx + 0x28], 0
push 0x10
pop esi
jbe 0x41ef31
cmp dword [ebx + 0x40], 0
jbe 0x41ef31
lea eax, [ebx + 0x30]
cmp dword [eax + 0x14], esi
jb 0x41eef6
mov eax, dword [eax]
add ebx, 0x18
cmp dword [ebx + 0x14], esi
jb 0x41ef00
mov ebx, dword [ebx]
push esi
push esi
push eax
push ebx
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.0041f14f
add esp, 0x18
lea ecx, [ebp - 0x230]
push eax
call fcn.0040528a
lea ecx, [ebp - 0x248]
call fcn.00403602
cmp dword [ebp - 0x21c], esi
lea eax, [ebp - 0x230]
push dword [ebp - 0x220]
cmovae eax, dword [ebp - 0x230]
push eax
lea eax, [ebp - 0x218]
push eax
call fcn.0041d601
add esp, 0xc
test eax, eax
jne 0x41ef7e
and dword [edi + 0x10], eax
mov eax, edi
cmp dword [edi + 0x14], 8
jb 0x41ef6b
mov eax, dword [edi]
xor ecx, ecx
mov word [eax], cx
lea eax, [ebp - 0x218]
push eax
mov ecx, edi
call fcn.00401975
lea ecx, [ebp - 0x298]
call fcn.0040859c
lea ecx, [ebp - 0x260]
call fcn.00403602
lea ecx, [ebp - 0x230]
call fcn.00403602
mov eax, edi
call fcn.00503b5d
ret 0xc