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

Disassembly:
mov r11, rsp
mov qword [r11 + 8], rbx
push rdi
sub rsp, 0x130
movaps xmmword [r11 - 0x18], xmm6
mov rax, qword [0x14001d040]
xor rax, rsp
mov qword [rsp + 0x118], rax
xor ebx, ebx
mov qword [r11 - 0x38], rbx
mov dword [r11 - 0x30], ebx
mov word [r11 - 0x2c], 0x500
lea rax, [r11 - 0x38]
mov qword [rsp + 0x50], rax
mov dword [rsp + 0x48], ebx
mov dword [rsp + 0x40], ebx
mov dword [rsp + 0x38], ebx
mov dword [rsp + 0x30], ebx
mov dword [rsp + 0x28], ebx
mov dword [rsp + 0x20], ebx
mov r9d, 0x220
lea r8d, [rbx + 0x20]
mov dl, 2
lea rcx, [r11 - 0x30]
call qword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
lea r8, [rsp + 0x110]
mov rdx, qword [rsp + 0x100]
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
cmp dword [rsp + 0x110], ebx
jne 0x140004827
lea rdx, [rsp + 0x60]
call fcn.1400048a0
movzx ecx, byte [rax + 5]
test cl, cl
je 0x14000461e
xor byte [rax], 0x30
xor byte [rax + 1], 0x31
xor byte [rax + 2], 0x32
xor byte [rax + 3], 0x33
xor byte [rax + 4], 0x34
xor cl, 0x35
mov byte [rax + 5], cl
mov rdx, rax
lea rcx, [rsp + 0xa0]
call fcn.140005180
mov rdi, rax
lea rdx, [rsp + 0xc0]
call fcn.140004860
mov r9, rax
cmp byte [rax + 0x39], 0
je 0x1400047ce
cmp dword [section..data], 2
jl 0x14000479a
movdqa xmm5, xmmword [0x140015800]
movdqa xmm4, xmmword [0x140015860]
movdqa xmm6, xmmword [0x140015830]
movdqa xmm0, xmmword [str.0000000000000000_t]
movdqa xmmword [rsp + 0x70], xmm0
mov rcx, rax
mov edx, dword [rsp + 0x70]
nop word [rax + rax]
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
paddd xmm1, xmm2
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm2, xmm0
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140015840]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], 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
paddd xmm1, xmm3
psrad xmm1, 5
movdqa xmm0, xmm1
psrld xmm0, 0x1f
paddd xmm0, xmm1
pmulld xmm0, xmm6
psubd xmm3, xmm0
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x140015840]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx + 4]
xorps xmm2, xmm0
movd dword [rcx + 4], xmm2
add ebx, 8
mov eax, ebx
lea rcx, [rcx + 8]
cmp ebx, 0x38
jl 0x140004690
cmp eax, 0x3a
jge 0x1400047ce
movsxd r8, ebx
add r8, r9
mov eax, 0x8d3dcb09
imul ebx
add edx, ebx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, bl
sub al, cl
add al, 0x30
xor byte [r8], al
inc ebx
lea r8, [r8 + 1]
cmp ebx, 0x3a
jl 0x1400047a0
mov rdx, r9
lea rcx, [rsp + 0x80]
call fcn.140005180
mov rdx, rax
mov rcx, rdi
call fcn.140005110
mov r8, rax
mov rcx, rdx
call fcn.140005110
mov rdx, rax
xor ecx, ecx
lea r9d, [rcx + 0x10]
call qword [sym.imp.USER32.dll_MessageBoxA]
lea rcx, [rsp + 0x80]
call fcn.140005120
nop
lea rcx, [rsp + 0xa0]
call fcn.140005120
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 + 0x118]
xor rcx, rsp
call fcn.140010f20
mov rbx, qword [rsp + 0x140]
movaps xmm6, xmmword [rsp + 0x120]
add rsp, 0x130
pop rdi
ret