Function at 0x140077cb0
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 - 0x38]
sub rsp, 0x110
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x1401205e8]
xor rax, rsp
mov qword [rbp - 0x30], rax
xor edi, edi
lea edx, [rdi + 1]
lea rcx, [0x14006ae30]
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 rcx, str.Rich_Proxy
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
movups xmm0, xmmword [0x1400f5c00]
movups xmmword [rsp + 0x50], xmm0
lea esi, [rdi + 0x1f]
lea r15d, [rdi + 4]
mov ebx, dword [reloc.WS2_32.dll_accept]
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x140077ed2
cmp ebx, 2
jl 0x140077e8d
movdqa xmm5, xmmword [0x1400f63f0]
mov edx, edi
movdqa xmm4, xmmword [0x1400f6430]
movd xmm6, r15d
movdqa xmm7, xmmword [str.6666]
movd xmm8, esi
movdqa xmm0, xmmword [str.6666666666666666]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x54]
mov r8d, dword [rsp + 0x40]
nop dword [rax]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f6410]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f6410]
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 0x140077d90
jmp 0x140077ed2
lea r9, [rsp + 0x50]
mov r8d, edi
nop word [rax + rax]
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x36
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x140077ea0
lea rdx, [rsp + 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000cc70
lea rcx, [0x140124dc0]
call fcn.140086420
cmp byte [0x140124fd8], dil
jne 0x140077f6e
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.1400691b0
movzx ecx, byte [rax + 0xa]
test cl, cl
je 0x140077f3c
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, [0x140124fe0]
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, [0x140124dc0]
call fcn.140083810
test al, al
je 0x140077f85
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea rcx, [0x1400f5c64]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
movups xmmword [rbp - 0x50], xmm0
movdqa xmm1, xmmword [0x1400ec840]
movdqu xmmword [rbp - 0x40], xmm1
mov byte [rbp - 0x50], dil
movups xmm0, xmmword [0x1400f5c20]
movups xmmword [rsp + 0x50], xmm0
movzx eax, word [0x1400f5c30]
mov word [rsp + 0x60], ax
movzx eax, byte [0x1400f5c32]
mov byte [rsp + 0x62], al
mov r8d, edi
cmp ebx, 2
jl 0x140078115
movdqa xmm5, xmmword [0x1400f63f0]
movdqa xmm4, xmmword [0x1400f6430]
movd xmm6, r15d
movdqa xmm7, xmmword [str.6666]
movd xmm8, esi
movdqa xmm0, xmmword [str.6666666666666666]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x40]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f6410]
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, xmm6
movdqa xmm0, xmm1
psrld xmm0, xmm8
paddd xmm0, xmm1
pmulld xmm0, xmm7
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400f6410]
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 0x140078012
cmp r8d, 0x13
jge 0x140078152
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
mov eax, 0x4bda12f7
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul ecx, eax, 0x36
add cl, r8b
xor byte [r9], cl
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x13
jl 0x140078120
lea rdx, [rsp + 0x50]
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 - 0x50]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140063930
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.140019cf0
mov rdx, rax
lea rcx, [0x140124dc0]
call fcn.140087a10
cmp byte [0x140124fd8], 0
jne 0x14007820f
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14006a930
movzx ecx, byte [rax + 0xa]
test cl, cl
je 0x1400781dd
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, [0x140124fe0]
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, [0x1400f5c64]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
movups xmmword [rbp - 0x80], xmm0
mov r8, rdi
mov qword [rbp - 0x70], rdi
mov r13d, reloc.WS2_32.dll_ntohs
mov qword [rbp - 0x68], r13
mov byte [rbp - 0x80], r8b
mov rsi, qword [0x140124fa0]
mov r12, qword [0x140124fa8]
lea r14, [r13 - 0x10]
cmp rsi, r12
je 0x140078373
mov ecx, reloc.WS2_32.dll_shutdown
movabs rax, 0x7fffffffffffffff
xorps xmm0, xmm0
movups xmmword [rsp + 0x50], xmm0
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x68], rdi
mov r15, rsi
cmp qword [rsi + 0x18], 0x10
jb 0x140078281
mov r15, qword [rsi]
mov rbx, qword [rsi + 0x10]
cmp rbx, rax
ja 0x140078771
cmp rbx, 0x10
jae 0x1400782b1
mov qword [rsp + 0x60], rbx
mov rdi, r13
mov qword [rsp + 0x68], r13
movups xmm0, xmmword [r15]
movups xmmword [rsp + 0x50], xmm0
movq r14, xmm0
jmp 0x140078301
mov rdi, rbx
or rdi, 0xf
cmp rdi, rax
jbe 0x1400782c2
mov rdi, rax
jmp 0x1400782ca
cmp rdi, 0x16
cmovb rdi, rcx
mov rdx, rdi
add rdx, 1
cmovb rdx, r14
lea rcx, [rsp + 0x50]
call fcn.1400059d0
mov r14, rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], rbx
mov qword [rsp + 0x68], rdi
lea r8, [rbx + 1]
mov rdx, r15
mov rcx, rax
call sub.VCRUNTIME140.dll_memcpy
nop
lea rdx, [rsp + 0x50]
cmp rdi, 0x10
cmovae rdx, r14
mov r8, rbx
lea rcx, [rbp - 0x80]
call fcn.14002c330
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x140078354
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007834f
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x1400783c1
call fcn.1400dafb0
add rsi, 0x20
xor edi, edi
lea r14, [rdi - 1]
cmp rsi, r12
jne 0x140078253
mov r13, qword [rbp - 0x68]
mov r8, qword [rbp - 0x70]
lea r15d, [rdi + 4]
lea rcx, [rbp - 0x80]
mov rbx, qword [rbp - 0x80]
cmp r13, 0x10
cmovae rcx, rbx
cmp r8, 4
jne 0x140078431
lea rdx, [0x1400f5c68]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140078431
mov byte [0x140123d2c], 1
lea ecx, [rax + 8]
call fcn.1400daf74
test rax, rax
je 0x1400783c8
lea rcx, [fcn.1400452e0]
mov qword [rax], rcx
jmp 0x1400783cb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, rdi
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140064a80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140078782
cmp dword [rsp + 0x58], 0
je 0x140078777
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x140078777
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov edx, 0xa
lea rcx, str.Rich_Proxy_by_Asunex3006_n
call fcn.140063900
call fcn.140074c70
mov ecx, 8
call fcn.1400daf74
test rax, rax
je 0x140078462
lea rcx, [0x140075b70]
mov qword [rax], rcx
jmp 0x140078465
mov rax, rdi
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x78]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140064a80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x70], rax
test rax, rax
je 0x140078762
mov ecx, 8
call fcn.1400daf74
test rax, rax
je 0x1400784b5
lea rcx, [0x14006ace0]
mov qword [rax], rcx
jmp 0x1400784b8
mov rax, rdi
mov qword [rsp + 0x40], rax
lea rcx, [rsp + 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140064a80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rsp + 0x50], rax
test rax, rax
je 0x140078753
cmp dword [rsp + 0x58], 0
je 0x1400787aa
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x1400787aa
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
lea ecx, [rax + 8]
call fcn.1400daf74
test rax, rax
je 0x140078537
lea rcx, [0x14006e530]
mov qword [rax], rcx
jmp 0x14007853a
mov rax, rdi
mov qword [rsp + 0x40], rax
lea rcx, [rbp - 0x58]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140064a80]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x60], rax
test rax, rax
je 0x14007879c
call fcn.14006f0d0
cmp byte [0x140124919], 0
jne 0x14007859f
mov edx, r15d
lea rcx, str.Failed_to_edit_Hosts_File_n
call fcn.140063900
mov ecx, 0x1388
call qword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, r14d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov edx, 0xa
lea rcx, str.Successfully_edited_Hosts_file_n
call fcn.140063900
call fcn.140030610
cmp dword [rsp + 0x78], 0
je 0x140078791
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x140078791
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
call fcn.14000c220
mov rcx, qword [0x140124bf8]
call fcn.14007b9a0
mov rcx, qword [0x140124bf8]
call fcn.14007b880
test al, al
je 0x140078671
lea rcx, str.Color_09
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
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.14000cc70
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.14000cc70
mov edx, reloc.WS2_32.dll_ntohl
lea rcx, str.If_Proxy_doesnt_connect_restart_Growtopia_n
call fcn.140063900
nop dword [rax + rax]
mov rcx, qword [0x140124bf8]
call fcn.14007abe0
mov qword [rsp + 0x40], 5
lea rcx, [rsp + 0x40]
call fcn.140018850
jmp 0x140078650
mov edx, r15d
lea rcx, str.Failed_to_start_server_or_proxy._n
call fcn.140063900
nop
cmp dword [rbp - 0x58], 0
je 0x14007868e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rsp + 0x78], 0
je 0x14007869c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp r13, 0x10
jb 0x1400786d7
lea rdx, [r13 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x1400786ce
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400786ce
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400dafb0
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140078715
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078710
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140078710
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dafb0
xor eax, eax
mov rcx, qword [rbp - 0x30]
xor rcx, rsp
call fcn.1400db0d0
lea r11, [rsp + 0x110]
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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
mov dword [rsp + 0x58], edi
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x78], edi
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
call fcn.140003d10
nop
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rsp + 0x58], edi
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 - 0x58], edi
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