Function at 0x424710
Capabilities:
Check if file exists
Delete file
Get common file path
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ff9b
mov eax, dword fs:[0]
push eax
sub esp, 0x634
mov eax, dword [0x468738]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x63c], edi
mov dword [ebp - 0x638], edi
mov dword [ebp - 0x634], edi
mov dword [ebp - 4], edi
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov dword [ebp - 0x640], eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
push 0x7c
lea ebx, [ebp - 0x63c]
mov ecx, esi
call fcn.004368e0
mov ecx, dword [ebp - 0x638]
sub ecx, dword [ebp - 0x63c]
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esp, 4
xor ebx, ebx
add esi, edx
je 0x4248d8
mov eax, dword [ebp - 0x63c]
mov dword [ebp - 0x62c], eax
jmp 0x4247b7
mov eax, dword [ebp - 0x62c]
cmp esi, ebx
jbe 0x424952
cmp dword [eax + 0x14], 8
jb 0x4247c7
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004394c3
add esp, 0xc
push 0x80
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea edx, [ebp - 0x628]
push edx
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x420]
push eax
push edi
push 0x45a440
lea ecx, [ebp - 0x628]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x218]
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x424853
push 4
push edi
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x42485d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jne 0x42487a
lea eax, [ebp - 0x218]
push eax
push str.Deleting_file___s_.
push 0x4699dc
xor eax, eax
call fcn.0042c820
add esp, 0xc
jmp 0x4248c8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x4248a5
lea ecx, [ebp - 0x218]
push ecx
push str.File_not_found_when_attempting_deletion___s_.
push 0x4699dc
mov eax, 1
call fcn.0042c820
add esp, 0xc
jmp 0x4248c8
cmp eax, edi
je 0x4248c8
lea edx, [ebp - 0x218]
push edx
push eax
push str.Error_0x_X_raised_while_deleting___s_.
push 0x4699dc
mov eax, 2
call fcn.0042c820
add esp, 0x10
add dword [ebp - 0x62c], 0x1c
inc ebx
cmp ebx, esi
jb 0x4247b1
mov eax, dword [ebp - 0x640]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [ebp - 0x63c]
cmp esi, edi
je 0x424936
cmp esi, dword [ebp - 0x638]
je 0x42492d
mov ebx, 7
lea esp, [esp]
cmp dword [esi + 0x14], 8
jb 0x424911
mov ecx, dword [esi]
push ecx
call fcn.00438b5b
add esp, 4
xor edx, edx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x10], edi
mov word [esi], dx
add esi, 0x1c
cmp esi, dword [ebp - 0x638]
jne 0x424900
mov esi, dword [ebp - 0x63c]
push esi
call fcn.00438b5b
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004377d1
mov esp, ebp
pop ebp
ret
push str.invalid_vector_T__subscript
call fcn.00436b58
int3