Function at 0x488ab0
Capabilities:
Delete file
Get common file path
Get file attributes
Move file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d9257
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x511070]
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 edi, edx
mov esi, ecx
test esi, esi
je 0x488d80
push 0x20a
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004a73c0
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push esi
push eax
call fcn.004bb9d9
add esp, 0xc
test eax, eax
je 0x488d80
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x410
jne 0x488d80
test al, 2
je 0x488b68
push 0x80
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x488b68
lea eax, [ebp - 0x220]
push eax
push str.QMTFunction::DeleteFile_setAttri_error_File:_s.
push 0x515408
call fcn.0048c0f0
add esp, 0xc
lea ecx, [ebp - 0x220]
call fcn.0048a730
test al, al
je 0x488d80
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x224]
call fcn.0041c9e0
mov esi, eax
push str.File:
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], 0
call fcn.0041c9e0
mov byte [ebp - 4], 1
push dword [esi]
push dword [eax]
push 0x4ec424
push 0x515408
call fcn.0048c0f0
add esp, 0x10
lea ecx, [ebp - 0x228]
call fcn.0041ce40
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 0xffffffff
call fcn.0041ce40
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
mov dword [ebp - 0x230], ebx
test ebx, ebx
jne 0x488d7c
test edi, edi
je 0x488d7c
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x22c]
call fcn.0041c9e0
push 4
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x22c]
call fcn.0041c100
mov edx, str..tmp
mov ecx, eax
call fcn.0041bfe0
lea ecx, [ebp - 0x228]
mov bl, al
call fcn.0041ce40
test bl, bl
je 0x488d5e
lea ecx, [ebp - 0x224]
call fcn.0041ce80
push 0x5c
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 3
call fcn.00457e30
push eax
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x22c]
call fcn.004220d0
mov byte [ebp - 4], 4
mov ecx, 1
mov esi, dword [ebp - 0x224]
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or ecx, eax
jge 0x488cb3
push 0x104
lea ecx, [ebp - 0x224]
call fcn.0041cbd0
mov esi, dword [ebp - 0x224]
push esi
push 0
push 0x4ec230
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push ecx
lea ecx, [ebp - 0x224]
mov edi, eax
call fcn.00422190
test edi, edi
jne 0x488cfc
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
push str._s.tmp
push eax
call fcn.00422000
mov esi, dword [ebp - 0x224]
add esp, 0xc
jmp 0x488d03
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.004ae39f
add esp, 8
push 4
push 0
test eax, eax
jne 0x488d2a
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, dword [ebp - 0x230]
jmp 0x488d39
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, eax
lea ecx, [ebp - 0x228]
call fcn.0041ce40
lea ecx, [ebp - 0x224]
call fcn.0041ce40
lea ecx, [ebp - 0x22c]
call fcn.0041ce40
mov eax, ebx
jmp 0x488d82
push 4
push 0
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
lea ecx, [ebp - 0x22c]
mov ebx, eax
call fcn.0041ce40
mov eax, ebx
jmp 0x488d82
xor eax, eax
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.004a474b
mov esp, ebp
pop ebp
ret