Function at 0x446500
Capabilities:
Delete file
Enumerate files on windows
Get common file path
Set file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4fb118
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x804
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
push 1
lea ecx, [ebp - 0x68]
mov dword [ebp - 4], ebx
call fcn.004f0653
mov eax, dword [0x4fe4e8]
lea ecx, [ebp - 0x68]
push eax
push 8
push str.c:endpcacheprocess_log.txt
mov byte [ebp - 4], 1
call fcn.004f0727
lea ecx, [ebp - 0x710]
push 0x104
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
lea edi, [ebp - 0x710]
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x208]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x60c]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x41
lea edi, [ebp - 0x60c]
rep stosd dword es:[edi], eax
mov cl, byte [ebp - 0x710]
mov edi, str.:Documents_and_Settings_
mov byte [ebp - 0x60c], cl
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x20]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x60c]
push 0xc5189c
push ecx
call fcn.004b6a60
add esp, 0xc
lea edx, [ebp - 0x408]
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x18], ebx
push edx
call fcn.004ab6e0
add esp, 4
lea eax, [ebp - 0x88]
push eax
call fcn.00401350
add esp, 4
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x188]
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1c], eax
cmp eax, dword [ebp - 0x20]
jge 0x446786
shl eax, 8
or ecx, 0xffffffff
lea edx, [ebp - 0x248]
lea ebx, [eax + 0xc5189c]
xor eax, eax
mov edi, ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [ebp - 0x794]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x248]
push ecx
push str._sLocal_SettingsTemp
push edx
call fcn.004f175f
lea edi, [ebp - 0x794]
or ecx, 0xffffffff
xor eax, eax
push ebx
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.004f2beb
add esp, 0x10
cmp eax, 0xffffffff
je 0x44676a
push ebx
lea ecx, [ebp - 0x188]
push 0x50d39c
push ecx
call fcn.004f175f
lea edx, [ebp - 0x188]
push edx
call fcn.004f2beb
mov edi, str..
or ecx, 0xffffffff
xor eax, eax
add esp, 0x10
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [ebp - 0x188]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [ebp - 0x388]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
lea ecx, [ebp - 0x188]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x44675e
lea edx, [ebp - 0x35c]
push 0x80
push edx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea eax, [ebp - 0x35c]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x446736
inc dword [ebp - 0x18]
jmp 0x446739
inc dword [ebp - 0x14]
lea ecx, [ebp - 0x388]
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x446755
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
cmp dword [ebp - 0x14], 0x2710
jne 0x446709
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
push esi
call edi
mov eax, dword [ebp - 0x18]
cmp eax, 1
jle 0x446778
sub eax, 2
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x1c]
inc eax
xor ebx, ebx
mov dword [ebp - 0x1c], eax
jmp 0x44661e
lea ecx, [ebp - 0x68]
call fcn.004f076e
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x88]
push eax
mov dword [0xe56df8], edx
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x408]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x508]
push eax
push 0x51ecc8
push edx
call fcn.004f175f
add esp, 0x10
lea eax, [ebp - 0x508]
lea ecx, [ebp - 0x5c]
push eax
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
lea ecx, [ebp - 0x68]
call fcn.004f076e
mov ecx, dword [0x4fe4e8]
push ecx
push 8
push str.c:endpcacheprocess_log.txt
lea ecx, [ebp - 0x68]
call fcn.004f0727
lea edx, [ebp - 0x208]
lea eax, [ebp - 0x188]
push edx
push str._sTemp.
push eax
mov dword [ebp - 0x14], ebx
mov byte [ebp - 0x188], 0
call fcn.004f175f
mov edi, str.Temp
or ecx, 0xffffffff
xor eax, eax
lea edx, [ebp - 0x208]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea eax, [ebp - 0x208]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
call fcn.004f2beb
add esp, 0x10
lea ecx, [ebp - 0x388]
lea edx, [ebp - 0x188]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4468f9
lea eax, [ebp - 0x35c]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
lea ecx, [ebp - 0x35c]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x4468d1
lea edx, [ebp - 0x35c]
lea eax, [ebp - 0x188]
push edx
push eax
lea ecx, [ebp - 0x810]
push str._s_s
push ecx
inc ebx
call fcn.004f175f
add esp, 0x10
jmp 0x4468d4
inc dword [ebp - 0x14]
lea edx, [ebp - 0x388]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x4468f0
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or esi, 0xffffffff
cmp dword [ebp - 0x14], 0xfac
jne 0x446884
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
push esi
call edi
cmp ebx, 1
jle 0x44690d
sub ebx, 2
mov eax, dword [ebp - 0x14]
mov byte [ebp - 0x508], 0
mov dword [0xe56df8], eax
push eax
lea eax, [ebp - 0x88]
push ebx
push eax
call fcn.004fa6c0
add esp, 4
lea ecx, [ebp - 0x408]
push eax
push ecx
call fcn.004fa6c0
add esp, 4
lea edx, [ebp - 0x508]
push eax
push 0x51ec7c
push edx
call fcn.004f175f
add esp, 0x18
lea eax, [ebp - 0x508]
lea ecx, [ebp - 0x5c]
push eax
call fcn.004f0087
push 0xa
mov ecx, eax
call fcn.004eff40
push 0x402150
mov ecx, eax
call fcn.004016a0
lea ecx, [ebp - 0x68]
call fcn.004f076e
push str.c:endpcache
call fcn.004f2beb
add esp, 4
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], 0
call fcn.004f0714
lea ecx, [ebp - 0x54]
call fcn.004f05fb
mov ax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret