Function at 0x140004b80
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x18], rbx
push rsi
sub rsp, 0x80
xor esi, esi
lea r8, [rax + 8]
mov rbx, 0xffffffffffffffff
mov qword [rax + 8], rsi
mov rcx, rbx
mov qword [rax - 0x54], rsi
lea edx, [rsi + 0x28]
call qword [0x1400081c8]
test eax, eax
je 0x140004df1
cmp dword [0x140008008], 2
mov ecx, esi
movups xmm0, xmmword [str.aVpPTB_iHRJTRZ_B]
movzx eax, byte [0x140006690]
mov qword [rsp + 0x98], rdi
movups xmmword [rsp + 0x50], xmm0
mov dword [rsp + 0x30], 1
mov dword [rsp + 0x3c], 2
mov byte [rsp + 0x60], al
jl 0x140004d41
movdqa xmm0, xmmword [str.2222222222222222_t]
lea rdx, [rsp + 0x50]
movdqa xmm5, xmmword [0x1400067a0]
movdqa xmm4, xmmword [0x1400067f0]
movdqa xmmword [rsp + 0x40], xmm0
mov r8d, dword [rsp + 0x40]
movaps xmmword [rsp + 0x70], xmm6
movdqa xmm6, xmmword [0x1400067c0]
nop dword [rax + rax]
movd xmm2, ecx
lea eax, [rcx + 4]
pshufd xmm2, xmm2, 0
lea rdx, [rdx + 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 ecx, 8
pmuldq xmm1, 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
movdqa xmm1, xmm3
andps xmm2, xmmword [0x1400067d0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 8], xmm2
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
movd xmm0, r8d
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x1400067d0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
cmp ecx, 0x10
jl 0x140004c30
movaps xmm6, xmmword [rsp + 0x70]
cmp ecx, 0x11
jge 0x140004d7f
movsxd rax, ecx
lea r8, [rsp + 0x50]
add r8, rax
nop dword [rax]
mov eax, 0x8d3dcb09
lea r8, [r8 + 1]
imul ecx
add edx, ecx
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x3a
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0x11
jl 0x140004d50
lea rcx, [rsp + 0x50]
mov rdi, rbx
inc rdi
cmp byte [rcx + rdi], sil
jne 0x140004d87
inc rdi
mov eax, 2
mul rdi
cmovo rax, rbx
mov rcx, rax
call fcn.1400053d8
mov r8, rdi
lea rdx, [rsp + 0x50]
mov rcx, rax
mov rbx, rax
call qword [sym.imp.api_ms_win_crt_convert_l1_1_0.dll_mbstowcs]
lea r8, [rsp + 0x34]
mov rdx, rbx
xor ecx, ecx
call qword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
mov rdi, qword [rsp + 0x98]
mov rcx, qword [rsp + 0x90]
test eax, eax
jne 0x140004e04
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.I_dont_have_SeDebugPirvs_n
call fcn.140001f90
xor eax, eax
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rsi
ret
mov qword [rsp + 0x28], rsi
lea r8, [rsp + 0x30]
mov r9d, 0x10
mov qword [rsp + 0x20], rsi
xor edx, edx
call qword [0x1400081e8]
mov rcx, qword [rsp + 0x90]
test eax, eax
jne 0x140004e52
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, str.Could_not_adjust_to_SeDebugPrivs_n
call fcn.140001f90
xor eax, eax
mov rbx, qword [rsp + 0xa0]
add rsp, 0x80
pop rsi
ret
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rbx, qword [rsp + 0xa0]
mov eax, 1
add rsp, 0x80
pop rsi
ret