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

Disassembly:
mov eax, 0x4edecc
call fcn.00475fe0
sub esp, 0x38
mov eax, dword [0x554634]
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 0x4479ec
xor edi, edi
jmp 0x447b4d
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 0x4479e5
push esi
push ebx
push ebx
mov esi, 0x50229c
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 0x447a25
xor edi, edi
jmp 0x447b43
push ebx
lea ecx, [ebp - 0x44]
push 0x4000000
push ecx
push esi
push str.HTTP_1.0
push dword [ebp - 0x14]
push 0x554610
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x20], esi
jne 0x447a54
xor edi, edi
jmp 0x447b3a
mov edi, dword [sym.imp.WININET.dll_HttpSendRequestA]
push ebx
push ebx
push ebx
push ebx
push esi
call edi
test eax, eax
jne 0x447a8b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f0c
jne 0x447a8b
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 0x447b31
cmp dword [ebp - 0x1c], 0x197
je 0x447ac1
cmp dword [ebp - 0x1c], 0x191
jne 0x447b2c
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 0x447b31
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 0x447b33
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