Function at 0x7ff77f2e5d10
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x18], rsi
push rbp
push rdi
push r14
lea rbp, [rax - 0x48]
sub rsp, 0x130
movaps xmmword [rax - 0x28], xmm6
movaps xmmword [rax - 0x38], xmm7
movaps xmmword [rax - 0x48], xmm8
mov rax, qword [0x7ff77f37b080]
xor rax, rsp
mov qword [rbp - 8], rax
mov rdi, rdx
mov qword [rbp - 0x28], rdx
xorps xmm0, xmm0
xor eax, eax
movups xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], rax
lea rcx, [rbp - 0x48]
call fcn.7ff77f2e68d0
mov r8, rax
lea rdx, [rbp - 0x20]
lea rcx, [0x7ff77f48f0a0]
call fcn.7ff77f2fdb20
nop
mov rsi, qword [rbp - 0x20]
lea rax, [rsp + 0x40]
mov qword [rsp + 0x28], rax
mov byte [rsp + 0x20], 0
xorps xmm0, xmm0
movups xmmword [rsp + 0x40], xmm0
xor r14d, r14d
mov qword [rsp + 0x50], r14
mov qword [rsp + 0x58], r14
lea rax, [rsp + 0x20]
mov rbx, 0xffffffffffffffff
mov r8, rbx
nop dword [rax]
inc r8
cmp byte [rax + r8], r14b
jne 0x7ff77f2e5db0
lea rdx, [rsp + 0x20]
lea rcx, [rsp + 0x40]
call fcn.7ff77f2e7050
nop
movups xmm0, xmmword [0x7ff77f367300]
movups xmmword [rbp - 0x80], xmm0
movups xmm1, xmmword [0x7ff77f367310]
movups xmmword [rbp - 0x70], xmm1
movups xmm0, xmmword [0x7ff77f367320]
movups xmmword [rbp - 0x60], xmm0
movzx eax, byte [0x7ff77f367330]
mov byte [rbp - 0x50], al
mov ecx, r14d
cmp dword [0x7ff77f37b090], 2
jl 0x7ff77f2e5f50
movdqa xmm5, xmmword [0x7ff77f36fcf0]
movdqa xmm4, xmmword [0x7ff77f36fd50]
mov eax, 1
movd xmm6, eax
movdqa xmm7, xmmword [0x7ff77f36fd20]
mov eax, 0x1f
movd xmm8, eax
movdqa xmm0, xmmword [0x7ff77f36fd60]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rbp - 0x7c]
mov r8d, dword [rsp + 0x30]
nop word [rax + rax]
movd xmm2, ecx
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
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
andps xmm2, xmmword [0x7ff77f36fd40]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 4]
xorps xmm2, xmm0
movd dword [rdx - 4], xmm2
lea eax, [rcx + 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
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
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x7ff77f36fd40]
packuswb xmm2, xmm2
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx]
xorps xmm2, xmm0
movd dword [rdx], xmm2
add ecx, 8
lea rdx, [rdx + 8]
cmp ecx, 0x30
jl 0x7ff77f2e5e50
cmp ecx, 0x31
jge 0x7ff77f2e5f8b
movsxd rax, ecx
lea r8, [rbp - 0x80]
add r8, rax
nop word [rax + rax]
mov eax, 0x94f2095
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
sub al, dl
add al, 0x35
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x31
jl 0x7ff77f2e5f60
xorps xmm0, xmm0
movups xmmword [rsp + 0x60], xmm0
mov qword [rsp + 0x70], r14
mov qword [rsp + 0x78], r14
lea rax, [rbp - 0x80]
inc rbx
cmp byte [rax + rbx], 0
jne 0x7ff77f2e5fa1
mov r8, rbx
lea rdx, [rbp - 0x80]
lea rcx, [rsp + 0x60]
call fcn.7ff77f2e7050
nop
lea r8, [rsp + 0x40]
lea rdx, [rsp + 0x60]
mov rcx, rsi
call fcn.7ff77f2f03f0
xor eax, eax
mov qword [rsi], rax
mov rcx, qword [rbp - 0x20]
test rcx, rcx
je 0x7ff77f2e601c
mov rdx, qword [rbp - 0x10]
sub rdx, rcx
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff77f2e600b
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff77f2e600b
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff77f355420
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x20], xmm0
mov qword [rbp - 0x10], r14
mov rdx, qword [rdi + 0x18]
cmp rdx, 0x10
jb 0x7ff77f2e6052
inc rdx
mov rcx, qword [rdi]
cmp rdx, 0x1000
jb 0x7ff77f2e604d
add rdx, 0x27
mov r8, qword [rcx - 8]
sub rcx, r8
lea rax, [rcx - 8]
cmp rax, 0x1f
ja 0x7ff77f2e6094
mov rcx, r8
call fcn.7ff77f355420
mov qword [rdi + 0x10], r14
mov qword [rdi + 0x18], 0xf
mov byte [rdi], 0
mov rcx, qword [rbp - 8]
xor rcx, rsp
call fcn.7ff77f355090
lea r11, [rsp + 0x130]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x30]
movaps xmm6, xmmword [r11 - 0x10]
movaps xmm7, xmmword [r11 - 0x20]
movaps xmm8, xmmword [r11 - 0x30]
mov rsp, r11
pop r14
pop rdi
pop rbp
ret
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3