Function at 0x1800a5380
Capabilities:
Check internet connectivity via wininet
Create http request
Read data from internet
Receive data

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rsi
mov qword [rsp + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0x890]
sub rsp, 0x990
mov rax, qword [0x1802b0058]
xor rax, rsp
mov qword [rbp + 0x888], rax
xor r8d, r8d
lea edx, [r8 + 1]
lea rcx, str.https:__api.github.com
call qword [sym.imp.WININET.dll_InternetCheckConnectionA]
test eax, eax
je 0x1800a5c1c
xor r13d, r13d
mov qword [rbp - 0x10], r13
mov qword [rbp], r13
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], r13b
mov edi, r13d
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], r13w
lea r8d, [r13 + 0x49]
lea rdx, str.https:__api.github.com_repos_Svxy_TnyavnTos_GTA5_Mod_Menu_releases_latest
lea rcx, [rbp + 0x30]
call fcn.18008c630
nop
mov dword [rsp + 0x20], r13d
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.TnyavnTos_GTA5_Mod_Menu
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r12, rax
test rax, rax
je 0x1800a5904
lea rdx, [rbp + 0x30]
cmp qword [rbp + 0x48], 8
cmovae rdx, qword [rbp + 0x30]
mov qword [rsp + 0x28], r13
mov dword [rsp + 0x20], 0x4800000
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov r15, rax
test rax, rax
je 0x1800a58fa
mov dword [rsp + 0x30], r13d
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], r13b
lea r9, [rsp + 0x30]
mov r8d, 0x800
lea rdx, [rbp + 0x70]
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1800a5568
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1800a5568
cmp rax, 0x801
jae 0x1800a5cc9
mov byte [rbp + rax + 0x70], 0
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], 0xf
mov byte [rbp - 0x30], 0
lea rax, [rbp + 0x70]
mov r8, 0xffffffffffffffff
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800a54f0
lea rdx, [rbp + 0x70]
lea rcx, [rbp - 0x30]
call fcn.180077530
nop
lea rdx, [rbp - 0x30]
cmp qword [rbp - 0x18], 0x10
cmovae rdx, qword [rbp - 0x30]
mov r8, qword [rbp - 0x20]
lea rcx, [rbp + 0x10]
call fcn.180077690
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0x10
jb 0x1800a548d
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a555e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a5cc3
call fcn.18010fae0
jmp 0x1800a548d
lea rdi, vtable.Json::CharReaderBuilder.0
mov qword [rbp - 0x70], rdi
mov qword [rbp - 0x58], r13
xor r8d, r8d
xor edx, edx
lea rcx, [rbp - 0x68]
call fcn.180109480
nop
lea rcx, [rbp - 0x68]
call fcn.1801031f0
nop
mov qword [rsp + 0x78], r13
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x68]
call fcn.180109480
nop
mov qword [rbp + 0x50], r13
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], 0xf
mov byte [rbp + 0x50], 0
lea rcx, [rbp - 0x70]
call fcn.180102eb0
mov rbx, rax
mov qword [rbp - 0x40], rax
mov rax, qword [rax]
mov r10, qword [rax + 8]
lea rcx, [rbp + 0x10]
mov r8, qword [rbp + 0x20]
cmp qword [rbp + 0x28], 0x10
jb 0x1800a55e8
mov rdx, qword [rbp + 0x10]
add r8, rdx
jmp 0x1800a55ef
add r8, rcx
lea rdx, [rbp + 0x10]
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x68]
mov rcx, rbx
call r10
test al, al
je 0x1800a5997
lea r8, [0x1801e1c7c]
lea rdx, str.name
lea rcx, [rsp + 0x68]
call fcn.1801097e0
lea rdx, [rbp - 0x30]
mov rcx, rax
call fcn.180108bd0
mov rdi, rax
lea rax, [rbp - 0x10]
cmp rax, rdi
je 0x1800a56a4
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x1800a5676
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a5671
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a5ccf
call fcn.18010fae0
mov qword [rbp], r13
mov qword [rbp + 8], 0xf
mov byte [rbp - 0x10], 0
movups xmm0, xmmword [rdi]
movups xmmword [rbp - 0x10], xmm0
movups xmm1, xmmword [rdi + 0x10]
movups xmmword [rbp], xmm1
mov qword [rdi + 0x10], r13
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
lea rcx, [rbp - 0x30]
call fcn.1800774b0
lea rcx, [rbp - 0x10]
call fcn.180076380
mov qword [rbp - 0x30], r13
mov qword [rbp - 0x20], r13
mov qword [rbp - 0x18], r13
mov rsi, qword [rbp]
lea r14, [rbp - 0x10]
cmp qword [rbp + 8], 0x10
cmovae r14, qword [rbp - 0x10]
cmp rsi, 0x10
jae 0x1800a56ec
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x18], 0xf
jmp 0x1800a5766
mov rdi, rsi
or rdi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rdi, rax
cmova rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1800a5740
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1800a5cd5
mov rcx, rax
call fcn.18010fae8
mov rcx, rax
test rax, rax
je 0x1800a5cdb
add rax, 0x27
and rax, 0xffffffffffffffe0
mov qword [rax - 8], rcx
jmp 0x1800a574f
test rcx, rcx
je 0x1800a574c
call fcn.18010fae8
jmp 0x1800a574f
mov rax, r13
mov qword [rbp - 0x30], rax
lea r8, [rsi + 1]
mov rdx, r14
mov rcx, rax
call fcn.180112380
mov qword [rbp - 0x18], rdi
mov qword [rbp - 0x20], rsi
lea rcx, [rbp - 0x30]
call fcn.1800764d0
mov edi, eax
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
test rbx, rbx
je 0x1800a5796
mov rcx, qword [rbx]
mov r8, qword [rcx]
mov edx, 1
mov rcx, rbx
call r8
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x1800a57d1
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a57cc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a5ce7
call fcn.18010fae0
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], 0xf
mov byte [rbp + 0x50], 0
mov edx, dword [rsp + 0x70]
movzx ecx, dl
sub ecx, 4
je 0x1800a582f
sub ecx, 2
je 0x1800a57f7
cmp ecx, 1
jne 0x1800a5841
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x1800a5841
mov r8, qword [rbx]
mov r8, qword [r8 + 8]
mov rdx, rbx
mov rcx, rbx
call fcn.18010a0e0
mov edx, 0x58
mov rcx, qword [rbx]
call fcn.18010fae0
mov edx, 0x10
mov rcx, rbx
call fcn.18010fae0
jmp 0x1800a5841
shr edx, 8
test dl, 1
je 0x1800a5841
mov rcx, qword [rsp + 0x68]
call fcn.18011814c
mov qword [rsp + 0x68], r13
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x1800a5877
lea r9, [fcn.180077000]
mov edx, 0x20
lea r8d, [rdx - 0x1d]
mov rcx, rbx
call fcn.18011040c
nop
mov edx, 0x60
mov rcx, rbx
call fcn.18010fae0
nop
lea rax, vtable.Json::CharReaderBuilder.0
mov qword [rbp - 0x70], rax
lea rcx, [rbp - 0x68]
call fcn.180109690
mov qword [rbp - 0x68], r13
mov rbx, qword [rbp - 0x58]
test rbx, rbx
je 0x1800a58bf
lea r9, [fcn.180077000]
mov edx, 0x20
lea r8d, [rdx - 0x1d]
mov rcx, rbx
call fcn.18011040c
nop
mov edx, 0x60
mov rcx, rbx
call fcn.18010fae0
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x1800a58fa
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a58f5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a5ced
call fcn.18010fae0
mov rcx, r12
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x1800a5944
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a593f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a5ce1
call fcn.18010fae0
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], r13w
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x1800a5990
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a598b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a5cbd
call fcn.18010fae0
mov eax, edi
jmp 0x1800a5c8d
lea rax, str.Failed_to_parse_JSON_data:_0
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x1e
lea rax, str.C:UsersdroxzDownloadsTnyavnTos_GTA5_Mod_Menu_mainTnyavnTos_GTA5_Mod_Menu_main_srccheatupdate.cpp
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x37
lea rax, str.Cheat::update_check::GetLatest
mov qword [rsp + 0x60], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x30], xmm1
movsd xmm0, qword [rsp + 0x60]
movsd qword [rbp - 0x20], xmm0
lea rax, [rbp + 0x50]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x40]
lea rdx, [rbp - 0x30]
mov rcx, qword [0x1802d3358]
call fcn.1800a5d00
nop
test rbx, rbx
je 0x1800a5a1d
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
mov rdx, qword [rbp + 0x68]
cmp rdx, 0x10
jb 0x1800a5a58
inc rdx
mov rcx, qword [rbp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a5a53
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a5ce7
call fcn.18010fae0
mov qword [rbp + 0x60], r13
mov qword [rbp + 0x68], 0xf
mov byte [rbp + 0x50], 0
mov edx, dword [rsp + 0x70]
movzx ecx, dl
sub ecx, 4
je 0x1800a5ab6
sub ecx, 2
je 0x1800a5a7e
cmp ecx, 1
jne 0x1800a5ac8
mov rbx, qword [rsp + 0x68]
test rbx, rbx
je 0x1800a5ac8
mov r8, qword [rbx]
mov r8, qword [r8 + 8]
mov rdx, rbx
mov rcx, rbx
call fcn.18010a0e0
mov edx, 0x58
mov rcx, qword [rbx]
call fcn.18010fae0
mov edx, 0x10
mov rcx, rbx
call fcn.18010fae0
jmp 0x1800a5ac8
shr edx, 8
test dl, 1
je 0x1800a5ac8
mov rcx, qword [rsp + 0x68]
call fcn.18011814c
mov qword [rsp + 0x68], r13
mov rbx, qword [rsp + 0x78]
test rbx, rbx
je 0x1800a5afe
lea r9, [fcn.180077000]
mov edx, 0x20
lea r8d, [rdx - 0x1d]
mov rcx, rbx
call fcn.18011040c
nop
mov edx, 0x60
mov rcx, rbx
call fcn.18010fae0
nop
mov qword [rbp - 0x70], rdi
lea rcx, [rbp - 0x68]
call fcn.180109690
mov qword [rbp - 0x68], r13
mov rbx, qword [rbp - 0x58]
test rbx, rbx
je 0x1800a5b3f
lea r9, [fcn.180077000]
mov edx, 0x20
lea r8d, [rdx - 0x1d]
mov rcx, rbx
call fcn.18011040c
nop
mov edx, 0x60
mov rcx, rbx
call fcn.18010fae0
nop
mov rdx, qword [rbp + 0x28]
cmp rdx, 0x10
jb 0x1800a5b7a
inc rdx
mov rcx, qword [rbp + 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a5b75
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a5ced
call fcn.18010fae0
mov qword [rbp + 0x20], r13
mov qword [rbp + 0x28], 0xf
mov byte [rbp + 0x10], 0
mov rdx, qword [rbp + 0x48]
cmp rdx, 8
jb 0x1800a5bca
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp + 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a5bc5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a5cf3
call fcn.18010fae0
mov qword [rbp + 0x40], r13
mov qword [rbp + 0x48], 7
mov word [rbp + 0x30], r13w
mov rdx, qword [rbp + 8]
cmp rdx, 0x10
jb 0x1800a5c8b
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800a5c15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800a5cf9
call fcn.18010fae0
jmp 0x1800a5c8b
lea rax, str.api.github.com_unreachable__check_your_network_configuration
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], 0x3c
lea rax, str.C:UsersdroxzDownloadsTnyavnTos_GTA5_Mod_Menu_mainTnyavnTos_GTA5_Mod_Menu_main_srccheatupdate.cpp
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x58], 0x13
lea rax, str.Cheat::update_check::GetLatest
mov qword [rsp + 0x60], rax
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rsp + 0x50]
movaps xmmword [rbp - 0x30], xmm1
movsd xmm0, qword [rsp + 0x60]
movsd qword [rbp - 0x20], xmm0
lea r9, [rsp + 0x40]
mov r8d, 3
lea rdx, [rbp - 0x30]
mov rcx, qword [0x1802d3358]
call fcn.18007b5d0
xor eax, eax
mov rcx, qword [rbp + 0x888]
xor rcx, rsp
call fcn.18010fac0
lea r11, [rsp + 0x990]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.180118504
nop
call fcn.180118504
nop
call fcn.180110278
nop
call fcn.180118504
int3
call fcn.180075500
int3
call fcn.180118504
nop
call fcn.180118504
nop
call fcn.180118504
nop
call fcn.180118504
nop
call fcn.180118504
nop
call fcn.180118504
int3