Function at 0x140076850
Capabilities:
Create thread
Encode data using xor
Execute command
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 [0x14011d600]
xor rax, rsp
mov qword [rbp + 0x37], rax
xor ebx, ebx
lea rcx, [0x140121e20]
call fcn.1400853f0
cmp byte [0x140122038], bl
jne 0x1400768ff
lea rdx, [rbp - 0x39]
lea rcx, [rbp - 0x49]
call fcn.140066890
movzx ecx, byte [rax + 9]
test cl, cl
je 0x1400768cd
xor byte [rax], 0x34
xor byte [rax + 1], 0x35
xor byte [rax + 2], 0x36
xor byte [rax + 3], 0x37
xor byte [rax + 4], 0x38
xor byte [rax + 5], 0x39
xor byte [rax + 6], 0x3a
xor byte [rax + 7], 0x3b
xor byte [rax + 8], 0x3c
xor cl, 0x3d
mov byte [rax + 9], 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.14000cc50
mov rcx, rax
lea rdx, [0x140122040]
call fcn.14000c9f0
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, [0x140121e20]
call fcn.1400827e0
test al, al
je 0x140076916
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea rcx, [0x1400f34a4]
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 [0x1400ea840]
movdqu xmmword [rbp + 0x27], xmm1
mov byte [rbp + 0x17], bl
movups xmm0, xmmword [0x1400f3490]
movups xmmword [rbp - 0x29], xmm0
movzx eax, word [0x1400f34a0]
mov word [rbp - 0x19], ax
cmp byte [0x1400f34a1], 0
je 0x140076ade
mov ecx, ebx
cmp dword [reloc.WS2_32.dll_accept], 2
jl 0x140076aa2
movdqa xmm5, xmmword [0x1400f1480]
movdqa xmm4, xmmword [0x1400f3c10]
movdqa xmm6, xmmword [str.4444]
movdqa xmm0, xmmword [0x1400f3c00]
movdqa xmmword [rbp - 0x39], xmm0
lea rdx, [rbp - 0x25]
mov r8d, dword [rbp - 0x39]
nop dword [rax]
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
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 [0x1400f14f0]
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
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 [0x1400f14f0]
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 0x1400769a0
cmp ecx, 0x12
jge 0x140076ade
movsxd rax, ecx
lea r8, [rbp - 0x29]
add r8, rax
nop dword [rax]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
mov eax, 1
sub al, dl
movsx eax, al
imul edx, eax, 0x34
add dl, cl
xor byte [r8], dl
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x12
jl 0x140076ab0
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.14000cc50
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.140061010
lea rdx, [rbp + 0x17]
lea rcx, [rbp - 0x29]
call fcn.140019d40
mov rdx, rax
lea rcx, [0x140121e20]
call fcn.1400869e0
call fcn.1400735c0
mov ecx, 8
call fcn.1400d9f38
test rax, rax
je 0x140076b3a
lea rcx, [0x140074520]
mov qword [rax], rcx
jmp 0x140076b3d
mov rax, rbx
mov qword [rbp - 0x39], rax
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140062280]
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 0x140076e94
mov ecx, 8
call fcn.1400d9f38
test rax, rax
je 0x140076b8a
lea rcx, [0x140068170]
mov qword [rax], rcx
jmp 0x140076b8d
mov rax, rbx
mov qword [rbp - 0x39], rax
lea rcx, [rbp - 0x21]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140062280]
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 0x140076e86
cmp dword [rbp - 0x21], 0
je 0x140076ed4
movaps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x39], xmm0
lea rcx, [rbp - 0x39]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x140076ed4
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x29], xmm0
lea ecx, [rax + 8]
call fcn.1400d9f38
test rax, rax
je 0x140076c04
lea rcx, [0x14006cbd0]
mov qword [rax], rcx
jmp 0x140076c07
mov rax, rbx
mov qword [rbp - 0x39], rax
lea rcx, [rbp + 0xf]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140062280]
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 0x140076ec6
mov ecx, 8
call fcn.1400d9f38
test rax, rax
je 0x140076c54
lea rcx, [0x1400684f0]
mov qword [rax], rcx
jmp 0x140076c57
mov rax, rbx
mov qword [rbp - 0x39], rax
lea rcx, [rbp - 0x21]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], ebx
mov r9, rax
lea r8, [0x140062280]
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 0x140076eb8
cmp dword [rbp - 0x21], 0
je 0x140076ead
movaps xmm0, xmmword [rbp - 0x29]
movdqa xmmword [rbp - 0x39], xmm0
lea rcx, [rbp - 0x39]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x140076ead
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x29], xmm0
call fcn.14006db80
cmp byte [0x14012197a], 0
jne 0x140076ceb
mov edx, 4
lea rcx, str.Failed_to_edit_Hosts_File_n
call fcn.140060fe0
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.14002fa30
cmp dword [rbp - 1], 0
je 0x140076ea2
movaps xmm0, xmmword [rbp - 9]
movdqa xmmword [rbp - 0x39], xmm0
lea rcx, [rbp - 0x39]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x140076ea2
xorps xmm0, xmm0
movdqa xmmword [rbp - 9], xmm0
call fcn.14000c1f0
mov rcx, qword [0x140121c58]
call fcn.140079fc0
mov rcx, qword [0x140121c58]
call fcn.140079ea0
test al, al
je 0x140076df4
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.14005e940
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.14000cc50
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.14000cc50
mov edx, reloc.WS2_32.dll_ntohl
lea rcx, str.If_Proxy_doesnt_connect_restart_Growtopia_n
call fcn.140060fe0
movabs rdi, 0x7fffffffffb3b4bf
movabs rbx, 0x7fffffffffffffff
mov rcx, qword [0x140121c58]
call fcn.1400792c0
lea rcx, [rbp - 0x39]
call fcn.140046500
mov rax, qword [rbp - 0x39]
cmp rax, rdi
jge 0x140076de5
add rax, 0x4c4b40
mov qword [rbp - 0x29], rax
lea rcx, [rbp - 0x29]
call fcn.1400189d0
jmp 0x140076db2
mov qword [rbp - 0x29], rbx
lea rcx, [rbp - 0x29]
call fcn.1400189d0
jmp 0x140076db2
mov edx, 4
lea rcx, str.Failed_to_start_server_or_proxy._n
call fcn.140060fe0
nop
cmp dword [rbp + 0xf], 0
je 0x140076e13
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rbp - 1], 0
je 0x140076e20
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
mov rdx, qword [rbp + 0x2f]
cmp rdx, 0xf
jbe 0x140076e5e
inc rdx
mov rcx, qword [rbp + 0x17]
mov rax, rcx
cmp rdx, 0x1000
jb 0x140076e59
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140076e59
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400d9f74
xor eax, eax
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.1400da090
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], ebx
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rbp - 1], 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 ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rbp - 0x21], ebx
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rbp + 0xf], 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