Function at 0x419c20
Capabilities:
Check http status code
Check internet connectivity via wininet
Connect to http server
Create http request
Send data
Send http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x43c
mov eax, dword [0x4ca578]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x1c]
push esi
mov esi, ecx
mov dword [ebp - 0x430], 4
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x438], ecx
mov ecx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x424], ecx
mov ecx, dword [ebp + 0x18]
mov dword [ebp - 0x434], ecx
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push eax
mov dword [ebp - 0x428], ecx
mov dword [ebp - 0x420], ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
push 7
add esi, 0x423c
mov dword [ebp - 0x42c], eax
push 0x46da94
push esi
call fcn.004536ea
add esp, 0xc
push 8
test eax, eax
jne 0x419ca8
push 0x46da94
jmp 0x419cc1
push 0x46da9c
push esi
call fcn.004536ea
add esp, 0xc
test eax, eax
jne 0x419ce7
push 9
push 0x46da9c
lea eax, [ebp - 0x418]
push 0x400
push eax
call fcn.0044aace
push edi
lea eax, [ebp - 0x418]
push 0x400
push eax
call fcn.0044a9b2
add esp, 0x1c
lea eax, [ebp - 0x418]
push eax
push str.The_Start_URL_is____s
push dword [0x504e50]
call fcn.00440eb0
mov esi, dword [ebp - 0x42c]
add esp, 0xc
test esi, esi
je 0x419ff8
push str.Initialize_Done
push dword [0x504e50]
call fcn.00440eb0
add esp, 8
lea eax, [ebp - 0x43c]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x419ff8
push str.InternetGetConnectedState_Done
push dword [0x504e50]
call fcn.00440eb0
add esp, 8
lea eax, [ebp - 0x418]
push 0
push 0
push 0x84000c00
push 0
push eax
push esi
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
push str.After_InternetOpenURL
push dword [0x504e50]
mov dword [ebp - 0x41c], eax
call fcn.00440eb0
mov eax, dword [ebp - 0x41c]
add esp, 8
test eax, eax
je 0x41a001
push str.InternetOpenURL_Done
push dword [0x504e50]
call fcn.00440eb0
mov ecx, dword [ebp - 0x41c]
lea eax, [ebp - 0x430]
add esp, 8
push 0
push eax
lea eax, [ebp - 0x420]
push eax
push 0x20000013
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x419fc5
cmp dword [ebp - 0x420], 0xc8
je 0x419e2f
push str.HTTPStatus_Not_OK
push dword [0x504e50]
call fcn.00440eb0
add esp, 8
xor edi, edi
mov eax, dword [ebp - 0x41c]
cmp dword [ebp - 0x420], 0x1f6
jne 0x41a008
push 0xb
push 0x471230
lea eax, [ebp - 0x18]
push 0x14
push eax
call fcn.0044aace
add esp, 0x10
lea eax, [ebp - 0x18]
mov dword [ebx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444ab5
mov esp, ebp
pop ebp
ret 0x18
push edi
push str.HTTPStatus_OK._The_Host_is____s
push dword [0x504e50]
call fcn.00440eb0
push 7
lea eax, [ebp - 0x418]
push 0x46da94
push eax
call fcn.004536ea
add esp, 0x18
test eax, eax
jne 0x419e5f
lea ecx, [eax + 0x50]
jmp 0x419e85
push 8
lea eax, [ebp - 0x418]
push 0x46da9c
push eax
call fcn.004536ea
mov ecx, dword [ebp - 0x43c]
add esp, 0xc
test eax, eax
mov edx, 0x1bb
cmove ecx, edx
push 0
push 0
push 3
push 0
push 0
push ecx
push edi
push esi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edi, eax
mov dword [ebp - 0x428], edi
test edi, edi
jne 0x419ee3
push str.Connection_Not_Established
push dword [0x504e50]
call fcn.00440eb0
push 0x13
push 0x47117c
lea eax, [ebp - 0x18]
push 0x14
push eax
call fcn.0044aace
add esp, 0x18
lea eax, [ebp - 0x18]
mov dword [ebx], eax
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00444ab5
mov esp, ebp
pop ebp
ret 0x18
push 7
lea eax, [ebp - 0x418]
xor esi, esi
push 0x46da94
push eax
call fcn.004536ea
add esp, 0xc
test eax, eax
jne 0x419f06
mov esi, SysReAllocStringLen
jmp 0x419f26
push 8
lea eax, [ebp - 0x418]
push 0x46da9c
push eax
call fcn.004536ea
add esp, 0xc
mov ecx, str.z:i
test eax, eax
cmove esi, ecx
push dword [ebp - 0x424]
push str.HTTPOpenRequest_OK._The_Query_String_is____s
push dword [0x504e50]
call fcn.00440eb0
add esp, 0xc
push 0
push esi
push 0
push 0
push 0
push dword [ebp - 0x424]
push 0x4711c0
push edi
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
test edi, edi
jne 0x419f7c
push str.HTTPOpenRequest_Failed
push dword [0x504e50]
call fcn.00440eb0
push 0x13
push 0x4711e0
jmp 0x419ebb
mov esi, dword [ebp - 0x434]
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x419f87
sub ecx, edx
push ecx
push esi
push 0xffffffffffffffff
push dword [ebp - 0x438]
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x419dea
push str.HTTPSendRequest_Failed
push dword [0x504e50]
call fcn.00440eb0
push 0xe
push 0x47120c
jmp 0x419ebb
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x46d754
lea eax, [ebp - 0x18]
push 0x14
push eax
call fcn.00407d80
lea eax, [ebp - 0x18]
push eax
push str.Error_invokded____s
push dword [0x504e50]
call fcn.00440eb0
add esp, 0x1c
jmp 0x419de8
xor edi, edi
xor eax, eax
jmp 0x419df0
xor edi, edi
jmp 0x419df0
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
push eax
call esi
push edi
call esi
push dword [ebp - 0x428]
call esi
mov eax, dword [ebp - 0x42c]
push eax
call esi
push str.Exiting_POST
push dword [0x504e50]
call fcn.00440eb0
mov ecx, dword [ebp - 4]
add esp, 8
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.00444ab5
mov esp, ebp
pop ebp
ret 0x18