Function at 0x140077ee0
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, [0x14006b440]
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.KULO_Proxy
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
movups xmm0, xmmword [0x1400f5c30]
movups xmmword [rsp + 0x50], xmm0
lea esi, [rdi + 0x1f]
lea r15d, [rdi + 5]
mov ebx, dword [reloc.WS2_32.dll_accept]
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x140078113
cmp ebx, 2
jl 0x1400780c9
movdqa xmm5, xmmword [0x1400f6420]
mov edx, edi
movdqa xmm4, xmmword [0x1400f6460]
movd xmm6, r15d
movdqa xmm7, xmmword [str.8888]
movd xmm8, esi
movdqa xmm0, xmmword [str.4444444444444444]
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
paddd xmm1, xmm2
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
pand xmm2, xmmword [0x1400f6440]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor 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, 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
pand xmm2, xmmword [0x1400f6440]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add edx, 8
lea rcx, [rcx + 8]
cmp edx, 0x10
jl 0x140077fc0
jmp 0x140078113
lea r9, [rsp + 0x50]
mov r8d, edi
nop dword [rax]
nop word [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x1400780e0
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, [0x140124dd0]
call fcn.140086670
cmp byte [0x140124fe8], dil
jne 0x1400781af
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14006af60
movzx ecx, byte [rax + 0xa]
test cl, cl
je 0x14007817d
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 byte [rax + 9], 0x3d
xor cl, 0x3e
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, [0x140124ff0]
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, [0x140124dd0]
call fcn.140083a60
test al, al
je 0x1400781c6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea rcx, [0x1400f5c94]
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 [0x1400f5c50]
movups xmmword [rsp + 0x50], xmm0
movzx eax, word [0x1400f5c60]
mov word [rsp + 0x60], ax
movzx eax, byte [0x1400f5c62]
mov byte [rsp + 0x62], al
mov r8d, edi
cmp ebx, 2
jl 0x14007836f
movdqa xmm5, xmmword [0x1400f6420]
movdqa xmm4, xmmword [0x1400f6460]
movd xmm6, r15d
movdqa xmm7, xmmword [str.8888]
movd xmm8, esi
movdqa xmm0, xmmword [str.4444444444444444]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x54]
mov edx, dword [rsp + 0x40]
nop dword [rax]
nop word [rax + rax]
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
paddd xmm1, xmm2
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
pand xmm2, xmmword [0x1400f6440]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor 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
paddd xmm1, xmm3
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
pand xmm2, xmmword [0x1400f6440]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x10
jl 0x140078260
cmp r8d, 0x13
jge 0x1400783b3
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop word [rax + rax]
mov eax, 0x92492493
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x38
movzx eax, r8b
sub al, cl
add al, 0x34
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x13
jl 0x140078380
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.140063ed0
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.140019cf0
mov rdx, rax
lea rcx, [0x140124dd0]
call fcn.140087c60
cmp byte [0x140124fe8], 0
jne 0x140078470
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14006af90
movzx ecx, byte [rax + 0xa]
test cl, cl
je 0x14007843e
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 byte [rax + 9], 0x3d
xor cl, 0x3e
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, [0x140124ff0]
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, [0x1400f5c94]
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 [0x140124fb0]
mov r12, qword [0x140124fb8]
lea r14, [r13 - 0x10]
cmp rsi, r12
je 0x1400785d4
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 0x1400784e2
mov r15, qword [rsi]
mov rbx, qword [rsi + 0x10]
cmp rbx, rax
ja 0x1400789cf
cmp rbx, 0x10
jae 0x140078512
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 0x140078562
mov rdi, rbx
or rdi, 0xf
cmp rdi, rax
jbe 0x140078523
mov rdi, rax
jmp 0x14007852b
cmp rdi, 0x16
cmovb rdi, rcx
mov rdx, rdi
add rdx, 1
cmovb rdx, r14
lea rcx, [rsp + 0x50]
call fcn.1400059f0
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.14002c730
nop
mov rdx, qword [rsp + 0x68]
cmp rdx, 0x10
jb 0x1400785b5
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400785b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140078622
call fcn.1400db380
add rsi, 0x20
xor edi, edi
lea r14, [rdi - 1]
cmp rsi, r12
jne 0x1400784b4
mov r13, qword [rbp - 0x68]
mov r8, qword [rbp - 0x70]
lea r15d, [rdi + 5]
lea rcx, [rbp - 0x80]
mov rbx, qword [rbp - 0x80]
cmp r13, 0x10
cmovae rcx, rbx
cmp r8, 4
jne 0x140078692
lea rdx, [0x1400f5c98]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140078692
mov byte [0x140123d2c], 1
lea ecx, [rax + 8]
call fcn.1400db344
test rax, rax
je 0x140078629
lea rcx, [fcn.1400455b0]
mov qword [rax], rcx
jmp 0x14007862c
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, [0x140065030]
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 0x1400789e8
cmp dword [rsp + 0x58], 0
je 0x1400789d5
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x1400789e0
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov edx, 0xa
lea rcx, str.KULO_Proxy_by_Ruzgar2714_n
call fcn.140063ea0
call fcn.140074ec0
mov ecx, 8
call fcn.1400db344
test rax, rax
je 0x1400786c3
lea rcx, [0x140075da0]
mov qword [rax], rcx
jmp 0x1400786c6
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, [0x140065030]
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 0x1400789c0
mov ecx, 8
call fcn.1400db344
test rax, rax
je 0x140078716
lea rcx, [0x14006b2f0]
mov qword [rax], rcx
jmp 0x140078719
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, [0x140065030]
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 0x1400789b1
cmp dword [rsp + 0x58], 0
je 0x1400789f7
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x140078a02
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
lea ecx, [rax + 8]
call fcn.1400db344
test rax, rax
je 0x140078798
lea rcx, [0x14006e780]
mov qword [rax], rcx
jmp 0x14007879b
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, [0x140065030]
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 0x140078a1d
call fcn.14006f310
cmp byte [0x140124919], 0
jne 0x140078802
mov edx, 4
lea rcx, str.Failed_to_edit_Hosts_File_n
call fcn.140063ea0
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.140063ea0
call fcn.140030a10
cmp dword [rsp + 0x78], 0
je 0x140078a0a
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x140078a15
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
call fcn.14000c220
mov rcx, qword [0x140124bf8]
call fcn.14007bbf0
mov rcx, qword [0x140124bf8]
call fcn.14007bac0
test al, al
je 0x1400788cd
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.140063ea0
nop
mov rcx, qword [0x140124bf8]
call fcn.14007ae20
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x40]
call fcn.140018800
jmp 0x1400788b0
mov edx, 4
lea rcx, str.Failed_to_start_server_or_proxy._n
call fcn.140063ea0
nop
cmp dword [rbp - 0x58], 0
je 0x1400788ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rsp + 0x78], 0
je 0x1400788fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp r13, 0x10
jb 0x140078935
lea rdx, [r13 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14007892c
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007892c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400db380
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140078973
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007896e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007896e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400db380
xor eax, eax
mov rcx, qword [rbp - 0x30]
xor rcx, rsp
call fcn.1400db4a0
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.140003d30
nop
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_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_
int3
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
nop
mov ecx, 1
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3
mov ecx, eax
call sub.MSVCP140.dll_void___cdecl_std::_Throw_C_error_int_
nop
mov dword [rbp - 0x58], edi
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
int3