Function at 0x7ff7980c67f0
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov qword [rax + 0x20], rdi
push rbp
push r14
push r15
lea rbp, [rax - 0x28]
sub rsp, 0x110
movaps xmmword [rax - 0x28], xmm6
mov rax, qword [0x7ff7981d4380]
xor rax, rsp
mov qword [rbp - 0x10], rax
mov rbx, rcx
movups xmm0, xmmword [0x7ff798187bc0]
movups xmmword [rsp + 0x40], xmm0
movups xmm1, xmmword [0x7ff798187bd0]
movups xmmword [rsp + 0x50], xmm1
movsd xmm0, qword [0x7ff798187be0]
movsd qword [rsp + 0x60], xmm0
mov eax, dword [0x7ff798187be8]
mov dword [rsp + 0x68], eax
movzx eax, byte [0x7ff798187bec]
mov byte [rsp + 0x6c], al
xor r15d, r15d
mov r8d, r15d
mov edi, dword [0x7ff7981d4360]
cmp edi, 2
jl 0x7ff7980c69bd
movdqa xmm5, xmmword [0x7ff798187ce0]
movdqa xmm4, xmmword [0x7ff798187d30]
movdqa xmm6, xmmword [0x7ff798187d00]
movdqa xmm0, xmmword [0x7ff798187d20]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x44]
mov edx, dword [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
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 [0x7ff798187d10]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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 [0x7ff798187d10]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x28
jl 0x7ff7980c68b0
cmp r8d, 0x2d
jge 0x7ff7980c6a03
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x2d
jl 0x7ff7980c69d0
mov eax, dword [0x7ff798187bb8]
movups xmm0, xmmword [0x7ff798187b90]
mov dword [rbp - 0x58], eax
movups xmmword [rbp - 0x80], xmm0
movzx eax, byte [0x7ff798187bbc]
movsd xmm0, qword [0x7ff798187bb0]
movups xmm1, xmmword [0x7ff798187ba0]
mov byte [rbp - 0x54], al
movsd qword [rbp - 0x60], xmm0
movups xmmword [rbp - 0x70], xmm1
mov ecx, r15d
cmp edi, 2
jl 0x7ff7980c6b8a
movdqa xmm5, xmmword [0x7ff798187ce0]
movdqa xmm4, xmmword [0x7ff798187d30]
movdqa xmm6, xmmword [0x7ff798187d00]
movdqa xmm0, xmmword [0x7ff798187d20]
movdqa xmmword [rsp + 0x30], xmm0
lea rdx, [rbp - 0x7c]
mov r8d, dword [rsp + 0x30]
nop dword [rax]
nop dword [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
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 [0x7ff798187d10]
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
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 [0x7ff798187d10]
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, 0x28
jl 0x7ff7980c6a80
cmp ecx, 0x2d
jge 0x7ff7980c6bce
movsxd rax, ecx
lea r8, [rbp - 0x80]
add r8, rax
nop dword [rax]
nop dword [rax + rax]
mov eax, 0x8d3dcb09
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
sub al, dl
add al, 0x31
xor byte [r8], al
inc ecx
lea r8, [r8 + 1]
cmp ecx, 0x2d
jl 0x7ff7980c6ba0
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
mov r8, qword [0x7ff7981d4d88]
lea rdx, [0x7ff798187900]
mov rcx, rbx
call fcn.7ff7980c8360
mov qword [0x7ff7981d4d90], rax
mov eax, dword [0x7ff798187bf8]
mov dword [rsp + 0x78], eax
movzx ecx, word [0x7ff798187bfc]
mov word [rsp + 0x7c], cx
movzx eax, byte [0x7ff798187bfe]
mov byte [rsp + 0x78], 0x78
xor byte [rsp + 0x79], 0x32
xor byte [rsp + 0x7a], 0x33
xor byte [rsp + 0x7b], 0x34
xor cl, 0x35
mov byte [rsp + 0x7c], cl
xor byte [rsp + 0x7d], 0x36
xor al, 0x37
mov byte [rsp + 0x7e], al
mov eax, dword [0x7ff798187bf0]
mov dword [rsp + 0x70], eax
movzx ecx, word [0x7ff798187bf4]
mov word [rsp + 0x74], cx
movzx eax, byte [0x7ff798187bf6]
mov byte [rsp + 0x70], 0x66
xor byte [rsp + 0x71], 0x32
xor byte [rsp + 0x72], 0x33
xor byte [rsp + 0x73], 0x34
xor cl, 0x35
mov byte [rsp + 0x74], cl
xor byte [rsp + 0x75], 0x36
xor al, 0x37
mov byte [rsp + 0x76], al
lea rax, [rsp + 0x78]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x70]
mov r8, qword [0x7ff7981d4d88]
lea rdx, [0x7ff798187900]
mov rcx, rbx
call fcn.7ff7980c8360
mov qword [0x7ff7981d4d98], rax
mov rcx, qword [0x7ff7981d4d90]
test rcx, rcx
jne 0x7ff7980c70a4
movups xmm0, xmmword [0x7ff798187c20]
movups xmmword [rsp + 0x40], xmm0
movsd xmm0, qword [0x7ff798187c30]
movsd qword [rsp + 0x50], xmm0
mov eax, dword [0x7ff798187c38]
mov dword [rsp + 0x58], eax
movzx eax, word [0x7ff798187c3c]
mov word [rsp + 0x5c], ax
cmp byte [0x7ff798187c3d], r15b
je 0x7ff7980c6e93
mov r8d, r15d
cmp edi, 2
jl 0x7ff7980c6e4d
movdqa xmm5, xmmword [0x7ff798187ce0]
movdqa xmm4, xmmword [0x7ff798187d30]
movdqa xmm6, xmmword [0x7ff798187d00]
movdqa xmm0, xmmword [0x7ff798187d20]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rsp + 0x44]
mov edx, dword [rsp + 0x30]
nop dword [rax]
nop word [rax + rax]
movd xmm2, r8d
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 [0x7ff798187d10]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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 [0x7ff798187d10]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x7ff7980c6d40
cmp r8d, 0x1e
jge 0x7ff7980c6e93
movsxd rax, r8d
lea r9, [rsp + 0x40]
add r9, rax
nop dword [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1e
jl 0x7ff7980c6e60
movups xmm0, xmmword [0x7ff798187c00]
movups xmmword [rbp - 0x80], xmm0
movsd xmm0, qword [0x7ff798187c10]
movsd qword [rbp - 0x70], xmm0
mov eax, dword [0x7ff798187c18]
mov dword [rbp - 0x68], eax
movzx eax, word [0x7ff798187c1c]
mov word [rbp - 0x64], ax
cmp byte [0x7ff798187c1d], r15b
je 0x7ff7980c7063
mov r8d, r15d
cmp edi, 2
jl 0x7ff7980c701d
movdqa xmm5, xmmword [0x7ff798187ce0]
movdqa xmm4, xmmword [0x7ff798187d30]
movdqa xmm6, xmmword [0x7ff798187d00]
movdqa xmm0, xmmword [0x7ff798187d20]
movdqa xmmword [rsp + 0x30], xmm0
lea rcx, [rbp - 0x7c]
mov edx, dword [rsp + 0x30]
nop word [rax + rax]
movd xmm2, r8d
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 [0x7ff798187d10]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx - 4]
xorps xmm2, xmm0
movd dword [rcx - 4], xmm2
lea eax, [r8 + 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 [0x7ff798187d10]
packuswb xmm2, xmm2
movd xmm0, edx
paddb xmm2, xmm0
movd xmm0, dword [rcx]
xorps xmm2, xmm0
movd dword [rcx], xmm2
add r8d, 8
lea rcx, [rcx + 8]
cmp r8d, 0x18
jl 0x7ff7980c6f10
cmp r8d, 0x1e
jge 0x7ff7980c7063
movsxd rax, r8d
lea r9, [rbp - 0x80]
add r9, rax
nop word [rax + rax]
mov eax, 0x8d3dcb09
imul r8d
add edx, r8d
sar edx, 5
mov eax, edx
shr eax, 0x1f
add edx, eax
movsx eax, dl
imul ecx, eax, 0x3a
movzx eax, r8b
sub al, cl
add al, 0x31
xor byte [r9], al
inc r8d
lea r9, [r9 + 1]
cmp r8d, 0x1e
jl 0x7ff7980c7030
lea rax, [rsp + 0x40]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x80]
mov r8, qword [0x7ff7981d4d88]
lea rdx, [0x7ff798187900]
mov rcx, rbx
call fcn.7ff7980c8360
mov qword [0x7ff7981d4d90], rax
test rax, rax
je 0x7ff7980c72d9
lea rdi, [rax + 0x10]
mov rax, qword [0x7ff7981d4d98]
jmp 0x7ff7980c70a8
lea rdi, [rcx + 0x1c]
mov qword [0x7ff7981d4d90], rdi
test rax, rax
je 0x7ff7980c72d9
mov dword [rsp + 0x70], r15d
lea r8, [rdi + 3]
mov r9d, 4
lea rdx, [rsp + 0x70]
mov rcx, rbx
call fcn.7ff7980c9670
test al, al
jne 0x7ff7980c70dd
mov rdi, r15
jmp 0x7ff7980c70e9
movsxd rax, dword [rsp + 0x70]
add rax, 7
add rdi, rax
mov rsi, qword [0x7ff7981d4d98]
mov dword [rsp + 0x78], r15d
lea r8, [rsi + 6]
mov r9d, 4
lea rdx, [rsp + 0x78]
mov rcx, rbx
call fcn.7ff7980c9670
test al, al
jne 0x7ff7980c7115
mov rsi, r15
jmp 0x7ff7980c7121
movsxd rax, dword [rsp + 0x78]
add rsi, 0xa
add rsi, rax
mov r8b, 1
mov rdx, rdi
mov rcx, rbx
call fcn.7ff7980c7c40
test al, al
je 0x7ff7980c72d9
lea rcx, [rbp - 0x30]
call fcn.7ff7980c85d0
nop
lea rcx, [rbp - 0x30]
cmp qword [rbp - 0x18], 7
cmova rcx, qword [rbp - 0x30]
mov qword [rbp - 0x80], r15
mov qword [rbp - 0x78], r15
mov dword [rbp - 0x6c], r15d
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x5c], xmm0
mov dword [rbp - 0x4c], r15d
mov dword [rbp - 0x60], 0x5284eac3
mov qword [rbp - 0x68], rcx
mov rax, 0xffffffffffffffff
nop dword [rax]
inc rax
cmp word [rcx + rax*2], 0
jne 0x7ff7980c7180
add ax, ax
mov word [rbp - 0x70], ax
add ax, 2
mov word [rbp - 0x6e], ax
lea r8, [rbp - 0x80]
mov rdx, rsi
mov rcx, rbx
call fcn.7ff7980cb880
mov r14, rax
test rax, rax
je 0x7ff7980c7284
lea r8, [rax + 8]
mov r9d, 8
lea rdx, [rbp - 0x40]
mov rcx, rbx
call fcn.7ff7980c9670
test al, al
je 0x7ff7980c7284
mov r9d, 8
mov r8, r14
lea rdx, [rbp - 0x48]
mov rcx, rbx
call fcn.7ff7980c9670
test al, al
je 0x7ff7980c7284
mov r9d, 8
lea r8, [rbp - 0x48]
mov rdx, qword [rbp - 0x40]
mov rcx, rbx
call fcn.7ff7980c9670
test al, al
je 0x7ff7980c7284
mov rdx, qword [rbp - 0x48]
add rdx, 8
mov r9d, 8
lea r8, [rbp - 0x40]
mov rcx, rbx
call fcn.7ff7980c9670
test al, al
je 0x7ff7980c7284
mov r8, r14
mov rdx, rsi
mov rcx, rbx
call fcn.7ff7980cb560
test al, al
je 0x7ff7980c7284
mov dword [rbp - 0x38], r15d
mov r9d, 4
lea r8, [rsi + 0x40]
lea rdx, [rbp - 0x38]
mov rcx, rbx
call fcn.7ff7980c9670
mov eax, dword [rbp - 0x38]
test eax, eax
je 0x7ff7980c7275
dec eax
mov dword [rbp - 0x38], eax
mov r9d, 4
lea r8, [rbp - 0x38]
lea rdx, [rsi + 0x40]
mov rcx, rbx
call fcn.7ff7980c9670
mov rdx, rdi
mov rcx, rbx
call fcn.7ff7980c7f80
mov bl, 1
jmp 0x7ff7980c7291
mov rdx, rdi
mov rcx, rbx
call fcn.7ff7980c7f80
xor bl, bl
mov rdx, qword [rbp - 0x18]
cmp rdx, 7
jbe 0x7ff7980c72d4
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7980c72cf
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7980c72cf
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff798179c7c
movzx eax, bl
jmp 0x7ff7980c72db
xor al, al
mov rcx, qword [rbp - 0x10]
xor rcx, rsp
call fcn.7ff798179f10
lea r11, [rsp + 0x110]
mov rbx, qword [r11 + 0x28]
mov rsi, qword [r11 + 0x30]
mov rdi, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret