Function at 0x416944
Capabilities:
Delete file
Set file attributes

Disassembly:
mov eax, 0x444048
call fcn.0043680c
sub esp, 0x48
push ebx
push esi
push edi
push 1
pop esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x2c], esi
mov dword [ecx + 0x85c], esi
call fcn.0040cf56
push str._Autoup__CPdList___RemoveUselessInfo_Start_
push esi
mov dword [ebp - 0x10], eax
call fcn.00408893
mov eax, dword [0x46487c]
pop ecx
pop ecx
mov eax, dword [eax + 0xc]
dec eax
cmp eax, 0xffffffff
mov dword [ebp - 0x14], eax
jae 0x416ef0
mov eax, dword [ebp - 0x14]
push 5
xor edx, edx
pop ecx
div ecx
test edx, edx
jne 0x4169a6
mov ecx, dword [0x46487c]
call fcn.004045d7
mov eax, dword [0x46487c]
push dword [ebp - 0x14]
lea ecx, [eax + 4]
call fcn.00407398
push dword [0x45177c]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
mov esi, eax
lea ebx, [esi + 0x94]
push ebx
mov dword [ebp - 0x38], ebx
call edi
test eax, eax
je 0x4169ee
push dword [0x451780]
push ebx
call edi
test eax, eax
je 0x4169ee
push dword [0x451784]
push ebx
call edi
test eax, eax
jne 0x416a06
push str._Autoup__CPdList::RemoveUselessInfo__Not_AV_AS_Update
push 1
call fcn.00408bf4
mov eax, dword [ebp - 0x30]
pop ecx
pop ecx
and dword [eax + 0x85c], 0
lea eax, [esi + 4]
push eax
mov dword [ebp - 0x28], eax
push dword [ebp - 0x10]
call fcn.00404f84
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
pop ecx
je 0x416a26
mov ecx, dword [ebp - 0x10]
call fcn.0040d153
lea eax, [ebp - 0x3c]
mov ecx, esi
push eax
call fcn.0040758a
mov ebx, eax
push dword [ebp - 0x28]
and dword [ebp - 4], 0
lea edi, [esi + 0x1d4]
mov ecx, edi
mov dword [ebp - 0x34], edi
call fcn.00406a8a
push eax
mov ecx, ebx
call fcn.00406a8a
push eax
call fcn.0040b721
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x3c]
mov ebx, eax
call fcn.00406733
cmp dword [ebp - 0x18], 0
je 0x416a77
mov ecx, dword [ebp - 0x10]
call fcn.0040d142
cmp ebx, 2
je 0x416baa
cmp ebx, 1
je 0x416baa
test byte [esi + 0x1cc], 2
je 0x416aad
mov eax, dword [esi + 0x1ba]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x1be]
mov dword [ebp - 0x20], eax
mov ax, word [esi + 0x1c2]
jmp 0x416ac3
mov eax, dword [esi + 8]
mov dword [ebp - 0x24], eax
mov eax, dword [esi + 0x1b4]
mov dword [ebp - 0x20], eax
mov ax, word [esi + 0x1b8]
mov word [ebp - 0x1c], ax
lea eax, [esi + 0xc]
push 8
push eax
lea eax, [ebp - 0x54]
push eax
call fcn.004371c0
add esp, 0xc
cmp dword [ebp - 0x18], 0
je 0x416ae7
mov ecx, dword [ebp - 0x10]
call fcn.0040d153
lea eax, [ebp - 0x40]
mov ecx, esi
push eax
call fcn.0040758a
mov ecx, eax
mov dword [ebp - 4], 1
lea edi, [esi + 0x194]
call fcn.00406a8a
push eax
lea eax, [ebp - 0x54]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push eax
push edi
call fcn.0042569c
or dword [ebp - 4], 0xffffffff
add esp, 0x18
lea ecx, [ebp - 0x40]
mov ebx, eax
call fcn.00406733
push str.asc_kbc.sys
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x416b99
test ebx, ebx
jne 0x416b99
lea eax, [ebp - 0x44]
mov ecx, esi
push eax
call fcn.0040fc9f
mov ecx, eax
mov dword [ebp - 4], 2
call fcn.00406a8a
push eax
lea eax, [ebp - 0x54]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x24]
push eax
push edi
call fcn.0042569c
or dword [ebp - 4], 0xffffffff
add esp, 0x18
lea ecx, [ebp - 0x44]
mov ebx, eax
call fcn.00406733
cmp ebx, 2
jne 0x416b99
push ecx
mov ecx, esi
mov eax, esp
mov dword [ebp - 0x24], esp
push eax
call fcn.0040fc9f
mov ecx, esi
call fcn.0040ed84
cmp dword [ebp - 0x18], 0
je 0x416ba7
mov ecx, dword [ebp - 0x10]
call fcn.0040d142
mov edi, dword [ebp - 0x34]
mov eax, dword [0x46487c]
and dword [ebp - 0x34], 0
cmp dword [eax + 0x10e8], 1
jne 0x416bc5
test ebx, ebx
jne 0x416bfe
jmp 0x416c8b
test byte [esi + 0x1c4], 4
je 0x416c82
test ebx, ebx
je 0x416c8b
lea eax, [ebp - 0x48]
mov ecx, esi
push eax
call fcn.0040758a
push dword [eax]
push str._Autoup__CPdList__Hot_File__s__Sync_Dont_Remove
push 1
call fcn.00408bf4
add esp, 0xc
lea ecx, [ebp - 0x48]
call fcn.00406733
cmp dword [ebp - 0x18], 0
je 0x416c0c
mov ecx, dword [ebp - 0x10]
call fcn.0040d153
and dword [ebp - 0x24], 0
cmp word [esi + 0x1c2], 0
je 0x416d5d
lea ebx, [esi + 0x1e4]
mov ecx, ebx
call fcn.00406a8a
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x416d5d
mov ecx, ebx
call fcn.00406a8a
push eax
push 0
call fcn.00405bc1
pop ecx
test eax, eax
pop ecx
je 0x416d5d
mov eax, dword [0x46487c]
cmp dword [eax + 0xbcc], 0
je 0x416cd5
mov ecx, edi
call fcn.00406a8a
push eax
push 0
call fcn.00405bc1
pop ecx
test eax, eax
pop ecx
jne 0x416cd5
mov dword [ebp - 0x24], 1
jmp 0x416d07
cmp ebx, 2
je 0x416bfe
lea eax, [ebp - 0x4c]
mov ecx, esi
push eax
call fcn.0040758a
mov ecx, eax
mov dword [ebp - 4], 3
call fcn.00406a8a
push eax
push str._Autoup__CPdList::RemoveUselessInfo__Remove__s
push 1
call fcn.00408bf4
or dword [ebp - 4], 0xffffffff
add esp, 0xc
lea ecx, [ebp - 0x4c]
call fcn.00406733
mov eax, dword [0x46487c]
push dword [ebp - 0x14]
lea ecx, [eax + 4]
call fcn.00407479
jmp 0x416ed5
mov ecx, ebx
call fcn.00406a8a
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.0042575b
add esp, 0x14
mov dword [ebp - 0x24], eax
test eax, eax
je 0x416d10
or dword [esi + 0x1cc], 0x10
jmp 0x416d5d
push str._Autoup__CPdList::RemoveUselessInfo__No_Compressed_File_exist._but__Not_same_version.
push 1
call fcn.00408bf4
pop ecx
pop ecx
push 0x80
mov ecx, ebx
call fcn.00406a8a
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, ebx
call fcn.00406a8a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, ebx
call fcn.00406a8a
push eax
push str._Autoup__CPdList::RemoveUselessInfo__Delete_old_file__s__GetLastError___d_
push 1
call fcn.00408bf4
add esp, 0x10
mov eax, dword [0x46487c]
cmp dword [eax + 0xbcc], 0
jne 0x416e23
cmp dword [ebp - 0x24], 0
jne 0x416e23
mov ecx, edi
call fcn.00406a8a
push eax
push dword [ebp - 0x28]
call fcn.0042571d
pop ecx
test eax, eax
pop ecx
jne 0x416e23
push dword [ebp - 0x28]
mov ecx, dword [ebp - 0x30]
call fcn.0041b7a4
test eax, eax
mov ecx, edi
je 0x416dbb
call fcn.00406a8a
push eax
push str._Autoup__CPdList::RemoveUselessInfo__Crashed_Engine_File_:__s
push 1
call fcn.00408bf4
add esp, 0xc
jmp 0x416e23
call fcn.00406a8a
push eax
push str._Autoup__CPdList::RemoveUselessInfo__RemoveDamaged__s
push 1
pop esi
push esi
call fcn.00408bf4
add esp, 0xc
mov ecx, edi
push 0x80
call fcn.00406a8a
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
mov ecx, edi
call fcn.00406a8a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov ecx, edi
call fcn.00406a8a
push eax
push str._Autoup__CPdList::RemoveUselessInfo__DeleteDamaged__s__GetLastError___d_
push esi
call fcn.00408bf4
mov eax, dword [0x46487c]
add esp, 0x10
push dword [ebp - 0x14]
lea ecx, [eax + 4]
call fcn.00407479
mov dword [ebp - 0x34], esi
cmp dword [ebp - 0x18], 0
je 0x416e31
mov ecx, dword [ebp - 0x10]
call fcn.0040d142
cmp dword [ebp - 0x34], 0
jne 0x416ed5
cmp dword [ebp - 0x2c], 1
jne 0x416ed5
push dword [0x451788]
mov edi, dword [ebp - 0x38]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcmpiA]
push edi
call esi
test eax, eax
je 0x416ed5
push dword [0x45178c]
push edi
call esi
test eax, eax
je 0x416ed5
push dword [0x451790]
push edi
call esi
test eax, eax
je 0x416ed5
push dword [0x451794]
push edi
call esi
test eax, eax
je 0x416ed5
push dword [0x451798]
push edi
call esi
test eax, eax
je 0x416ed5
push dword [0x45179c]
push edi
call esi
test eax, eax
je 0x416ed5
push dword [0x4517a0]
push edi
call esi
test eax, eax
je 0x416ed5
push dword [0x4517a4]
push edi
call esi
test eax, eax
je 0x416ed5
push dword [0x4517a8]
push edi
call esi
test eax, eax
je 0x416ed5
and dword [ebp - 0x2c], 0
push str._Autoup__CPdList::RemoveUselessInfo__CheckHourlyUpdate__FALSE
push 1
call fcn.00408bf4
pop ecx
pop ecx
mov ecx, dword [0x46487c]
call fcn.00403b9e
dec dword [ebp - 0x14]
cmp dword [ebp - 0x14], 0xffffffff
jb 0x41698d
push 1
pop esi
mov eax, dword [0x46487c]
mov edi, dword [ebp - 0x2c]
test edi, edi
mov dword [eax + 0x10f4], edi
mov eax, str.TRUE
jne 0x416f0c
mov eax, str.FALSE
push eax
push str._Autoup__CPdList::RemoveUselessInfo__CheckHourlyUpdate___s
push esi
call fcn.00408bf4
add esp, 0xc
cmp edi, esi
jne 0x416f27
mov ecx, dword [ebp - 0x30]
call fcn.004172a0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x416f33
mov eax, dword [ecx]
push esi
call dword [eax]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
leave
ret