Function at 0x4e7d4c
Capabilities:
Check http status code
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push 0xd4
mov eax, 0x59779e
call fcn.00584fd1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [0x5ba968]
mov dword [ebp - 0x18], eax
mov eax, dword [0x5ba96c]
mov dword [ebp - 0x14], eax
xor eax, eax
lea edi, [ebp - 0x58]
stosd dword es:[edi], eax
xor ebx, ebx
lea eax, [ebp - 0x18]
push str.http:__www.qq.com
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x5c], eax
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_wchar_t_const__
lea ecx, [ebp - 0x1c]
mov dword [ebp - 4], ebx
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
lea eax, [ebp - 0x50]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x54]
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
mov dword [ebp - 0x54], ebx
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
call fcn.004e6fe6
add esp, 0x14
test eax, eax
jne 0x4e7e03
push str.CTXHttpConnectTCP::OnPopupNtlmDlg_TXParseURL_Fail
push 0x5a48f0
push str.Network
push 3
push str.CTXHttpConnectTCP::OnPopupNtlmDlg
push 0x11f
push str.....SourceCommonNetwork_socketHttpConnectTCP.cpp
jmp 0x4e816e
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
cmp eax, ebx
mov dword [ebp - 0x28], eax
jne 0x4e7e32
push str.CTXHttpConnectTCP::OnPopupNtlmDlg_InternetOpen_Fail
push 0x5a48f0
push str.Network
push 3
push str.CTXHttpConnectTCP::OnPopupNtlmDlg
push 0x132
jmp 0x4e7df9
push ebx
push ebx
push 3
mov esi, 0x5a3f7c
push esi
push esi
push dword [ebp - 0x50]
lea ecx, [ebp - 0x1c]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push dword [ebp - 0x28]
call dword [sym.imp.WININET.dll_InternetConnectW]
mov edi, eax
cmp edi, ebx
mov dword [ebp - 0x40], edi
jne 0x4e7e84
push dword [ebp - 0x28]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push str.CTXHttpConnectTCP::OnPopupNtlmDlg_InternetConnect_Fail
push 0x5a48f0
push str.Network
push 3
push str.CTXHttpConnectTCP::OnPopupNtlmDlg
push 0x13c
jmp 0x4e7df9
push ebx
push 0x4000000
lea eax, [ebp - 0x5c]
push eax
push esi
push str.HTTP_1.0
lea ecx, [ebp - 0x20]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
push 0x5ba730
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestW]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x48], esi
jne 0x4e7ee0
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push edi
call esi
push dword [ebp - 0x28]
call esi
push str.CTXHttpConnectTCP::OnPopupNtlmDlg_HttpOpenRequest_Fail
push 0x5a48f0
push str.Network
push 3
push str.CTXHttpConnectTCP::OnPopupNtlmDlg
push 0x149
jmp 0x4e7df9
mov edi, dword [sym.imp.WININET.dll_HttpSendRequestW]
push ebx
push ebx
push ebx
push ebx
push esi
call edi
test eax, eax
jne 0x4e7f17
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f0c
jne 0x4e7f17
push 4
lea eax, [ebp - 0x2c]
push eax
push 0x2f
push esi
mov dword [ebp - 0x2c], ebx
call dword [sym.imp.WININET.dll_InternetSetOptionW]
push ebx
push ebx
push ebx
push ebx
push esi
call edi
push ebx
lea eax, [ebp - 0x4c]
push eax
lea eax, [ebp - 0x30]
push eax
push 0x20000013
push esi
mov dword [ebp - 0x4c], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoW]
test eax, eax
jne 0x4e7f6a
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x40]
call esi
push dword [ebp - 0x28]
call esi
push str.CTXHttpConnectTCP::OnPopupNtlmDlg_HttpQueryInfo_Fail
push 0x5a48f0
push str.Network
push 3
push str.CTXHttpConnectTCP::OnPopupNtlmDlg
push 0x164
jmp 0x4e7df9
push dword [ebp - 0x30]
mov edi, str.....SourceCommonNetwork_socketHttpConnectTCP.cpp
push str.CTXHttpConnectTCP::OnPopupNtlmDlg_dwCode___lu
push 0x5a48f0
push str.Network
push 3
push str.CTXHttpConnectTCP::OnPopupNtlmDlg
push 0x168
push edi
call fcn.004587e0
add esp, 0x20
cmp dword [ebp - 0x30], 0x197
je 0x4e7fc7
cmp dword [ebp - 0x30], 0x191
je 0x4e7fc7
mov ecx, dword [ebp - 0x3c]
push 0x611644
call fcn.004b5a46
mov ecx, dword [ebp - 0x44]
push 0x611648
call fcn.004b5a46
jmp 0x4e8104
push ebx
push 7
push 0x2eee
push esi
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.WININET.dll_InternetErrorDlg]
cmp eax, 0x2f00
jne 0x4e813f
lea ecx, [ebp - 0x38]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call sym.txupd.exe_public:_void___thiscall_CTXStringW::constructor_void_
push 0x40
pop edi
lea eax, [ebp - 0x2c]
push eax
push edi
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 4
mov dword [ebp - 0x2c], edi
call sym.txupd.exe_public:_wchar_t____thiscall_CTXStringW::GetBuffer_int_
mov esi, dword [sym.imp.WININET.dll_InternetQueryOptionW]
push eax
push 0x2b
push dword [ebp - 0x48]
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x38]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::ReleaseBuffer_int_
lea ecx, [ebp - 0x38]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
lea ecx, [ebp - 0xe0]
call fcn.004e7b95
push dword [eax]
mov ecx, dword [ebp - 0x3c]
mov byte [ebp - 4], 5
call fcn.004b5dc3
lea eax, [ebp - 0xdc]
cmp dword [ebp - 0xe0], eax
mov byte [ebp - 4], 4
je 0x4e806c
push dword [ebp - 0xe0]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
lea eax, [ebp - 0x2c]
push eax
push edi
lea ecx, [ebp - 0x34]
mov dword [ebp - 0x2c], edi
call sym.txupd.exe_public:_wchar_t____thiscall_CTXStringW::GetBuffer_int_
push eax
push 0x2c
push dword [ebp - 0x48]
call esi
push 0xffffffffffffffff
lea ecx, [ebp - 0x34]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::ReleaseBuffer_int_
lea ecx, [ebp - 0x34]
call sym.txupd.exe_public:_wchar_t_const____thiscall_CTXStringW::operator_wchar_t_const__void_const
push eax
lea ecx, [ebp - 0xe0]
call fcn.004e7b95
push dword [eax]
mov ecx, dword [ebp - 0x44]
mov byte [ebp - 4], 6
call fcn.004b5dc3
lea eax, [ebp - 0xdc]
cmp dword [ebp - 0xe0], eax
mov byte [ebp - 4], 4
je 0x4e80cf
push dword [ebp - 0xe0]
call dword [sym.imp.MSVCR80.dll_free]
pop ecx
push dword [ebp - 0x3c]
mov ecx, 0x611644
call fcn.004b5a46
push dword [ebp - 0x44]
mov ecx, 0x611648
call fcn.004b5a46
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 3
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x38]
mov byte [ebp - 4], 2
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
mov esi, dword [ebp - 0x48]
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x40]
call esi
push dword [ebp - 0x28]
call esi
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
xor eax, eax
inc eax
jmp 0x4e819b
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
push dword [ebp - 0x40]
call esi
push dword [ebp - 0x28]
call esi
push str.CTXHttpConnectTCP::OnPopupNtlmDlg_InternetErrorDlg_Fail
push 0x5a48f0
push str.Network
push 3
push str.CTXHttpConnectTCP::OnPopupNtlmDlg
push 0x18e
push edi
call fcn.004587e0
add esp, 0x1c
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 1
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], bl
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call sym.txupd.exe_public:_void___thiscall_CTXStringW::destructor_void_
xor eax, eax
call fcn.00585054
ret 8