Function at 0x140004c00
Capabilities:
Encode data using xor
Execute command
Get token membership
Set console window title

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xd0
mov rax, qword [0x14000f040]
xor rax, rsp
mov qword [rbp + 0x4f], rax
xor ebx, ebx
mov word [rbp + 0xf], 0x500
lea rax, [rbp + 0x17]
mov dword [rbp + 7], ebx
mov qword [rsp + 0x50], rax
lea rcx, [rbp + 0xb]
mov dword [rsp + 0x48], ebx
mov r9d, 0x220
mov dword [rsp + 0x40], ebx
lea r8d, [rbx + 0x20]
mov dword [rsp + 0x38], ebx
mov dl, 2
mov dword [rsp + 0x30], ebx
mov edi, ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov qword [rbp + 0x17], rbx
mov dword [rbp + 0xb], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x140004c88
mov rdx, qword [rbp + 0x17]
lea r8, [rbp + 7]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
jne 0x140004c90
call qword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
mov rcx, qword [rbp + 0x17]
test rcx, rcx
je 0x140004ca3
call qword [sym.imp.ADVAPI32.dll_FreeSid]
mov qword [rbp + 0x17], rbx
test edi, edi
jne 0x1400050fa
cmp dword [rbp + 7], ebx
jne 0x140004cd2
lea r9d, [rdi + 0x10]
xor ecx, ecx
lea r8, str.Multi_Exploit
lea rdx, str.The_program_is_not_running_as_administrator.
call qword [sym.imp.USER32.dll_MessageBoxA]
lea eax, [rdi - 1]
jmp 0x1400050d9
mov qword [rsp + 0xe0], rsi
call qword [sym.imp.KERNEL32.dll_GetConsoleWindow]
mov ecx, 0xfffffff5
mov rdi, rax
call qword [sym.imp.KERNEL32.dll_GetStdHandle]
mov r8, qword [0x140010760]
mov rsi, rax
test r8, r8
je 0x140004d2a
lea rax, [rbp + 0x17]
mov qword [rbp + 0x17], 3
lea rdx, [rbp - 0x11]
mov qword [rbp - 9], rax
mov rcx, rdi
mov qword [rbp + 0x1f], rbx
mov dword [rbp - 0x11], 0x13
mov qword [rbp - 1], 0x10
call r8
call qword [sym.imp.USER32.dll_GetDesktopWindow]
mov rcx, rax
lea rdx, [rbp + 0x17]
call qword [sym.imp.USER32.dll_GetWindowRect]
mov edx, 0xfffffff0
mov rcx, rdi
call qword [sym.imp.USER32.dll_GetWindowLongW]
mov edx, 0xfffffff0
mov rcx, rdi
and eax, 0xff3bffff
mov r8d, eax
call qword [sym.imp.USER32.dll_SetWindowLongW]
mov eax, dword [rbp + 0x23]
xor r8d, r8d
cdq
mov dword [rsp + 0x30], 0x27
sub eax, edx
mov dword [rsp + 0x28], ebx
sar eax, 1
mov ecx, eax
mov eax, dword [rbp + 0x1f]
cdq
mov dword [rsp + 0x20], ecx
sub eax, edx
mov rcx, rdi
sar eax, 1
xor edx, edx
mov r9d, eax
call qword [sym.imp.USER32.dll_SetWindowPos]
lea rdx, [rbp + 0x37]
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_GetConsoleScreenBufferInfo]
movzx eax, word [rbp + 0x45]
mov rcx, rsi
sub ax, word [rbp + 0x41]
inc ax
mov word [rbp + 7], ax
movzx eax, word [rbp + 0x47]
sub ax, word [rbp + 0x43]
inc ax
mov word [rbp + 9], ax
mov edx, dword [rbp + 7]
call qword [sym.imp.KERNEL32.dll_SetConsoleScreenBufferSize]
cmp dword [0x14000f088], 2
mov eax, dword [0x14000ac00]
movsd xmm0, qword [0x14000abf8]
mov rsi, qword [rsp + 0xe0]
mov dword [rbp + 0x2f], eax
movzx eax, word [0x14000ac04]
mov word [rbp + 0x33], ax
movzx eax, byte [0x14000ac06]
mov byte [rbp + 0x35], al
movsd qword [rbp + 0x27], xmm0
jl 0x140004f03
movdqa xmm2, xmmword [0x14000adb0]
mov ebx, 8
movdqa xmm4, xmmword [0x14000ae00]
movdqa xmm1, xmm2
movdqa xmm3, xmmword [0x14000adc0]
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
punpckldq xmm1, xmm2
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14000add0]
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [0x14000abf8]
pshufd xmm2, xmm1, 0xd8
movdqa xmm1, xmm3
andps xmm2, xmmword [0x14000ade0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.2222222222222222]
xorps xmm2, xmm0
punpckldq xmm1, xmm3
movd dword [rbp + 0x27], xmm2
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
pmuldq xmm1, xmm4
shufps xmm1, xmm0, 0xdd
psrad xmm1, 4
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmmword [0x14000add0]
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
movd xmm0, dword [rbp + 0x2b]
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x14000ade0]
packuswb xmm2, xmm2
paddb xmm2, xmmword [str.2222222222222222]
xorps xmm2, xmm0
movd dword [rbp + 0x2b], xmm2
movsxd rax, ebx
lea r8, [rbp + 0x27]
add r8, rax
nop dword [rax]
mov eax, 0x5397829d
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x31
movzx eax, bl
inc ebx
sub al, cl
add al, 0x32
xor byte [r8 - 1], al
cmp ebx, 0xf
jl 0x140004f10
lea rcx, [rbp + 0x27]
call qword [sym.imp.KERNEL32.dll_SetConsoleTitleA]
lea rcx, str._n________________.________._____________________________________.___________.__________n__________________________________________________________________________n___________________________________________________________________n_____Y_________________________________________________________________n______________________________________________________________________n________________________________________________________n_t___________by_nightmare_____v1.0_Initial_Alpha__t_t_t_t_t_t_t_t_t_t_t_t_t_t_t__________________________n
call fcn.140002c30
call fcn.140004160
cmp byte [0x14000fe00], 0
jne 0x140005089
cmp byte [0x140010758], 0
mov edx, 6
mov rcx, qword [0x140010750]
je 0x140004f7f
mov edx, 0xe
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, [0x14000aa90]
call fcn.140002c30
mov ecx, 0x96
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x14000a8e4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x14000aac0]
call fcn.140002c30
mov ecx, 0x96
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x14000a8e4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.____Initialization..
call fcn.140002c30
mov ecx, 0x96
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x14000a8e4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, str.___Initialization..
call fcn.140002c30
mov ecx, 0x96
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x14000a8e4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
lea rcx, [0x14000aa90]
call fcn.140002c30
mov ecx, 0x96
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [0x14000a8e4]
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
cmp byte [0x140010758], 0
mov edx, 4
mov rcx, qword [0x140010750]
je 0x140005053
mov edx, 0xc
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
lea rcx, str.____Unable_to_Initialize
call fcn.140002c30
mov rcx, qword [0x140010750]
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
mov ecx, 0xfa0
call qword [sym.imp.KERNEL32.dll_Sleep]
mov eax, 0xffffffff
jmp 0x1400050d9
call fcn.140004160
call fcn.140004420
cmp qword [0x14000f0d8], 0
jne 0x1400050d2
lea rcx, str.Not_a_valid_choice
call fcn.140002c30
mov rcx, qword [0x140010750]
mov edx, 7
call qword [sym.imp.KERNEL32.dll_SetConsoleTextAttribute]
call fcn.140004420
call fcn.140004900
lea rcx, str.pause
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_system]
call fcn.140004900
xor eax, eax
mov rcx, qword [rbp + 0x4f]
xor rcx, rsp
call fcn.140006f00
lea r11, [rsp + 0xd0]
mov rbx, qword [r11 + 0x18]
mov rdi, qword [r11 + 0x20]
mov rsp, r11
pop rbp
ret
lea rdx, [0x14000ccd8]
mov dword [rbp - 0x19], edi
lea rcx, [rbp - 0x19]
call sub.VCRUNTIME140.dll__CxxThrowException
int3