Function at 0x7ff627a030b0
Capabilities:
Execute command
Get token membership
Set console window title

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 - 0x278]
sub rsp, 0x350
movaps xmmword [rax - 0x38], xmm6
movaps xmmword [rax - 0x48], xmm7
mov rax, qword [0x7ff627aa8040]
xor rax, rsp
mov qword [rbp + 0x220], rax
xor r15d, r15d
mov dword [rbp - 0x60], r15d
mov dword [rbp - 0x38], r15d
mov dword [rbp - 0x40], r15d
mov word [rbp - 0x3c], 0x500
lea rax, [rbp - 0x50]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], r15d
mov dword [rsp + 0x40], r15d
mov dword [rsp + 0x38], r15d
mov dword [rsp + 0x30], r15d
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
mov r9d, 0x220
lea r8d, [r15 + 0x20]
mov dl, 2
lea rcx, [rbp - 0x40]
call qword [sym.imp.advapi32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x7ff627a0315f
lea r8, [rbp - 0x38]
mov rdx, qword [rbp - 0x50]
xor ecx, ecx
call qword [sym.imp.advapi32.dll_CheckTokenMembership]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.advapi32.dll_FreeSid]
cmp dword [rbp - 0x38], r15d
jne 0x7ff627a03192
lea rdx, [0x7ff627a88f08]
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_ostream_char__struct_std::char_traits_char___std::cout]
call fcn.7ff627a03cc0
lea rdx, [0x7ff627a03e90]
mov rcx, rax
call qword [sym.imp.msvcp140.dll_public:_class_std::basic_istream_char__struct_std::char_traits_char______ptr64___cdecl_std::basic_istream_char__struct_std::char_traits_char__::operator___class_std::basic_istream_char__struct_std::char_traits_char______ptr64____cdecl___class_std::basic_istream_char__struct_std::char_traits_char______ptr64_____ptr64]
mov eax, 1
jmp 0x7ff627a036a8
mov dword [rsp + 0x30], 0x63
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, [r9 - 1]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.user32.dll_SetWindowPos]
mov dword [rbp - 0x40], r15d
mov dword [rbp - 0x3c], 0x13004f
lea r8, [rbp - 0x40]
mov edx, 1
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.kernel32.dll_SetConsoleWindowInfo]
xor r8d, r8d
lea edx, [r8 + 7]
mov rcx, qword [rbp - 0x50]
call qword [sym.imp.user32.dll_ShowScrollBar]
lea rcx, [0x7ff627a88f48]
call qword [sym.imp.ucrtbase.dll_system]
lea rcx, [0x7ff627a88f50]
call qword [sym.imp.kernel32.dll_SetConsoleTitleA]
call qword [sym.imp.kernel32.dll_GetConsoleWindow]
mov dword [rsp + 0x30], 3
mov dword [rsp + 0x28], r15d
mov dword [rsp + 0x20], r15d
xor r9d, r9d
xor r8d, r8d
lea rdx, [r9 - 1]
mov rcx, rax
call qword [sym.imp.user32.dll_SetWindowPos]
mov r8d, 0x104
lea rdx, [rbp + 0x110]
xor ecx, ecx
call qword [sym.imp.kernel32.dll_GetModuleFileNameA]
xorps xmm0, xmm0
movups xmmword [rbp - 0x30], xmm0
mov qword [rbp - 0x20], r15
mov qword [rbp - 0x18], r15
lea rax, [rbp + 0x110]
mov r8, 0xffffffffffffffff
nop
inc r8
cmp byte [rax + r8], r15b
jne 0x7ff627a03260
lea rdx, [rbp + 0x110]
lea rcx, [rbp - 0x30]
call fcn.7ff627a04190
nop
lea rbx, [rbp - 0x30]
mov rsi, qword [rbp - 0x30]
mov r14, qword [rbp - 0x18]
cmp r14, 0xf
cmova rbx, rsi
mov rdi, qword [rbp - 0x20]
test rdi, rdi
je 0x7ff627a03308
xor edx, edx
mov r8d, 0x100
lea rcx, [rbp + 0x10]
call sub.VCRUNTIME140.dll_memset
lea rcx, [0x7ff627a88f58]
lea rdx, [0x7ff627a88f5a]
nop word [rax + rax]
movzx eax, byte [rcx]
mov byte [rbp + rax + 0x10], 1
inc rcx
cmp rcx, rdx
jne 0x7ff627a032c0
lea rax, [rdi - 1]
mov r8, 0xffffffffffffffff
cmp rax, r8
cmovb r8, rax
add r8, rbx
movzx eax, byte [r8]
cmp byte [rbp + rax + 0x10], 0
jne 0x7ff627a03303
cmp r8, rbx
je 0x7ff627a03308
dec r8
movzx eax, byte [r8]
cmp byte [rbp + rax + 0x10], 0
je 0x7ff627a032f0
sub r8, rbx
jmp 0x7ff627a0330f
mov r8, 0xffffffffffffffff
xorps xmm0, xmm0
xorps xmm1, xmm1
cmp r8, 0xffffffffffffffff
je 0x7ff627a03359
movups xmmword [rsp + 0x60], xmm0
movdqu xmmword [rsp + 0x70], xmm1
cmp rdi, r8
cmovb r8, rdi
lea rdx, [rbp - 0x30]
cmp r14, 0xf
cmova rdx, rsi
lea rcx, [rsp + 0x60]
call fcn.7ff627a04190
lea rax, [rsp + 0x60]
mov edi, 0x21
lea rcx, [rsp + 0x70]
lea rdx, [rsp + 0x78]
jmp 0x7ff627a03386
movups xmmword [rbp - 0x80], xmm0
movdqu xmmword [rbp - 0x70], xmm1
xor r8d, r8d
lea rdx, [0x7ff627a88ec8]
lea rcx, [rbp - 0x80]
call fcn.7ff627a04190
lea rax, [rbp - 0x80]
mov edi, 2
lea rcx, [rbp - 0x70]
lea rdx, [rbp - 0x68]
movups xmm7, xmmword [rax]
movups xmmword [rbp - 0x10], xmm7
movups xmm6, xmmword [rax + 0x10]
movups xmmword [rbp], xmm6
mov qword [rcx], r15
mov ebx, 0xf
mov qword [rdx], rbx
mov byte [rax], 0
test dil, 2
je 0x7ff627a033ea
and edi, 0xfffffffd
mov rdx, qword [rbp - 0x68]
cmp rdx, rbx
jbe 0x7ff627a033ea
inc rdx
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff627a033e4
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff627a033e4
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff627a83324
nop
test dil, 1
je 0x7ff627a03430
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x7ff627a03430
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff627a0342b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff627a0342b
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff627a83324
movabs rcx, 0x7fffffffffffffff
mov rax, rcx
movq r15, xmm6
sub rax, r15
cmp rax, 8
jb 0x7ff627a036fd
lea r13, [rbp - 0x10]
movq rsi, xmm7
psrldq xmm6, 8
movq r14, xmm6
cmp r14, 0xf
cmova r13, rsi
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
xorps xmm1, xmm1
movdqu xmmword [rsp + 0x70], xmm1
lea r12, [r15 + 8]
lea rdi, [rsp + 0x60]
cmp r12, 0xf
jbe 0x7ff627a03504
mov rbx, r12
or rbx, 0xf
cmp rbx, rcx
jbe 0x7ff627a034c6
mov rbx, rcx
movabs rax, 0x8000000000000000
add rax, 0x27
mov rcx, rax
call fcn.7ff627a832e0
test rax, rax
je 0x7ff627a0360e
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x7ff627a034ff
mov eax, 0x16
cmp rbx, rax
cmovb rbx, rax
lea rcx, [rbx + 1]
cmp rcx, 0x1000
jb 0x7ff627a034ee
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x7ff627a036f7
jmp 0x7ff627a034a7
test rcx, rcx
je 0x7ff627a034fd
call fcn.7ff627a832e0
mov rdi, rax
jmp 0x7ff627a034ff
xor edi, edi
mov qword [rsp + 0x60], rdi
mov qword [rsp + 0x70], r12
mov qword [rsp + 0x78], rbx
mov r8, r15
mov rdx, r13
mov rcx, rdi
call sub.VCRUNTIME140.dll_memcpy
movabs rax, 0x736769666e6f635c
mov qword [r15 + rdi], rax
mov byte [rdi + r12], 0
mov rdi, qword [rsp + 0x70]
lea rbx, [rsp + 0x60]
cmp qword [rsp + 0x78], 0xf
cmova rbx, qword [rsp + 0x60]
call fcn.7ff627a82748
mov qword [rbp - 0x50], rbx
mov qword [rbp - 0x48], rdi
lea r8, [rbp - 0x50]
mov edx, eax
lea rcx, [rbp - 0x80]
call fcn.7ff627a02700
nop
lea rcx, [rbp - 0x80]
cmp qword [rbp - 0x68], 7
cmova rcx, qword [rbp - 0x80]
call fcn.7ff627a829a8
mov rdx, rax
shr rax, 0x20
test eax, eax
jne 0x7ff627a036e2
mov rdx, qword [rbp - 0x68]
cmp rdx, 7
jbe 0x7ff627a035c7
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x80]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff627a035c2
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff627a035c2
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff627a83324
movdqa xmm0, xmmword [0x7ff627a98780]
movdqu xmmword [rbp - 0x70], xmm0
xor eax, eax
mov word [rbp - 0x80], ax
mov rdx, qword [rsp + 0x78]
cmp rdx, 0xf
jbe 0x7ff627a0361a
inc rdx
mov rcx, qword [rsp + 0x60]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff627a03615
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff627a03615
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff627a83324
call fcn.7ff627a0c720
mov rcx, qword [sym.imp.msvcp140.dll_class_std::basic_istream_char__struct_std::char_traits_char___std::cin]
call qword [sym.imp.msvcp140.dll_public:_int___cdecl_std::basic_istream_char__struct_std::char_traits_char__::get_void____ptr64]
nop
cmp r14, 0xf
jbe 0x7ff627a03668
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x7ff627a0365f
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff627a0365f
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
mov rcx, rsi
call fcn.7ff627a83324
nop
mov rdx, qword [rbp - 0x18]
cmp rdx, 0xf
jbe 0x7ff627a036a6
inc rdx
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff627a036a1
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff627a036a1
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff627a83324
xor eax, eax
mov rcx, qword [rbp + 0x220]
xor rcx, rsp
call fcn.7ff627a832c0
lea r11, [rsp + 0x350]
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]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
shr rdx, 0x20
lea r8, [rbp - 0x80]
lea rcx, [0x7ff627a88ef0]
call fcn.7ff627a03040
nop
call fcn.7ff627a01fc0
int3
call fcn.7ff627a02060
int3