Function at 0x1800da290
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
mov qword [rsp + 0x20], r14
push r15
sub rsp, 0x910
mov rax, qword [0x1802a5100]
xor rax, rsp
mov qword [rsp + 0x900], rax
xor r8d, r8d
mov edx, 1
lea rcx, str.https:__ngxd_tv.de
call qword [sym.imp.WININET.dll_InternetCheckConnectionA]
test eax, eax
jne 0x1800da357
lea rax, str.ngxd_tv.de_unreachable__check_your_network_configuration
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], 0x38
lea rax, str.C:UsersNGxD_TVDesktopGTA_ModdingNGxD_TV___Mod_Menu_srccheatupdate.cpp
mov qword [rsp + 0x70], rax
mov dword [rsp + 0x78], 0x13
lea rax, str.Cheat::update_check::GetLatest
mov qword [rsp + 0x80], rax
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [rsp + 0x70]
movaps xmmword [rsp + 0x50], xmm1
movsd xmm0, qword [rsp + 0x80]
movsd qword [rsp + 0x60], xmm0
lea r9, [rsp + 0x40]
mov r8d, 3
lea rdx, [rsp + 0x50]
mov rcx, qword [0x1802c8140]
call fcn.1800b6e20
xor eax, eax
jmp 0x1800da69e
xor edi, edi
xorps xmm0, xmm0
movups xmmword [rsp + 0xd0], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0xe0], xmm1
mov r8d, 0x22
lea rdx, str.https:__ngxd_tv.de_versions_ngmenu
lea rcx, [rsp + 0xd0]
call fcn.18007a6e0
nop
mov dword [rsp + 0x20], edi
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, str.NGMenu
call qword [sym.imp.WININET.dll_InternetOpenW]
mov r15, rax
test rax, rax
je 0x1800da5eb
lea rdx, [rsp + 0xd0]
cmp qword [rsp + 0xe8], 7
cmova rdx, qword [rsp + 0xd0]
mov qword [rsp + 0x28], rdi
mov dword [rsp + 0x20], 0x4800000
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlW]
mov r14, rax
test rax, rax
je 0x1800da5e1
mov dword [rsp + 0x30], edi
xorps xmm0, xmm0
movups xmmword [rsp + 0x90], xmm0
movdqa xmm1, xmmword [0x180260530]
movdqu xmmword [rsp + 0xa0], xmm1
mov byte [rsp + 0x90], dil
lea r9, [rsp + 0x30]
mov r8d, 0x800
lea rdx, [rsp + 0xf0]
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x1800da547
nop
mov eax, dword [rsp + 0x30]
test eax, eax
je 0x1800da547
cmp rax, 0x801
jae 0x1800da6df
mov byte [rsp + rax + 0xf0], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0xb0], xmm0
mov qword [rsp + 0xc0], rdi
mov qword [rsp + 0xc8], rdi
lea rax, [rsp + 0xf0]
mov r8, 0xffffffffffffffff
nop word [rax + rax]
inc r8
cmp byte [rax + r8], 0
jne 0x1800da490
lea rdx, [rsp + 0xf0]
lea rcx, [rsp + 0xb0]
call fcn.180077290
nop
lea rdx, [rsp + 0xb0]
cmp qword [rsp + 0xc8], 0xf
cmova rdx, qword [rsp + 0xb0]
mov r8, qword [rsp + 0xc0]
lea rcx, [rsp + 0x90]
call fcn.180077b80
nop
mov rdx, qword [rsp + 0xc8]
cmp rdx, 0xf
jbe 0x1800da523
inc rdx
mov rcx, qword [rsp + 0xb0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800da51e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800da6d9
call fcn.18010ca74
lea r9, [rsp + 0x30]
mov r8d, 0x800
lea rdx, [rsp + 0xf0]
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x1800da440
call fcn.180117668
mov rsi, rax
lea rbx, [rsp + 0x90]
cmp qword [rsp + 0xa8], 0xf
cmova rbx, qword [rsp + 0x90]
mov dword [rax], edi
mov r8d, 0xa
lea rdx, [rsp + 0x50]
mov rcx, rbx
call fcn.18011d7d4
cmp rbx, qword [rsp + 0x50]
je 0x1800da6cc
cmp dword [rsi], 0x22
je 0x1800da6e5
mov edi, eax
mov rcx, r14
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rsp + 0xa8]
cmp rdx, 0xf
jbe 0x1800da5e1
inc rdx
mov rcx, qword [rsp + 0x90]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800da5dc
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800da6f2
call fcn.18010ca74
mov rcx, r15
call qword [sym.imp.WININET.dll_InternetCloseHandle]
nop
mov rdx, qword [rsp + 0xe8]
cmp rdx, 7
jbe 0x1800da69c
lea rdx, [rdx*2 + 2]
mov rcx, qword [rsp + 0xd0]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1800da697
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1800da6f8
jmp 0x1800da697
call fcn.18010ca74
mov eax, edi
mov rcx, qword [rsp + 0x900]
xor rcx, rsp
call fcn.18010c6a0
lea r11, [rsp + 0x910]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov r14, qword [r11 + 0x28]
mov rsp, r11
pop r15
ret
lea rcx, str.invalid_stoi_argument
call fcn.180109f34
nop
call fcn.180112b44
int3
call fcn.18010cc88
nop
lea rcx, str.stoi_argument_out_of_range
call fcn.180109f7c
nop
call fcn.180112b44
nop
call fcn.180112b44
int3