Function at 0x424930
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 0x450bfb
mov eax, dword fs:[0]
push eax
sub esp, 0x634
mov eax, dword [0x468744]
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.004372a0
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 0x424af8
mov eax, dword [ebp - 0x63c]
mov dword [ebp - 0x62c], eax
jmp 0x4249d7
mov eax, dword [ebp - 0x62c]
cmp esi, ebx
jbe 0x424b72
cmp dword [eax + 0x14], 8
jb 0x4249e7
mov eax, dword [eax]
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0043a483
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 0x45a528
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 0x424a73
push 4
push edi
lea edx, [ebp - 0x420]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x424a7d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jne 0x424a9a
lea eax, [ebp - 0x218]
push eax
push str.Deleting_file___s_.
push 0x4699d4
xor eax, eax
call fcn.0042d020
add esp, 0xc
jmp 0x424ae8
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
jne 0x424ac5
lea ecx, [ebp - 0x218]
push ecx
push str.File_not_found_when_attempting_deletion___s_.
push 0x4699d4
mov eax, 1
call fcn.0042d020
add esp, 0xc
jmp 0x424ae8
cmp eax, edi
je 0x424ae8
lea edx, [ebp - 0x218]
push edx
push eax
push str.Error_0x_X_raised_while_deleting___s_.
push 0x4699d4
mov eax, 2
call fcn.0042d020
add esp, 0x10
add dword [ebp - 0x62c], 0x1c
inc ebx
cmp ebx, esi
jb 0x4249d1
mov eax, dword [ebp - 0x640]
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov esi, dword [ebp - 0x63c]
cmp esi, edi
je 0x424b56
cmp esi, dword [ebp - 0x638]
je 0x424b4d
mov ebx, 7
lea esp, [esp]
cmp dword [esi + 0x14], 8
jb 0x424b31
mov ecx, dword [esi]
push ecx
call fcn.00439b10
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 0x424b20
mov esi, dword [ebp - 0x63c]
push esi
call fcn.00439b10
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.00438786
mov esp, ebp
pop ebp
ret
push str.invalid_vector_T__subscript
call fcn.00437b0d
int3