Function at 0x18001e510
Capabilities:
Check internet connectivity via wininet

Disassembly:
mov rax, rsp
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xc0
mov qword [rbp + 0x1f], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
mov rax, qword [0x180063080]
xor rax, rsp
mov qword [rbp + 0x2f], rax
mov rdi, rcx
xor ebx, ebx
cmp byte [rcx + 0x868], bl
je 0x18001e571
mov dword [rbp + 0x27], ebx
xor edx, edx
lea rcx, [rbp + 0x27]
call qword [sym.imp.WININET.dll_InternetGetConnectedState]
test eax, eax
jne 0x18001e571
lea eax, [rbx + 8]
jmp 0x18001e9ae
lea rax, [rbp - 1]
mov qword [rbp - 0x49], rax
lea rax, [rbp - 0x41]
mov qword [rbp - 0x59], rax
lea rax, [rbp - 0x21]
mov qword [rbp - 0x51], rax
call fcn.18000e9d0
mov rcx, rax
lea rdx, [rbp - 1]
call fcn.18000fa30
mov rsi, rax
lea rdx, [rdi + 0x30]
lea rcx, [rbp - 0x41]
call fcn.180007410
mov r14, rax
lea r13, [rdi + 0x10]
mov rdx, r13
lea rcx, [rbp - 0x21]
call fcn.180007410
mov r15, rax
mov edx, dword [0x180064d08]
mov rcx, qword gs:[0x58]
mov eax, 4
mov r12, qword [rcx + rdx*8]
add r12, rax
mov qword [rbp + 0x27], r12
mov ecx, dword [r12]
cmp dword [0x180065a00], ecx
jle 0x18001e633
lea rcx, [0x180065a00]
call fcn.180020838
cmp dword [0x180065a00], 0xffffffff
jne 0x18001e633
xor edx, edx
mov r8d, 0xb8
lea rcx, [0x180065a10]
call fcn.180022880
call fcn.180005100
lea rcx, [0x1800474d0]
call fcn.180020d34
nop
lea rcx, [0x180065a00]
call fcn.1800207d8
nop
mov r9, rsi
mov r8, r14
mov rdx, r15
lea rcx, [0x180065a10]
call fcn.180001520
test al, al
je 0x18001e656
mov eax, 5
jmp 0x18001e9ae
lea rax, [rbp - 0x21]
mov qword [rbp - 0x51], rax
lea rax, [rbp - 0x41]
mov qword [rbp - 0x59], rax
call fcn.18000e9d0
mov rcx, rax
lea rdx, [rbp - 0x21]
call fcn.18000fa30
mov rsi, rax
mov rdx, r13
lea rcx, [rbp - 0x41]
call fcn.180007410
mov r14, rax
mov ecx, dword [r12]
cmp dword [0x180065a00], ecx
jle 0x18001e6dd
lea rcx, [0x180065a00]
call fcn.180020838
cmp dword [0x180065a00], 0xffffffff
jne 0x18001e6dd
xor edx, edx
mov r8d, 0xb8
lea rcx, [0x180065a10]
call fcn.180022880
call fcn.180005100
lea rcx, [0x1800474d0]
call fcn.180020d34
nop
lea rcx, [0x180065a00]
call fcn.1800207d8
nop
mov r8, rsi
mov rdx, r14
lea rcx, [0x180065a10]
call fcn.180003f40
test al, al
jne 0x18001e6fd
mov eax, 6
jmp 0x18001e9ae
mov r15d, dword [rdi + 0x24c]
mov esi, dword [rdi + 0x250]
mov r14, qword [rdi + 0x254]
test r15d, r15d
jne 0x18001e738
test esi, esi
jne 0x18001e738
test r14, r14
jne 0x18001e738
mov qword [rdi + 0x870], rbx
call fcn.18000e9d0
mov rcx, rax
call fcn.1800115f0
jmp 0x18001e7fc
lea rax, [rbp - 0x21]
mov qword [rbp - 0x51], rax
lea rax, [rbp - 0x41]
mov qword [rbp - 0x59], rax
call fcn.18000e9d0
mov rcx, rax
lea rdx, [rbp - 0x21]
call fcn.18000fa30
mov r12, rax
mov rdx, r13
lea rcx, [rbp - 0x41]
call fcn.180007410
mov r13, rax
mov rax, qword [rbp + 0x27]
mov ecx, dword [rax]
cmp dword [0x180065a00], ecx
jle 0x18001e7c0
lea rcx, [0x180065a00]
call fcn.180020838
cmp dword [0x180065a00], 0xffffffff
jne 0x18001e7c0
xor edx, edx
mov r8d, 0xb8
lea rcx, [0x180065a10]
call fcn.180022880
call fcn.180005100
lea rcx, [0x1800474d0]
call fcn.180020d34
nop
lea rcx, [0x180065a00]
call fcn.1800207d8
lea rax, [rdi + 0x870]
imul r9d, r15d, 0x1f
add r9d, esi
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r14
mov r8, r12
mov rdx, r13
lea rcx, [0x180065a10]
call fcn.180002fe0
test al, al
je 0x18001e7f8
mov eax, 3
jmp 0x18001e9ae
lea r13, [rdi + 0x10]
mov esi, dword [rdi + 0x244]
lea rax, [rbp - 0x21]
mov qword [rbp - 0x51], rax
lea rax, [rbp - 0x41]
mov qword [rbp - 0x59], rax
lea rax, [rbp - 1]
mov qword [rbp - 0x49], rax
call fcn.18000e9d0
mov rcx, rax
lea rdx, [rbp - 0x21]
call fcn.18000fa30
mov r14, rax
mov rdx, r13
lea rcx, [rbp - 0x41]
call fcn.180007410
mov r15, rax
lea rdx, [rdi + 0x30]
lea rcx, [rbp - 1]
call fcn.180007410
mov r12, rax
mov rax, qword [rbp + 0x27]
mov ecx, dword [rax]
cmp dword [0x180065a00], ecx
jle 0x18001e8a3
lea rcx, [0x180065a00]
call fcn.180020838
cmp dword [0x180065a00], 0xffffffff
jne 0x18001e8a3
xor edx, edx
mov r8d, 0xb8
lea rcx, [0x180065a10]
call fcn.180022880
call fcn.180005100
lea rcx, [0x1800474d0]
call fcn.180020d34
nop
lea rcx, [0x180065a00]
call fcn.1800207d8
nop
mov qword [rsp + 0x20], r14
mov r9, r15
mov r8, r12
mov edx, esi
lea rcx, [0x180065a10]
call fcn.180002180
test al, al
je 0x18001e8ca
mov eax, 4
jmp 0x18001e9ae
lea rax, [rbp - 0x21]
mov qword [rbp - 0x51], rax
lea rax, [rbp - 0x41]
mov qword [rbp - 0x59], rax
lea rax, [rbp - 1]
mov qword [rbp - 0x49], rax
call fcn.18000e9d0
mov rcx, rax
lea rdx, [rbp - 0x21]
call fcn.18000fa30
mov r14, rax
mov rdx, r13
lea rcx, [rbp - 0x41]
call fcn.180007410
mov r15, rax
lea rdx, [rdi + 0x30]
lea rcx, [rbp - 1]
call fcn.180007410
mov r12, rax
mov rax, qword [rbp + 0x27]
mov ecx, dword [rax]
cmp dword [0x180065a00], ecx
jle 0x18001e96b
lea rcx, [0x180065a00]
call fcn.180020838
cmp dword [0x180065a00], 0xffffffff
jne 0x18001e96b
xor edx, edx
mov r8d, 0xb8
lea rcx, [0x180065a10]
call fcn.180022880
call fcn.180005100
lea rcx, [0x1800474d0]
call fcn.180020d34
nop
lea rcx, [0x180065a00]
call fcn.1800207d8
nop
mov qword [rsp + 0x20], r14
mov r9, r15
mov r8, r12
mov edx, esi
lea rcx, [0x180065a10]
call fcn.180004760
mov dword [rdi + 0x878], eax
cmp byte [rdi + 0x868], 0
je 0x18001e9ac
mov dword [rbp + 0x27], ebx
xor edx, edx
lea rcx, [rbp + 0x27]
call qword [sym.imp.WININET.dll_InternetGetConnectedState]
mov ecx, 8
test eax, eax
cmove ebx, ecx
mov eax, ebx
mov rcx, qword [rbp + 0x2f]
xor rcx, rsp
call fcn.1800205b0
lea r11, [rsp + 0xc0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret