Function at 0x486ec0
Capabilities:
Check if file exists
Create directory
Delete file
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x4ad672
mov eax, dword fs:[0]
push eax
sub esp, 0x4ec
mov eax, dword [0x4dc104]
xor eax, esp
mov dword [esp + 0x4e8], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4dc104]
xor eax, esp
push eax
lea eax, [esp + 0x500]
mov dword fs:[0], eax
lea eax, [esp + 0x18]
push 0x1c
push eax
call fcn.00486cb0
mov dword [esp + 0x510], 0
push str.MicrosoftWindowsExplorer
push eax
lea ecx, [esp + 0x2c]
push ecx
call fcn.00403e5b
add esp, 0x14
mov byte [esp + 0x508], 2
lea ecx, [esp + 0x18]
call fcn.0040392e
lea ecx, [esp + 0x24]
call fcn.00410e24
mov byte [esp + 0x508], 3
push str._thumbcache_.db
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x20]
push eax
call fcn.00403e5b
add esp, 0xc
mov byte [esp + 0x508], 4
mov eax, dword [eax]
push eax
lea ecx, [esp + 0x29c]
call fcn.00487480
mov byte [esp + 0x508], 6
lea ecx, [esp + 0x18]
call fcn.0040392e
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x29c]
call fcn.00487560
mov bl, 7
mov byte [esp + 0x508], bl
mov edx, dword [esp + 0x294]
mov eax, dword [edx - 0xc]
test eax, eax
je 0x48708f
mov edi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov ebp, dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x294]
mov dword [esp + 0x20], eax
lea esp, [esp]
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x48]
call fcn.004865e0
mov byte [esp + 0x508], 8
mov eax, dword [esp + 0x14]
push 0x80
push eax
mov esi, eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push esi
call ebp
mov edx, dword [esp + 0x14]
push edx
call edi
test eax, eax
je 0x487014
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x28]
call fcn.00410eaa
mov byte [esp + 0x508], bl
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48703b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x508], 6
mov eax, dword [esp + 0x294]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x487066
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x44]
push ecx
lea ecx, [esp + 0x29c]
call fcn.00487560
mov byte [esp + 0x508], bl
mov edx, dword [esp + 0x294]
cmp dword [edx - 0xc], 0
jne 0x486fd0
mov byte [esp + 0x508], 6
lea ecx, [esp + 0x294]
call fcn.0040392e
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
sar eax, 2
test eax, eax
jbe 0x48726f
push str.ThumbCacheToDelete
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x1c]
push edx
call fcn.00403e5b
add esp, 0xc
mov byte [esp + 0x508], 0xd
mov eax, dword [esp + 0x14]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
xor esi, esi
sar eax, 2
test eax, eax
jbe 0x487247
mov ebx, dword [sym.imp.KERNEL32.dll_MoveFileExW]
cmp esi, eax
jb 0x487106
call fcn.004891d9
mov ecx, dword [esp + 0x30]
lea eax, [ecx + esi*4]
push eax
lea edx, [esp + 0x24]
push edx
call fcn.00486670
mov edi, eax
mov byte [esp + 0x510], 0xe
push 0x4c5c2c
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x4c]
push ecx
call fcn.00403e5b
mov byte [esp + 0x51c], 0xf
push edi
push eax
lea edx, [esp + 0x5c]
push edx
call fcn.004102d5
mov byte [esp + 0x528], 0x10
push 1
push eax
lea eax, [esp + 0x40]
push eax
call fcn.004868a0
add esp, 0x2c
mov byte [esp + 0x508], 0x12
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48718a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x508], 0x14
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4871b2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x508], 0x16
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4871da
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x34]
sub ecx, dword [esp + 0x30]
mov edi, dword [esp + 0x18]
sar ecx, 2
cmp esi, ecx
jb 0x4871f2
call fcn.004891d9
mov edx, dword [esp + 0x30]
mov ebp, dword [edx + esi*4]
push 0x80
push edi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0xb
push edi
push ebp
call ebx
mov byte [esp + 0x508], 0xd
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x487233
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x34]
sub eax, dword [esp + 0x30]
inc esi
sar eax, 2
cmp esi, eax
jb 0x487106
mov byte [esp + 0x508], 6
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x48726f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x508], 3
lea ecx, [esp + 0x298]
call fcn.00487310
mov byte [esp + 0x508], 2
lea ecx, [esp + 0x24]
call fcn.00410e5b
mov dword [esp + 0x508], 0xffffffff
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4872bf
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x500]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x4e8]
xor ecx, esp
call fcn.00488689
add esp, 0x4f8
ret