Function at 0x140077340
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 - 0xb8]
sub rsp, 0x190
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x14011e600]
xor rax, rsp
mov qword [rbp + 0x70], rax
xor ebx, ebx
lea edx, [rbx + 1]
lea rcx, [0x14006a8a0]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
lea rcx, str.Color_7
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.Nena__dsc.gg_nenaproxy
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
xor r9d, r9d
lea r8d, [rbx + 1]
lea rdx, [rbp + 0x40]
lea rcx, str.1241657404362592348
call sub.discord_rpc.dll_Discord_Initialize
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
movups xmmword [rbp - 0x70], xmm0
movups xmmword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x50], xmm0
lea rax, str.Currently_In_game
mov qword [rsp + 0x50], rax
lea rax, str.dsc.gg_nenaproxy
mov qword [rsp + 0x58], rax
lea rax, str.llogo
mov qword [rsp + 0x70], rax
lea rax, str.Nena__Proxy
mov qword [rsp + 0x78], rax
call sub.MSVCP140.dll__Xtime_get_ticks
mov rcx, rax
movabs rax, 0x346dc5d63886594b
imul rcx
sar rdx, 0xb
mov rax, rdx
shr rax, 0x3f
add rdx, rax
mov qword [rsp + 0x60], rdx
mov qword [rsp + 0x68], rbx
lea rcx, [rsp + 0x50]
call sub.discord_rpc.dll_Discord_UpdatePresence
movups xmm0, xmmword [0x1400f49e0]
movups xmmword [rbp - 0x40], xmm0
mov edi, dword [reloc.WS2_32.dll_accept]
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x1400775d0
cmp edi, 2
jl 0x140077590
movdqa xmm5, xmmword [0x1400f5210]
mov edx, ebx
movdqa xmm4, xmmword [0x1400f5260]
movdqa xmm6, xmmword [0x1400f5230]
movdqa xmm0, xmmword [str.6666666666666666]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rbp - 0x3c]
mov r8d, dword [rsp + 0x40]
movd xmm2, edx
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 [0x1400f5240]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rdx + 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 [0x1400f5240]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x10
jl 0x140077491
jmp 0x1400775d0
lea r9, [rbp - 0x40]
mov r8d, ebx
nop word [rax + 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, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x1400775a0
lea rdx, [rbp - 0x40]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000cc70
lea rcx, [0x140122e10]
call fcn.140086620
cmp byte [0x140123028], bl
jne 0x14007766a
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14006a000
movzx ecx, byte [rax + 0xa]
test cl, cl
je 0x140077638
xor byte [rax], 0x36
xor byte [rax + 1], 0x37
xor byte [rax + 2], 0x38
xor byte [rax + 3], 0x39
xor byte [rax + 4], 0x3a
xor byte [rax + 5], 0x3b
xor byte [rax + 6], 0x3c
xor byte [rax + 7], 0x3d
xor byte [rax + 8], 0x3e
xor byte [rax + 9], 0x3f
xor cl, 0x40
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.14000cc70
mov rcx, rax
lea rdx, [0x140123030]
call fcn.14000ca10
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, [0x140122e10]
call fcn.140083800
test al, al
je 0x140077681
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea rcx, [0x1400f4ab8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
movups xmmword [rbp + 0x20], xmm0
movdqa xmm1, xmmword [0x1400eb840]
movdqu xmmword [rbp + 0x30], xmm1
mov byte [rbp + 0x20], bl
mov rax, qword [0x1400f4a00]
mov qword [rsp + 0x40], rax
cmp byte [0x1400f4a07], 0
je 0x140077800
cmp edi, 2
jl 0x1400777c3
movdqa xmm4, xmmword [0x1400f5260]
movdqa xmm2, xmmword [0x1400f5210]
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, xmmword [0x1400f5230]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f5240]
packuswb xmm2, xmm2
mov eax, dword [str.6666666666666666]
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x40]
xorps xmm2, xmm1
movd dword [rsp + 0x40], xmm2
movdqa xmm3, xmmword [0x1400f5220]
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, xmmword [0x1400f5230]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f5240]
packuswb xmm2, xmm2
movd xmm0, eax
paddb xmm2, xmm0
movd xmm1, dword [rsp + 0x44]
xorps xmm2, xmm1
movd dword [rsp + 0x44], xmm2
jmp 0x140077800
lea r9, [rsp + 0x40]
mov r8d, ebx
nop dword [rax + 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, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 8
jl 0x1400777d0
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.14000cc70
lea rdx, [rbp + 0x20]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140063270
lea rdx, [rbp + 0x20]
lea rcx, [rbp - 0x10]
call fcn.14001a380
mov rdx, rax
lea rcx, [0x140122e10]
call fcn.140087c10
cmp byte [0x140123028], 0
jne 0x140077a5f
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140068e00
movzx ecx, byte [rax + 0xa]
test cl, cl
je 0x14007788e
xor byte [rax], 0x36
xor byte [rax + 1], 0x37
xor byte [rax + 2], 0x38
xor byte [rax + 3], 0x39
xor byte [rax + 4], 0x3a
xor byte [rax + 5], 0x3b
xor byte [rax + 6], 0x3c
xor byte [rax + 7], 0x3d
xor byte [rax + 8], 0x3e
xor byte [rax + 9], 0x3f
xor cl, 0x40
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.14000cc70
mov rcx, rax
lea rdx, [0x140123030]
call fcn.14000ca10
lea rdx, [rbp - 0x40]
lea rcx, [rsp + 0x30]
call fcn.140068e30
mov r9, rax
cmp byte [rax + 0x1d], 0
je 0x140077a3c
cmp edi, 2
jl 0x140077a02
movdqa xmm5, xmmword [0x1400f5210]
movdqa xmm4, xmmword [0x1400f5260]
movdqa xmm6, xmmword [0x1400f5230]
movdqa xmm0, xmmword [str.6666666666666666]
movdqa xmmword [rsp + 0x40], xmm0
mov rcx, rax
mov edx, dword [rsp + 0x40]
nop dword [rax]
movd xmm2, ebx
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 [0x1400f5240]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
lea eax, [rbx + 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 [0x1400f5240]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm2, xmm0
movd dword [rcx + 4], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x18
jl 0x140077900
cmp eax, 0x1e
jge 0x140077a3c
movsxd r8, ebx
add r8, r9
nop dword [rax + rax]
mov eax, 0x51eb851f
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, bl
sub al, cl
add al, 0x36
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x1e
jl 0x140077a10
mov rdx, r9
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000cc70
mov ecx, 0x2710
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, [0x1400f4ab8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
movups xmmword [rbp - 0x10], xmm0
mov qword [rbp], rbx
mov qword [rbp + 8], rbx
xor r8d, r8d
lea rdx, [0x1400eb875]
lea rcx, [rbp - 0x10]
call fcn.14000df10
nop
mov r12, qword [0x140122ff0]
mov r13, qword [0x140122ff8]
cmp r12, r13
je 0x140077b5b
nop word [rax + rax]
mov rdx, r12
lea rcx, [rbp - 0x40]
call fcn.14001a380
nop
lea r9, [rbp - 0x40]
mov rsi, qword [rbp - 0x40]
mov r15, qword [rbp - 0x28]
cmp r15, 0xf
cmova r9, rsi
mov r14, qword [rbp - 0x30]
mov rax, qword [rbp + 8]
cmp r14, rax
ja 0x140077b04
lea rdi, [rbp - 0x10]
cmp rax, 0xf
cmova rdi, qword [rbp - 0x10]
mov qword [rbp], r14
mov r8, r14
mov rdx, r9
mov rcx, rdi
call sub.VCRUNTIME140.dll_memmove
mov byte [r14 + rdi], 0
jmp 0x140077b1b
xor r8d, r8d
mov rdx, r14
lea rcx, [rbp - 0x10]
call fcn.140012010
mov r15, qword [rbp - 0x28]
mov rsi, qword [rbp - 0x40]
cmp r15, 0xf
jbe 0x140077b4e
lea rdx, [r15 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x140077b46
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140077b8c
mov rcx, rsi
call fcn.1400db1a8
add r12, 0x20
cmp r12, r13
jne 0x140077ab0
mov edx, reloc.WS2_32.dll_ntohs
lea rcx, str.Nena_Proxy_n
call fcn.140063240
call fcn.140074380
mov ecx, 8
call fcn.1400db16c
test rax, rax
je 0x140077b93
lea rcx, [0x1400752d0]
mov qword [rax], rcx
jmp 0x140077b96
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, rbx
mov qword [rsp + 0x40], rax
lea rcx, [rbp - 0x18]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x1400644e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x20], rax
test rax, rax
je 0x140077e80
mov ecx, 8
call fcn.1400db16c
test rax, rax
je 0x140077be4
lea rcx, [0x14006a750]
mov qword [rax], rcx
jmp 0x140077be7
mov rax, rbx
mov qword [rsp + 0x40], rax
lea rcx, [rbp - 0x38]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x1400644e0]
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 0x140077e72
cmp dword [rbp - 0x38], 0
je 0x140077ea7
movaps xmm0, xmmword [rbp - 0x40]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x140077ea7
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x40], xmm0
lea ecx, [rax + 8]
call fcn.1400db16c
test rax, rax
je 0x140077c61
lea rcx, [0x14006de60]
mov qword [rax], rcx
jmp 0x140077c64
mov rax, rbx
mov qword [rsp + 0x40], rax
lea rcx, [rbp + 0x18]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x1400644e0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 0x10], rax
test rax, rax
je 0x140077e99
call fcn.14006e9f0
cmp byte [0x14012296b], 0
jne 0x140077ccd
mov edx, 4
lea rcx, str.__Failed_to_edit_Hosts_File_n
call fcn.140063240
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
mov edx, 0xa
lea rcx, str.___Edited_hosts._n
call fcn.140063240
call fcn.140030d00
cmp dword [rbp - 0x18], 0
je 0x140077e8e
movaps xmm0, xmmword [rbp - 0x20]
movdqa xmmword [rbp - 0x40], xmm0
lea rcx, [rbp - 0x40]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x140077e8e
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x20], xmm0
call fcn.14000c220
mov rcx, qword [0x140122c48]
call fcn.14007afe0
mov rcx, qword [0x140122c48]
call fcn.14007aec0
test al, al
je 0x140077d95
lea rcx, str.Color_03
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rdx, str.___Enet_is_running._n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000cc70
lea rdx, str.___Ready_to_connect_Growtopia_n_n
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000cc70
mov edx, reloc.WS2_32.dll_ntohl
lea rcx, str.___If_Proxy_doesnt_connect_restart_Growtopia_n
call fcn.140063240
mov rcx, qword [0x140122c48]
call fcn.14007a2e0
mov qword [rsp + 0x40], 5
lea rcx, [rsp + 0x40]
call fcn.140018ff0
jmp 0x140077d74
mov edx, 4
lea rcx, str.Failed_to_start_server_or_proxy._n
call fcn.140063240
nop
cmp dword [rbp + 0x18], 0
je 0x140077db4
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rbp - 0x18], 0
je 0x140077dc1
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rdx, qword [rbp + 8]
cmp rdx, 0xf
jbe 0x140077e00
inc rdx
mov rcx, qword [rbp - 0x10]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077dfa
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140077dfa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400db1a8
nop
mov rdx, qword [rbp + 0x38]
cmp rdx, 0xf
jbe 0x140077e3e
inc rdx
mov rcx, qword [rbp + 0x20]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140077e39
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140077e39
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400db1a8
xor eax, eax
mov rcx, qword [rbp + 0x70]
xor rcx, rsp
call fcn.1400db2c0
lea r11, [rsp + 0x190]
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 [rbp - 0x38], ebx
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rbp - 0x18], ebx
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_
nop
mov dword [rbp + 0x18], ebx
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