Function at 0x14009bef0
Capabilities:
Create thread
Encode data using xor
Execute command
Set console window title
Terminate process

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 - 0xf8]
sub rsp, 0x1d0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x140167c40]
xor rax, rsp
mov qword [rbp + 0xb0], rax
xor r13d, r13d
lea edx, [r13 + 1]
lea rcx, [0x1400358b0]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
lea rcx, str.Color_0A
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rsi, str.Ruby_Proxy
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
mov byte [rsp + 0x30], r13b
lea rdx, [rsp + 0x30]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400162a0
lea rcx, [0x14016bfc0]
call fcn.1400b9410
cmp byte [0x14016c1d8], r13b
jne 0x14009bffc
lea rdx, [rbp]
lea rcx, [rsp + 0x30]
call fcn.140033c00
movzx ecx, byte [rax + 0xa]
test cl, cl
je 0x14009bfca
xor byte [rax], 0x39
xor byte [rax + 1], 0x3a
xor byte [rax + 2], 0x3b
xor byte [rax + 3], 0x3c
xor byte [rax + 4], 0x3d
xor byte [rax + 5], 0x3e
xor byte [rax + 6], 0x3f
xor byte [rax + 7], 0x40
xor byte [rax + 8], 0x41
xor byte [rax + 9], 0x42
xor cl, 0x43
mov byte [rax + 0xa], cl
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400162a0
mov rcx, rax
lea rdx, [0x14016c1e0]
call fcn.140016040
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
lea rcx, [0x14016bfc0]
call fcn.1400b65f0
test al, al
je 0x14009c013
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea rcx, [0x14012b634]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
movups xmmword [rbp + 0x60], xmm0
movdqa xmm1, xmmword [0x140128170]
movdqu xmmword [rbp + 0x70], xmm1
mov byte [rbp + 0x60], r13b
movups xmm0, xmmword [0x14012b5f0]
movups xmmword [rsp + 0x40], xmm0
movzx eax, word [0x14012b600]
mov word [rsp + 0x50], ax
movzx eax, byte [0x14012b602]
mov byte [rsp + 0x52], al
mov r8d, r13d
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x14009c1a5
movdqa xmm5, xmmword [0x140136ae0]
movdqa xmm4, xmmword [0x140136b70]
movdqa xmm6, xmmword [str.2222]
movdqa xmm0, xmmword [str.9999999999999999]
movdqa xmmword [rbp], xmm0
lea rcx, [rsp + 0x44]
mov edx, dword [rbp]
nop dword [rax + rax]
movd xmm2, r8d
pshufd xmm2, xmm2, 0
paddd xmm2, xmm5
movdqa xmm1, xmm2
punpckldq xmm1, xmm2
pmuldq xmm1, xmm4
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140136b50]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 4]
movd xmm3, eax
pshufd xmm3, xmm3, 0
paddd xmm3, xmm5
movdqa xmm1, xmm3
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140136b50]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x14009c0a0
cmp r8d, 0x13
jge 0x14009c1e0
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
mov eax, 0x51eb851f
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x13
jl 0x14009c1b0
lea rdx, [rsp + 0x40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400162a0
lea rdx, [rbp + 0x60]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140015e00
lea rdx, [rbp + 0x60]
lea rcx, [rbp + 0x20]
call fcn.140027c70
mov rdx, rax
lea rcx, [0x14016bfc0]
call fcn.1400baa00
cmp byte [0x14016c1d8], 0
jne 0x14009c29b
lea rdx, [rbp]
lea rcx, [rsp + 0x30]
call fcn.140032270
movzx ecx, byte [rax + 0xa]
test cl, cl
je 0x14009c269
xor byte [rax], 0x39
xor byte [rax + 1], 0x3a
xor byte [rax + 2], 0x3b
xor byte [rax + 3], 0x3c
xor byte [rax + 4], 0x3d
xor byte [rax + 5], 0x3e
xor byte [rax + 6], 0x3f
xor byte [rax + 7], 0x40
xor byte [rax + 8], 0x41
xor byte [rax + 9], 0x42
xor cl, 0x43
mov byte [rax + 0xa], cl
mov rdx, rax
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400162a0
mov rcx, rax
lea rdx, [0x14016c1e0]
call fcn.140016040
mov ecx, 0x5dc
call qword [sym.imp.KERNEL32.dll_Sleep]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov rbx, qword [0x14016c1a0]
mov rdi, qword [0x14016c1a8]
cmp rbx, rdi
je 0x14009c30d
nop
mov rdx, rbx
lea rcx, [rbp + 0x20]
call fcn.140027c70
lea rcx, [0x14012b634]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x14009c304
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009c2ff
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009c8ad
call fcn.14010df9c
add rbx, 0x20
cmp rbx, rdi
jne 0x14009c2b0
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
mov qword [rbp + 0x30], r13
mov qword [rbp + 0x38], r13
xor r8d, r8d
lea rdx, [0x140128275]
lea rcx, [rbp + 0x20]
call fcn.140017770
nop
mov r15, qword [0x14016c1a0]
mov r12, qword [0x14016c1a8]
movabs rax, 0x7fffffffffffffff
cmp r15, r12
je 0x14009c4dc
mov edx, reloc.WS2_32.dll_shutdown
movabs rcx, 0x8000000000000000
xorps xmm0, xmm0
movups xmmword [rbp], xmm0
mov qword [rbp + 0x10], r13
mov qword [rbp + 0x18], r13
mov rdi, r15
cmp qword [r15 + 0x18], 0xf
jbe 0x14009c37c
mov rdi, qword [r15]
mov r14, qword [r15 + 0x10]
cmp r14, rax
ja 0x14009c957
cmp r14, 0xf
ja 0x14009c3ad
mov qword [rbp + 0x10], r14
mov esi, reloc.WS2_32.dll_ntohs
mov qword [rbp + 0x18], rsi
movups xmm0, xmmword [rdi]
movups xmmword [rbp], xmm0
movq rbx, xmm0
jmp 0x14009c431
mov rsi, r14
or rsi, 0xf
cmp rsi, rax
jbe 0x14009c3c2
mov rsi, rax
lea rax, [rcx + 0x27]
jmp 0x14009c3e4
cmp rsi, 0x16
cmovb rsi, rdx
lea rcx, [rsi + 1]
cmp rcx, 0x1000
jb 0x14009c403
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x14009c951
mov rcx, rax
call fcn.14010df60
test rax, rax
je 0x14009c4ce
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x14009c415
test rcx, rcx
je 0x14009c412
call fcn.14010df60
mov rbx, rax
jmp 0x14009c415
mov rbx, r13
mov qword [rbp], rbx
mov qword [rbp + 0x10], r14
mov qword [rbp + 0x18], rsi
lea r8, [r14 + 1]
mov rdx, rdi
mov rcx, rbx
call sub.VCRUNTIME140.dll_memcpy
nop
lea r9, [rbp]
cmp rsi, 0xf
cmova r9, rbx
mov rax, qword [rbp + 0x38]
cmp r14, rax
ja 0x14009c46c
lea rdi, [rbp + 0x20]
cmp rax, 0xf
cmova rdi, qword [rbp + 0x20]
mov qword [rbp + 0x30], r14
mov r8, r14
mov rdx, r9
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [rdi + r14], 0
jmp 0x14009c483
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp + 0x20]
call fcn.14001d260
mov rsi, qword [rbp + 0x18]
mov rbx, qword [rbp]
cmp rsi, 0xf
jbe 0x14009c4b6
lea rdx, [rsi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14009c4ae
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009c4ce
mov rcx, rbx
call fcn.14010df9c
add r15, 0x20
cmp r15, r12
je 0x14009c4d5
movabs rax, 0x7fffffffffffffff
jmp 0x14009c351
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
lea rsi, str.Ruby_Proxy
lea rcx, [rbp + 0x20]
mov rbx, qword [rbp + 0x20]
mov rdi, qword [rbp + 0x38]
cmp rdi, 0xf
cmova rcx, rbx
mov r8, qword [rbp + 0x30]
cmp r8, 4
jne 0x14009c510
lea rdx, [0x14012b638]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14009c510
mov byte [0x14016b4e6], al
mov edx, 0xa
lea rcx, str.Ruby_Premium_Proxy_n
call fcn.1400a0010
xor r9d, r9d
lea r8d, [r9 + 1]
lea rdx, [rbp + 0x80]
lea rcx, str.1221313131311
call fcn.1400a8960
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rsp + 0x60], xmm0
movups xmmword [rsp + 0x70], xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
movups xmmword [rbp - 0x40], xmm0
movups xmmword [rbp - 0x30], xmm0
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
lea rax, str.Plan:Premium_User
mov qword [rsp + 0x68], rax
mov qword [rsp + 0x60], rsi
call sub.MSVCP140.dll__Xtime_get_ticks
mov rcx, rax
movabs rax, 0xd6bf94d5e57a42bd
imul rcx
add rdx, rcx
sar rdx, 0x17
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0x70], rdx
mov qword [rsp + 0x78], r13
lea rax, [0x140128654]
mov qword [rbp - 0x80], rax
mov qword [rbp - 0x78], rax
mov qword [rbp - 0x70], rax
lea rax, [0x14012b590]
mov qword [rbp - 0x68], rax
lea rax, str._Proxy_Discord
mov qword [rbp - 0x28], rax
lea rax, str.https:__discord.gg_Rubyproxy
mov qword [rbp - 0x20], rax
lea rcx, [rsp + 0x60]
call fcn.1400a8b90
call fcn.14008a550
mov ecx, 8
call fcn.14010df60
test rax, rax
je 0x14009c609
lea rcx, [0x14008b700]
mov qword [rax], rcx
jmp 0x14009c60c
mov rax, r13
mov qword [rbp], rax
lea rcx, [rbp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x14001c940]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x40], rax
test rax, rax
je 0x14009c942
mov ecx, 8
call fcn.14010df60
test rax, rax
je 0x14009c65a
lea rcx, [0x140035320]
mov qword [rax], rcx
jmp 0x14009c65d
mov rax, r13
mov qword [rbp], rax
lea rcx, [rsp + 0x48]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x14001c940]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x40], rax
test rax, rax
je 0x14009c932
cmp dword [rsp + 0x48], 0
je 0x14009c977
movaps xmm0, xmmword [rsp + 0x40]
movdqa xmmword [rbp], xmm0
lea rcx, [rbp]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x14009c977
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x40], xmm0
lea ecx, [rax + 8]
call fcn.14010df60
test rax, rax
je 0x14009c6da
lea rcx, [0x140070020]
mov qword [rax], rcx
jmp 0x14009c6dd
mov rax, r13
mov qword [rbp], rax
lea rcx, [rbp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], r13d
mov r9, rax
lea r8, [0x14001c940]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x50], rax
test rax, rax
je 0x14009c968
call fcn.140073ad0
cmp byte [0x14016b40d], 0
jne 0x14009c746
mov edx, 4
lea rcx, str.Failed_to_edit_Hosts_File_n
call fcn.1400a0010
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, 0xffffffff
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
call fcn.140044530
cmp dword [rbp + 0x48], 0
je 0x14009c95d
movaps xmm0, xmmword [rbp + 0x40]
movdqa xmmword [rbp], xmm0
lea rcx, [rbp]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x14009c95d
xorps xmm0, xmm0
movdqa xmmword [rbp + 0x40], xmm0
call fcn.140015500
mov rcx, qword [0x14016bc30]
call fcn.1400a62a0
mov rcx, qword [0x14016bc30]
call fcn.1400a5ab0
test al, al
je 0x14009c856
lea rcx, str.Color_0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.Color_0
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.Main_Settings_Loaded_n
call fcn.140015380
lea rdx, str.Server__client_proxy_is_running._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400162a0
lea rdx, str.You_can_now_connect_to_Growtopia_n_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.1400162a0
mov edx, reloc.WS2_32.dll_ntohl
lea rcx, str.If_Proxy_doesnt_connect_restart_Growtopia_n
call fcn.1400a0010
movabs rdi, 0x7fffffffffb3b4bf
movabs rbx, 0x7fffffffffffffff
nop dword [rax]
mov rcx, qword [0x14016bc30]
call fcn.1400a4080
lea rcx, [rbp]
call fcn.140077c10
mov rax, qword [rbp]
cmp rax, rdi
jge 0x14009c845
add rax, 0x4c4b40
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x40]
call fcn.140025ac0
jmp 0x14009c810
mov qword [rsp + 0x40], rbx
lea rcx, [rsp + 0x40]
call fcn.140025ac0
jmp 0x14009c810
mov edx, 4
lea rcx, str.Failed_to_start_server_or_proxy._n
call fcn.1400a0010
nop
cmp dword [rbp + 0x58], 0
je 0x14009c875
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rbp + 0x48], 0
je 0x14009c882
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp rdi, 0xf
jbe 0x14009c8bd
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14009c8b4
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009c8b4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.14010df9c
nop
mov rdx, qword [rbp + 0x78]
cmp rdx, 0xf
jbe 0x14009c8fb
inc rdx
mov rcx, qword [rbp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009c8f6
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14009c8f6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.14010df9c
xor eax, eax
mov rcx, qword [rbp + 0xb0]
xor rcx, rsp
call fcn.14010e0b0
lea r11, [rsp + 0x1d0]
mov rbx, qword [r11 + 0x30]
mov rsi, qword [r11 + 0x38]
mov rdi, qword [r11 + 0x40]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rsp + 0x48], r13d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rbp + 0x48], r13d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
call fcn.14000c440
int3
call fcn.14000c460
nop
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rbp + 0x58], r13d
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3