Function at 0x140077af0
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, [0x14006ac70]
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 [0x1400f5c00]
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 0x140077d13
cmp ebx, 2
jl 0x140077cd5
movdqa xmm5, xmmword [0x1400f63f0]
mov edx, edi
movdqa xmm4, xmmword [0x1400f6430]
movd xmm6, r15d
movdqa xmm7, xmmword [str.::::]
movd xmm8, esi
movdqa xmm0, xmmword [str.1111111111111111_t]
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
andps xmm2, xmmword [0x1400f6410]
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, 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 [0x1400f6410]
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 0x140077bd0
jmp 0x140077d13
lea r9, [rsp + 0x50]
mov r8d, edi
nop dword [rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x10
jl 0x140077ce0
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.140086280
cmp byte [0x140124fd8], dil
jne 0x140077daf
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14006a770
movzx ecx, byte [rax + 0xa]
test cl, cl
je 0x140077d7d
xor byte [rax], 0x31
xor byte [rax + 1], 0x32
xor byte [rax + 2], 0x33
xor byte [rax + 3], 0x34
xor byte [rax + 4], 0x35
xor byte [rax + 5], 0x36
xor byte [rax + 6], 0x37
xor byte [rax + 7], 0x38
xor byte [rax + 8], 0x39
xor byte [rax + 9], 0x3a
xor cl, 0x3b
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.140083670
test al, al
je 0x140077dc6
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_abort]
int3
lea rcx, [0x1400f5c64]
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 [0x1400f5c20]
movups xmmword [rsp + 0x50], xmm0
movzx eax, word [0x1400f5c30]
mov word [rsp + 0x60], ax
movzx eax, byte [0x1400f5c32]
mov byte [rsp + 0x62], al
mov r8d, edi
cmp ebx, 2
jl 0x140077f6b
movdqa xmm5, xmmword [0x1400f63f0]
movdqa xmm4, xmmword [0x1400f6430]
movd xmm6, r15d
movdqa xmm7, xmmword [str.::::]
movd xmm8, esi
movdqa xmm0, xmmword [str.1111111111111111_t]
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
andps xmm2, xmmword [0x1400f6410]
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
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
andps xmm2, xmmword [0x1400f6410]
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 0x140077fb3
movsxd rax, r8d
lea r9, [rsp + 0x50]
add r9, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x13
jl 0x140077f80
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.140063770
lea rdx, [rbp - 0x50]
lea rcx, [rsp + 0x50]
call fcn.140019cf0
mov rdx, rax
lea rcx, [0x140124dc0]
call fcn.140087870
cmp byte [0x140124fd8], 0
jne 0x140078070
lea rdx, [rsp + 0x40]
lea rcx, [rsp + 0x30]
call fcn.14006a280
movzx ecx, byte [rax + 0xa]
test cl, cl
je 0x14007803e
xor byte [rax], 0x31
xor byte [rax + 1], 0x32
xor byte [rax + 2], 0x33
xor byte [rax + 3], 0x34
xor byte [rax + 4], 0x35
xor byte [rax + 5], 0x36
xor byte [rax + 6], 0x37
xor byte [rax + 7], 0x38
xor byte [rax + 8], 0x39
xor byte [rax + 9], 0x3a
xor cl, 0x3b
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, [0x1400f5c64]
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 0x1400781d4
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 0x1400780e2
mov r15, qword [rsi]
mov rbx, qword [rsi + 0x10]
cmp rbx, rax
ja 0x1400785cf
cmp rbx, 0x10
jae 0x140078112
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 0x140078162
mov rdi, rbx
or rdi, 0xf
cmp rdi, rax
jbe 0x140078123
mov rdi, rax
jmp 0x14007812b
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 0x1400781b5
inc rdx
mov rcx, qword [rsp + 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x1400781b0
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x140078222
call fcn.1400dae10
add rsi, 0x20
xor edi, edi
lea r14, [rdi - 1]
cmp rsi, r12
jne 0x1400780b4
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 0x140078292
lea rdx, [0x1400f5c68]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140078292
mov byte [0x140123d2c], 1
lea ecx, [rax + 8]
call fcn.1400dadd4
test rax, rax
je 0x140078229
lea rcx, [fcn.1400452d0]
mov qword [rax], rcx
jmp 0x14007822c
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, [0x1400648c0]
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 0x1400785e0
cmp dword [rsp + 0x58], 0
je 0x1400785d5
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x1400785d5
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
mov edx, 0xa
lea rcx, str.KULO_Proxy_by_Ruzgar2714_n
call fcn.140063740
call fcn.140074ab0
mov ecx, 8
call fcn.1400dadd4
test rax, rax
je 0x1400782c3
lea rcx, [0x1400759b0]
mov qword [rax], rcx
jmp 0x1400782c6
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, [0x1400648c0]
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 0x1400785c0
mov ecx, 8
call fcn.1400dadd4
test rax, rax
je 0x140078316
lea rcx, [0x14006ab20]
mov qword [rax], rcx
jmp 0x140078319
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, [0x1400648c0]
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 0x1400785b1
cmp dword [rsp + 0x58], 0
je 0x140078608
movaps xmm0, xmmword [rsp + 0x50]
movdqa xmmword [rsp + 0x40], xmm0
lea rcx, [rsp + 0x40]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x140078608
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x50], xmm0
lea ecx, [rax + 8]
call fcn.1400dadd4
test rax, rax
je 0x140078398
lea rcx, [0x14006e370]
mov qword [rax], rcx
jmp 0x14007839b
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, [0x1400648c0]
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 0x1400785fa
call fcn.14006ef10
cmp byte [0x140124919], 0
jne 0x140078402
mov edx, 4
lea rcx, str.Failed_to_edit_Hosts_File_n
call fcn.140063740
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.140063740
call fcn.140030610
cmp dword [rsp + 0x78], 0
je 0x1400785ef
movaps xmm0, xmmword [rsp + 0x70]
movdqa xmmword [rsp + 0x50], xmm0
lea rcx, [rsp + 0x50]
call sub.MSVCP140.dll__Thrd_detach
test eax, eax
jne 0x1400785ef
xorps xmm0, xmm0
movdqa xmmword [rsp + 0x70], xmm0
call fcn.14000c220
mov rcx, qword [0x140124bf8]
call fcn.14007b800
mov rcx, qword [0x140124bf8]
call fcn.14007b6e0
test al, al
je 0x1400784cd
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.140063740
nop
mov rcx, qword [0x140124bf8]
call fcn.14007aa40
mov qword [rsp + 0x40], r15
lea rcx, [rsp + 0x40]
call fcn.140018850
jmp 0x1400784b0
mov edx, 4
lea rcx, str.Failed_to_start_server_or_proxy._n
call fcn.140063740
nop
cmp dword [rbp - 0x58], 0
je 0x1400784ec
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp dword [rsp + 0x78], 0
je 0x1400784fa
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_terminate]
nop
cmp r13, 0x10
jb 0x140078535
lea rdx, [r13 + 1]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14007852c
add rdx, 0x27
mov rbx, qword [rbx - 8]
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007852c
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rbx
call fcn.1400dae10
nop
mov rdx, qword [rbp - 0x38]
cmp rdx, 0x10
jb 0x140078573
inc rdx
mov rcx, qword [rbp - 0x50]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14007856e
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14007856e
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.1400dae10
xor eax, eax
mov rcx, qword [rbp - 0x30]
xor rcx, rsp
call fcn.1400daf30
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