Function at 0x435040
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cd87b
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
push ebx
push esi
push edi
mov eax, dword [0x528f34]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0xf0], ebx
mov dword [ebp - 0x14], ebx
je 0x4353fa
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x4350a4
cmp eax, 1
je 0x4350a4
mov esi, dword [esi + 0xec]
cmp esi, ebx
je 0x4353fa
push eax
push ebx
push 0x466
jmp 0x4353f3
lea ecx, [ebp - 0x10]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
lea eax, [ebp + 0xc]
push eax
mov dword [ebp - 4], ebx
mov dword [ebp + 0xc], ebx
call sym.QQProtectUpd.exe_int___cdecl_Util::Data::CreateTXBuffer_struct_ITXBuffer___
mov eax, dword [ebp + 0xc]
add esp, 4
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], ebx
mov ecx, dword [eax]
push 0x10
push eax
mov eax, dword [ecx + 0x24]
call eax
lea ecx, [ebp - 0x10]
lea edi, [esi + 0x10]
push ecx
mov ecx, edi
mov byte [ebp - 4], 1
mov dword [ebp - 0x24], ebx
call sym.QQProtectUpd.exe_public:_int___thiscall_CTXHttpDownload::GetDownloadedFilePath_class_CTXStringW__
test eax, eax
je 0x435114
lea ecx, [ebp - 0x10]
call sym.QQProtectUpd.exe_public:_bool___thiscall_CTXStringW::IsEmpty_void_const
test al, al
jne 0x435114
lea edx, [ebp - 0x24]
push edx
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x10]
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call sym.QQProtectUpd.exe_int___cdecl_Util::FS::GetFileHash_wchar_t_const___class_CTXBuffer___unsigned_long_int__
add esp, 0xc
test eax, eax
jne 0x43513d
mov eax, dword [ebp + 0xc]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x435129
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp + 0xc], ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
jmp 0x4353c7
lea eax, [ebp + 0xc]
push eax
lea ecx, [ebp - 0x18]
push ecx
call sym.QQProtectUpd.exe_class_CTXStringW___cdecl_Util::Encode::Encode16_class_CTXBuffer_const__
add esp, 8
mov ecx, dword [esi + 0xf0]
add ecx, 8
mov byte [ebp - 4], 2
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
lea ecx, [ebp - 0x18]
call sym.QQProtectUpd.exe_public:_int___thiscall_CTXStringW::CompareNoCase_wchar_t_const__const
test eax, eax
jne 0x435390
mov eax, dword [esi + 0xf0]
cmp dword [eax + 0x10], ebx
jne 0x4351bc
push 1
lea ecx, [eax + 0xc]
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
mov ecx, edi
call sym.QQProtectUpd.exe_public:_int___thiscall_CTXHttpDownload::MoveDownloadFile_wchar_t_const___int_
test eax, eax
jne 0x435303
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [ebp + 0xc]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x435129
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
jmp 0x435126
push ecx
add eax, 0xc
mov ecx, esp
mov dword [ebp - 0x14], esp
push eax
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
push str.Unzip_update_packet__unzipped_save_path___s
push str.QPUPDATE
push 3
push str.CFileDownloader::OnDownloadComplete
push 0xcd
push str.F:_svn_codeQPUpd_v137SourceLogicFileDownload.cpp
call fcn.0042d2a0
add esp, 0x1c
mov dword [ebp - 0x70], ebx
mov dword [ebp - 0x6c], ebx
mov dword [ebp - 0x68], ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 3
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
lea ecx, [ebp - 0x1c]
push ecx
call sym.QQProtectUpd.exe_class_CTXStringW___cdecl_FS::ConvertToPureFile_wchar_t_const__
add esp, 8
mov edx, dword [esi + 0xf0]
add edx, 0xc
push edx
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 0xac]
mov byte [ebp - 4], 4
call sym.QQProtectUpd.exe_public:_bool___thiscall_CUnZipFile::UnZipFile_class_CTXStringW_const___class_CTXStringW_const__
test al, al
jne 0x4352da
mov dword [ebp - 0x14], str.oh_no__unzipp_failed_
mov dword [ebp - 0x30], str.F:_svn_codeQPUpd_v137SourceLogicFileDownload.cpp
mov dword [ebp - 0x2c], str.CFileDownloader::OnDownloadComplete
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x5c], 0xd2
mov dword [ebp - 0x58], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x60], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x44]
push ecx
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], ebx
call dword [sym.imp.MSVCR80.dll__time64]
lea edx, [ebp - 0x14]
push edx
push 0x4dd0ec
lea eax, [ebp - 0x64]
push str.QPUPDATE
push eax
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
call sym.QQProtectUpd.exe_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__
add esp, 0x14
lea ecx, [ebp - 0x10]
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call sym.QQProtectUpd.exe_int___cdecl_FS::DeleteFileW_wchar_t_const__
add esp, 4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.00434b40
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
jmp 0x435114
lea ecx, [ebp - 0x10]
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call sym.QQProtectUpd.exe_int___cdecl_FS::DeleteFileW_wchar_t_const__
add esp, 4
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 3
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x74]
mov byte [ebp - 4], 2
call fcn.00434b40
mov dword [ebp - 0x14], str.http_download_suc
mov dword [ebp - 0x30], str.F:_svn_codeQPUpd_v137SourceLogicFileDownload.cpp
mov dword [ebp - 0x2c], str.CFileDownloader::OnDownloadComplete
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x5c], 0xd9
mov dword [ebp - 0x58], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x60], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x50], eax
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x4c], ebx
call dword [sym.imp.MSVCR80.dll__time64]
lea ecx, [ebp - 0x14]
push ecx
push 0x4dd0ec
lea edx, [ebp - 0x64]
push str.QPUPDATE
push edx
mov dword [ebp - 0x3c], ebx
mov dword [ebp - 0x38], ebx
call sym.QQProtectUpd.exe_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + 0x18]
add esp, 0x14
cmp eax, ebx
mov edi, 1
je 0x435393
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push ebx
push 0x2714
push eax
call edx
jmp 0x435393
mov edi, dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 1
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov eax, dword [ebp + 0xc]
cmp eax, ebx
mov byte [ebp - 4], bl
je 0x4353b4
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp + 0xc], ebx
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
cmp edi, ebx
jne 0x4353e2
mov eax, dword [esi + 0xf0]
mov eax, dword [eax + 0x18]
cmp eax, ebx
je 0x4353e2
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push ebx
push 0x2711
push eax
call edx
mov esi, dword [esi + 0xec]
cmp esi, ebx
je 0x4353fa
push ebx
push ebx
push 0x468
push esi
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8