Function at 0x10004b50
Capabilities:
Check internet connectivity via wininet
Create http request

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x10], 0
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], esp
push 0
lea eax, [ebp - 8]
push eax
call dword [sym.imp.WININET.dll_InternetGetConnectedState]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10004bb2
push 6
call fcn.100071f9
add esp, 4
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x10004bd2
push dword [ebp + 8]
call fcn.10004ea9
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
jmp 0x10004e79
push 0
mov ebx, 0x308
call sub.KERNEL32.dll_GetTickCount
add esp, 4
push 0x80000301
push 0
push eax
push 1
mov ebx, 0x168
call fcn.10007ce0
add esp, 0x10
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
push 0x10017623
mov ecx, 2
call fcn.10001351
add esp, 8
mov dword [ebp - 0x28], eax
mov ebx, dword [ebp - 0x24]
test ebx, ebx
je 0x10004c29
push ebx
call fcn.100071e7
add esp, 4
mov eax, dword [ebp - 0x28]
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10004c3d
push ebx
call fcn.100071e7
add esp, 4
pop eax
mov dword [ebp - 0xc], eax
push 0x80000301
push 0
push 4
push 0x80000301
push 0
push dword [ebp - 8]
push 2
mov ebx, 0xc4
call fcn.10009610
add esp, 0x1c
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
jne 0x10004cb4
mov dword [ebp - 0x20], esp
push 0
push 0
push 0
push 4
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetOpenA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10004cac
push 6
call fcn.100071f9
add esp, 4
mov dword [ebp - 0x10], eax
jmp 0x10004ced
mov dword [ebp - 0x20], esp
push 0
push 0
push 0
push 0
push dword [ebp - 0xc]
call dword [sym.imp.WININET.dll_InternetOpenA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10004cea
push 6
call fcn.100071f9
add esp, 4
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10004d0a
push dword [ebp + 8]
call fcn.10004ea9
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
jmp 0x10004e79
mov dword [ebp - 0x20], esp
push 0
push 0x84200100
push 0
push 0x1001726d
mov ebx, dword [ebp + 8]
push dword [ebx]
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetOpenUrlA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10004d45
push 6
call fcn.100071f9
add esp, 4
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10004d87
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10004d74
push 6
call fcn.100071f9
add esp, 4
push dword [ebp + 8]
call fcn.10004ea9
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
jmp 0x10004e79
push 0x80000301
push 0
push 0xff
push 1
mov ebx, 0x184
call fcn.10008100
add esp, 0x10
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
push eax
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10004dbc
push ebx
call fcn.100071e7
add esp, 4
pop eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x1c], 0xff
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x1c]
push eax
push dword [ebp - 0x18]
push 0x33
push dword [ebp - 0x14]
call dword [sym.imp.WININET.dll_HttpQueryInfoA]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10004e01
push 6
call fcn.100071f9
add esp, 4
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
jne 0x10004e43
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10004e30
push 6
call fcn.100071f9
add esp, 4
push dword [ebp + 8]
call fcn.10004ea9
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
jmp 0x10004e79
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
call dword [sym.imp.WININET.dll_InternetCloseHandle]
nop
nop
nop
nop
cmp dword [ebp - 0x20], esp
je 0x10004e65
push 6
call fcn.100071f9
add esp, 4
lea eax, [ebp - 0x18]
push eax
call fcn.10004ea9
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
jmp 0x10004e79
push eax
mov ebx, dword [ebp - 0xc]
test ebx, ebx
je 0x10004e8a
push ebx
call fcn.100071e7
add esp, 4
mov ebx, dword [ebp - 0x18]
test ebx, ebx
je 0x10004e9a
push ebx
call fcn.100071e7
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret 4