Function at 0x140077b00
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, [0x14006ac80]
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 [0x1400f5af0]
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 0x140077d20
cmp ebx, 2
jl 0x140077cdd
movdqa xmm5, xmmword [0x1400f62e0]
mov edx, edi
movdqa xmm4, xmmword [0x1400f6320]
movd xmm6, r15d
movdqa xmm7, xmmword [str.5555]
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 [0x1400f6300]
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 [0x1400f6300]
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 0x140077be0
jmp 0x140077d20
lea r9, [rsp + 0x50]
mov r8d, edi
nop word [rax + rax]
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x140077cf0
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.140086270
cmp byte [0x140124fd8], dil
jne 0x140077dbc
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.140069000
movzx ecx, byte [rax + 0xa]
test cl, cl
je 0x140077d8a
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.140083660
test al, al
je 0x140077dd3
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea rcx, [0x1400f5b54]
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 [0x1400f5b10]
movups xmmword [rsp + 0x50], xmm0
movzx eax, word [0x1400f5b20]
mov word [rsp + 0x60], ax
movzx eax, byte [0x1400f5b22]
mov byte [rsp + 0x62], al
mov r8d, edi
cmp ebx, 2
jl 0x140077f63
movdqa xmm5, xmmword [0x1400f62e0]
movdqa xmm4, xmmword [0x1400f6320]
movd xmm6, r15d
movdqa xmm7, xmmword [str.5555]
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 [0x1400f6300]
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 [0x1400f6300]
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 0x140077e60
cmp r8d, 0x13
jge 0x140077fa0
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop
mov eax, 0x4d4873ed
imul r8d
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x35
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x13
jl 0x140077f70
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.140063780
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.140019cf0
mov rdx, rax
lea rcx, [0x140124dc0]
call fcn.140087860
cmp byte [0x140124fd8], 0
jne 0x14007805d
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14006a490
movzx ecx, byte [rax + 0xa]
test cl, cl
je 0x14007802b
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, [0x1400f5b54]
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 0x1400781c1
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 0x1400780cf
mov r15, qword [rsi]
mov rbx, qword [rsi + 0x10]
cmp rbx, rax
ja 0x1400785c1
cmp rbx, 0x10
jae 0x1400780ff
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 0x14007814f
mov rdi, rbx
or rdi, 0xf
cmp rdi, rax
jbe 0x140078110
mov rdi, rax
jmp 0x140078118
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 0x1400781a2
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007819d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14007820f
call fcn.1400dae00
add rsi, 0x20
xor edi, edi
lea r14, [rdi - 1]
cmp rsi, r12
jne 0x1400780a1
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 0x14007827f
lea rdx, [0x1400f5b58]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x14007827f
mov byte [0x140123d2c], 1
lea ecx, [rax + 8]
call fcn.1400dadc4
test rax, rax
je 0x140078216
lea rcx, [fcn.1400452e0]
mov qword [rax], rcx
jmp 0x140078219
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, [0x1400648d0]
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 0x1400785d2
cmp dword [rsp + 0x58], 0
je 0x1400785c7
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x1400785c7
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov edx, 0xa
lea rcx, str.Rich_Proxy_by_Asunex3006_n
call fcn.140063750
call fcn.140074ac0
mov ecx, 8
call fcn.1400dadc4
test rax, rax
je 0x1400782b0
lea rcx, [0x1400759c0]
mov qword [rax], rcx
jmp 0x1400782b3
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, [0x1400648d0]
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 0x1400785b2
mov ecx, 8
call fcn.1400dadc4
test rax, rax
je 0x140078303
lea rcx, [0x14006ab30]
mov qword [rax], rcx
jmp 0x140078306
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, [0x1400648d0]
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 0x1400785a3
cmp dword [rsp + 0x58], 0
je 0x1400785fa
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x1400785fa
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
lea ecx, [rax + 8]
call fcn.1400dadc4
test rax, rax
je 0x140078385
lea rcx, [0x14006e380]
mov qword [rax], rcx
jmp 0x140078388
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, [0x1400648d0]
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 0x1400785ec
call fcn.14006ef20
cmp byte [0x140124919], 0
jne 0x1400783ed
mov edx, r15d
lea rcx, str.Failed_to_edit_Hosts_File_n
call fcn.140063750
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.140063750
call fcn.140030610
cmp dword [rsp + 0x78], 0
je 0x1400785e1
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x1400785e1
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
call fcn.14000c220
mov rcx, qword [0x140124bf8]
call fcn.14007b7f0
mov rcx, qword [0x140124bf8]
call fcn.14007b6d0
test al, al
je 0x1400784c1
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.140063750
nop dword [rax]
mov rcx, qword [0x140124bf8]
call fcn.14007aa30
mov qword [rsp + 0x40], 5
lea rcx, [rsp + 0x40]
call fcn.140018850
jmp 0x1400784a0
mov edx, r15d
lea rcx, str.Failed_to_start_server_or_proxy._n
call fcn.140063750
nop
cmp dword [rbp - 0x58], 0
je 0x1400784de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rsp + 0x78], 0
je 0x1400784ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp r13, 0x10
jb 0x140078527
lea rdx, [r13 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14007851e
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007851e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400dae00
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140078565
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078560
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140078560
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dae00
xor eax, eax
mov rcx, qword [rbp - 0x30]
xor rcx, rsp
call fcn.1400daf20
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