Function at 0x140012da4
Capabilities:
Check internet connectivity via wininet

Disassembly:
mov rax, rsp
push rdi
push r14
push r15
sub rsp, 0x150
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rax + 0x18], rbp
mov qword [rax + 0x20], rsi
mov rax, qword [0x140076088]
xor rax, rsp
mov qword [rsp + 0x140], rax
mov rsi, rdx
mov rdi, rcx
test rcx, rcx
jne 0x140012de8
xor eax, eax
jmp 0x140013033
test rsi, rsi
je 0x140012dfa
mov rcx, qword [rdx + 0x98]
call qword [sym.imp.KERNEL32.dll_ResetEvent]
mov rdx, rdi
lea rcx, [rdi + 0x78]
call fcn.1400144a0
test al, al
jne 0x140012e34
test rsi, rsi
je 0x140012e1e
xor r8d, r8d
lea edx, [r8 + 1]
mov rcx, rsi
call fcn.14001b770
lea rcx, [rdi + 0xc0]
mov edx, 0xbc0
call fcn.140015678
jmp 0x140012f11
cmp byte [rdi + 0xa1], 0
je 0x140012e4a
cmp byte [rdi + 0xa2], 0
jne 0x14001302e
test rsi, rsi
je 0x140012e5f
mov r8b, 1
mov edx, 1
mov rcx, rsi
call fcn.14001b770
mov byte [rdi + 0xc8], 1
mov ebp, 2
xor r14d, r14d
mov rcx, rdi
call fcn.140013308
cmp eax, 1
jne 0x140012e9d
mov rcx, rdi
call fcn.140013c98
mov ebp, eax
cmp eax, 1
jne 0x140012ea2
mov eax, 3
cmp ebp, eax
je 0x140012ee7
test rsi, rsi
je 0x140012f11
mov r8b, 1
jmp 0x140012f04
cmp eax, 2
je 0x140012ebc
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
inc r14d
mov eax, 3
cmp r14d, eax
jl 0x140012e6e
jmp 0x140012ec1
mov ebp, 1
cmp ebp, 1
je 0x140012e8a
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, str.https:__www.bugsplat.com
call qword [sym.imp.WININET.dll_InternetCheckConnectionW]
cmp eax, 1
mov eax, 3
cmovne ebp, eax
jmp 0x140012e8f
lea rcx, [rdi + 0xc0]
mov r8, qword [rdi + 0x78]
mov edx, 0xbc1
call fcn.140015678
test rsi, rsi
je 0x140012f11
xor r8d, r8d
mov edx, 2
mov rcx, rsi
call fcn.14001b770
mov rdx, qword [rdi + 0xc0]
cmp dword [rdx - 0x10], 0
je 0x14001301c
test rsi, rsi
je 0x14001302e
cmp byte [rdi + 0xc8], 0
je 0x140013014
lea rcx, [rsp + 0x40]
call fcn.14001305c
nop
mov rax, qword [rdi + 0xc0]
mov qword [rsp + 0x20], rax
mov r9, qword [rdi + 0x18]
mov r8, qword [rdi + 0x10]
mov rdx, qword [rdi + 8]
lea rcx, [rsp + 0x40]
call fcn.14001a798
call qword [sym.imp.USER32.dll_GetActiveWindow]
mov rdi, rax
mov rax, qword [rsp + 0x68]
test rax, rax
jne 0x140012f92
call fcn.140025c94
mov qword [rsp + 0x68], rax
test rax, rax
jne 0x140012f92
lea ecx, [rax + 0xe]
call qword [sym.imp.KERNEL32.dll_SetLastError]
jmp 0x140013008
xor r8d, r8d
xor edx, edx
mov rcx, rax
call fcn.140025dc4
lea rax, [rsp + 0x40]
mov qword [rsp + 0x50], rax
call qword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [rsp + 0x58], eax
lea rcx, [0x140079748]
call qword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov rax, qword [0x140079770]
mov qword [rsp + 0x60], rax
lea rax, [rsp + 0x50]
mov qword [0x140079770], rax
lea rcx, [0x140079748]
call qword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
and qword [rsp + 0x20], 0
lea r9, [0x1400157dc]
mov r8, rdi
mov edx, 0x3eb
mov rcx, qword [0x140078210]
call qword [sym.imp.USER32.dll_DialogBoxParamW]
nop
lea rcx, [rsp + 0x40]
call fcn.1400131a8
jmp 0x14001301c
mov rcx, rdi
call fcn.140013c6c
test rsi, rsi
je 0x14001302e
mov rcx, qword [rsi + 0x98]
call qword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, 1
mov rcx, qword [rsp + 0x140]
xor rcx, rsp
call fcn.140025e90
lea r11, [rsp + 0x150]
mov rbp, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rsp, r11
pop r15
pop r14
pop rdi
ret