Function at 0x1400c6840
Capabilities:
Download url
Query environment variable
Receive data

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
push rbp
push r12
push r13
push r14
push r15
lea rbp, [rax - 0xb8]
sub rsp, 0x190
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
movaps xmmword [rax - 0x68], xmm9
mov rax, qword [0x140157dc0]
xor rax, rsp
mov qword [rbp + 0x40], rax
xor r13d, r13d
lea edx, [r13 + 2]
lea rcx, str.Successfully_edited_Hosts_file_n
call fcn.1400bdda0
lea edx, [r13 + 0xe]
lea rcx, str.Downloading_RTTEX_Files_n
call fcn.1400bdda0
lea rcx, str.USERNAME
call qword [sym.imp.api_ms_win_crt_environment_l1_1_0.dll_getenv]
mov r14, rax
test rax, rax
jne 0x1400c68e6
lea rdx, [0x14011a028]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140011c30
lea rdx, [0x140024f80]
mov rcx, rax
call qword [sym.imp.MSVCP140.dll_public:_class_std::basic_ostream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_ostream_char__struct_std::char_traits_char__::operator___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_ostream_char__struct_std::char_traits_char______ptr64_____ptr64]
jmp 0x1400c6f7c
xorps xmm0, xmm0
movups xmmword [rsp + 0x78], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x78], xmm1
mov rsi, 0xffffffffffffffff
mov r8, rsi
inc r8
cmp byte [rax + r8], r13b
jne 0x1400c6900
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.140012fd0
nop
mov r8, qword [rbp - 0x78]
mov rcx, qword [rbp - 0x70]
mov rax, rcx
sub rax, r8
lea rdx, [0x1400f4e31]
mov r12d, 9
lea r15, str.C:Users_
cmp rax, r12
jb 0x1400c69b2
lea rax, [r8 + 9]
mov qword [rbp - 0x78], rax
lea rbx, [rsp + 0x78]
cmp rcx, 0xf
cmova rbx, qword [rsp + 0x78]
cmp rdx, rbx
jbe 0x1400c6975
lea rax, [rbx + r8]
cmp r15, rax
ja 0x1400c6975
cmp rbx, r15
ja 0x1400c696d
mov rdi, r13
jmp 0x1400c6978
mov rdi, rbx
sub rdi, r15
jmp 0x1400c6978
mov rdi, r12
inc r8
lea rcx, [rbx + 9]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rdi
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
mov r8, r12
sub r8, rdi
lea rdx, [r15 + 9]
add rdx, rdi
lea rcx, [rbx + rdi]
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rsp + 0x78]
jmp 0x1400c69d2
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r15
xor r9d, r9d
movzx r8d, byte [rsp + 0x30]
mov rdx, r12
lea rcx, [rsp + 0x78]
call fcn.14001c9b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x38], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x48], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x38], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x48], xmm1
mov qword [rax + 0x10], r13
mov edi, reloc.WS2_32.dll_ntohs
mov qword [rax + 0x18], rdi
mov byte [rax], 0
mov rcx, qword [rsp + 0x48]
mov rdx, qword [rsp + 0x50]
mov rax, rdx
sub rax, rcx
cmp rax, 0x2b
jb 0x1400c6a52
lea rax, [rcx + 0x2b]
mov qword [rsp + 0x48], rax
lea rbx, [rsp + 0x38]
cmp rdx, rdi
cmova rbx, qword [rsp + 0x38]
add rbx, rcx
lea r8d, [rdi + 0x1c]
lea rdx, str.AppDataLocalGrowtopiainterface_tutorial
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x2b], 0
lea rax, [rsp + 0x38]
jmp 0x1400c6a77
mov qword [rsp + 0x20], 0x2b
lea r9, str.AppDataLocalGrowtopiainterface_tutorial
movzx r8d, byte [rsp + 0x30]
mov edx, 0x2b
lea rcx, [rsp + 0x38]
call fcn.140006d50
movups xmm9, xmmword [rax]
movups xmmword [rbp - 0x20], xmm9
movups xmm7, xmmword [rax + 0x10]
movups xmmword [rbp - 0x10], xmm7
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], rdi
mov byte [rax], 0
mov rdx, qword [rsp + 0x50]
cmp rdx, 0xf
jbe 0x1400c6ad3
inc rdx
mov rcx, qword [rsp + 0x38]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c6ace
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c6ace
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d34b8
movdqa xmm0, xmmword [0x1400f4b10]
movdqu xmmword [rsp + 0x48], xmm0
mov byte [rsp + 0x38], 0
mov rdx, qword [rbp - 0x70]
cmp rdx, 0xf
jbe 0x1400c6b25
inc rdx
mov rcx, qword [rsp + 0x78]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c6b20
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c6b20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d34b8
movdqa xmm0, xmmword [0x1400f4b10]
movdqu xmmword [rbp - 0x78], xmm0
mov byte [rsp + 0x78], 0
xorps xmm0, xmm0
movups xmmword [rbp - 0x68], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x58], xmm1
inc rsi
cmp byte [r14 + rsi], 0
jne 0x1400c6b46
mov r8, rsi
mov rdx, r14
lea rcx, [rbp - 0x68]
call fcn.140012fd0
nop
mov r8, qword [rbp - 0x58]
mov rcx, qword [rbp - 0x50]
mov rax, rcx
sub rax, r8
cmp rax, 9
jb 0x1400c6bec
lea rax, [r8 + 9]
mov qword [rbp - 0x58], rax
lea rbx, [rbp - 0x68]
cmp rcx, 0xf
cmova rbx, qword [rbp - 0x68]
lea rax, [0x1400f4e31]
cmp rax, rbx
jbe 0x1400c6bb0
lea rax, [rbx + r8]
cmp r15, rax
ja 0x1400c6bb0
cmp rbx, r15
ja 0x1400c6ba8
mov rsi, r13
jmp 0x1400c6bb3
mov rsi, rbx
sub rsi, r15
jmp 0x1400c6bb3
mov rsi, r12
inc r8
lea rcx, [rbx + 9]
mov rdx, rbx
call sub.VCRUNTIME140.dll_memmove
mov r8, rsi
mov rdx, r15
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
sub r12, rsi
lea rdx, [rsi + 9]
add rdx, r15
lea rcx, [rbx + rsi]
mov r8, r12
call sub.VCRUNTIME140.dll_memcpy
lea rax, [rbp - 0x68]
jmp 0x1400c6c0b
mov qword [rsp + 0x28], r12
mov qword [rsp + 0x20], r15
xor r9d, r9d
movzx r8d, byte [rsp + 0x30]
mov rdx, r12
lea rcx, [rbp - 0x68]
call fcn.14001c9b0
xorps xmm0, xmm0
movups xmmword [rsp + 0x58], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x68], xmm1
movups xmm0, xmmword [rax]
movups xmmword [rsp + 0x58], xmm0
movups xmm1, xmmword [rax + 0x10]
movups xmmword [rsp + 0x68], xmm1
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], rdi
mov byte [rax], 0
mov rcx, qword [rsp + 0x68]
mov rdx, qword [rsp + 0x70]
mov rax, rdx
sub rax, rcx
cmp rax, 0x28
jb 0x1400c6c89
lea rax, [rcx + 0x28]
mov qword [rsp + 0x68], rax
lea rbx, [rsp + 0x58]
cmp rdx, 0xf
cmova rbx, qword [rsp + 0x58]
add rbx, rcx
mov r8d, 0x28
lea rdx, str.AppDataLocalGrowtopiainterfacelarge
mov rcx, rbx
call sub.VCRUNTIME140.dll_memmove
mov byte [rbx + 0x28], 0
lea rax, [rsp + 0x58]
jmp 0x1400c6cae
mov qword [rsp + 0x20], 0x28
lea r9, str.AppDataLocalGrowtopiainterfacelarge
movzx r8d, byte [rsp + 0x30]
mov edx, 0x28
lea rcx, [rsp + 0x58]
call fcn.140006d50
movups xmm8, xmmword [rax]
movups xmmword [rbp - 0x40], xmm8
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp - 0x30], xmm6
mov qword [rax + 0x10], r13
mov qword [rax + 0x18], rdi
mov byte [rax], 0
mov rdx, qword [rsp + 0x70]
cmp rdx, 0xf
jbe 0x1400c6d0a
inc rdx
mov rcx, qword [rsp + 0x58]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c6d05
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c6d05
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d34b8
movdqa xmm0, xmmword [0x1400f4b10]
movdqu xmmword [rsp + 0x68], xmm0
mov byte [rsp + 0x58], 0
mov rdx, qword [rbp - 0x50]
cmp rdx, 0xf
jbe 0x1400c6d5b
inc rdx
mov rcx, qword [rbp - 0x68]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c6d56
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c6d56
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d34b8
movdqa xmm0, xmmword [0x1400f4b10]
movdqu xmmword [rbp - 0x58], xmm0
mov byte [rbp - 0x68], 0
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x30], xmm1
mov r8d, 0xb7
lea rdx, str.https:__cdn.discordapp.com_attachments_1193076129402208259_1250486272586153994_tayfa.rttex_ex666b1d98is6669cc18hmd10c07ce3ff16f6ad102684ff5377a07af0d6a275d6d1b7acc415f2084e51a88
lea rcx, [rbp + 0x20]
call fcn.140012fd0
nop
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
movq r13, xmm6
sub rax, r13
cmp rax, 0xc
jb 0x1400c6fbd
lea r12, [rbp - 0x40]
movq rsi, xmm8
psrldq xmm6, 8
movq r14, xmm6
cmp r14, 0xf
cmova r12, rsi
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp + 0x10], xmm1
lea r15, [r13 + 0xc]
lea rbx, [rbp]
cmp r15, 0xf
jbe 0x1400c6e65
mov rdi, r15
or rdi, 0xf
cmp rdi, rcx
jbe 0x1400c6e21
mov rdi, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.1400d347c
test rax, rax
je 0x1400c6e49
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x1400c6e61
mov eax, reloc.WS2_32.dll_shutdown
cmp rdi, rax
cmovb rdi, rax
lea rcx, [rdi + 1]
cmp rcx, 0x1000
jb 0x1400c6e50
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x1400c6fc3
jmp 0x1400c6e06
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
test rcx, rcx
je 0x1400c6e5f
call fcn.1400d347c
mov rbx, rax
jmp 0x1400c6e61
xor ebx, ebx
mov qword [rbp], rbx
mov qword [rbp + 0x10], r15
mov qword [rbp + 0x18], rdi
mov r8, r13
mov rdx, r12
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
movsd xmm0, qword [str._tayfa.rttex]
movsd qword [rbx + r13], xmm0
mov eax, dword [0x14011a140]
mov dword [rbx + r13 + 8], eax
mov byte [rbx + r15], 0
lea r8, [rbp]
cmp qword [rbp + 0x18], 0xf
cmova r8, qword [rbp]
lea rdx, [rbp + 0x20]
cmp qword [rbp + 0x38], 0xf
cmova rdx, qword [rbp + 0x20]
mov qword [rsp + 0x20], 0
xor r9d, r9d
xor ecx, ecx
call sub.urlmon.dll_URLDownloadToFileA
lea r9, [fcn.140007320]
mov edx, 0x20
lea r8d, [rdx - 0x1f]
lea rcx, [rbp]
call fcn.1400d368c
nop
lea r9, [fcn.140007320]
mov edx, 0x20
lea r8d, [rdx - 0x1f]
lea rcx, [rbp + 0x20]
call fcn.1400d368c
nop
cmp r14, 0xf
jbe 0x1400c6f37
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x1400c6f2e
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c6f2e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400d34b8
nop
psrldq xmm7, 8
movq rdx, xmm7
cmp rdx, 0xf
jbe 0x1400c6f7c
inc rdx
movq rcx, xmm9
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400c6f77
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400c6f77
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d34b8
mov rcx, qword [rbp + 0x40]
xor rcx, rsp
call fcn.1400d35d0
lea r11, [rsp + 0x190]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
movaps xmm9, xmmword [r11 - 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call fcn.140007c20
nop
call fcn.140007c00
int3