Function at 0x140006650
Capabilities:
Check internet connectivity via wininet
Read data from internet
Receive data

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x30d30]
mov eax, 0x30e30
call fcn.1401b39f0
sub rsp, rax
mov qword [rbp - 0x28], 0xfffffffffffffffe
mov qword [rsp + 0x30e88], rbx
mov rax, qword [0x1402a87a8]
xor rax, rsp
mov qword [rbp + 0x30d20], rax
mov rbx, r8
mov qword [rbp - 0x30], rbx
mov r13, rdx
mov rdi, rcx
mov qword [rbp - 0x60], rcx
xor r14d, r14d
mov dword [rsp + 0x30], r14d
xor edx, edx
mov r8d, 0x186a0
lea rcx, [rbp - 0x20]
call fcn.1401b8eb0
lea r8, str.Server_Connection_unavailable...
mov edx, 0x80
mov rcx, rbx
call fcn.1401c574c
cmp qword [rdi + 8], r14
je 0x140006f0a
xor edx, edx
lea rcx, [rbp - 0x58]
call qword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
je 0x140006f0a
call qword [sym.imp.WINMM.dll_timeGetTime]
mov eax, eax
mov qword [rbp - 0x38], rax
call fcn.140032a94
mov rcx, rax
test rax, rax
je 0x140006f44
mov rax, qword [rax]
call qword [rax + 0x18]
lea rdi, [rax + 0x18]
mov qword [rsp + 0x38], rdi
call fcn.140032a94
mov rcx, rax
test rax, rax
je 0x140006f4f
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x68], rax
lea rdx, [0x140260f70]
lea rsi, [r14 - 1]
cmp rdx, 0x10000
jae 0x14000675d
movzx edx, dx
lea rcx, [rsp + 0x68]
call fcn.140003670
jmp 0x140006778
mov rax, rsi
inc rax
cmp word [rdx + rax*2], 0
jne 0x140006760
mov r8d, eax
lea rcx, [rsp + 0x68]
call fcn.140003aa0
nop
call fcn.140032a94
mov rcx, rax
test rax, rax
je 0x140006f5a
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x48], rax
lea rcx, str..phpguidON
cmp rcx, 0x10000
jae 0x1400067b7
movzx edx, cx
lea rcx, [rsp + 0x48]
call fcn.140003670
jmp 0x1400067db
mov rax, rsi
nop word [rax + rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x1400067c0
mov r8d, eax
mov rdx, rcx
lea rcx, [rsp + 0x48]
call fcn.140003aa0
nop
call fcn.140032a94
mov rcx, rax
test rax, rax
je 0x140006f65
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x58], rax
lea rcx, str.mynewtime.php_utmacMO_37074682_1utmn1854806732utmr_utmp_2FI_ping_
cmp rcx, 0x10000
jae 0x14000681a
movzx edx, cx
lea rcx, [rsp + 0x58]
call fcn.140003670
jmp 0x14000683b
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x140006820
mov r8d, eax
mov rdx, rcx
lea rcx, [rsp + 0x58]
call fcn.140003aa0
nop
mov rbx, qword [rsp + 0x58]
lea rax, [rbx - 0x18]
mov qword [rbp - 0x40], rax
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x14000685f
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x140006870
call fcn.140032a94
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x140006f70
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x30], 1
mov ecx, dword [rbx - 0x10]
lea rdx, [0x140260f38]
mov rax, rsi
nop dword [rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x1400068a0
mov dword [rsp + 0x20], ecx
mov r9, rbx
mov r8d, eax
lea rcx, [rsp + 0x70]
call fcn.1400075f0
nop
mov rbx, qword [rsp + 0x70]
lea rax, [rbx - 0x18]
mov qword [rbp - 0x48], rax
mov rcx, qword [rbx - 0x18]
test rcx, rcx
je 0x1400068e3
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x1400068f4
call fcn.140032a94
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x140006f7b
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x78], rax
mov r12d, 3
mov dword [rsp + 0x30], r12d
test r13, r13
jne 0x140006921
mov eax, r14d
jmp 0x140006930
mov rax, rsi
inc rax
cmp word [r13 + rax*2], 0
jne 0x140006924
mov dword [rsp + 0x20], eax
mov r9, r13
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rsp + 0x78]
call fcn.1400075f0
nop
mov rbx, qword [rsp + 0x78]
lea r15, [rbx - 0x18]
mov rcx, qword [r15]
test rcx, rcx
je 0x140006968
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x140006979
call fcn.140032a94
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x140006f86
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x80], rax
mov dword [rsp + 0x30], 7
mov r9, qword [rsp + 0x48]
mov eax, dword [r9 - 0x10]
mov dword [rsp + 0x20], eax
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rbp - 0x80]
call fcn.1400075f0
mov rdx, qword [rbp - 0x80]
lea rbx, [rdx - 0x18]
add rdi, 0xffffffffffffffe8
cmp rbx, rdi
je 0x140006a16
cmp dword [rdi + 0x10], 0
jl 0x140006a08
mov rax, qword [rdi]
cmp qword [rbx], rax
jne 0x140006a08
mov rcx, rbx
call fcn.140007af0
mov qword [rbp - 0x50], rax
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x1400069fd
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov rax, qword [rbp - 0x50]
add rax, 0x18
mov qword [rsp + 0x38], rax
jmp 0x140006a16
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x38]
call fcn.140003aa0
mov dword [rsp + 0x30], r12d
mov eax, esi
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x140006a33
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rsp + 0x30], 1
mov eax, esi
lock xadd dword [r15 + 0x10], eax
sub eax, 1
jg 0x140006a54
mov rcx, qword [r15]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rsp + 0x30], r14d
mov eax, esi
mov rdx, qword [rbp - 0x48]
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140006a73
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, esi
mov rdx, qword [rbp - 0x40]
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140006a8d
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x48]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140006aab
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x38]
mov rcx, qword [rbp - 0x60]
call fcn.140004f20
mov rdi, rax
test rax, rax
jne 0x140006e00
call fcn.140032a94
mov rcx, rax
test rax, rax
je 0x140006f91
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x50], rax
lea rdx, str..phpguidON
cmp rdx, 0x10000
jae 0x140006b04
movzx edx, dx
lea rcx, [rsp + 0x50]
call fcn.140003670
jmp 0x140006b28
mov rax, rsi
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140006b10
mov r8d, eax
lea rcx, [rsp + 0x50]
call fcn.140003aa0
nop
call fcn.140032a94
mov rcx, rax
test rax, rax
je 0x140006f9c
mov rax, qword [rax]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rsp + 0x60], rax
lea rdx, str.mynewtime.php_utmacMO_37074682_1utmn1854806732utmr_utmp_2FI_ping_
cmp rdx, 0x10000
jae 0x140006b67
movzx edx, dx
lea rcx, [rsp + 0x60]
call fcn.140003670
jmp 0x140006b88
mov rax, rsi
nop word [rax + rax]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140006b70
mov r8d, eax
lea rcx, [rsp + 0x60]
call fcn.140003aa0
nop
mov rbx, qword [rsp + 0x60]
lea r15, [rbx - 0x18]
mov rcx, qword [r15]
test rcx, rcx
je 0x140006ba7
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x140006bb8
call fcn.140032a94
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x140006fa7
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x78], rax
mov dword [rsp + 0x30], 8
mov ecx, dword [rbx - 0x10]
mov rax, rsi
lea rdx, [0x140260f38]
inc rax
cmp word [rdx + rax*2], 0
jne 0x140006be4
mov dword [rsp + 0x20], ecx
mov r9, rbx
mov r8d, eax
lea rcx, [rbp - 0x78]
call fcn.1400075f0
nop
mov rbx, qword [rbp - 0x78]
lea r12, [rbx - 0x18]
mov rcx, qword [r12]
test rcx, rcx
je 0x140006c21
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x140006c32
call fcn.140032a94
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x140006fb2
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x70], rax
mov dword [rsp + 0x30], 0x18
test r13, r13
je 0x140006c6c
mov r14, rsi
nop dword [rax]
inc r14
cmp word [r13 + r14*2], 0
jne 0x140006c60
mov dword [rsp + 0x20], r14d
mov r9, r13
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.1400075f0
nop
mov rbx, qword [rbp - 0x70]
lea r14, [rbx - 0x18]
mov rcx, qword [r14]
test rcx, rcx
je 0x140006ca3
mov rax, qword [rcx]
call qword [rax + 0x20]
mov rcx, rax
test rax, rax
jne 0x140006cb4
call fcn.140032a94
mov rdx, qword [rax]
mov rcx, rax
call qword [rdx + 0x20]
mov rcx, rax
test rcx, rcx
je 0x140006f39
mov rax, qword [rcx]
call qword [rax + 0x18]
add rax, 0x18
mov qword [rbp - 0x68], rax
mov dword [rsp + 0x30], 0x38
mov r9, qword [rsp + 0x50]
mov eax, dword [r9 - 0x10]
mov dword [rsp + 0x20], eax
mov r8d, dword [rbx - 0x10]
mov rdx, rbx
lea rcx, [rbp - 0x68]
call fcn.1400075f0
mov rdx, qword [rbp - 0x68]
lea rbx, [rdx - 0x18]
mov rdi, qword [rsp + 0x38]
add rdi, 0xffffffffffffffe8
cmp rbx, rdi
je 0x140006d51
cmp dword [rdi + 0x10], 0
jl 0x140006d43
mov rax, qword [rdi]
cmp qword [rbx], rax
jne 0x140006d43
mov rcx, rbx
call fcn.140007af0
mov r13, rax
mov ecx, esi
lock xadd dword [rdi + 0x10], ecx
sub ecx, 1
jg 0x140006d38
mov rcx, qword [rdi]
mov r8, qword [rcx]
mov rdx, rdi
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
lea rax, [r13 + 0x18]
mov qword [rsp + 0x38], rax
jmp 0x140006d51
mov r8d, dword [rdx - 0x10]
lea rcx, [rsp + 0x38]
call fcn.140003aa0
mov dword [rsp + 0x30], 0x18
mov eax, esi
lock xadd dword [rbx + 0x10], eax
sub eax, 1
jg 0x140006d71
mov rcx, qword [rbx]
mov rax, qword [rcx]
mov rdx, rbx
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
mov dword [rsp + 0x30], 8
mov eax, esi
lock xadd dword [r14 + 0x10], eax
sub eax, 1
jg 0x140006d93
mov rcx, qword [r14]
mov rax, qword [rcx]
mov rdx, r14
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, esi
lock xadd dword [r12 + 0x10], eax
sub eax, 1
jg 0x140006daf
mov rcx, qword [r12]
mov rax, qword [rcx]
mov rdx, r12
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov eax, esi
lock xadd dword [r15 + 0x10], eax
sub eax, 1
jg 0x140006dc9
mov rcx, qword [r15]
mov rax, qword [rcx]
mov rdx, r15
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x50]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140006de7
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
lea rdx, [rsp + 0x38]
mov rcx, qword [rbp - 0x60]
call fcn.140004f20
mov r12d, 2
jmp 0x140006ec9
call qword [sym.imp.WINMM.dll_timeGetTime]
xor edx, edx
mov r8d, 0x186a0
lea rcx, [rbp + 0x18680]
call fcn.1401b8eb0
mov dword [rsp + 0x40], r14d
lea r9, [rsp + 0x40]
mov r8d, 0x186a0
lea rdx, [rbp + 0x18680]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140006e4a
cmp dword [rsp + 0x40], 0
jbe 0x140006e4a
mov r15b, 1
jmp 0x140006e4d
xor r15b, r15b
call qword [sym.imp.WINMM.dll_timeGetTime]
mov ebx, eax
sub rbx, qword [rbp - 0x38]
shr rbx, 1
xor edx, edx
mov r8d, 0x80
mov r13, qword [rbp - 0x30]
mov rcx, r13
call fcn.1401b8eb0
lea rax, [rbp - 0x20]
mov r9, rsi
nop word [rax + rax]
inc r9
cmp byte [rax + r9], 0
jne 0x140006e80
mov dword [rsp + 0x28], 0x80
mov qword [rsp + 0x20], r13
lea r8, [rbp - 0x20]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov r8d, ebx
lea rdx, str.ping:_d
mov rcx, r13
call qword [sym.imp.USER32.dll_wsprintfW]
mov rcx, rdi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
test r15b, r15b
je 0x140006ec9
mov r12d, r14d
mov rdx, qword [rsp + 0x68]
add rdx, 0xffffffffffffffe8
mov eax, esi
lock xadd dword [rdx + 0x10], eax
sub eax, 1
jg 0x140006ee8
mov rcx, qword [rdx]
mov rax, qword [rcx]
call qword [rax + reloc.OLEAUT32.dll_VariantClear]
nop
mov rdx, qword [rsp + 0x38]
add rdx, 0xffffffffffffffe8
lock xadd dword [rdx + 0x10], esi
sub esi, 1
jg 0x140006f05
mov rcx, qword [rdx]
mov r8, qword [rcx]
call qword [rreloc.OLEAUT32.dll_VariantClear + 8]
mov eax, r12d
jmp 0x140006f0f
mov eax, 1
mov rcx, qword [rbp + 0x30d20]
xor rcx, rsp
call fcn.1401b2f00
mov rbx, qword [rsp + 0x30e88]
add rsp, 0x30e30
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
mov ecx, 0x80004005
call fcn.140003a80
nop
mov ecx, 0x80004005
call fcn.140003a80
nop
mov ecx, 0x80004005
call fcn.140003a80
nop
mov ecx, 0x80004005
call fcn.140003a80
nop
mov ecx, 0x80004005
call fcn.140003a80
nop
mov ecx, 0x80004005
call fcn.140003a80
nop
mov ecx, 0x80004005
call fcn.140003a80
nop
mov ecx, 0x80004005
call fcn.140003a80
nop
mov ecx, 0x80004005
call fcn.140003a80
nop
mov ecx, 0x80004005
call fcn.140003a80
nop
mov ecx, 0x80004005
call fcn.140003a80
nop
mov ecx, 0x80004005
call fcn.140003a80
int3