Function at 0x40a2b0
Capabilities:
Reference http user-agent string

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x40db5f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x105c
call fcn.0040c200
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x10], esp
mov edi, ecx
mov dword [ebp - 0x2c], esi
lea ecx, [ebp - 0x24]
mov dword [ebp - 4], 2
call fcn.0040bdc0
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call fcn.0040bdc0
push str.Host:
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString_2
lea eax, [ebp + 0x10]
lea ecx, [ebp - 0x28]
push eax
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::operator_1
push 0x2f
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::ReverseFind
mov ecx, dword [ebp + 0xc]
lea edx, [ebp - 0x1c]
mov ecx, dword [ecx - 8]
sub ecx, eax
dec ecx
push ecx
push edx
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::Right
push eax
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 6
call fcn.0040bdfc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
call fcn.00409a80
push eax
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 7
call fcn.0040bdfc
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
push str.ImageVcode_
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x24]
push ecx
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x34]
call fcn.0040bdc0
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call fcn.0040bdc0
lea edx, [ebp - 0x36]
lea eax, [ebp - 0x30]
push edx
mov byte [ebp - 4], 9
push eax
lea ecx, [ebp - 0x34]
mov eax, dword [ebp + 0xc]
lea edx, [ebp - 0x4c]
push ecx
push edx
push eax
call sub.MFC42.DLL_AfxParseURL
push str.GET
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 0xa
push ecx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_1
push str._account
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 0xb
call sub.MFC42.DLL_CString::operator
lea edx, [edi + 0x70]
lea ecx, [ebp - 0x14]
push edx
call sub.MFC42.DLL_CString::operator_1
push str.key
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator
lea eax, [edi + 0x74]
lea ecx, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::operator_1
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator_1
push str._HTTP_1.1
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::operator
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call fcn.0040bdc0
push esi
push esi
push esi
push esi
push 1
push esi
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xd
call sub.MFC42.DLL_CInternetSession::CInternetSession
mov edx, dword [ebp - 0x5c]
push esi
push esi
push 0x3c
push edx
mov byte [ebp - 4], 0xe
call dword [sym.imp.WININET.dll_InternetSetOptionA]
mov eax, dword [ebp + 0x10]
push esi
push esi
push esi
push eax
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CInternetSession::GetHttpConnection
mov ebx, eax
cmp ebx, esi
je 0x40a587
mov ecx, dword [ebp - 0x14]
push 0x84080000
push esi
push esi
push 1
push esi
push ecx
push 1
mov ecx, ebx
call sub.MFC42.DLL_CHttpConnection::OpenRequest
mov esi, eax
test esi, esi
je 0x40a571
lea edx, [ebp - 0x20]
push 0x10000000
push edx
mov ecx, esi
call sub.MFC42.DLL_CHttpFile::AddRequestHeaders
push 0xffffffffffffffff
push 0x10000000
push str.Accept:_text_html__application_xhtmlxml___
mov ecx, esi
call sub.MFC42.DLL_CHttpFile::AddRequestHeaders_1
push 0xffffffffffffffff
push 0x10000000
push str.Accept_Language:_zh_CN
mov ecx, esi
call sub.MFC42.DLL_CHttpFile::AddRequestHeaders_1
push 0xffffffffffffffff
push 0x10000000
push str.User_Agent:_Mozilla_5.0__compatible__MSIE_7.0__Windows_NT_6.1__Trident_5.0_
mov ecx, esi
call sub.MFC42.DLL_CHttpFile::AddRequestHeaders_1
lea eax, [ebp - 0x28]
push 0x10000000
push eax
mov ecx, esi
call sub.MFC42.DLL_CHttpFile::AddRequestHeaders
push 0xffffffffffffffff
push 0x10000000
push str.Connection:_Keep_Alive
mov ecx, esi
call sub.MFC42.DLL_CHttpFile::AddRequestHeaders_1
push 0
push 0
push 0
push 0
mov ecx, esi
call sub.MFC42.DLL_CHttpFile::SendRequest
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CFile::CFile
mov ecx, dword [ebp - 0x18]
push 0
push 0x1001
push ecx
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xf
call sub.MFC42.DLL_CFile::Open
mov edx, dword [esi]
lea eax, [ebp - 0x1068]
push 0x1000
push eax
mov ecx, esi
call dword [edx + 0x3c]
test eax, eax
je 0x40a55d
lea ecx, [ebp - 0x1068]
push eax
push ecx
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CFile::Write
jmp 0x40a534
lea ecx, [ebp - 0x48]
call sub.MFC42.DLL_CFile::Close
lea ecx, [ebp - 0x48]
mov byte [ebp - 4], 0xe
call fcn.0040c05a
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x54]
test esi, esi
je 0x40a585
mov eax, dword [esi]
push 1
mov ecx, esi
call dword [eax + 4]
xor esi, esi
mov edx, dword [ebx]
mov ecx, ebx
call dword [edx + 0x14]
cmp ebx, esi
je 0x40a59b
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 4]
lea ecx, [ebp - 0x64]
call sub.MFC42.DLL_CInternetSession::Close
lea ecx, [ebp - 0x64]
mov byte [ebp - 4], 0xd
call fcn.0040be08
lea ecx, [ebp - 0x1c]
mov byte [ebp - 4], 0xc
call sub.MFC42.DLL_CString::CString
push ecx
lea edx, [ebp - 0x18]
mov ecx, esp
mov dword [ebp - 0x1c], esp
push edx
mov dword [ebp - 4], 0xb
call sub.MFC42.DLL_CString::CString_1
mov ecx, edi
call fcn.00409960
cmp eax, esi
jne 0x40a627
mov eax, dword [0x41331c]
inc eax
cmp eax, 3
mov dword [0x41331c], eax
jge 0x40a627
push ecx
lea eax, [ebp + 0x10]
mov ecx, esp
mov dword [ebp - 0x50], esp
push eax
call sub.MFC42.DLL_CString::CString_1
push ecx
lea edx, [ebp + 0xc]
mov ecx, esp
mov dword [ebp - 0x68], esp
push edx
mov byte [ebp - 4], 0x11
call sub.MFC42.DLL_CString::CString_1
lea eax, [ebp - 0x1c]
mov ecx, edi
push eax
mov byte [ebp - 4], 0xb
call fcn.0040a2b0
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
jmp 0x40a62d
mov dword [0x41331c], esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0x18]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [ebp - 0x2c]
lea ecx, [ebp - 0x14]
or al, 1
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x2c], eax
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x20]
mov byte [ebp - 4], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x30]
mov byte [ebp - 4], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x34]
mov byte [ebp - 4], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x24]
mov byte [ebp - 4], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp + 0x10]
mov byte [ebp - 4], 0
call sub.MFC42.DLL_CString::CString
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc