Function at 0x411b30
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x34
push esi
push edi
push ecx
lea edi, [ebp - 0x34]
mov ecx, 0xd
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
pop ecx
mov dword [ebp - 4], ecx
mov esi, esp
push 0
push 0x44b5a0
push 0x44b5a1
push 0
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.wininet.dll_InternetOpenA]
cmp esi, esp
call fcn.0042c490
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x20], eax
mov edx, dword [ebp - 4]
cmp dword [edx + 0x20], 0
jne 0x411bf4
mov esi, esp
call dword [sym.imp.kernel32.dll_GetLastError]
cmp esi, esp
call fcn.0042c490
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x2c], eax
mov esi, esp
push 0
push 0
lea edx, [ebp - 0xc]
push edx
push 0x400
mov edi, esp
call dword [sym.imp.kernel32.dll_GetLastError]
cmp edi, esp
call fcn.0042c490
push eax
push 0
push 0x1100
call dword [sym.imp.kernel32.dll_FormatMessageA]
cmp esi, esp
call fcn.0042c490
mov dword [ebp - 0x14], eax
mov esi, esp
mov eax, dword [ebp - 0xc]
push eax
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp esi, esp
call fcn.0042c490
mov esi, esp
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.kernel32.dll_LocalFree]
cmp esi, esp
call fcn.0042c490
xor eax, eax
jmp 0x411d84
mov esi, esp
push 0
push 0x4400000
push 3
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
mov cx, word [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x20]
push ecx
call dword [sym.imp.wininet.dll_InternetConnectA]
cmp esi, esp
call fcn.0042c490
mov edx, dword [ebp - 4]
mov dword [edx + 0x24], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0x24], 0
jne 0x411cc5
mov esi, esp
call dword [sym.imp.kernel32.dll_GetLastError]
cmp esi, esp
call fcn.0042c490
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x2c], eax
mov esi, esp
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x20]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp esi, esp
call fcn.0042c490
mov esi, esp
push 0
push 0
lea ecx, [ebp - 0x1c]
push ecx
push 0x400
mov edi, esp
call dword [sym.imp.kernel32.dll_GetLastError]
cmp edi, esp
call fcn.0042c490
push eax
push 0
push 0x1100
call dword [sym.imp.kernel32.dll_FormatMessageA]
cmp esi, esp
call fcn.0042c490
mov dword [ebp - 0x24], eax
mov esi, esp
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp esi, esp
call fcn.0042c490
mov esi, esp
mov eax, dword [ebp - 0x1c]
push eax
call dword [sym.imp.kernel32.dll_LocalFree]
cmp esi, esp
call fcn.0042c490
xor eax, eax
jmp 0x411d84
mov esi, esp
push 0
call dword [sym.imp.wininet.dll_InternetAttemptConnect]
cmp esi, esp
call fcn.0042c490
test eax, eax
je 0x411d7f
mov esi, esp
call dword [sym.imp.kernel32.dll_GetLastError]
cmp esi, esp
call fcn.0042c490
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x2c], eax
mov esi, esp
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x24]
push eax
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp esi, esp
call fcn.0042c490
mov esi, esp
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x20]
push edx
call dword [sym.imp.kernel32.dll_CloseHandle]
cmp esi, esp
call fcn.0042c490
mov esi, esp
push 0
push 0
lea eax, [ebp - 0x2c]
push eax
push 0x400
mov edi, esp
call dword [sym.imp.kernel32.dll_GetLastError]
cmp edi, esp
call fcn.0042c490
push eax
push 0
push 0x1100
call dword [sym.imp.kernel32.dll_FormatMessageA]
cmp esi, esp
call fcn.0042c490
mov dword [ebp - 0x34], eax
mov esi, esp
mov ecx, dword [ebp - 0x2c]
push ecx
call dword [sym.imp.kernel32.dll_OutputDebugStringA]
cmp esi, esp
call fcn.0042c490
mov esi, esp
mov edx, dword [ebp - 0x2c]
push edx
call dword [sym.imp.kernel32.dll_LocalFree]
cmp esi, esp
call fcn.0042c490
xor eax, eax
jmp 0x411d84
mov eax, 1
push edx
mov ecx, ebp
push eax
lea edx, [0x411da7]
call fcn.0042c4c0
pop eax
pop edx
pop edi
pop esi
add esp, 0x34
cmp ebp, esp
call fcn.0042c490
mov esp, ebp
pop ebp
ret 0x14