Function at 0x464add
Capabilities:
Check for time delay via gettickcount
Send data
Send data on socket
Send http request

Disassembly:
push 0x48
mov eax, 0x4d20b9
call fcn.004cbc30
mov esi, ecx
lea ecx, [ebp - 0x14]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
lea edi, [esi - 4]
lea eax, [ebp - 0x14]
xor ebx, ebx
push eax
mov ecx, edi
mov dword [ebp - 4], ebx
mov dword [ebp - 0x10], edi
call sym.QQProtectUpd.exe_private:_int___thiscall_CTXHttpDownload::BuildRqHead_class_CTXStringA__
test eax, eax
je 0x464ed1
lea ecx, [ebp - 0x14]
call sym.QQProtectUpd.exe_public:_bool___thiscall_CTXStringA::IsEmpty_void_const
test al, al
jne 0x464ed1
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x48], ebx
call sym.QQProtectUpd.exe_public:_int___thiscall_CTXStringA::GetLength_void_const
push eax
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x38], eax
call sym.QQProtectUpd.exe_public:_char____thiscall_CTXStringA::GetBuffer_int_
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x30], ebx
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::ReleaseBuffer_int_
mov ecx, dword [esi + 0x9c]
cmp ecx, ebx
mov dword [ebp - 0x3c], ebx
je 0x464b5d
call sym.QQProtectUpd.exe_public:_unsigned_char____thiscall_CGUnzipBuffer::GetBuffer_void_const
mov dword [ebp - 0x3c], eax
mov eax, dword [esi + 0xb8]
push 0xffffffffffffffff
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x44], eax
call sym.QQProtectUpd.exe_public:_char_const____thiscall_CTXStringA::operator_char_const__void_const
push eax
lea eax, [ebp - 0x50]
push eax
call sym.QQProtectUpd.exe_class_CTXStringW___cdecl_Util::Convert::Utf8ToWS_char_const___int_
add esp, 0xc
mov ecx, eax
mov byte [ebp - 4], 1
call sym.QQProtectUpd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push dword [esi + 0xd4]
mov edi, str.....SourceCommonNetworkHttpHttpDownload.cpp
push str.Id__lu__Run_strRqHead_r_n__r_n_s_
push 0x4e6dfc
push 3
push str.CTXHttpDownload::Run
push 0xa63
push edi
call fcn.00442b40
add esp, 0x20
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], bl
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x40], ebx
mov dword [ebp - 0x18], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2c], eax
jmp 0x464e1d
cmp dword [ebp - 0x18], ebx
je 0x464be9
push 1
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x18]
push 1
call sym.QQProtectUpd.exe_private:_int___thiscall_CTXHttpDownload::SelectSocket_int__int__int___int__
cmp dword [ebp - 0x18], ebx
je 0x464c11
cmp dword [ebp - 0x28], ebx
je 0x464c11
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x24], ebx
je 0x464c1f
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [ebp - 0x2c], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
sub eax, dword [ebp - 0x2c]
cmp eax, 0xea60
ja 0x464e31
cmp dword [ebp - 0x28], ebx
je 0x464ddd
cmp dword [ebp - 0x18], ebx
je 0x464ddd
cmp dword [ebp - 0x40], ebx
jne 0x464c8f
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x30]
sub ecx, edx
xor eax, eax
cmp ecx, ebx
jle 0x464c6c
mov eax, dword [ebp - 0x54]
push ebx
push ecx
add edx, eax
push edx
push dword [ebp - 0x44]
call dword [sym.imp.WS2_32.dll_send]
mov edx, dword [ebp - 0x30]
add edx, eax
cmp edx, dword [ebp - 0x38]
mov dword [ebp - 0x30], edx
jne 0x464ddd
cmp dword [ebp - 0x3c], ebx
jbe 0x464dda
mov dword [ebp - 0x40], 1
jmp 0x464ddd
mov ecx, dword [esi + 0x9c]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x34]
push eax
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0x1c], ebx
call fcn.0048768c
test eax, eax
jne 0x464cba
cmp dword [ebp - 0x34], ebx
je 0x464cba
cmp dword [ebp - 0x1c], ebx
jne 0x464e7c
cmp dword [ebp - 0x1c], ebx
jbe 0x464ddd
push ebx
push dword [ebp - 0x1c]
push dword [ebp - 0x34]
push dword [ebp - 0x44]
call dword [sym.imp.WS2_32.dll_send]
cmp eax, ebx
jle 0x464ddd
mov ecx, dword [esi + 0x9c]
push eax
call fcn.0048771b
lea eax, [esi + 0x48]
push str.POST
push eax
call sym.QQProtectUpd.exe_bool___cdecl_operator_class_CTXStringW_const___wchar_t_const__
test al, al
pop ecx
pop ecx
je 0x464d1b
mov ecx, dword [esi + 0x9c]
call sym.QQProtectUpd.exe_public:_unsigned_char____thiscall_CGUnzipBuffer::GetBuffer_void_const
mov ecx, dword [esi + 0x9c]
push eax
call sym.QQProtectUpd.exe_public:_unsigned_int___thiscall_CGUnzipBuffer::GetLength_void_const
mov ecx, dword [ebp - 0x10]
push eax
call sym.QQProtectUpd.exe_private:_void___thiscall_CTXHttpDownload::NotifyProgress_unsigned_long_int__unsigned_long_int_
mov ecx, dword [esi + 0x9c]
call fcn.00487741
test eax, eax
je 0x464ddd
cmp dword [esi + 0x60], ebx
je 0x464dda
cmp dword [ebp - 0x48], ebx
jne 0x464dda
lea ecx, [ebp - 0x20]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::constructor_void_
lea ecx, [esi + 0x64]
mov byte [ebp - 4], 2
call sym.QQProtectUpd.exe_public:_char_const____thiscall_CTXStringA::operator_char_const__void_const
push eax
lea eax, [ebp - 0x20]
push str._r_n___s___r_n_r_n
push eax
call sym.QQProtectUpd.exe_public:_void___cdecl_CTXStringA::Format_char_const__
mov ecx, dword [esi + 0x9c]
add esp, 0xc
cmp ecx, ebx
je 0x464d77
push 1
call fcn.0045ffee
push 0x41c
call sub.MSVCR80.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
mov dword [ebp - 0x50], eax
cmp eax, ebx
mov byte [ebp - 4], 3
je 0x464d9c
push dword [esi + 0xd4]
mov ecx, eax
call fcn.004875df
jmp 0x464d9e
xor eax, eax
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 2
mov dword [esi + 0x9c], eax
call sym.QQProtectUpd.exe_public:_int___thiscall_CTXStringA::GetLength_void_const
push eax
push eax
lea ecx, [ebp - 0x20]
call sym.QQProtectUpd.exe_public:_char____thiscall_CTXStringA::GetBuffer_int_
mov ecx, dword [esi + 0x9c]
push eax
call fcn.00487649
lea ecx, [ebp - 0x20]
mov dword [ebp - 0x48], 1
mov byte [ebp - 4], bl
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::destructor_void_
jmp 0x464ddd
mov dword [ebp - 0x18], ebx
cmp dword [ebp - 0x24], ebx
je 0x464e1d
mov ecx, dword [ebp - 0x10]
push 2
pop eax
mov dword [esi + 0xcc], eax
mov dword [esi + 0xd0], eax
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x50]
push eax
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
call sym.QQProtectUpd.exe_private:_int___thiscall_CTXHttpDownload::ReadData_int___int__
test eax, eax
je 0x464e83
cmp dword [ebp - 0x4c], ebx
jne 0x464ea7
cmp dword [ebp - 0x50], ebx
jne 0x464eaa
mov ecx, esi
call sym.QQProtectUpd.exe_protected:_int___thiscall_CTXThreadModel::QueryExitEvent_void_
test eax, eax
je 0x464bdc
jmp 0x464eda
push dword [ebp - 0x24]
push dword [ebp - 0x28]
push dword [ebp - 0x18]
push str.______________________
push 0x4e6dfc
push 2
push str.CTXHttpDownload::Run
push 0xa89
push edi
call fcn.00442b40
mov ecx, dword [ebp - 0x10]
add esp, 0x24
call sym.QQProtectUpd.exe_private:_int___thiscall_CTXHttpDownload::IsOKResponse_void_
test eax, eax
je 0x464e78
cmp dword [esi + 0x84], ebx
jne 0x464e78
cmp dword [esi + 0x80], ebx
jne 0x464e78
push ebx
jmp 0x464ed5
push 5
jmp 0x464ed5
push 2
mov ecx, dword [ebp - 0x10]
jmp 0x464ed5
cmp dword [esi + 0xcc], 1
mov ecx, dword [ebp - 0x10]
jne 0x464e9f
call sym.QQProtectUpd.exe_private:_int___thiscall_CTXHttpDownload::IsRedirectResponse_void_
test eax, eax
je 0x464ec6
call sym.QQProtectUpd.exe_private:_void___thiscall_CTXHttpDownload::NotifyRedirect_void_
jmp 0x464eda
push dword [esi + 0xd0]
jmp 0x464ed5
push ebx
jmp 0x464e7e
mov ecx, dword [ebp - 0x10]
call sym.QQProtectUpd.exe_private:_int___thiscall_CTXHttpDownload::IsOKResponse_void_
test eax, eax
je 0x464ecd
cmp dword [esi + 0x84], ebx
jne 0x464ec6
cmp dword [esi + 0x80], ebx
je 0x464e75
call sym.QQProtectUpd.exe_private:_void___thiscall_CTXHttpDownload::NotifyReConnect_void_
jmp 0x464eda
push 3
jmp 0x464ed5
push 2
mov ecx, edi
call sym.QQProtectUpd.exe_private:_void___thiscall_CTXHttpDownload::NotifyComplete_int_
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sym.QQProtectUpd.exe_public:_void___thiscall_CTXStringA::destructor_void_
xor eax, eax
inc eax
call fcn.004cbd08
ret