Function at 0x7ff6877e87c0
Capabilities:
Encode data using xor
Terminate process

Disassembly:
mov qword [rsp + 8], rbx
mov qword [rsp + 0x10], rdi
push rbp
lea rbp, [rsp - 0x57]
sub rsp, 0xb0
mov rax, qword [0x7ff68785f0c0]
xor rax, rsp
mov qword [rbp + 0x37], rax
movups xmm0, xmmword [0x7ff6878435c0]
movzx eax, word [0x7ff6878435e0]
xor ecx, ecx
cmp dword [0x7ff68785f108], 2
movups xmm1, xmmword [0x7ff6878435d0]
mov word [rbp - 0x11], ax
movups xmmword [rbp - 0x31], xmm0
movups xmmword [rbp - 0x21], xmm1
jl 0x7ff6877e895c
movdqa xmm0, xmmword [0x7ff687845100]
lea rdx, [rbp - 0x2d]
movdqa xmm5, xmmword [0x7ff687845060]
movdqa xmm4, xmmword [0x7ff6878450f0]
movdqa xmmword [rbp - 9], xmm0
mov r8d, dword [rbp - 9]
movaps xmmword [rsp + 0xa0], xmm6
movdqa xmm6, xmmword [0x7ff687845080]
nop word [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
psrad xmm1, 1
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 [0x7ff6878450e0]
packuswb xmm2, xmm2
punpckldq xmm1, xmm3
pmuldq xmm1, xmm4
movd xmm0, r8d
paddb xmm2, xmm0
movd xmm0, dword [rdx - 0xc]
xorps xmm2, xmm0
movdqa xmm0, xmm3
punpckhdq xmm0, xmm3
pmuldq xmm0, xmm4
movd dword [rdx - 0xc], xmm2
shufps xmm1, xmm0, 0xdd
psrad xmm1, 1
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 [0x7ff6878450e0]
packuswb xmm2, xmm2
paddb xmm2, xmm0
movd xmm0, dword [rdx - 8]
xorps xmm2, xmm0
movd dword [rdx - 8], xmm2
cmp ecx, 0x20
jl 0x7ff6877e8850
movaps xmm6, xmmword [rsp + 0xa0]
cmp ecx, 0x22
jge 0x7ff6877e899c
movsxd rax, ecx
lea r8, [rbp - 0x31]
add r8, rax
nop word [rax + rax]
mov eax, 0x94f2095
lea r8, [r8 + 1]
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul edx, eax, 0x37
movzx eax, cl
inc ecx
sub al, dl
add al, 0x32
xor byte [r8 - 1], al
cmp ecx, 0x22
jl 0x7ff6877e8970
xorps xmm0, xmm0
lea rax, [rbp - 0x31]
xorps xmm1, xmm1
mov rbx, 0xffffffffffffffff
movups xmmword [rbp + 0x17], xmm0
mov r8, rbx
movdqu xmmword [rbp + 0x27], xmm1
nop dword [rax]
inc r8
cmp byte [rax + r8], 0
jne 0x7ff6877e89c0
lea rdx, [rbp - 0x31]
lea rcx, [rbp + 0x17]
call fcn.7ff6877c12c0
mov rcx, qword [0x7ff68785f990]
xorps xmm0, xmm0
mov qword [rbp + 7], 0
mov edi, 0xf
mov qword [rbp + 0xf], rdi
movups xmmword [rbp - 9], xmm0
mov byte [rbp - 9], 0
test rcx, rcx
je 0x7ff6877e8abd
cmp qword [rbp + 0x2f], rdi
lea r8, [rbp + 0x17]
mov edx, 0x2712
cmova r8, qword [rbp + 0x17]
call qword [fcn.7ff6877f53d0]
mov rcx, qword [0x7ff68785f990]
lea r8, [0x7ff6877daaa0]
mov edx, 0x4e2b
call qword [fcn.7ff6877f53d0]
mov rcx, qword [0x7ff68785f990]
lea r8, [rbp - 9]
mov edx, 0x2711
call qword [fcn.7ff6877f53d0]
mov rcx, qword [0x7ff68785f990]
call qword [0x7ff687852e88]
test eax, eax
jne 0x7ff6877e8ab9
cmp byte [0x7ff6878435e5], 0
movzx eax, word [0x7ff6878435e4]
mov word [rbp - 0x39], ax
je 0x7ff6877e8a77
xor byte [rbp - 0x38], 0x33
mov byte [rbp - 0x39], 0x31
lea rax, [rbp - 0x39]
nop dword [rax + rax]
inc rbx
cmp byte [rax + rbx], 0
jne 0x7ff6877e8a80
mov rdi, qword [rbp + 0xf]
lea rcx, [rbp - 9]
mov r8, qword [rbp + 7]
cmp rdi, 0xf
cmova rcx, qword [rbp - 9]
cmp r8, rbx
jne 0x7ff6877e8ab0
lea rdx, [rbp - 0x39]
call sub.VCRUNTIME140.dll_memcmp
test eax, eax
je 0x7ff6877e8abd
xor ecx, ecx
call qword [sym.imp.ucrtbase.dll_exit]
int3
mov rdi, qword [rbp + 0xf]
cmp rdi, 0xf
jbe 0x7ff6877e8af1
mov rcx, qword [rbp - 9]
lea rdx, [rdi + 1]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6877e8aec
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff6877e8b37
call fcn.7ff68783f468
mov rdx, qword [rbp + 0x2f]
mov qword [rbp + 7], 0
mov qword [rbp + 0xf], 0xf
mov byte [rbp - 9], 0
cmp rdx, 0xf
jbe 0x7ff6877e8b43
mov rcx, qword [rbp + 0x17]
inc rdx
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff6877e8b3e
mov rcx, qword [rcx - 8]
add rdx, 0x27
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff6877e8b3e
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff68783f468
mov rcx, qword [rbp + 0x37]
xor rcx, rsp
call fcn.7ff68783f500
lea r11, [rsp + 0xb0]
mov rbx, qword [r11 + 0x10]
mov rdi, qword [r11 + 0x18]
mov rsp, r11
pop rbp
ret