Function at 0x4540ca
Capabilities:
Delete file

Disassembly:
push 4
mov eax, 0x46ddc5
call fcn.00463531
mov esi, ecx
mov ebx, dword [ebp + 8]
cmp ebx, 9
je 0x454320
call fcn.00451890
mov edi, eax
test edi, edi
je 0x454320
lea ecx, [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov ecx, dword [esi + 0x1e8]
and dword [ebp - 4], 0
push edi
lea eax, [ebp - 0x10]
push eax
call fcn.00414a86
push eax
lea ecx, [ebp + 8]
mov byte [ebp - 4], 1
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
push 1
lea ecx, [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
lea ecx, [esi + 0x278]
call sub.AuCommon.dll_public:_int___thiscall_CTXHttpDownload::MoveDownloadFile_wchar_t_const___int_
test ebx, ebx
je 0x4541af
cmp ebx, 1
je 0x4541af
push dword [esi + 0x1d0]
push ebx
push 0x484360
push str.AutoUpdateUSLog
push 3
push str.CUpdateStrategyBase::OnDownloadPkgEuraFileComplete
push 0x64e
push str.R:TempViewQQ1.84MiscAUClientUpdateLogicUpdateStrategyBase.cpp
call fcn.00412b70
mov eax, dword [esi + 0x1d0]
add esp, 0x20
cmp eax, 3
mov ecx, esi
jbe 0x4541a3
push str.IDS_ERR_NETWORKBUSY
call fcn.00442a8b
mov eax, dword [esi]
push 0
mov ecx, esi
call dword [eax + 0x48]
push 2
mov ecx, esi
call fcn.0045162c
jmp 0x454317
inc eax
mov dword [esi + 0x1d0], eax
jmp 0x454310
mov ecx, dword [esi + 0x1e8]
push edi
lea eax, [ebp - 0x10]
push eax
call fcn.00414a86
lea ecx, [edi + 0x40]
push ecx
mov ecx, eax
mov byte [ebp - 4], 2
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call fcn.0045ecb0
pop ecx
pop ecx
lea ecx, [ebp - 0x10]
mov ebx, eax
mov byte [ebp - 4], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
test ebx, ebx
je 0x454248
cmp ebx, 1
je 0x454248
push dword [esi + 0x1cc]
fld1
and dword [esi + 0x1d0], 0
push ecx
push ecx
fstp qword [esp]
push 3
lea ebx, [esi + 0x1b4]
push dword [ebx]
mov ecx, esi
call fcn.00450fb6
inc dword [ebx]
push 0
mov ecx, esi
call fcn.00453aed
cmp eax, 0x80004005
jne 0x454232
push str.IDS_ERR_UPDATE_PACK_DAMAGED
mov ecx, esi
jmp 0x454187
test eax, eax
jne 0x454317
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 0x48]
jmp 0x454317
cmp dword [esi + 0x1d0], 3
ja 0x454226
cmp ebx, 1
jne 0x454308
mov ecx, dword [esi + 0x1e8]
push edi
lea eax, [ebp - 0x10]
push eax
call fcn.00414a86
mov ecx, eax
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [ebp - 0x10]
inc bl
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
test bl, bl
je 0x454308
mov ecx, dword [esi + 0x1e8]
push edi
lea eax, [ebp - 0x10]
push eax
call fcn.00414a86
mov ecx, eax
mov byte [ebp - 4], 3
call dword [sym.imp.MFC80U.DLL_Ordinal_870]
push eax
call fcn.0045ea20
pop ecx
test eax, eax
lea ecx, [ebp - 0x10]
setne bl
mov byte [ebp - 4], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
test bl, bl
lea eax, [ebp - 0x10]
push eax
push 0x47218c
push str.AutoUpdateUSLog
push 3
push str.CUpdateStrategyBase::OnDownloadPkgEuraFileComplete
je 0x4542ea
mov dword [ebp - 0x10], 0x4842b0
push 0x67b
jmp 0x4542f6
mov dword [ebp - 0x10], 0x4842a4
push 0x67f
push str.R:TempViewQQ1.84MiscAUClientUpdateLogicUpdateStrategyBase.cpp
call fcn.00409f9e
add esp, 0x1c
jmp 0x454226
inc dword [esi + 0x1d0]
mov ecx, esi
push 1
call fcn.00453aed
lea ecx, [ebp + 8]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
call fcn.00463609
ret 4