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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4cdc04
mov eax, dword fs:[0]
push eax
sub esp, 0xdc
mov eax, dword [0x528f34]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
push edi
push 0x4df510
push str.QPUPDATE
push 2
push str.CQueryQPUpdateLogic::OnDownloadComplete
push 0xd9
push str.F:_svn_codeQPUpd_v137SourceLogicQPUpdateLogic.cpp
mov dword [ebp - 0x44], ecx
call fcn.00442b40
xor ebx, ebx
add esp, 0x1c
cmp esi, ebx
mov dword [ebp - 0x3c], 0x78
je 0x4374ad
cmp edi, ebx
je 0x436d79
cmp edi, 1
jne 0x4374ad
lea eax, [ebp - 0x94]
push eax
lea ecx, [ebp - 0x90]
push ecx
mov ecx, esi
mov dword [ebp - 0x90], ebx
mov dword [ebp - 0x94], ebx
call sym.QQProtectUpd.exe_public:_int___thiscall_CTXHttpDownload::GetDownloadedBuffer_unsigned_char____unsigned_long_int__
test eax, eax
je 0x4374a4
cmp dword [ebp - 0x90], ebx
je 0x4374a4
cmp dword [ebp - 0x94], ebx
je 0x4374a4
lea ecx, [ebp - 0x30]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
push 0x4df4b4
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], ebx
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
push 1
lea edx, [ebp - 0x30]
push edx
lea eax, [ebp - 0x40]
push eax
mov ecx, esi
mov byte [ebp - 4], 1
call sym.QQProtectUpd.exe_public:_int___thiscall_CTXHttpDownload::QueryInfo_class_CTXStringW_const___class_CTXStringW___int_
lea ecx, [ebp - 0x40]
mov byte [ebp - 4], bl
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
push str.true
lea ecx, [ebp - 0x30]
call sym.QQProtectUpd.exe_public:_int___thiscall_CTXStringW::CompareNoCase_wchar_t_const__const
mov esi, eax
neg esi
sbb esi, esi
lea ecx, [ebp - 0x2c]
add esi, 1
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::constructor_void_]
cmp esi, ebx
mov eax, dword [ebp - 0x90]
mov ecx, dword [ebp - 0x94]
mov byte [ebp - 4], 2
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x88], ecx
je 0x436fdb
mov dword [ebp - 0xa0], ebx
mov dword [ebp - 0x9c], ebx
mov dword [ebp - 0x98], ebx
push 1
push ecx
push eax
lea ecx, [ebp - 0xa8]
mov byte [ebp - 4], 3
call sym.QQProtectUpd.exe_public:_bool___thiscall_CUnzipBuffers::Init_void_const___unsigned_int__bool_
test al, al
jne 0x436f03
mov dword [ebp - 0x38], 0x4df494
mov dword [ebp - 0x7c], 0xfb
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x4c], str.CQueryQPUpdateLogic::OnDownloadComplete
mov dword [ebp - 0x50], str.F:_svn_codeQPUpd_v137SourceLogicQPUpdateLogic.cpp
mov dword [ebp - 0x78], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x80], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea ecx, [ebp - 0x64]
push ecx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.MSVCR80.dll__time64]
lea edx, [ebp - 0x38]
push edx
push 0x4dd0ec
push str.QPUPDATE
lea eax, [ebp - 0x84]
push eax
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x5c], ebx
call sym.QQProtectUpd.exe_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__
add esp, 0x14
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x3c], 8
mov byte [ebp - 4], 2
call sym.QQProtectUpd.exe_public:_void___thiscall_CUnzipBuffers::destructor_void_
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], bl
call dword [sym.imp.MSVCP80.dll_public:_void___thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::destructor_void_]
lea ecx, [ebp - 0x30]
mov dword [ebp - 4], 0xffffffff
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
jmp 0x4374b4
mov eax, dword [ebp - 0xa0]
cmp eax, ebx
je 0x436f2b
mov ecx, dword [ebp - 0x9c]
sub ecx, eax
mov eax, 0x78787879
imul ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp eax, 1
je 0x436f3e
mov dword [ebp - 0x38], 0x4df47c
mov dword [ebp - 0x7c], 0x102
jmp 0x436e6d
lea ecx, [ebp - 0x2c]
push ecx
push ebx
lea ecx, [ebp - 0xa8]
call sym.QQProtectUpd.exe_public:_bool___thiscall_CUnzipBuffers::GetBuffer_unsigned_int__class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char____
test al, al
jne 0x436fb7
mov dword [ebp - 0x38], 0x4df468
mov dword [ebp - 0x50], str.F:_svn_codeQPUpd_v137SourceLogicQPUpdateLogic.cpp
mov dword [ebp - 0x4c], str.CQueryQPUpdateLogic::OnDownloadComplete
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x7c], 0x108
mov dword [ebp - 0x78], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x80], 2
call dword [sym.imp.KERNEL32.dll_GetTickCount]
lea edx, [ebp - 0x64]
push edx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.MSVCR80.dll__time64]
lea eax, [ebp - 0x38]
push eax
push 0x4dd0ec
push str.QPUPDATE
lea ecx, [ebp - 0x84]
push ecx
jmp 0x436ebf
lea ecx, [ebp - 0x2c]
call dword [sym.imp.MSVCP80.dll_public:_char_const____thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::c_str_void_const]
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0xa8]
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x88], edx
mov byte [ebp - 4], 2
call sym.QQProtectUpd.exe_public:_void___thiscall_CUnzipBuffers::destructor_void_
mov eax, dword [ebp - 0x88]
mov edx, dword [ebp - 0x38]
mov ecx, dword [ebp - 0x44]
push eax
add ecx, 0xf0
push edx
call fcn.0042ee20
test eax, eax
jne 0x437004
mov dword [ebp - 0x3c], 2
jmp 0x436ee3
mov esi, dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x40], str.QQprotect
mov dword [ebp - 0x50], str.F:_svn_codeQPUpd_v137SourceLogicQPUpdateLogic.cpp
mov dword [ebp - 0x4c], str.CQueryQPUpdateLogic::OnDownloadComplete
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x7c], 0x119
mov dword [ebp - 0x78], ebx
call esi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x80], 3
call edi
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.MSVCR80.dll__time64]
lea ecx, [ebp - 0x40]
push ecx
push 0x4dd0ec
lea edx, [ebp - 0x84]
push str.QPUPDATE
push edx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
call sym.QQProtectUpd.exe_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__
mov ecx, dword [ebp - 0x44]
add esp, 0x14
add ecx, 0xf0
call fcn.0042d920
test eax, eax
je 0x4373f6
mov dword [ebp - 0x8c], ebx
call fcn.00440530
mov ecx, eax
call fcn.00440230
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x8c]
push eax
add ecx, 0xf0
call fcn.0042d740
mov ecx, dword [ebp - 0x34]
cmp dword [ebp - 0x8c], ecx
ja 0x437162
mov dword [ebp - 0x34], str.the_local_ver_eaquals_the_servers__do_not_need_update_
mov dword [ebp - 0x50], str.F:_svn_codeQPUpd_v137SourceLogicQPUpdateLogic.cpp
mov dword [ebp - 0x4c], str.CQueryQPUpdateLogic::OnDownloadComplete
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x7c], 0x130
mov dword [ebp - 0x78], ebx
call esi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x80], 2
call edi
lea edx, [ebp - 0x64]
push edx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.MSVCR80.dll__time64]
lea eax, [ebp - 0x34]
push eax
push 0x4dd0ec
lea ecx, [ebp - 0x84]
push str.QPUPDATE
push ecx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
call sym.QQProtectUpd.exe_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__
add esp, 0x14
push 0x263
push ebx
push 0x20
push 1
call fcn.0043f9d0
mov ecx, eax
call fcn.0043ff80
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0xe0]
cmp eax, ebx
je 0x436ee3
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
push ebx
push 0x64
push eax
call edx
jmp 0x436ee3
call fcn.00440530
mov ecx, eax
call fcn.00440220
cmp eax, ebx
push 0x263
push ebx
je 0x43717e
push 7
push 5
jmp 0x437182
push 6
push 1
call fcn.0043f9d0
mov ecx, eax
call fcn.0043ff80
mov dword [ebp - 0x34], 0x4df3b0
mov dword [ebp - 0x50], str.F:_svn_codeQPUpd_v137SourceLogicQPUpdateLogic.cpp
mov dword [ebp - 0x4c], str.CQueryQPUpdateLogic::OnDownloadComplete
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x7c], 0x143
mov dword [ebp - 0x78], ebx
call esi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x80], 2
call edi
mov dword [ebp - 0x70], eax
lea eax, [ebp - 0x64]
push eax
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.MSVCR80.dll__time64]
lea ecx, [ebp - 0x34]
push ecx
push 0x4dd0ec
lea edx, [ebp - 0x84]
push str.QPUPDATE
push edx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
call sym.QQProtectUpd.exe_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__
mov eax, dword [ebp - 0x8c]
push eax
call fcn.0043dff0
add esp, 0x18
test eax, eax
jne 0x43723a
mov ecx, dword [ebp - 0x8c]
push ecx
push 0x4df384
push str.QPUPDATE
push 2
push str.CQueryQPUpdateLogic::OnDownloadComplete
push 0x148
push str.F:_svn_codeQPUpd_v137SourceLogicQPUpdateLogic.cpp
call fcn.00442b40
add esp, 0x1c
push ebx
call dword [sym.imp.USER32.dll_PostQuitMessage]
jmp 0x436ee3
mov dword [ebp - 0x34], 0x4df374
mov dword [ebp - 0x50], str.F:_svn_codeQPUpd_v137SourceLogicQPUpdateLogic.cpp
mov dword [ebp - 0x4c], str.CQueryQPUpdateLogic::OnDownloadComplete
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x48], ebx
mov dword [ebp - 0x7c], 0x14d
mov dword [ebp - 0x78], ebx
call esi
mov dword [ebp - 0x74], eax
mov dword [ebp - 0x80], 2
call edi
lea edx, [ebp - 0x64]
push edx
mov dword [ebp - 0x70], eax
mov dword [ebp - 0x6c], ebx
call dword [sym.imp.MSVCR80.dll__time64]
lea eax, [ebp - 0x34]
push eax
push 0x4dd0ec
lea ecx, [ebp - 0x84]
push str.QPUPDATE
push ecx
mov dword [ebp - 0x5c], ebx
mov dword [ebp - 0x58], ebx
call sym.QQProtectUpd.exe_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__
lea edx, [ebp - 0x34]
push ebx
push edx
call fcn.0043be30
push 0x4dea34
push eax
lea eax, [ebp - 0x40]
push eax
mov byte [ebp - 4], 4
call sym.QQProtectUpd.exe_class_CTXStringW___cdecl_operator_class_CTXStringW_const___wchar_t_const__
add esp, 0x28
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 6
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov ecx, dword [ebp - 0x88]
mov edx, dword [ebp - 0x38]
push ecx
push edx
push ecx
lea eax, [ebp - 0x40]
mov ecx, esp
mov dword [ebp - 0x38], esp
push eax
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::constructor_class_CTXStringW_const__
mov ecx, dword [ebp - 0x44]
add ecx, 0xf0
call fcn.0042d320
cmp eax, ebx
jne 0x4373a4
mov dword [ebp - 0x88], str.Error__save_QQProtect_cfg_fail___
mov dword [ebp - 0xb4], str.F:_svn_codeQPUpd_v137SourceLogicQPUpdateLogic.cpp
mov dword [ebp - 0xb0], str.CQueryQPUpdateLogic::OnDownloadComplete
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xe0], 0x155
mov dword [ebp - 0xdc], ebx
call esi
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xe4], 2
call edi
lea ecx, [ebp - 0xc8]
push ecx
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], ebx
call dword [sym.imp.MSVCR80.dll__time64]
lea edx, [ebp - 0x88]
push edx
push 0x4dd0ec
lea eax, [ebp - 0xe8]
push str.QPUPDATE
push eax
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xbc], ebx
call sym.QQProtectUpd.exe_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__
add esp, 0x14
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x3c], 3
mov byte [ebp - 4], 2
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
jmp 0x436ee3
mov ecx, dword [ebp - 0x44]
add ecx, 0xf0
call fcn.0042e5d0
mov esi, eax
push esi
call fcn.0043c770
push esi
push str.F_Upd_Flag___d
push str.QPUPDATE
push 2
push str.CQueryQPUpdateLogic::OnDownloadComplete
push 0x15d
push str.F:_svn_codeQPUpd_v137SourceLogicQPUpdateLogic.cpp
call fcn.00442b40
add esp, 0x20
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x3c], 0x65
mov byte [ebp - 4], 2
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
jmp 0x436ee3
mov dword [ebp - 0x34], 0x4df2f8
mov dword [ebp - 0xb4], str.F:_svn_codeQPUpd_v137SourceLogicQPUpdateLogic.cpp
mov dword [ebp - 0xb0], str.CQueryQPUpdateLogic::OnDownloadComplete
mov dword [ebp - 0xb8], ebx
mov dword [ebp - 0xac], ebx
mov dword [ebp - 0xe0], 0x125
mov dword [ebp - 0xdc], ebx
call esi
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0xe4], 2
call edi
lea ecx, [ebp - 0xc8]
push ecx
mov dword [ebp - 0xd4], eax
mov dword [ebp - 0xd0], ebx
call dword [sym.imp.MSVCR80.dll__time64]
lea edx, [ebp - 0x34]
push edx
push 0x4dd0ec
lea eax, [ebp - 0xe8]
push str.QPUPDATE
push eax
mov dword [ebp - 0xc0], ebx
mov dword [ebp - 0xbc], ebx
call sym.QQProtectUpd.exe_void___cdecl_TXLog_DoTXLogVW_struct_tagLogObj___wchar_t_const___wchar_t_const___char__
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0xe0]
add esp, 0x14
cmp eax, ebx
je 0x436ee3
mov edx, dword [eax]
push ebx
push 0x64
push eax
mov eax, dword [edx + 0xc]
call eax
jmp 0x436ee3
mov dword [ebp - 0x3c], 2
jmp 0x4374b4
mov dword [ebp - 0x3c], 7
mov esi, dword [ebp - 0x3c]
push esi
push 0x4df2cc
push str.QPUPDATE
push 2
push str.CQueryQPUpdateLogic::OnDownloadComplete
push 0x164
push str.F:_svn_codeQPUpd_v137SourceLogicQPUpdateLogic.cpp
call fcn.00442b40
mov ecx, dword [ebp - 0x44]
mov eax, dword [ecx + 0xe0]
add esp, 0x1c
cmp eax, ebx
je 0x4374f2
mov edx, dword [eax]
push ebx
push esi
push eax
mov eax, dword [edx + 0xc]
call eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004cb642
mov esp, ebp
pop ebp
ret 8