Function at 0x140002710
Capabilities:
Encode data using xor
Get token membership
Terminate process

Disassembly:
mov r11, rsp
push rbx
sub rsp, 0x110
mov rax, qword [0x140078038]
xor rax, rsp
mov qword [rsp + 0xd8], rax
xor ebx, ebx
mov word [r11 - 0x4c], 0x500
lea rax, [r11 - 0x58]
mov qword [r11 - 0x58], rbx
mov qword [rsp + 0x50], rax
lea rcx, [r11 - 0x50]
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 dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov dword [r11 - 0x50], ebx
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov rdx, qword [rsp + 0xc0]
lea r8, [rsp + 0xd0]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
cmp dword [rsp + 0xd0], ebx
jne 0x1400029da
lea rdx, [rsp + 0x64]
lea rcx, [rsp + 0x60]
call fcn.140002260
mov r10, rax
movzx eax, byte [rax + 5]
test al, al
je 0x1400027d2
xor byte [r10], 0x30
xor byte [r10 + 1], 0x31
xor byte [r10 + 2], 0x32
xor byte [r10 + 3], 0x33
xor byte [r10 + 4], 0x34
xor al, 0x35
mov byte [r10 + 5], al
lea rdx, [rsp + 0x80]
lea rcx, [rsp + 0x60]
call fcn.140002280
mov r11, rax
cmp byte [rax + 0x39], bl
je 0x1400029bd
cmp dword [0x140078040], 2
jl 0x14000297d
movdqa xmm0, xmmword [str.0000000000000000]
mov eax, 4
movdqa xmm5, xmmword [0x140065cf0]
mov rcx, r11
movdqa xmm4, xmmword [0x140065d40]
movaps xmmword [rsp + 0x100], xmm6
movaps xmmword [rsp + 0xf0], xmm7
movdqa xmm7, xmmword [0x140065d10]
movd xmm6, eax
mov eax, 0x1f
movdqa xmmword [rsp + 0x70], xmm0
mov edx, dword [rsp + 0x70]
movaps xmmword [rsp + 0xe0], xmm8
movd xmm8, eax
nop word [rax + rax]
movd xmm2, ebx
lea eax, [rbx + 4]
pshufd xmm2, xmm2, 0
lea rcx, [rcx + 8]
paddd xmm2, xmm5
movd xmm3, eax
movdqa xmm1, xmm2
pshufd xmm3, xmm3, 0
punpckldq xmm1, xmm2
movdqa xmm0, xmm2
punpckhdq xmm0, xmm2
paddd xmm3, xmm5
pmuldq xmm0, xmm4
add ebx, 8
pmuldq xmm1, 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
movdqa xmm1, xmm3
pand xmm2, xmmword [0x140065d20]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 8]
pxor xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rcx - 8], xmm2
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
movd xmm0, edx
pshufd xmm2, xmm1, 0xd8
pand xmm2, xmmword [0x140065d20]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
pxor xmm2, xmm0
movd dword [rcx - 4], xmm2
cmp ebx, 0x38
jl 0x140002860
movaps xmm8, xmmword [rsp + 0xe0]
movaps xmm7, xmmword [rsp + 0xf0]
movaps xmm6, xmmword [rsp + 0x100]
cmp ebx, 0x3a
jge 0x1400029bd
movsxd r8, ebx
add r8, r11
nop dword [rax]
nop word [rax + rax]
mov eax, 0x51eb851f
lea r8, [r8 + 1]
imul ebx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x32
movzx eax, bl
inc ebx
sub al, cl
add al, 0x30
xor byte [r8 - 1], al
cmp ebx, 0x3a
jl 0x140002990
mov r9d, 0x10
mov r8, r10
mov rdx, r11
xor ecx, ecx
call qword [sym.imp.USER32.dll_MessageBoxA]
xor ecx, ecx
call qword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
int3
mov al, 1
mov rcx, qword [rsp + 0xd8]
xor rcx, rsp
call fcn.140061400
add rsp, 0x110
pop rbx
ret