Function at 0x4011d0
Capabilities:
Check http status code
Connect to http server
Create http request
Read data from internet
Receive data
Send data
Send http request

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x40aead
push eax
mov eax, 0x8038
mov dword fs:[0], esp
call fcn.0040a110
push ebx
push ebp
push esi
push edi
mov edi, ecx
mov dword [esp + 0x18], edi
mov ebx, 1
lea ecx, [esp + 0x14]
mov dword [esp + 0x8050], ebx
call sub.MFC42.DLL_CString::CString
mov ebp, dword [esp + 0x8064]
xor esi, esi
cmp ebp, esi
mov byte [esp + 0x8050], 2
mov dword [esp + 0x10], ebx
mov dword [esp + 0x20], 4
jne 0x401234
mov ebp, 0x401c80
mov ecx, dword [0x410b5c]
lea eax, [esp + 0x40]
push str.Shield__MODReg__AUOTREG_CONNECTING
push eax
call fcn.00402370
lea ecx, [esp + 0x38]
push str.Shield__MODReg__AUOTREG_CONNECTING_ERROR
push ecx
mov ecx, dword [0x410b5c]
mov byte [esp + 0x8058], 3
call fcn.00402370
mov ecx, dword [0x410b5c]
lea edx, [esp + 0x30]
push str.Shield__MODReg__AUOTREG_CONNECTING_REQUEST
push edx
mov byte [esp + 0x8058], 4
call fcn.00402370
mov ecx, dword [0x410b5c]
lea eax, [esp + 0x3c]
push str.Shield__MODReg__AUOTREG_CONNECTING_REQUEST_ERROR
push eax
mov byte [esp + 0x8058], 5
call fcn.00402370
lea ecx, [esp + 0x44]
push str.Shield__MODReg__AUOTREG_GETDATA
push ecx
mov ecx, dword [0x410b5c]
mov byte [esp + 0x8058], 6
call fcn.00402370
push str.Content_Type:_application_x_www_form_urlencoded
lea ecx, [esp + 0x18]
mov byte [esp + 0x8054], 7
mov dword [esp + 0x28], esi
call fcn.00409ee4
push esi
push esi
push esi
push esi
push str.Mozilla_4.0__compatible__MSIE_6.0__Windows_NT_5.0_
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, esi
mov dword [esp + 0x34], eax
jne 0x4012fa
push esi
push esi
call ebp
add esp, 8
jmp 0x401544
mov edx, dword [esp + 0x805c]
push ebx
push esi
push 3
push esi
push esi
push 0x50
push edx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov esi, eax
push 0
test esi, esi
mov dword [esp + 0x2c], esi
jne 0x401331
push 0
call ebp
add esp, 8
mov dword [esp + 0x10], 0
jmp 0x40152a
mov eax, dword [esp + 0x8064]
push 0x4000000
push 0
push 0
push str.HTTP_1.1
push eax
push str.POST
push esi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov esi, eax
test esi, esi
je 0x401483
push 0x12c
push ebx
call ebp
mov eax, dword [edi + 0x2c]
mov edx, dword [esp + 0x1c]
mov ebx, dword [sym.imp.WININET.dll_HttpSendRequestA]
add esp, 8
mov ecx, dword [eax - 8]
mov edi, dword [edx - 8]
push ecx
push eax
push edi
push edx
push esi
call ebx
test eax, eax
je 0x401448
lea ecx, [esp + 0x20]
push 0
lea edx, [esp + 0x30]
push ecx
push edx
push 0x20000013
push esi
mov dword [esp + 0x34], 4
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x401499
mov eax, dword [esp + 0x2c]
cmp eax, 0x191
je 0x4013c8
cmp eax, 0x197
jne 0x4014ac
push 0
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 0x4014ac
mov eax, dword [sym.imp.MFC42.DLL_CWndconstCWnd::wndTopMost]
mov ecx, dword [esp + 0x8068]
push 3
push 0
push 0
push 0
push 0
push eax
call sub.MFC42.DLL_CWnd::SetWindowPos
mov eax, dword [esp + 0x24]
mov cx, ax
inc eax
cmp cx, 3
mov dword [esp + 0x24], eax
jae 0x4014a2
push 0x12c
push 1
call ebp
mov edx, dword [esp + 0x20]
add esp, 8
mov eax, dword [edx + 0x2c]
mov edx, dword [esp + 0x14]
mov ecx, dword [eax - 8]
mov edi, dword [edx - 8]
push ecx
push eax
push edi
push edx
push esi
call ebx
test eax, eax
jne 0x40138a
mov ecx, dword [0x410b5c]
lea eax, [esp + 0x18]
push str.Shield__MODReg__AUOTREG_NET_ERROR
push eax
call fcn.00402370
mov ecx, dword [esp + 0x8058]
push eax
mov byte [esp + 0x8054], 8
call fcn.00409efc
lea ecx, [esp + 0x18]
mov byte [esp + 0x8050], 7
call fcn.00409ede
push 0
push 0
call ebp
add esp, 8
mov dword [esp + 0x10], 0
jmp 0x40151b
push 0
push 2
call ebp
add esp, 8
mov dword [esp + 0x10], 0
jmp 0x40151b
push 0xc8
push 3
call ebp
add esp, 8
mov ecx, 0x2000
xor eax, eax
lea edi, [esp + 0x48]
rep stosd dword es:[edi], eax
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea ecx, [esp + 0x1c]
lea edx, [esp + 0x48]
push ecx
push 0x7fff
push edx
push esi
mov dword [esp + 0x2c], 0
call edi
test eax, eax
mov eax, dword [esp + 0x1c]
je 0x4014f2
mov byte [esp + eax + 0x48], 0
cmp eax, 0x7fff
je 0x4014cb
mov eax, dword [esp + 0x18]
lea edi, [eax + 0x30]
mov ecx, edi
call sub.MFC42.DLL_CString::Empty
mov eax, dword [esp + 0x1c]
test eax, eax
jbe 0x40151b
lea ecx, [esp + 0x48]
push ecx
mov ecx, edi
call fcn.00409ee4
test esi, esi
je 0x401526
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, dword [esp + 0x28]
test esi, esi
je 0x401535
push esi
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov edx, dword [esp + 0x34]
push edx
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x44]
mov byte [esp + 0x8050], 6
call fcn.00409ede
lea ecx, [esp + 0x3c]
mov byte [esp + 0x8050], 5
call fcn.00409ede
lea ecx, [esp + 0x30]
mov byte [esp + 0x8050], 4
call fcn.00409ede
lea ecx, [esp + 0x38]
mov byte [esp + 0x8050], 3
call fcn.00409ede
lea ecx, [esp + 0x40]
mov byte [esp + 0x8050], 2
call fcn.00409ede
lea ecx, [esp + 0x14]
mov byte [esp + 0x8050], 1
call fcn.00409ede
lea ecx, [esp + 0x805c]
mov byte [esp + 0x8050], 0
call fcn.00409ede
lea ecx, [esp + 0x8060]
mov dword [esp + 0x8050], 0xffffffff
call fcn.00409ede
mov ecx, dword [esp + 0x8048]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x8044
ret 0x18