Function at 0x140001290
Capabilities:
Encode data using xor
Execute command

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 - 0x5f]
sub rsp, 0xd0
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
movaps xmmword [rax - 0x58], xmm8
mov rax, qword [0x140006010]
xor rax, rsp
mov qword [rbp - 9], rax
xorps xmm0, xmm0
movups xmmword [rbp - 0x49], xmm0
xor ebx, ebx
mov qword [rbp - 0x39], rbx
mov qword [rbp - 0x31], 0xf
mov byte [rbp - 0x49], bl
movups xmmword [rbp - 0x29], xmm0
mov qword [rbp - 0x19], rbx
mov qword [rbp - 0x11], 0xf
mov byte [rbp - 0x29], bl
movups xmm0, xmmword [0x140004430]
movups xmmword [rbp - 0x69], xmm0
movzx eax, byte [0x140004440]
mov byte [rbp - 0x59], al
mov r8d, ebx
lea edi, [rbx + 0x1f]
lea r13d, [rbx + 1]
mov r12d, dword [0x140006020]
cmp r12d, 2
jl 0x140001467
movdqa xmm5, xmmword [0x1400044b0]
movdqa xmm4, xmmword [0x1400044e0]
movd xmm6, r13d
movdqa xmm7, xmmword [str.7777]
movd xmm8, edi
movdqa xmm0, xmmword [0x1400044f0]
movdqa xmmword [rbp - 0x79], xmm0
lea rcx, [rbp - 0x65]
mov edx, dword [rbp - 0x79]
nop
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
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 [0x1400044d0]
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
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 [0x1400044d0]
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 0x140001360
cmp r8d, 0x11
jge 0x1400014a0
movsxd rax, r8d
lea r9, [rbp - 0x69]
add r9, rax
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x11
jl 0x140001471
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.140001b40
lea rdx, [rbp - 0x49]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140001d10
movups xmm0, xmmword [str.TOYO]
movups xmmword [rbp - 0x69], xmm0
movzx eax, byte [0x140004478]
mov byte [rbp - 0x59], al
mov r8d, ebx
cmp r12d, 2
jl 0x140001627
movdqa xmm5, xmmword [0x1400044b0]
movdqa xmm4, xmmword [0x1400044e0]
movd xmm6, r13d
movdqa xmm7, xmmword [str.7777]
movd xmm8, edi
movdqa xmm0, xmmword [0x1400044f0]
movdqa xmmword [rbp - 0x79], xmm0
lea rcx, [rbp - 0x65]
mov edx, dword [rbp - 0x79]
nop dword [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
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 [0x1400044d0]
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
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 [0x1400044d0]
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 0x140001520
cmp r8d, 0x11
jge 0x140001660
movsxd rax, r8d
lea r9, [rbp - 0x69]
add r9, rax
mov eax, 0x94f2095
imul r8d
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, r8b
sub al, cl
add al, 0x39
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x11
jl 0x140001631
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.140001b40
lea rdx, [rbp - 0x29]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call fcn.140001d10
lea rcx, [rbp - 0x49]
mov rdi, qword [rbp - 0x49]
mov r15, qword [rbp - 0x31]
cmp r15, 0x10
cmovae rcx, rdi
mov r14, qword [rbp - 0x11]
mov rsi, qword [rbp - 0x29]
mov r8, qword [rbp - 0x39]
cmp r8, 5
jne 0x140001742
lea rdx, str.admin
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140001742
lea rcx, [rbp - 0x29]
cmp r14, 0x10
cmovae rcx, rsi
mov r8, qword [rbp - 0x19]
cmp r8, 6
jne 0x140001742
lea rdx, str.C0pl3x
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
jne 0x140001742
movsd xmm0, qword [0x1400044a0]
movsd qword [rbp - 0x79], xmm0
movzx ecx, word [0x1400044a8]
mov word [rbp - 0x71], cx
movzx eax, byte [0x1400044aa]
mov byte [rbp - 0x79], 0x59
xor byte [rbp - 0x78], 0x3a
xor byte [rbp - 0x77], 0x3b
xor byte [rbp - 0x76], 0x3c
xor byte [rbp - 0x75], 0x3d
xor byte [rbp - 0x74], 0x3e
xor byte [rbp - 0x73], 0x3f
xor byte [rbp - 0x72], 0x40
xor cl, 0x41
mov byte [rbp - 0x71], cl
xor byte [rbp - 0x70], 0x42
xor al, 0x43
mov byte [rbp - 0x6f], al
lea rdx, [rbp - 0x79]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
jmp 0x140001906
movups xmm0, xmmword [0x140004480]
movups xmmword [rbp - 0x69], xmm0
movsd xmm0, qword [0x140004490]
movsd qword [rbp - 0x59], xmm0
mov eax, dword [0x140004498]
mov dword [rbp - 0x51], eax
movzx eax, word [0x14000449c]
mov word [rbp - 0x4d], ax
cmp byte [0x14000449d], 0
je 0x1400018fb
cmp r12d, 2
jl 0x1400018c4
movdqa xmm5, xmmword [0x1400044b0]
movdqa xmm4, xmmword [0x1400044e0]
movd xmm6, r13d
movdqa xmm7, xmmword [str.7777]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [0x1400044f0]
movdqa xmmword [rbp - 0x79], xmm0
lea rcx, [rbp - 0x65]
mov edx, dword [rbp - 0x79]
movd xmm2, ebx
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, 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 [0x1400044d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [rbx + 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, 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 [0x1400044d0]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
pxor xmm2, xmm0
movd dword [rcx], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x18
jl 0x1400017c0
cmp eax, 0x1e
jge 0x1400018fb
movsxd rax, ebx
lea r8, [rbp - 0x69]
add r8, rax
nop
mov eax, 0x94f2095
imul ebx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x37
movzx eax, bl
sub al, cl
add al, 0x39
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x1e
jl 0x1400018d0
lea rdx, [rbp - 0x69]
mov rcx, qword [sym.imp.MSVCP140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cerr]
call fcn.140001b40
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
nop
cmp r14, 0x10
jb 0x140001954
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14000194b
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x14000194b
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.1400021bc
nop
cmp r15, 0x10
jb 0x14000198e
lea rdx, [r15 + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x140001986
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x140001986
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rdi
call fcn.1400021bc
xor eax, eax
mov rcx, qword [rbp - 9]
xor rcx, rsp
call fcn.140002160
lea r11, [rsp + 0xd0]
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