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

Disassembly:
mov eax, 0x4caee4
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x38
mov eax, dword [0x514970]
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_3
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString_3
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 0x4752a4
xor edi, edi
jmp 0x475405
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 0x47529d
push esi
push ebx
push ebx
mov esi, 0x4d5034
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 0x4752dd
xor edi, edi
jmp 0x4753fb
push ebx
lea ecx, [ebp - 0x44]
push 0x4000000
push ecx
push esi
push str.HTTP_1.0
push dword [ebp - 0x14]
push 0x51494c
push eax
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x20], esi
jne 0x47530c
xor edi, edi
jmp 0x4753f2
mov edi, dword [sym.imp.WININET.dll_HttpSendRequestA]
push ebx
push ebx
push ebx
push ebx
push esi
call edi
test eax, eax
jne 0x475343
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x2f0c
jne 0x475343
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 0x4753e9
cmp dword [ebp - 0x1c], 0x197
je 0x475379
cmp dword [ebp - 0x1c], 0x191
jne 0x4753e4
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 0x4753e9
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 0x4753eb
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