Function at 0x449fe0
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 0x558bd6
mov eax, dword fs:[0]
push eax
mov eax, 0x1528
call fcn.004e07e0
mov eax, dword [0x5ab3e4]
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 - 0x1530], edx
mov edi, ecx
mov dword [ebp - 0x152c], edi
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jne 0x44a02f
xor eax, eax
jmp 0x44a316
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push eax
call ebx
test eax, eax
je 0x44a028
mov dword [ebp - 4], 0
call fcn.004135f0
mov ecx, eax
test ecx, ecx
je 0x44a3ad
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x1528], esi
mov dword [ebp - 4], 2
call fcn.004135f0
mov ecx, eax
test ecx, ecx
je 0x44a3b7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x1524], eax
push 0x208
lea eax, [ebp - 0x318]
mov byte [ebp - 4], 3
push 0
push eax
call fcn.0051cba0
add esp, 0xc
lea eax, [ebp - 0x318]
push 0x104
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
lea eax, [ebp - 0x318]
push eax
call fcn.00526542
mov eax, dword [edi]
add esp, 4
cmp dword [eax - 0xc], 0
jl 0x44a3c1
movzx eax, word [eax]
push eax
call fcn.005251de
movzx eax, ax
add esp, 4
cmp word [ebp - 0x318], ax
jne 0x44a13e
push 0x208
lea eax, [ebp - 0x520]
push 0
push eax
call fcn.0051cba0
add esp, 0xc
lea eax, [ebp - 0x520]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea ecx, [ebp - 0x520]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44a114
sub ecx, edx
lea eax, [ebp - 0x520]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1524]
call fcn.00427220
mov edi, dword [ebp - 0x1524]
jmp 0x44a180
mov eax, dword [edi]
cmp dword [eax - 0xc], 0
jl 0x44a3cb
movzx eax, word [eax]
push eax
lea eax, [ebp - 0x1524]
push str._c:.temp
push eax
call fcn.0042b070
mov edi, dword [ebp - 0x1524]
add esp, 0xc
push edi
call ebx
test eax, eax
jne 0x44a180
push edi
push eax
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push 2
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp dword [edi - 0xc], 0x104
lea eax, [edi - 0x10]
mov dword [ebp - 0x1534], eax
jg 0x44a278
push 0x800
lea eax, [ebp - 0x1520]
push 0
push eax
call fcn.0051cba0
push 0x800
lea eax, [ebp - 0xd20]
push 0
push eax
call fcn.0051cba0
push edi
lea eax, [ebp - 0x1520]
push 0x400
push eax
call fcn.00524c3a
push 0x100
lea eax, [ebp - 0x110]
push 0
push eax
call fcn.0051cba0
add esp, 0x30
xor edi, edi
nop word [eax + eax]
lea ecx, [ebp - 0x110]
call fcn.0044a3e0
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x1520]
push eax
lea eax, [ebp - 0xd20]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
push 0x58d534
lea eax, [ebp - 0xd20]
push 0x400
push eax
call fcn.00525d87
add esp, 0xc
lea eax, [ebp - 0xd20]
push eax
call ebx
test eax, eax
je 0x44a244
inc edi
cmp edi, 0xa
jl 0x44a1f0
jmp 0x44a278
lea ecx, [ebp - 0xd20]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x44a250
sub ecx, edx
lea eax, [ebp - 0xd20]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x1528]
call fcn.00427220
mov esi, dword [ebp - 0x1528]
mov edi, dword [ebp - 0x152c]
push esi
push dword [edi]
call dword [sym.imp.KERNEL32.dll_MoveFileW]
or ebx, 0xffffffff
test eax, eax
je 0x44a2d8
push dword [edi]
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
call edi
test eax, eax
je 0x44a332
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x44a2d8
push esi
call edi
test eax, eax
je 0x44a2d8
push 0x80
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x44a2cd
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x44a2d8
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor edi, edi
mov edx, dword [ebp - 0x1534]
mov eax, ebx
mov byte [ebp - 4], 9
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x44a2f8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov dword [ebp - 4], 0xa
lock xadd dword [esi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x44a314
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.004df59c
mov esp, ebp
pop ebp
ret
mov edx, dword [ebp - 0x1530]
lea ecx, [esi - 0x10]
mov edi, dword [edx]
sub edi, 0x10
cmp ecx, edi
je 0x44a3a3
mov eax, dword [edi + 0xc]
shr eax, 0x1f
test al, al
jne 0x44a398
mov eax, dword [ecx]
cmp eax, dword [edi]
jne 0x44a398
push ecx
call fcn.0042a250
add esp, 4
mov dword [ebp - 0x152c], eax
mov byte [ebp - 4], 8
lea edx, [edi + 0xc]
mov ecx, ebx
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x44a383
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x152c]
mov ecx, dword [ebp - 0x1530]
add eax, 0x10
mov edi, 1
mov dword [ecx], eax
jmp 0x44a2da
push dword [ecx + 4]
mov ecx, edx
push esi
call fcn.00427220
mov edi, 1
jmp 0x44a2da
push 0x80004005
call fcn.00412850
push 0x80004005
call fcn.00412850
push 0x80070057
call fcn.00412850
push 0x80070057
call fcn.00412850
int3