Function at 0x416256
Capabilities:
Delete file
Set file attributes

Disassembly:
mov eax, 0x4443f4
call fcn.004361ac
sub esp, 0x5c
push ebx
push esi
push edi
push 1
pop edi
mov dword [ebp - 0x38], ecx
mov dword [ebp - 0x34], edi
mov dword [ecx + 0x85c], edi
call fcn.0040ce9d
push str._Autoup__CPdList___RemoveUselessInfo_Start_
push edi
mov dword [ebp - 0x14], eax
call fcn.0040874d
mov eax, dword [0x4629dc]
pop ecx
pop ecx
mov eax, dword [eax + 0xc]
dec eax
cmp eax, 0xffffffff
mov dword [ebp - 0x18], eax
jae 0x416870
mov eax, dword [ebp - 0x18]
push 5
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x4162b8
mov ecx, dword [0x4629dc]
call fcn.00404548
mov eax, dword [0x4629dc]
push dword [ebp - 0x18]
lea ecx, [eax + 4]
call fcn.00407252
push dword [0x45033c]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov esi, eax
lea eax, [esi + 0x94]
push eax
mov dword [ebp - 0x20], eax
call ebx
test eax, eax
je 0x416304
push dword [0x450340]
push dword [ebp - 0x20]
call ebx
test eax, eax
je 0x416304
push dword [0x450344]
push dword [ebp - 0x20]
call ebx
test eax, eax
jne 0x41631b
push str._Autoup__CPdList::RemoveUselessInfo__Not_AV_AS_Update
push edi
call fcn.00408aae
mov eax, dword [ebp - 0x38]
pop ecx
pop ecx
and dword [eax + 0x85c], 0
lea eax, [esi + 4]
push eax
mov dword [ebp - 0x30], eax
push dword [ebp - 0x14]
call fcn.00404e3e
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
pop ecx
je 0x41633b
mov ecx, dword [ebp - 0x14]
call fcn.0040d09a
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.00407444
mov dword [ebp - 0x2c], eax
push dword [ebp - 0x30]
and dword [ebp - 4], 0
lea ecx, [esi + 0x1d4]
mov dword [ebp - 0x3c], ecx
call fcn.00406944
mov ecx, dword [ebp - 0x2c]
push eax
call fcn.00406944
push eax
call fcn.0040b5db
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x10], eax
call fcn.004065ed
cmp dword [ebp - 0x1c], 0
je 0x41638d
mov ecx, dword [ebp - 0x14]
call fcn.0040d089
cmp dword [ebp - 0x10], 2
je 0x416530
cmp dword [ebp - 0x10], edi
je 0x416530
test byte [esi + 0x1cc], 2
je 0x4163c4
mov eax, dword [esi + 0x1ba]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x1be]
mov dword [ebp - 0x28], eax
mov ax, word [esi + 0x1c2]
jmp 0x4163da
mov eax, dword [esi + 8]
mov dword [ebp - 0x2c], eax
mov eax, dword [esi + 0x1b4]
mov dword [ebp - 0x28], eax
mov ax, word [esi + 0x1b8]
mov word [ebp - 0x24], ax
lea eax, [esi + 0xc]
push 8
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.00436b60
add esp, 0xc
cmp dword [ebp - 0x1c], 0
je 0x4163fe
mov ecx, dword [ebp - 0x14]
call fcn.0040d09a
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.00407444
mov dword [ebp - 4], edi
mov ecx, eax
lea edi, [esi + 0x194]
call fcn.00406944
push eax
lea eax, [ebp - 0x68]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
push edi
call fcn.00424d7f
or dword [ebp - 4], 0xffffffff
add esp, 0x18
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x10], eax
call fcn.004065ed
push str.asc_kbc.sys
push dword [ebp - 0x20]
call ebx
test eax, eax
jne 0x41651f
lea eax, [ebp - 0x54]
mov ecx, esi
push eax
call fcn.0040fb41
mov dword [ebp - 0x48], eax
lea eax, [ebp - 0x50]
mov ecx, esi
push eax
mov dword [ebp - 4], 2
call fcn.00407444
mov dword [ebp - 0x4c], eax
mov ecx, dword [ebp - 0x48]
mov byte [ebp - 4], 3
call fcn.00406944
mov ecx, dword [ebp - 0x4c]
push eax
call fcn.00406944
push eax
call ebx
mov ebx, eax
lea ecx, [ebp - 0x50]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 2
inc bl
call fcn.004065ed
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x54]
call fcn.004065ed
test bl, bl
je 0x4164b9
mov dword [ebp - 0x10], 2
jmp 0x416519
cmp dword [ebp - 0x10], 0
jne 0x416519
lea eax, [ebp - 0x58]
mov ecx, esi
push eax
call fcn.0040fb41
mov ecx, eax
mov dword [ebp - 4], 4
call fcn.00406944
push eax
lea eax, [ebp - 0x68]
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push eax
push edi
call fcn.00424d7f
or dword [ebp - 4], 0xffffffff
add esp, 0x18
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x10], eax
call fcn.004065ed
cmp dword [ebp - 0x10], 2
jne 0x416519
push ecx
mov ecx, esi
mov eax, esp
mov dword [ebp - 0x4c], esp
push eax
call fcn.0040fb41
mov ecx, esi
call fcn.0040ec26
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
cmp dword [ebp - 0x1c], 0
je 0x41652d
mov ecx, dword [ebp - 0x14]
call fcn.0040d089
push 1
pop edi
mov ecx, dword [0x4629dc]
xor eax, eax
mov dword [ebp - 0x28], eax
cmp dword [ecx + 0x10e8], edi
jne 0x41654d
cmp dword [ebp - 0x10], eax
jne 0x416586
jmp 0x416615
test byte [esi + 0x1c4], 4
je 0x41660b
cmp dword [ebp - 0x10], eax
je 0x416615
lea eax, [ebp - 0x5c]
mov ecx, esi
push eax
call fcn.00407444
push dword [eax]
push str._Autoup__CPdList__Hot_File__s__Sync_Dont_Remove
push edi
call fcn.00408aae
add esp, 0xc
lea ecx, [ebp - 0x5c]
call fcn.004065ed
cmp dword [ebp - 0x1c], 0
je 0x416594
mov ecx, dword [ebp - 0x14]
call fcn.0040d09a
and dword [ebp - 0x2c], 0
cmp word [esi + 0x1c2], 0
je 0x4166e9
lea edi, [esi + 0x1e4]
mov ecx, edi
call fcn.00406944
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x4166e6
mov ecx, edi
call fcn.00406944
push eax
push 0
call fcn.00405a7b
pop ecx
test eax, eax
pop ecx
je 0x4166e6
mov eax, dword [0x4629dc]
cmp dword [eax + 0xbcc], 0
je 0x41665e
mov ecx, dword [ebp - 0x3c]
call fcn.00406944
push eax
push 0
call fcn.00405a7b
pop ecx
test eax, eax
pop ecx
jne 0x41665e
mov dword [ebp - 0x2c], 1
jmp 0x416690
cmp dword [ebp - 0x10], 2
je 0x416586
lea eax, [ebp - 0x60]
mov ecx, esi
push eax
call fcn.00407444
mov ecx, eax
mov dword [ebp - 4], 5
call fcn.00406944
push eax
push str._Autoup__CPdList::RemoveUselessInfo__Remove__s
push edi
call fcn.00408aae
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x60]
call fcn.004065ed
mov eax, dword [0x4629dc]
push dword [ebp - 0x18]
lea ecx, [eax + 4]
call fcn.00407333
jmp 0x416858
mov ecx, edi
call fcn.00406944
push eax
mov ax, word [esi + 0x1c2]
push eax
lea eax, [esi + 0x194]
push dword [esi + 0x1be]
push dword [esi + 0x1ba]
push eax
call fcn.00424e3e
add esp, 0x14
mov dword [ebp - 0x2c], eax
test eax, eax
je 0x416699
or dword [esi + 0x1cc], 0x10
jmp 0x4166e6
push str._Autoup__CPdList::RemoveUselessInfo__No_Compressed_File_exist._but__Not_same_version.
push 1
call fcn.00408aae
pop ecx
pop ecx
push 0x80
mov ecx, edi
call fcn.00406944
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, edi
call fcn.00406944
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, edi
call fcn.00406944
push eax
push str._Autoup__CPdList::RemoveUselessInfo__Delete_old_file__s__GetLastError___d_
push 1
call fcn.00408aae
add esp, 0x10
push 1
pop edi
mov eax, dword [0x4629dc]
cmp dword [eax + 0xbcc], 0
jne 0x4167ae
cmp dword [ebp - 0x2c], 0
jne 0x4167ae
mov esi, dword [ebp - 0x3c]
mov ecx, esi
call fcn.00406944
push eax
push dword [ebp - 0x30]
call fcn.00424e00
pop ecx
test eax, eax
pop ecx
jne 0x4167ae
push dword [ebp - 0x30]
mov ecx, dword [ebp - 0x38]
call fcn.0041b124
test eax, eax
mov ecx, esi
je 0x416749
call fcn.00406944
push eax
push str._Autoup__CPdList::RemoveUselessInfo__Crashed_Engine_File_:__s
push edi
call fcn.00408aae
add esp, 0xc
jmp 0x4167ae
call fcn.00406944
push eax
push str._Autoup__CPdList::RemoveUselessInfo__RemoveDamaged__s
push edi
call fcn.00408aae
add esp, 0xc
mov ecx, esi
push 0x80
call fcn.00406944
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, esi
call fcn.00406944
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, esi
call fcn.00406944
push eax
push str._Autoup__CPdList::RemoveUselessInfo__DeleteDamaged__s__GetLastError___d_
push edi
call fcn.00408aae
mov eax, dword [0x4629dc]
add esp, 0x10
push dword [ebp - 0x18]
lea ecx, [eax + 4]
call fcn.00407333
mov dword [ebp - 0x28], edi
cmp dword [ebp - 0x1c], 0
je 0x4167bc
mov ecx, dword [ebp - 0x14]
call fcn.0040d089
cmp dword [ebp - 0x28], 0
jne 0x416858
cmp dword [ebp - 0x34], edi
jne 0x416858
push dword [0x450348]
mov esi, dword [ebp - 0x20]
push esi
call ebx
test eax, eax
je 0x416858
push dword [0x45034c]
push esi
call ebx
test eax, eax
je 0x416858
push dword [0x450350]
push esi
call ebx
test eax, eax
je 0x416858
push dword [0x450354]
push esi
call ebx
test eax, eax
je 0x416858
push dword [0x450358]
push esi
call ebx
test eax, eax
je 0x416858
push dword [0x45035c]
push esi
call ebx
test eax, eax
je 0x416858
push dword [0x450360]
push esi
call ebx
test eax, eax
je 0x416858
push dword [0x450364]
push esi
call ebx
test eax, eax
je 0x416858
push dword [0x450368]
push esi
call ebx
test eax, eax
je 0x416858
and dword [ebp - 0x34], 0
push str._Autoup__CPdList::RemoveUselessInfo__CheckHourlyUpdate__FALSE
push edi
call fcn.00408aae
pop ecx
pop ecx
mov ecx, dword [0x4629dc]
call fcn.00403b0f
dec dword [ebp - 0x18]
cmp dword [ebp - 0x18], 0xffffffff
jb 0x41629f
mov eax, dword [0x4629dc]
mov esi, dword [ebp - 0x34]
test esi, esi
mov dword [eax + 0x10f4], esi
mov eax, str.TRUE
jne 0x41688c
mov eax, str.FALSE
push eax
push str._Autoup__CPdList::RemoveUselessInfo__CheckHourlyUpdate___s
push edi
call fcn.00408aae
add esp, 0xc
cmp esi, edi
jne 0x4168a7
mov ecx, dword [ebp - 0x38]
call fcn.00416c20
mov ecx, dword [ebp - 0x14]
test ecx, ecx
je 0x4168b3
mov eax, dword [ecx]
push edi
call dword [eax]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret