Function at 0x140077c50
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
lea rbp, [rax - 0x5f]
sub rsp, 0x100
movaps xmmword [rax - 0x18], xmm6
movaps xmmword [rax - 0x28], xmm7
mov rax, qword [0x140120600]
xor rax, rsp
mov qword [rbp + 0x27], rax
xor esi, esi
mov edx, 1
lea rcx, [0x14006afe0]
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 xmm3, xmmword [0x1400f5b80]
movups xmmword [rbp - 0x69], xmm3
movdqa xmm7, xmmword [0x1400f63c0]
mov ebx, dword [reloc.WS2_32.dll_accept]
movdqa xmm0, xmm3
psrldq xmm0, 0xf
movd eax, xmm0
test al, al
je 0x140077ec2
mov r8d, esi
cmp ebx, 2
jl 0x140077e8a
movdqa xmm4, xmmword [0x1400f63e0]
movdqa xmm5, xmmword [str.9999]
movdqa xmm6, xmmword [0x1400f63d0]
movdqa xmm2, xmmword [0x1400f6370]
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, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd eax, xmm3
movd xmm0, eax
xorps xmm2, xmm0
movd dword [rbp - 0x69], xmm2
movdqa xmm2, xmmword [0x1400f6380]
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, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [rbp - 0x65]
xorps xmm2, xmm0
movd dword [rbp - 0x65], xmm2
movdqa xmm3, xmmword [0x1400f6390]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
paddb xmm3, xmm6
movd xmm0, dword [rbp - 0x61]
xorps xmm3, xmm0
movd dword [rbp - 0x61], xmm3
movdqa xmm2, xmmword [0x1400f63a0]
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, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
paddb xmm2, xmm6
movd xmm0, dword [rbp - 0x5d]
xorps xmm2, xmm0
movd dword [rbp - 0x5d], xmm2
jmp 0x140077ec2
lea r9, [rbp - 0x69]
nop
mov eax, 0x1f7047dd
mul r8d
mov eax, r8d
sub eax, edx
shr eax, 1
add eax, edx
shr eax, 5
movsx eax, al
imul ecx, eax, 0x39
movzx eax, r8b
sub al, cl
add al, 0x36
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x140077e90
lea rdx, [rbp - 0x69]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000cc90
lea rcx, [0x140124e10]
call fcn.140086c10
cmp byte [0x140125028], sil
jne 0x140077f5b
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x79]
call fcn.14006aaf0
movzx ecx, byte [rax + 0xa]
test cl, cl
je 0x140077f29
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.14000cc90
mov rcx, rax
lea rdx, [0x140125030]
call fcn.14000ca30
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.140084000
test al, al
je 0x140077f72
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea rcx, [0x1400f5be4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
movups xmmword [rbp + 7], xmm0
movdqa xmm1, xmmword [0x1400ec820]
movdqu xmmword [rbp + 0x17], xmm1
mov byte [rbp + 7], sil
movups xmm6, xmmword [0x1400f5ba0]
movups xmmword [rbp - 0x59], xmm6
movzx eax, word [0x1400f5bb0]
mov word [rbp - 0x49], ax
movzx eax, byte [0x1400f5bb2]
mov byte [rbp - 0x47], al
mov ecx, esi
cmp ebx, 2
jl 0x140078174
movdqa xmm4, xmmword [0x1400f63e0]
movdqa xmm5, xmmword [str.9999]
movdqa xmm3, xmmword [0x1400f6370]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
mov ecx, dword [0x1400f63d0]
movd xmm0, ecx
paddb xmm3, xmm0
movd eax, xmm6
movd xmm0, eax
xorps xmm3, xmm0
movd dword [rbp - 0x59], xmm3
movdqa xmm2, xmmword [0x1400f6380]
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, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x55]
xorps xmm2, xmm1
movd dword [rbp - 0x55], xmm2
movdqa xmm3, xmmword [0x1400f6390]
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, xmm5
psubd xmm3, xmm0
andps xmm3, xmm7
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd xmm0, ecx
paddb xmm3, xmm0
movd xmm1, dword [rbp - 0x51]
xorps xmm3, xmm1
movd dword [rbp - 0x51], xmm3
movdqa xmm2, xmmword [0x1400f63a0]
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, xmm5
psubd xmm2, xmm0
andps xmm2, xmm7
packuswb xmm2, xmm2
packuswb xmm2, xmm2
movd xmm0, ecx
paddb xmm2, xmm0
movd xmm1, dword [rbp - 0x4d]
xorps xmm2, xmm1
movd dword [rbp - 0x4d], xmm2
mov ecx, reloc.WS2_32.dll_recv
mov eax, ecx
lea r8, [rbp - 0x59]
add r8, rax
nop dword [rax]
mov eax, 0x8fb823ef
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x39
movzx eax, cl
sub al, dl
add al, 0x36
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x13
jl 0x140078180
lea rdx, [rbp - 0x59]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.14000cc90
lea rdx, [rbp + 7]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140063a70
lea rdx, [rbp + 7]
lea rcx, [rbp - 0x29]
call fcn.14001a330
mov rdx, rax
lea rcx, [0x140124e10]
call fcn.140088200
cmp byte [0x140125028], 0
jne 0x140078267
lea rdx, [rbp - 0x69]
lea rcx, [rbp - 0x79]
call fcn.14006a930
movzx ecx, byte [rax + 0xa]
test cl, cl
je 0x140078235
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.14000cc90
mov rcx, rax
lea rdx, [0x140125030]
call fcn.14000ca30
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, [0x1400f5be4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
xorps xmm0, xmm0
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rsi
mov qword [rbp - 0x11], rsi
xor r8d, r8d
lea rdx, [0x1400ec855]
lea rcx, [rbp - 0x29]
call fcn.14000df10
nop
mov rbx, qword [0x140124ff0]
mov rdi, qword [0x140124ff8]
cmp rbx, rdi
je 0x140078319
nop word [rax + rax]
mov rdx, rbx
lea rcx, [rbp - 0x59]
call fcn.14001a330
nop
lea rdx, [rbp - 0x59]
cmp qword [rbp - 0x41], 0xf
cmova rdx, qword [rbp - 0x59]
mov r8, qword [rbp - 0x49]
lea rcx, [rbp - 0x29]
call fcn.14002c9d0
nop
mov rdx, qword [rbp - 0x41]
cmp rdx, 0xf
jbe 0x140078310
inc rdx
mov rcx, qword [rbp - 0x59]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007830b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140078371
call fcn.1400db794
add rbx, 0x20
cmp rbx, rdi
jne 0x1400782b0
lea rcx, [rbp - 0x29]
mov rbx, qword [rbp - 0x29]
mov rdi, qword [rbp - 0x11]
cmp rdi, 0xf
cmova rcx, rbx
mov r8, qword [rbp - 0x19]
cmp r8, 4
jne 0x1400783d9
lea rdx, [0x1400f5be8]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x1400783d9
mov byte [0x140123d46], 1
mov ecx, 8
call fcn.1400db758
test rax, rax
je 0x140078378
lea rcx, [fcn.140045b70]
mov qword [rax], rcx
jmp 0x14007837b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rax, rsi
mov qword [rbp - 0x69], rax
lea rcx, [rbp - 0x51]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140064c70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x59], rax
test rax, rax
je 0x14007870c
cmp dword [rbp - 0x51], 0
je 0x140078701
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp - 0x69], xmm0
lea rcx, [rbp - 0x69]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x140078701
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x59], xmm0
mov edx, 0xa
lea rcx, str.KULO_Proxy_by_Ruzgar2714_n
call fcn.140063a40
call fcn.140074cb0
mov ecx, 8
call fcn.1400db758
test rax, rax
je 0x14007840a
lea rcx, [0x140075bb0]
mov qword [rax], rcx
jmp 0x14007840d
mov rax, rsi
mov qword [rbp - 0x69], rax
lea rcx, [rbp - 0x31]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140064c70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x39], rax
test rax, rax
je 0x1400786f3
mov ecx, 8
call fcn.1400db758
test rax, rax
je 0x14007845a
lea rcx, [0x14006ae90]
mov qword [rax], rcx
jmp 0x14007845d
mov rax, rsi
mov qword [rbp - 0x69], rax
lea rcx, [rbp - 0x51]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140064c70]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__beginthreadex]
mov qword [rbp - 0x59], rax
test rax, rax
je 0x1400786e5
cmp dword [rbp - 0x51], 0
je 0x140078733
movaps xmm0, xmmword [rbp - 0x59]
movdqa xmmword [rbp - 0x69], xmm0
lea rcx, [rbp - 0x69]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x140078733
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x59], xmm0
mov ecx, 8
call fcn.1400db758
test rax, rax
je 0x1400784d6
lea rcx, [0x14006e540]
mov qword [rax], rcx
jmp 0x1400784d9
mov rax, rsi
mov qword [rbp - 0x69], rax
lea rcx, [rbp - 1]
mov qword [rsp + 0x28], rcx
mov dword [rsp + 0x20], esi
mov r9, rax
lea r8, [0x140064c70]
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 0x140078725
call fcn.14006f0a0
cmp byte [0x140124969], 0
jne 0x140078541
mov edx, 4
lea rcx, str.Failed_to_edit_Hosts_File_n
call fcn.140063a40
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.140063a40
call fcn.140030b40
cmp dword [rbp - 0x31], 0
je 0x14007871a
movaps xmm0, xmmword [rbp - 0x39]
movdqa xmmword [rbp - 0x59], xmm0
lea rcx, [rbp - 0x59]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x14007871a
xorps xmm0, xmm0
movdqa xmmword [rbp - 0x39], xmm0
call fcn.14000c240
mov rcx, qword [0x140124c48]
call fcn.14007b810
mov rcx, qword [0x140124c48]
call fcn.14007b6e0
test al, al
je 0x14007860f
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.14000cc90
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.14000cc90
mov edx, reloc.WS2_32.dll_ntohl
lea rcx, str.If_Proxy_doesnt_connect_restart_Growtopia_n
call fcn.140063a40
nop dword [rax + rax]
mov rcx, qword [0x140124c48]
call fcn.14007ab00
mov qword [rbp - 0x69], 5
lea rcx, [rbp - 0x69]
call fcn.140018f30
jmp 0x1400785f0
mov edx, 4
lea rcx, str.Failed_to_start_server_or_proxy._n
call fcn.140063a40
nop
cmp dword [rbp - 1], 0
je 0x14007862e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rbp - 0x31], 0
je 0x14007863b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp rdi, 0xf
jbe 0x140078676
lea rdx, [rdi + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14007866d
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007866d
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400db794
nop
mov rdx, qword [rbp + 0x1f]
cmp rdx, 0xf
jbe 0x1400786b4
inc rdx
mov rcx, qword [rbp + 7]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400786af
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x1400786af
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400db794
xor eax, eax
mov rcx, qword [rbp + 0x27]
xor rcx, rsp
call fcn.1400db8b0
lea r11, [rsp + 0x100]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
mov rsp, r11
pop rbp
ret
mov dword [rbp - 0x51], esi
mov ecx, 6
call sub.MSVCP140.dll_void___cdecl_std::_Throw_Cpp_error_int_
nop
mov dword [rbp - 0x31], esi
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 - 0x51], esi
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 - 1], esi
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