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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dae07
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 0x48a880
push 0x20a
lea eax, [ebp - 0x220]
push 0
push eax
call fcn.004a8960
add esp, 0xc
lea eax, [ebp - 0x220]
push 0x104
push esi
push eax
call fcn.004bcf49
add esp, 0xc
test eax, eax
je 0x48a880
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
test eax, 0x410
jne 0x48a880
test al, 2
je 0x48a668
push 0x80
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
jne 0x48a668
lea eax, [ebp - 0x220]
push eax
push str.QMTFunction::DeleteFile_setAttri_error_File:_s.
push 0x515488
call fcn.0048d710
add esp, 0xc
lea ecx, [ebp - 0x220]
call fcn.0048c140
test al, al
je 0x48a880
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x224]
call fcn.0041c970
mov esi, eax
push str.File:
lea ecx, [ebp - 0x228]
mov dword [ebp - 4], 0
call fcn.0041c970
mov byte [ebp - 4], 1
push dword [esi]
push dword [eax]
push 0x4ed424
push 0x515488
call fcn.0048d710
add esp, 0x10
lea ecx, [ebp - 0x228]
call fcn.0041cdd0
lea ecx, [ebp - 0x224]
mov dword [ebp - 4], 0xffffffff
call fcn.0041cdd0
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 0x48a87c
test edi, edi
je 0x48a87c
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x22c]
call fcn.0041c970
push 4
lea eax, [ebp - 0x228]
mov dword [ebp - 4], 2
push eax
lea ecx, [ebp - 0x22c]
call fcn.0041c0e0
mov edx, str..tmp
mov ecx, eax
call fcn.0041bfc0
lea ecx, [ebp - 0x228]
mov bl, al
call fcn.0041cdd0
test bl, bl
je 0x48a85e
lea ecx, [ebp - 0x224]
call fcn.0041ce10
push 0x5c
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 3
call fcn.0045a0a0
push eax
lea eax, [ebp - 0x228]
push eax
lea ecx, [ebp - 0x22c]
call fcn.00421e80
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 0x48a7b3
push 0x104
lea ecx, [ebp - 0x224]
call fcn.0041cb60
mov esi, dword [ebp - 0x224]
push esi
push 0
push 0x4ed230
push dword [ebp - 0x228]
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push ecx
lea ecx, [ebp - 0x224]
mov edi, eax
call fcn.00421f40
test edi, edi
jne 0x48a7fc
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
push str._s.tmp
push eax
call fcn.00421db0
mov esi, dword [ebp - 0x224]
add esp, 0xc
jmp 0x48a803
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x220]
push esi
push eax
call fcn.004af8ea
add esp, 8
push 4
push 0
test eax, eax
jne 0x48a82a
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, dword [ebp - 0x230]
jmp 0x48a839
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
mov ebx, eax
lea ecx, [ebp - 0x228]
call fcn.0041cdd0
lea ecx, [ebp - 0x224]
call fcn.0041cdd0
lea ecx, [ebp - 0x22c]
call fcn.0041cdd0
mov eax, ebx
jmp 0x48a882
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.0041cdd0
mov eax, ebx
jmp 0x48a882
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.004a5d13
mov esp, ebp
pop ebp
ret