Function at 0x140077c70
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], rdi
push rbp
lea rbp, [rax - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x18], xmm6
mov rax, qword [0x140120600]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor edi, edi
lea edx, [rdi + 1]
lea rcx, [0x14006b220]
call qword [sym.imp.KERNEL32.dll_SetConsoleCtrlHandler]
lea rcx, str.Color_2
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.finlar_Premium_proxy
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
movups xmm0, xmmword [0x1400f5a50]
movups xmmword [rbp - 0x29], xmm0
mov ebx, dword [reloc.WS2_32.dll_accept]
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x140077e63
cmp ebx, 2
jl 0x140077e27
movdqa xmm5, xmmword [0x1400f6230]
mov edx, edi
movdqa xmm4, xmmword [0x1400f6270]
movdqa xmm6, xmmword [str.3333]
movdqa xmm0, xmmword [str.2222222222222222]
movdqa xmmword [rbp - 0x39], xmm0
lea rcx, [rbp - 0x25]
mov r8d, dword [rbp - 0x39]
nop
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x1400f6250]
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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x1400f6250]
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 0x140077d20
jmp 0x140077e63
lea r9, [rbp - 0x29]
mov r8d, edi
nop
mov eax, 0xa0a0a0a1
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x33
movzx eax, r8b
sub al, cl
add al, 0x32
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x140077e30
lea rdx, [rbp - 0x29]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000d1f0
lea rcx, [0x140124e10]
call fcn.1400869e0
cmp byte [0x140125028], dil
jne 0x140077efc
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x49]
call fcn.14006ad20
movzx ecx, byte [rax + 0xa]
test cl, cl
je 0x140077eca
xor byte [rax], 0x32
xor byte [rax + 1], 0x33
xor byte [rax + 2], 0x34
xor byte [rax + 3], 0x35
xor byte [rax + 4], 0x36
xor byte [rax + 5], 0x37
xor byte [rax + 6], 0x38
xor byte [rax + 7], 0x39
xor byte [rax + 8], 0x3a
xor byte [rax + 9], 0x3b
xor cl, 0x3c
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.14000d1f0
mov rcx, rax
lea rdx, [0x140125030]
call fcn.14000cf90
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, [0x140124e10]
call fcn.140083dd0
test al, al
je 0x140077f13
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea rcx, [0x1400f5ab8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
movups xmmword [rbp + 0x17], xmm0
movdqa xmm1, xmmword [0x1400ec840]
movdqu xmmword [rbp + 0x27], xmm1
mov byte [rbp + 0x17], dil
movups xmm0, xmmword [0x1400f5a70]
movups xmmword [rbp - 0x29], xmm0
movzx eax, word [0x1400f5a80]
mov word [rbp - 0x19], ax
movzx eax, byte [0x1400f5a82]
mov byte [rbp - 0x17], al
mov ecx, edi
cmp ebx, 2
jl 0x14007809a
movdqa xmm5, xmmword [0x1400f6230]
movdqa xmm4, xmmword [0x1400f6270]
movdqa xmm6, xmmword [str.3333]
movdqa xmm0, xmmword [str.2222222222222222]
movdqa xmmword [rbp - 0x39], xmm0
lea rdx, [rbp - 0x25]
mov r8d, dword [rbp - 0x39]
movd xmm2, ecx
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
paddd xmm1, xmm2
psrad xmm1, 5
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 [0x1400f6250]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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
paddd xmm1, xmm3
psrad xmm1, 5
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 [0x1400f6250]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x10
jl 0x140077f90
cmp ecx, 0x13
jge 0x1400780de
movsxd rax, ecx
lea r8, [rbp - 0x29]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0xa0a0a0a1
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x33
movzx eax, cl
sub al, dl
add al, 0x32
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x13
jl 0x1400780b0
lea rdx, [rbp - 0x29]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000d1f0
lea rdx, [rbp + 0x17]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140063c30
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x29]
call fcn.14001a620
mov rdx, rax
lea rcx, [0x140124e10]
call fcn.140087fd0
cmp byte [0x140125028], 0
jne 0x140078197
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x49]
call fcn.14006ab60
movzx ecx, byte [rax + 0xa]
test cl, cl
je 0x140078165
xor byte [rax], 0x32
xor byte [rax + 1], 0x33
xor byte [rax + 2], 0x34
xor byte [rax + 3], 0x35
xor byte [rax + 4], 0x36
xor byte [rax + 5], 0x37
xor byte [rax + 6], 0x38
xor byte [rax + 7], 0x39
xor byte [rax + 8], 0x3a
xor byte [rax + 9], 0x3b
xor cl, 0x3c
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.14000d1f0
mov rcx, rax
lea rdx, [0x140125030]
call fcn.14000cf90
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, [0x1400f5ab8]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
mov edx, 0xa
lea rcx, str.finlar_Premium_Proxy_by_Handykas_n
call fcn.140063c00
call fcn.140074ce0
mov ecx, 8
call fcn.1400db528
test rax, rax
je 0x1400781d5
lea rcx, [0x140075c00]
mov qword [rax], rcx
jmp 0x1400781d8
mov rax, rdi
mov qword [rbp - 0x39], rax
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140064ea0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 9], rax
test rax, rax
je 0x14007845f
mov ecx, 8
call fcn.1400db528
test rax, rax
je 0x140078225
lea rcx, [0x14006b0d0]
mov qword [rax], rcx
jmp 0x140078228
mov rax, rdi
mov qword [rbp - 0x39], rax
lea rcx, [rbp - 0x21]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140064ea0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x29], rax
test rax, rax
je 0x140078451
lea rcx, [rbp - 0x29]
call fcn.1400326e0
nop
cmp dword [rbp - 0x21], 0
je 0x140078271
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
int3
mov ecx, 8
call fcn.1400db528
test rax, rax
je 0x14007828c
lea rcx, [0x14006e7e0]
mov qword [rax], rcx
jmp 0x14007828f
mov rax, rdi
mov qword [rbp - 0x39], rax
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], edi
mov r9, rax
lea r8, [0x140064ea0]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp + 7], rax
test rax, rax
je 0x140078478
call fcn.14006f370
cmp byte [0x140124969], 0
jne 0x1400782f7
mov edx, 4
lea rcx, str.Failed_to_edit_Hosts_File_n
call fcn.140063c00
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.Successfully_edited_Hosts_file_n
call fcn.140063c00
call fcn.140030dc0
cmp dword [rbp - 1], 0
je 0x14007846d
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 0x29], xmm0
lea rcx, [rbp - 0x29]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x14007846d
xorps xmm0, xmm0
movdqa xmmword [rbp - 9], xmm0
call fcn.14000c780
mov rcx, qword [0x140124c48]
call fcn.14007b5b0
mov rcx, qword [0x140124c48]
call fcn.14007b490
test al, al
je 0x1400783bf
lea rcx, str.Color_2
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.14000d1f0
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.14000d1f0
mov edx, reloc.WS2_32.dll_ntohl
lea rcx, str.If_Proxy_doesnt_connect_restart_Growtopia_n
call fcn.140063c00
nop
mov rcx, qword [0x140124c48]
call fcn.14007a8b0
mov qword [rbp - 0x39], 5
lea rcx, [rbp - 0x39]
call fcn.140019240
jmp 0x1400783a0
mov edx, 4
lea rcx, str.Failed_to_start_server_or_proxy._n
call fcn.140063c00
nop
cmp dword [rbp + 0xf], 0
je 0x1400783de
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rbp - 1], 0
je 0x1400783eb
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x140078429
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140078424
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140078424
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400db564
xor eax, eax
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400db680
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop rbp
ret
mov dword [rbp - 0x21], edi
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rbp - 1], 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 + 0xf], edi
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3