Function at 0x41da10
Capabilities:
Check internet connectivity via wininet
Connect to http server
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
mov eax, dword [0x4899f8]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x148], ecx
mov dword [ebp - 4], 0x7530
mov eax, dword [ebp - 0x148]
cmp dword [eax + 4], 0
jne 0x41dbd5
mov ecx, dword [ebp - 0x148]
cmp dword [ecx + 0x34], 0
je 0x41da81
mov edx, dword [ebp - 0x148]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x120], eax
push 0
push str._local_
push str.proxy
push 3
mov ecx, dword [ebp - 0x120]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edx, dword [ebp - 0x148]
mov dword [edx + 4], eax
jmp 0x41dab6
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax + 0x10]
mov dword [ebp - 0x124], ecx
push 0
push 0
push 0
mov edx, dword [ebp - 0x148]
mov eax, dword [edx + 0x58]
push eax
mov ecx, dword [ebp - 0x124]
push ecx
call dword [sym.imp.WININET.dll_InternetOpenA]
mov edx, dword [ebp - 0x148]
mov dword [edx + 4], eax
mov eax, dword [ebp - 0x148]
cmp dword [eax + 4], 0
jne 0x41dad8
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x148]
mov dword [ecx + 0x54], eax
xor eax, eax
jmp 0x41de58
push 0xc
push 0
lea edx, [ebp - 0x11c]
push edx
call fcn.004472f0
add esp, 0xc
mov byte [ebp - 0x110], 0
push 0x103
push 0
lea eax, [ebp - 0x10f]
push eax
call fcn.004472f0
add esp, 0xc
mov ecx, dword [ebp - 0x148]
cmp dword [ecx + 0x34], 0
je 0x41db98
mov dword [ebp - 0x11c], 3
mov edx, dword [ebp - 0x148]
movzx eax, word [edx + 0x30]
push eax
mov ecx, dword [ebp - 0x148]
mov edx, dword [ecx + 0x2c]
push edx
push str._s:_d
lea eax, [ebp - 0x110]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
lea ecx, [ebp - 0x110]
mov dword [ebp - 0x118], ecx
push 0xc
lea edx, [ebp - 0x11c]
push edx
push 0x26
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionA]
test eax, eax
jne 0x41db98
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x148]
mov dword [edx + 0x54], eax
mov ecx, dword [ebp - 0x148]
call fcn.0041ef90
xor eax, eax
jmp 0x41de58
push 4
lea eax, [ebp - 4]
push eax
push 2
mov ecx, dword [ebp - 0x148]
mov edx, dword [ecx + 4]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionA]
test eax, eax
jne 0x41dbd5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x148]
mov dword [ecx + 0x54], eax
mov ecx, dword [ebp - 0x148]
call fcn.0041ef90
xor eax, eax
jmp 0x41de58
mov edx, dword [ebp - 0x148]
cmp dword [edx + 8], 0
jne 0x41de53
mov eax, dword [ebp - 0x148]
cmp dword [eax + 0x1c], 0
jne 0x41dc37
mov ecx, dword [ebp - 0x148]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x128], edx
push 0
push 0
push 3
push 0
push 0
mov eax, dword [ebp - 0x148]
movzx ecx, word [eax + 0x18]
push ecx
mov edx, dword [ebp - 0x128]
push edx
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax + 4]
push ecx
call dword [sym.imp.WININET.dll_InternetConnectA]
mov edx, dword [ebp - 0x148]
mov dword [edx + 8], eax
jmp 0x41dca3
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax + 0x24]
mov dword [ebp - 0x12c], ecx
mov edx, dword [ebp - 0x148]
mov eax, dword [edx + 0x20]
mov dword [ebp - 0x130], eax
mov ecx, dword [ebp - 0x148]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x134], edx
push 0
push 0
push 3
mov eax, dword [ebp - 0x12c]
push eax
mov ecx, dword [ebp - 0x130]
push ecx
mov edx, dword [ebp - 0x148]
movzx eax, word [edx + 0x18]
push eax
mov ecx, dword [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x148]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.WININET.dll_InternetConnectA]
mov ecx, dword [ebp - 0x148]
mov dword [ecx + 8], eax
mov edx, dword [ebp - 0x148]
cmp dword [edx + 8], 0
jne 0x41dcd0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x148]
mov dword [ecx + 0x54], eax
mov ecx, dword [ebp - 0x148]
call fcn.0041ef90
xor eax, eax
jmp 0x41de58
push 0
call dword [sym.imp.WININET.dll_InternetAttemptConnect]
test eax, eax
je 0x41dcfd
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x148]
mov dword [edx + 0x54], eax
mov ecx, dword [ebp - 0x148]
call fcn.0041ef90
xor eax, eax
jmp 0x41de58
push 4
lea eax, [ebp - 4]
push eax
push 5
mov ecx, dword [ebp - 0x148]
mov edx, dword [ecx + 8]
push edx
call dword [sym.imp.WININET.dll_InternetSetOptionA]
test eax, eax
jne 0x41dd3a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x148]
mov dword [ecx + 0x54], eax
mov ecx, dword [ebp - 0x148]
call fcn.0041ef90
xor eax, eax
jmp 0x41de58
push 4
lea edx, [ebp - 4]
push edx
push 6
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionA]
test eax, eax
jne 0x41dd77
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x148]
mov dword [edx + 0x54], eax
mov ecx, dword [ebp - 0x148]
call fcn.0041ef90
xor eax, eax
jmp 0x41de58
mov eax, dword [ebp - 0x148]
cmp dword [eax + 0x38], 0
je 0x41de53
mov ecx, dword [ebp - 0x148]
mov edx, dword [ecx + 0x3c]
mov eax, dword [edx - 0xc]
mov dword [ebp - 0x138], eax
mov ecx, dword [ebp - 0x148]
mov edx, dword [ecx + 0x3c]
mov dword [ebp - 0x13c], edx
mov eax, dword [ebp - 0x138]
add eax, 1
push eax
mov ecx, dword [ebp - 0x13c]
push ecx
push 0x2b
mov edx, dword [ebp - 0x148]
mov eax, dword [edx + 8]
push eax
call dword [sym.imp.WININET.dll_InternetSetOptionA]
test eax, eax
jne 0x41dded
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x148]
mov dword [ecx + 0x54], eax
mov ecx, dword [ebp - 0x148]
call fcn.0041ef90
xor eax, eax
jmp 0x41de58
mov edx, dword [ebp - 0x148]
mov eax, dword [edx + 0x40]
mov ecx, dword [eax - 0xc]
mov dword [ebp - 0x140], ecx
mov edx, dword [ebp - 0x148]
mov eax, dword [edx + 0x40]
mov dword [ebp - 0x144], eax
mov ecx, dword [ebp - 0x140]
add ecx, 1
push ecx
mov edx, dword [ebp - 0x144]
push edx
push 0x2c
mov eax, dword [ebp - 0x148]
mov ecx, dword [eax + 8]
push ecx
call dword [sym.imp.WININET.dll_InternetSetOptionA]
test eax, eax
jne 0x41de53
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [ebp - 0x148]
mov dword [edx + 0x54], eax
mov ecx, dword [ebp - 0x148]
call fcn.0041ef90
xor eax, eax
jmp 0x41de58
mov eax, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004472d8
mov esp, ebp
pop ebp
ret