Function at 0x40309a
Capabilities:
Check internet connectivity via wininet

Disassembly:
push rbp
mov rbp, rsp
sub rsp, 0x20
mov eax, 0
mov r8, rax
mov eax, 1
mov r11, rax
lea rax, [0x0040859b]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.wininet.dll_InternetCheckConnectionA
cmp eax, 1
jne 0x4032a8
lea rax, str._connection__API_reached__waiting_for_user_input..._r_n
mov r10, rax
mov rcx, r10
call fcn.0040255a
lea rax, str.API_reached__waiting_for_user_input...
mov r9, rax
movabs rax, 0
mov r8, rax
mov eax, 0xc
mov r11, rax
mov rax, qword [0x0040a088]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_SendMessageA
movabs rax, 0
mov r9, rax
movabs rax, 0x64
mov r8, rax
mov eax, 0x402
mov r11, rax
mov rax, qword [0x0040a090]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_SendMessageA
movabs rax, 0
mov r9, rax
movabs rax, 3
mov r8, rax
mov eax, 0x410
mov r11, rax
mov rax, qword [0x0040a090]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_SendMessageA
mov eax, 1
mov r11, rax
mov rax, qword [0x0040a040]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_EnableWindow
mov eax, 0
mov r11, rax
mov rax, qword [0x0040a048]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_EnableWindow
mov eax, 5
mov r11, rax
mov rax, qword [0x0040a048]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_ShowWindow
lea rax, str.Abort
mov r9, rax
movabs rax, 0
mov r8, rax
mov eax, 0xc
mov r11, rax
mov rax, qword [0x0040a048]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_SendMessageA
mov eax, 1
mov r11, rax
mov rax, qword [0x0040a078]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_EnableWindow
mov eax, 1
mov r11, rax
mov rax, qword [0x0040a060]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_EnableWindow
mov eax, 1
mov r11, rax
mov rax, qword [0x0040a050]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_EnableWindow
mov eax, 1
mov r11, rax
mov rax, qword [0x0040a058]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_EnableWindow
mov eax, 0
mov r11, rax
mov rax, qword [0x0040a048]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_EnableWindow
jmp 0x4033ca
lea rax, str._connection_error__API_not_ready_or_available._r_n
mov r10, rax
mov rcx, r10
call fcn.0040255a
lea rax, str.Cannot_reach_API.
mov r9, rax
movabs rax, 0
mov r8, rax
mov eax, 0xc
mov r11, rax
mov rax, qword [0x0040a088]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_SendMessageA
lea rax, [0x00408698]
mov r9, rax
movabs rax, 0
mov r8, rax
mov eax, 0xc
mov r11, rax
mov rax, qword [0x0040a048]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_SendMessageA
mov eax, 1
mov r11, rax
mov rax, qword [0x0040a048]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_EnableWindow
mov eax, 5
mov r11, rax
mov rax, qword [0x0040a048]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_ShowWindow
movabs rax, 0
mov r9, rax
movabs rax, 0x64
mov r8, rax
mov eax, 0x402
mov r11, rax
mov rax, qword [0x0040a090]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_SendMessageA
movabs rax, 0
mov r9, rax
movabs rax, 2
mov r8, rax
mov eax, 0x410
mov r11, rax
mov rax, qword [0x0040a090]
mov r10, rax
mov rcx, r10
mov rdx, r11
call sub.user32.dll_SendMessageA
leave
ret