Function at 0x419400
Capabilities:
Connect to http server
Create http request
Read data from internet
Receive data

Disassembly:
push 0xffffffffffffffff
push 0x423dfb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x204
push ebx
push ebp
push esi
push edi
mov edi, ecx
xor ebx, ebx
push 0x42ec3c
lea ecx, [esp + 0x14]
mov dword [esp + 0x220], 3
mov dword [esp + 0x1c], ebx
call sub.MFC42.DLL_CString::CString_2
mov eax, dword [esp + 0x22c]
mov byte [esp + 0x21c], 4
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov esi, eax
push ebx
push ebx
push ebx
push ebx
push str.HttpSendRequestEx
call dword [sym.imp.WININET.dll_InternetOpenA]
cmp eax, ebx
mov dword [esp + 0x1c], eax
je 0x4195a8
mov ecx, dword [esp + 0x228]
push ebx
push ebx
push 3
push ebx
push ebx
push esi
push ecx
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebp, eax
cmp ebp, ebx
je 0x4195a8
lea edx, [edi + 4]
lea eax, [esp + 0x230]
push edx
lea ecx, [esp + 0x18]
push eax
push ecx
call sub.MFC42.DLL_operator
mov eax, dword [eax]
push ebx
push 0x4000000
push ebx
push ebx
push ebx
push eax
push str.POST
push ebp
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
lea ecx, [esp + 0x14]
mov esi, eax
call sub.MFC42.DLL_CString::CString
cmp esi, ebx
je 0x419578
push ecx
lea edx, [esp + 0x228]
mov ecx, esp
mov dword [esp + 0x18], esp
push edx
call sub.MFC42.DLL_CString::CString_3
push ebx
push esi
mov ecx, edi
call fcn.004191d0
cmp eax, ebx
je 0x41955d
mov edi, dword [sym.imp.WININET.dll_InternetReadFile]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x20]
push eax
push 0x1f3
push ecx
push esi
mov dword [esp + 0x24], ebx
call edi
test eax, eax
je 0x41954b
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x14]
mov byte [esp + edx + 0x24], bl
call fcn.0041ed8e
push 0x42e8a0
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::Find
cmp eax, 0xffffffff
je 0x419557
mov dword [esp + 0x18], 1
jmp 0x419557
push ebx
push ebx
push str.InternetReadFile_failed
call sub.MFC42.DLL_AfxMessageBox
cmp dword [esp + 0x14], ebx
ja 0x4194fe
push esi
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
call esi
test eax, eax
jne 0x41957e
push ebx
push ebx
push str.Failed_to_close_Request_handle_n
call sub.MFC42.DLL_AfxMessageBox
jmp 0x41957e
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push ebp
call esi
test eax, eax
jne 0x419591
push ebx
push ebx
push str.Failed_to_close_Connect_handle_n
call sub.MFC42.DLL_AfxMessageBox
mov ecx, dword [esp + 0x1c]
push ecx
call esi
test eax, eax
jne 0x41960f
push ebx
push ebx
push str.Failed_to_close_Session_handle_n
call sub.MFC42.DLL_AfxMessageBox
lea ecx, [esp + 0x10]
mov byte [esp + 0x21c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x224]
mov byte [esp + 0x21c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x228]
mov byte [esp + 0x21c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x22c]
mov byte [esp + 0x21c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x230]
mov dword [esp + 0x21c], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x419676
lea ecx, [esp + 0x10]
mov byte [esp + 0x21c], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x224]
mov byte [esp + 0x21c], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x228]
mov byte [esp + 0x21c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x22c]
mov byte [esp + 0x21c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x230]
mov dword [esp + 0x21c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x214]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x210
ret 0x10