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

Disassembly:
mov eax, 0x4d2344
call fcn.0046fad0
sub esp, 0x38
mov eax, dword [0x52ad54]
push ebx
push edi
mov dword [ebp - 0x28], eax
xor eax, eax
lea edi, [ebp - 0x40]
stosd dword es:[edi], eax
lea eax, [ebp - 0x28]
push str.http:__www.qq.com
lea ecx, [ebp - 0x24]
mov dword [ebp - 0x44], eax
call sub.MFC42.DLL_CString::CString_1
xor ebx, ebx
lea ecx, [ebp - 0x18]
mov dword [ebp - 4], ebx
call sub.MFC42.DLL_CString::CString_4
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_4
lea eax, [ebp - 0x2c]
mov byte [ebp - 4], 2
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x3c]
push eax
push dword [ebp - 0x24]
call sub.MFC42.DLL_AfxParseURL
test eax, eax
jne 0x441bb5
xor edi, edi
jmp 0x441d16
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, ebx
mov dword [ebp - 0x38], eax
je 0x441bae
push esi
push ebx
push ebx
mov esi, 0x4e51ec
push 3
push esi
push esi
push dword [ebp - 0x2c]
push dword [ebp - 0x18]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
cmp eax, ebx
mov dword [ebp - 0x34], eax
jne 0x441bee
xor edi, edi
jmp 0x441d0c
push ebx
lea ecx, [ebp - 0x44]
push 0x4000000
push ecx
push esi
push str.HTTP_1.0
push dword [ebp - 0x14]
push 0x52ad30
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x20], esi
jne 0x441c1d
xor edi, edi
jmp 0x441d03
mov edi, dword [sym.imp.WININET.dll_HttpSendRequestA]
push ebx
push ebx
push ebx
push ebx
push esi
call edi
test eax, eax
jne 0x441c54
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f0c
jne 0x441c54
lea eax, [ebp - 0x10]
push 4
push eax
push 0x2f
push esi
mov dword [ebp - 0x10], ebx
call dword [sym.imp.WININET.dll_InternetSetOptionA]
push ebx
push ebx
push ebx
push ebx
push esi
call edi
lea eax, [ebp - 0x30]
push ebx
push eax
lea eax, [ebp - 0x1c]
push eax
push 0x20000013
push esi
mov dword [ebp - 0x30], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x441cfa
cmp dword [ebp - 0x1c], 0x197
je 0x441c8a
cmp dword [ebp - 0x1c], 0x191
jne 0x441cf5
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 0x441cfa
mov ecx, dword [ebp + 8]
push 0x40
pop edi
lea eax, [ebp - 0x10]
push eax
push edi
mov dword [ebp - 0x10], edi
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x2b
push esi
mov esi, dword [sym.imp.WININET.dll_InternetQueryOptionA]
call esi
mov ecx, dword [ebp + 8]
push 0xffffffffffffffff
call sub.MFC42.DLL_CString::ReleaseBuffer
mov ecx, dword [ebp + 0xc]
lea eax, [ebp - 0x10]
push eax
push edi
mov dword [ebp - 0x10], edi
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 0x2c
push dword [ebp - 0x20]
call esi
mov ecx, dword [ebp + 0xc]
push 0xffffffffffffffff
call sub.MFC42.DLL_CString::ReleaseBuffer
mov esi, dword [ebp - 0x20]
push 1
pop edi
jmp 0x441cfc
xor edi, edi
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x34]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
push dword [ebp - 0x38]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
pop esi
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, edi
pop edi
pop ebx
mov dword fs:[0], ecx
leave
ret 8