Function at 0x4205a0
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 0x47a066
mov eax, dword fs:[0]
push eax
sub esp, 0x428
mov eax, dword [0x499104]
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
mov dword [ebp - 0x430], ecx
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x434], eax
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x4205ef
xor eax, eax
jmp 0x4207c4
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
test eax, eax
je 0x4205e8
mov dword [ebp - 4], 0
call fcn.00403230
mov ecx, eax
test ecx, ecx
je 0x4207fb
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x428], eax
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 4], 1
push 0
push eax
call fcn.0044e2e0
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.0044e2e0
add esp, 0x18
lea eax, [ebp - 0x420]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x420]
push eax
call fcn.00458e7f
mov eax, dword [edi]
add esp, 4
cmp dword [eax - 0xc], 0
jl 0x420805
movzx eax, word [eax]
push eax
call fcn.00459166
movzx eax, ax
add esp, 4
cmp word [ebp - 0x420], ax
jne 0x4206a9
lea eax, [ebp - 0x218]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
jmp 0x420704
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jl 0x42080f
movzx esi, word [eax]
lea ecx, [ebp - 0x421]
call fcn.0041fb20
push esi
push eax
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.0041aae0
add esp, 0x10
lea eax, [ebp - 0x218]
push eax
call ebx
test eax, eax
jne 0x420704
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 2
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x42c]
call fcn.00402780
mov ecx, dword [ebp - 0x430]
lea eax, [ebp - 0x428]
push eax
push 0
lea eax, [ebp - 0x42c]
mov byte [ebp - 4], 2
push eax
call fcn.00420b80
mov edx, dword [ebp - 0x42c]
or eax, 0xffffffff
mov byte [ebp - 4], 1
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x420757
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x428]
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
test eax, eax
je 0x4207a8
push dword [edi]
call ebx
test eax, eax
je 0x4207e2
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileW]
push esi
call edi
test eax, eax
jne 0x4207a8
push esi
call ebx
test eax, eax
je 0x4207a8
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x42079d
push esi
call edi
test eax, eax
jne 0x4207a8
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor edi, edi
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4207c2
mov ecx, dword [esi]
push esi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, edi
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.0042e446
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 0x434]
lea eax, [ebp - 0x428]
push eax
call fcn.004029c0
mov edi, 1
jmp 0x4207aa
push 0x80004005
call fcn.00402ca0
push 0x80070057
call fcn.00402ca0
push 0x80070057
call fcn.00402ca0
int3