Function at 0x41b0b0
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, 0x440
mov eax, dword [0x4cc5a8]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, ecx
mov dword [ebp - 0x430], 4
mov ecx, dword [ebp + 0xc]
xor ebx, ebx
push edi
mov dword [ebp - 0x424], ecx
xor edi, edi
mov ecx, dword [ebp + 0x10]
mov dword [ebp - 0x43c], ecx
mov ecx, dword [ebp + 0x14]
push edi
mov dword [ebp - 0x434], ecx
mov ecx, dword [ebp + 0x18]
push edi
mov dword [ebp - 0x438], ecx
mov ecx, dword [ebp + 0x1c]
push edi
mov dword [ebp - 0x420], ecx
xor ecx, ecx
push edi
push eax
mov dword [ebp - 0x428], ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
push 7
add esi, 0x46d0
mov dword [ebp - 0x42c], eax
push str.http:__
push esi
call fcn.0045522a
add esp, 0xc
push 8
test eax, eax
jne 0x41b142
push str.http:__
jmp 0x41b15b
push str.https:__
push esi
call fcn.0045522a
add esp, 0xc
test eax, eax
jne 0x41b186
push 9
push str.https:__
lea eax, [ebp - 0x418]
push 0x400
push eax
call fcn.0044c60e
push dword [ebp - 0x424]
lea eax, [ebp - 0x418]
push 0x400
push eax
call fcn.0044c4f2
add esp, 0x1c
lea eax, [ebp - 0x418]
push eax
push str.The_Start_URL_is____s
push 1
push dword [0x50a534]
call fcn.004429d0
mov esi, dword [ebp - 0x42c]
add esp, 0x10
test esi, esi
je 0x41b4d1
push str.Initialize_Done
push 1
push dword [0x50a534]
call fcn.004429d0
add esp, 0xc
lea eax, [ebp - 0x440]
push 0
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x41b4d1
push str.InternetGetConnectedState_Done
push 1
push dword [0x50a534]
call fcn.004429d0
add esp, 0xc
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 1
push dword [0x50a534]
mov dword [ebp - 0x41c], eax
call fcn.004429d0
mov eax, dword [ebp - 0x41c]
add esp, 0xc
test eax, eax
je 0x41b4d3
push str.InternetOpenURL_Done
push 1
push dword [0x50a534]
call fcn.004429d0
mov ecx, dword [ebp - 0x41c]
lea eax, [ebp - 0x430]
add esp, 0xc
push 0
push eax
lea eax, [ebp - 0x428]
push eax
push 0x20000013
push ecx
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
test eax, eax
je 0x41b499
cmp dword [ebp - 0x428], 0xc8
je 0x41b29e
push str.HTTPStatus_Not_OK
push 1
push dword [0x50a534]
call fcn.004429d0
add esp, 0xc
mov eax, dword [ebp - 0x41c]
jmp 0x41b4d3
mov ebx, dword [ebp - 0x424]
push ebx
push str.HTTPStatus_OK._The_Host_is____s
push 1
push dword [0x50a534]
call fcn.004429d0
push 7
lea eax, [ebp - 0x418]
push str.http:__
push eax
call fcn.0045522a
add esp, 0x1c
test eax, eax
jne 0x41b2d6
lea ecx, [eax + 0x50]
jmp 0x41b2fc
push 8
lea eax, [ebp - 0x418]
push str.https:__
push eax
call fcn.0045522a
mov ecx, dword [ebp - 0x440]
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 ebx
push esi
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ebx, eax
test ebx, ebx
jne 0x41b35c
push str.Connection_Not_Established
push 1
push dword [0x50a534]
call fcn.004429d0
push 0x13
push str.POST_Not_Connected
lea eax, [ebp - 0x18]
push 0x14
push eax
call fcn.0044c60e
mov eax, dword [ebp - 0x420]
lea ecx, [ebp - 0x18]
add esp, 0x1c
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004465ed
mov esp, ebp
pop ebp
ret 0x18
push 7
lea eax, [ebp - 0x418]
xor esi, esi
push str.http:__
push eax
call fcn.0045522a
add esp, 0xc
test eax, eax
jne 0x41b37f
mov esi, SysReAllocStringLen
jmp 0x41b39f
push 8
lea eax, [ebp - 0x418]
push str.https:__
push eax
call fcn.0045522a
add esp, 0xc
mov ecx, 0x800000
test eax, eax
cmove esi, ecx
mov edi, dword [ebp - 0x434]
push edi
push str.HTTPOpenRequest_OK._The_Query_String_is____s
push 1
push dword [0x50a534]
call fcn.004429d0
add esp, 0x10
push 0
push esi
push 0
push 0
push 0
push edi
push str.POST
push ebx
call dword [sym.imp.WININET.dll_HttpOpenRequestA]
mov edi, eax
test edi, edi
jne 0x41b41e
push str.HTTPOpenRequest_Failed
push 1
push dword [0x50a534]
call fcn.004429d0
push 0x13
push str.POST_Not_Requested
lea eax, [ebp - 0x18]
push 0x14
push eax
call fcn.0044c60e
mov eax, dword [ebp - 0x420]
lea ecx, [ebp - 0x18]
add esp, 0x1c
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004465ed
mov esp, ebp
pop ebp
ret 0x18
mov esi, dword [ebp - 0x438]
mov ecx, esi
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x41b430
sub ecx, edx
push ecx
push esi
push 0xffffffffffffffff
push dword [ebp - 0x43c]
push edi
call dword [sym.imp.WININET.dll_HttpSendRequestA]
test eax, eax
jne 0x41b293
push str.HTTPSendRequest_Failed
push 1
push dword [0x50a534]
call fcn.004429d0
push 0xe
push str.POST_Not_Sent
lea eax, [ebp - 0x18]
push 0x14
push eax
call fcn.0044c60e
mov eax, dword [ebp - 0x420]
lea ecx, [ebp - 0x18]
add esp, 0x1c
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004465ed
mov esp, ebp
pop ebp
ret 0x18
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x46e7c4
lea eax, [ebp - 0x18]
push 0x14
push eax
call fcn.00408300
lea eax, [ebp - 0x18]
push eax
push str.Error_invokded____s
push 1
push dword [0x50a534]
call fcn.004429d0
mov eax, dword [ebp - 0x41c]
add esp, 0x20
jmp 0x41b4d3
xor eax, eax
cmp dword [ebp - 0x428], 0x1f6
jne 0x41b514
push 0xb
push str.Bad_GateWay
lea eax, [ebp - 0x18]
push 0x14
push eax
call fcn.0044c60e
mov eax, dword [ebp - 0x420]
lea ecx, [ebp - 0x18]
add esp, 0x10
mov dword [eax], ecx
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004465ed
mov esp, ebp
pop ebp
ret 0x18
mov esi, dword [sym.imp.WININET.dll_InternetCloseHandle]
test eax, eax
je 0x41b521
push eax
call esi
test edi, edi
je 0x41b528
push edi
call esi
test ebx, ebx
je 0x41b52f
push ebx
call esi
mov eax, dword [ebp - 0x42c]
test eax, eax
je 0x41b53c
push eax
call esi
push str.Exiting_POST
push 1
push dword [0x50a534]
call fcn.004429d0
mov ecx, dword [ebp - 4]
add esp, 0xc
xor ecx, ebp
mov eax, 1
pop edi
pop esi
pop ebx
call fcn.004465ed
mov esp, ebp
pop ebp
ret 0x18