Function at 0x6c10aeb0
Capabilities:
Delete file

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0x298
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov dword [ebp - 0x260], eax
mov eax, dword [ecx + 8]
mov dword [ebp - 0x26c], eax
test byte [0x6c1471c4], 8
jne 0x6c10b3f0
lea eax, [ebx - 1]
cmp eax, 0x63
ja 0x6c10b3d0
mov dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0x260]
test eax, eax
je 0x6c10af4b
cmp word [eax], 0
je 0x6c10b5b2
lea esi, [esi]
add eax, 2
cmp word [eax], 0
jne 0x6c10af18
sub eax, dword [ebp - 0x260]
mov edi, eax
sub eax, 2
sar edi, 1
mov dword [ebp - 0x25c], edi
mov edi, dword [ebp - 0x260]
cmp word [edi + eax], 0x5c
sete al
movzx eax, al
sub dword [ebp - 0x25c], eax
mov esi, dword [ebp - 0x26c]
cmp ebx, 0x64
sete dl
test esi, esi
mov esi, dword [0x6c1470cc]
sete al
and dl, al
mov byte [ebp - 0x268], dl
jne 0x6c10b060
cmp esi, 0x6c1470cc
je 0x6c10b048
mov eax, dword [ebp - 0x25c]
add eax, eax
mov dword [ebp - 0x284], eax
mov eax, 0x64
sub eax, ebx
mov dword [ebp - 0x288], eax
jmp 0x6c10b023
mov eax, dword [ebp - 0x25c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x260]
mov dword [esp + 4], eax
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsnicmp]
test eax, eax
jne 0x6c10b019
mov eax, dword [esi + 0xc]
mov edi, dword [ebp - 0x284]
movzx eax, word [eax + edi]
test ax, ax
je 0x6c10afdc
cmp ax, 0x5c
jne 0x6c10b019
mov dword [esp + 4], 0xffffffff
mov eax, dword [esi + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov dword [ebp - 0x270], eax
call eax
mov ecx, dword [esi + 0x10]
sub esp, 8
test ecx, ecx
jne 0x6c10b228
mov edx, pe_nt_image_headers32
mov eax, esi
call sym._cache_container_open_index.part.0
test eax, eax
je 0x6c10b237
mov esi, dword [esi]
cmp esi, 0x6c1470cc
je 0x6c10b048
mov ebx, dword [ebp - 0x25c]
test ebx, ebx
jne 0x6c10afa0
mov eax, dword [esi + 8]
cmp byte [eax], 0
je 0x6c10afdc
mov esi, dword [esi]
cmp esi, 0x6c1470cc
jne 0x6c10b023
lea esi, [esi]
nop
mov eax, 1
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, dword [ebp - 0x25c]
add eax, eax
mov dword [ebp - 0x26c], eax
cmp esi, 0x6c1470cc
jne 0x6c10b0ce
jmp 0x6c10b048
mov eax, dword [ebp - 0x25c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x260]
mov dword [esp + 4], eax
mov eax, dword [esi + 0xc]
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll__wcsnicmp]
test eax, eax
jne 0x6c10b0c0
mov eax, dword [esi + 0xc]
mov ebx, dword [ebp - 0x26c]
movzx eax, word [eax + ebx]
test ax, ax
je 0x6c10b0e0
cmp ax, 0x5c
je 0x6c10b0e0
lea esi, [esi]
mov esi, dword [esi]
cmp esi, 0x6c1470cc
je 0x6c10b048
mov ebx, dword [ebp - 0x25c]
test ebx, ebx
jne 0x6c10b080
mov eax, dword [esi + 8]
cmp byte [eax], 0
jne 0x6c10b0c0
mov dword [esp + 4], 0xffffffff
mov eax, dword [esi + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov eax, dword [esi + 0x10]
sub esp, 8
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_CloseHandle]
mov edi, dword [esi + 0xc]
mov dword [esi + 0x10], 0
sub esp, 4
movzx ecx, word [edi]
mov eax, edi
test cx, cx
je 0x6c10b520
nop
add eax, 2
cmp word [eax], 0
jne 0x6c10b120
sub eax, edi
cmp eax, 0x206
ja 0x6c10b1c5
sar eax, 1
xor edx, edx
lea ebx, [ebp - 0x224]
inc eax
jmp 0x6c10b14c
movzx ecx, word [edi + edx]
mov word [ebx + edx], cx
add edx, 2
test cx, cx
jne 0x6c10b148
xor edx, edx
mov ecx, 0x10
mov dword [ebp - 0x244], 0
mov word [ebp + eax*2 - 0x224], dx
lea eax, [ebp - 0x244]
mov dword [ebp - 0x240], 3
mov dword [ebp - 0x23c], ebx
mov dword [ebp - 0x238], 0
mov word [ebp - 0x234], cx
mov dword [ebp - 0x232], 0
mov dword [esp], eax
call dword [sym.imp.shell32.dll_SHFileOperationW]
sub esp, 4
mov edi, eax
test eax, eax
je 0x6c10b3c0
test byte [0x6c1471c4], 2
jne 0x6c10b540
movzx ebx, byte [ebp - 0x268]
mov dword [esp + 4], 0xffffffff
mov eax, dword [esi + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WaitForSingleObject]
mov edi, dword [esi + 0x10]
sub esp, 8
test edi, edi
jne 0x6c10b3a0
mov edx, pe_nt_image_headers32
mov eax, esi
call sym._cache_container_open_index.part.0
mov edi, dword [sym.imp.kernel32.dll_ReleaseMutex]
test eax, eax
setne al
or ebx, eax
mov eax, dword [esi + 0x18]
mov dword [esp], eax
call edi
sub esp, 4
test bl, bl
je 0x6c10b0c0
xor eax, eax
jmp 0x6c10b04d
mov eax, dword [esi + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReleaseMutex]
sub esp, 4
mov eax, esi
call sym._cache_container_lock_index
mov ebx, eax
test eax, eax
je 0x6c10b019
mov edi, dword [ebx + 0x224]
lea eax, [eax + 0x224]
test edi, edi
je 0x6c10b2a2
mov ecx, edi
mov dword [ebp - 0x268], esi
mov edi, eax
jmp 0x6c10b272
mov ecx, dword [esi + 0x2c]
lea edi, [esi + 0x2c]
test ecx, ecx
je 0x6c10b29c
lea esi, [ebx + ecx]
mov eax, dword [ebp - 0x268]
mov edx, ebx
mov ecx, esi
call sym._urlcache_delete_file
test eax, eax
js 0x6c10b268
mov eax, dword [esi + 0x2c]
mov edx, esi
mov dword [edi], eax
mov eax, ebx
call sym._urlcache_entry_free.isra.0
mov ecx, dword [edi]
test ecx, ecx
jne 0x6c10b272
mov esi, dword [ebp - 0x268]
mov ecx, dword [ebx + 0x34]
mov edi, dword [ebp - 0x288]
imul ecx, edi
mov eax, edi
mul dword [ebx + 0x30]
mov dword [esp + 8], 0x64
mov dword [esp + 0xc], 0
add edx, ecx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.___udivdi3
mov dword [ebp - 0x268], eax
mov eax, dword [ebx + 0x40]
mov dword [ebp - 0x264], edx
mov edx, dword [ebx + 0x44]
mov ecx, edx
mov edx, eax
mov eax, dword [ebp - 0x264]
add edx, dword [ebx + 0x38]
adc ecx, dword [ebx + 0x3c]
cmp dword [ebp - 0x268], edx
mov dword [ebp - 0x278], edx
sbb eax, ecx
mov dword [ebp - 0x274], ecx
jae 0x6c10b377
mov eax, dword [ebp - 0x278]
mov ecx, 0x64
sub eax, dword [ebp - 0x268]
mov edx, dword [ebp - 0x274]
sbb edx, dword [ebp - 0x264]
imul edi, edx, 0x64
mul ecx
mov dword [ebp - 0x27c], edx
mov edx, dword [ebp - 0x274]
mov dword [ebp - 0x280], eax
mov eax, dword [ebp - 0x278]
add dword [ebp - 0x27c], edi
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x280]
mov dword [esp + 0xc], edx
mov edx, dword [ebp - 0x27c]
mov dword [esp], eax
mov dword [esp + 4], edx
call sym.___udivdi3
mov dword [ebp - 0x278], eax
test eax, eax
jne 0x6c10b440
mov eax, dword [esi + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_ReleaseMutex]
sub esp, 4
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
sub esp, 4
jmp 0x6c10b019
mov eax, dword [esi + 0x18]
mov edi, dword [sym.imp.kernel32.dll_ReleaseMutex]
mov dword [esp], eax
call edi
sub esp, 4
jmp 0x6c10b207
mov edx, dword [ebp - 0x232]
test edx, edx
setne bl
jmp 0x6c10b1cc
mov eax, dword fs:[0x18]
mov dword [eax + 0x34], 0x57
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0xc
mov eax, dword [ebp - 0x260]
call sym._wine_dbgstr_wn.constprop.0_2
mov edi, dword [ebp - 0x26c]
mov dword [esp + 0x14], ebx
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0xc], str.__s___lx___lx__n
mov dword [esp + 8], str.FreeUrlCacheSpaceW
mov dword [esp + 4], 0x6c1471c4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
jmp 0x6c10aee8
lea eax, [ebp - 0x244]
xor edi, edi
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_GetSystemTimeAsFileTime]
sub esp, 4
jmp 0x6c10b482
test byte [0x6c1471c4], 4
jne 0x6c10b4f0
cmp edi, 0x64
je 0x6c10b5bc
lea eax, [ebp - 0x250]
lea ecx, [ebp - 0x248]
mov dword [esp + 4], eax
lea eax, [ebp - 0x254]
lea edx, [ebp - 0x24c]
mov dword [esp], eax
mov eax, ebx
call sym._urlcache_next_entry
test eax, eax
je 0x6c10b578
mov eax, dword [ebp - 0x250]
cmp dword [eax], 0x204c5255
jne 0x6c10b470
mov edx, dword [ebp - 0x26c]
and edx, dword [eax + 0x40]
jne 0x6c10b479
lea edx, [ebp - 0x244]
call sym._urlcache_rate_entry
cmp eax, 0xffffffff
mov dword [ebp + edi*4 - 0x224], eax
setne al
movzx eax, al
add edi, eax
jmp 0x6c10b479
mov dword [esp + 0xc], str.only_url_entries_are_currently_supported_n
mov dword [esp + 8], str.FreeUrlCacheSpaceW
mov dword [esp + 4], 0x6c1471c4
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0_7
jmp 0x6c10b479
xor eax, eax
lea ebx, [ebp - 0x224]
mov word [ebp - 0x224], ax
mov eax, 1
jmp 0x6c10b158
mov eax, ebx
call sym._wine_dbgstr_wn.constprop.0_2
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.SHFileOperationW_on__s_returned__i_n
mov dword [esp + 8], str.cache_container_delete_dir
mov dword [esp + 4], 0x6c1471c4
mov dword [esp], 1
call sym._wine_dbg_log.constprop.0_7
jmp 0x6c10b1c5
test edi, edi
jne 0x6c10b5bc
test byte [0x6c1471c4], 8
je 0x6c10b377
mov dword [esp + 0xc], str.nothing_to_delete_n
mov dword [esp + 8], str.FreeUrlCacheSpaceW
mov dword [esp + 4], 0x6c1471c4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
jmp 0x6c10b377
mov eax, 0xfffffffe
jmp 0x6c10af34
lea eax, [ebp - 0x224]
mov dword [esp + 0xc], sym._dword_cmp
mov dword [esp], eax
mov dword [esp + 8], 4
mov dword [esp + 4], edi
call dword [sym.imp.ucrtbase.dll_qsort]
mov eax, dword [ebp - 0x278]
mov edx, 0x51eb851f
imul eax, edi
mul edx
shr edx, 5
mov eax, dword [ebp + edx*4 - 0x224]
mov dword [ebp - 0x278], eax
test byte [0x6c1471c4], 8
jne 0x6c10b785
mov dword [ebp - 0x24c], 0
mov eax, dword [sym.imp.kernel32.dll_ReleaseMutex]
mov dword [ebp - 0x280], eax
lea esi, [esi]
lea eax, [ebp - 0x250]
lea ecx, [ebp - 0x248]
mov dword [esp + 4], eax
lea eax, [ebp - 0x254]
lea edx, [ebp - 0x24c]
mov dword [esp], eax
mov eax, ebx
call sym._urlcache_next_entry
test eax, eax
je 0x6c10b75a
mov edi, dword [ebp - 0x250]
cmp dword [edi], 0x204c5255
jne 0x6c10b628
mov eax, dword [ebp - 0x26c]
and eax, dword [edi + 0x40]
jne 0x6c10b628
lea edx, [ebp - 0x244]
mov eax, edi
call sym._urlcache_rate_entry
cmp eax, dword [ebp - 0x278]
ja 0x6c10b628
test byte [0x6c1471c4], 8
jne 0x6c10b71e
mov ecx, dword [ebp - 0x254]
mov edx, ebx
mov eax, esi
call sym._urlcache_entry_delete
mov edi, dword [ebp - 0x264]
mov eax, dword [ebx + 0x40]
mov edx, dword [ebx + 0x44]
add eax, dword [ebx + 0x38]
adc edx, dword [ebx + 0x3c]
cmp dword [ebp - 0x268], eax
sbb edi, edx
jae 0x6c10b75a
mov eax, dword [esi + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x280]
call eax
sub esp, 4
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
mov eax, dword [0x6c1472e8]
sub esp, 4
mov dword [esp], eax
mov eax, dword [ebp - 0x270]
mov dword [esp + 4], 0
call eax
sub esp, 8
test eax, eax
je 0x6c10b84d
mov dword [esp], 0
call dword [sym.imp.kernel32.dll_Sleep]
mov eax, esi
sub esp, 4
call sym._cache_container_lock_index
mov ebx, eax
jmp 0x6c10b628
mov eax, dword [edi + 0x3c]
mov edx, 0xffffffff
add eax, edi
call sym._wine_dbgstr_an_2
mov dword [esp + 0xc], str.deleting_file:__s_n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.FreeUrlCacheSpaceW
mov dword [esp + 4], 0x6c1471c4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
jmp 0x6c10b691
test byte [0x6c1471c4], 8
jne 0x6c10b7b2
mov eax, dword [esi + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x280]
call eax
sub esp, 4
mov dword [esp], ebx
call dword [sym.imp.kernel32.dll_UnmapViewOfFile]
sub esp, 4
jmp 0x6c10b019
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.deleting_files_with_rating__ld_or_less_n
mov dword [esp + 8], str.FreeUrlCacheSpaceW
mov dword [esp + 4], 0x6c1471c4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
jmp 0x6c10b60c
mov edx, dword [ebx + 0x34]
mov eax, dword [ebx + 0x30]
test edx, edx
je 0x6c10b827
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], str._lx_08lx
call sym._wine_dbg_sprintf
mov edi, eax
mov eax, dword [ebx + 0x40]
mov edx, dword [ebx + 0x44]
add eax, dword [ebx + 0x38]
adc edx, dword [ebx + 0x3c]
test edx, edx
je 0x6c10b83b
mov dword [esp + 8], eax
mov dword [esp + 4], edx
mov dword [esp], str._lx_08lx
call sym._wine_dbg_sprintf
mov dword [esp + 0x14], edi
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], str.cache_size_after_cleaning_0x_s_0x_s_n
mov dword [esp + 8], str.FreeUrlCacheSpaceW
mov dword [esp + 4], 0x6c1471c4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
jmp 0x6c10b763
mov dword [esp + 4], eax
mov dword [esp], 0x6c14e3b3
call sym._wine_dbg_sprintf
mov edi, eax
jmp 0x6c10b7d2
mov dword [esp + 4], eax
mov dword [esp], 0x6c14e3b3
call sym._wine_dbg_sprintf
jmp 0x6c10b7f6
test byte [0x6c1471c4], 8
je 0x6c10b048
mov dword [esp + 0xc], str.got_dll_unload_event___finishing_n
mov dword [esp + 8], str.FreeUrlCacheSpaceW
mov dword [esp + 4], 0x6c1471c4
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_7
jmp 0x6c10b048