Function at 0x7ff7980c7310
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 r12
push r13
push r14
push r15
lea rbp, [rax - 0x5f]
sub rsp, 0xf0
movaps xmmword [rax - 0x38], xmm6
mov rax, qword [0x7ff7981d4380]
xor rax, rsp
mov qword [rbp + 0x1f], rax
mov rsi, rcx
xor r12d, r12d
xorps xmm0, xmm0
movups xmmword [rbp - 0x79], xmm0
xorps xmm1, xmm1
movdqu xmmword [rbp - 0x69], xmm1
lea r8d, [r12 + 0xc]
lea rdx, [0x7ff7981878f0]
lea rcx, [rbp - 0x79]
call fcn.7ff7980c4480
nop
lea rcx, [rbp - 0x79]
call fcn.7ff7981153c0
mov rbx, rax
mov rdx, qword [rbp - 0x61]
cmp rdx, 0xf
jbe 0x7ff7980c73ba
inc rdx
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7980c73b5
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
jbe 0x7ff7980c73b5
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
int3
call fcn.7ff798179c7c
test rbx, rbx
jne 0x7ff7980c73c6
mov al, 1
jmp 0x7ff7980c7a95
movsd xmm0, qword [0x7ff798187890]
movsd qword [rbp - 1], xmm0
movzx eax, word [0x7ff798187898]
mov word [rbp + 7], ax
cmp byte [0x7ff798187899], 0
je 0x7ff7980c740f
mov byte [rbp - 1], 0x78
xor byte [rbp], 0x32
xor byte [rbp + 1], 0x33
xor byte [rbp + 2], 0x34
xor byte [rbp + 3], 0x35
xor byte [rbp + 4], 0x36
xor byte [rbp + 5], 0x37
xor byte [rbp + 6], 0x38
xor byte [rbp + 7], 0x39
xor byte [rbp + 8], 0x3a
movsd xmm0, qword [0x7ff798187880]
movsd qword [rsp + 0x30], xmm0
movzx eax, word [0x7ff798187888]
mov word [rsp + 0x38], ax
cmp byte [0x7ff798187889], 0
je 0x7ff7980c7463
mov byte [rsp + 0x30], 0x48
xor byte [rsp + 0x31], 0x32
xor byte [rsp + 0x32], 0x33
xor byte [rsp + 0x33], 0x34
xor byte [rsp + 0x34], 0x35
xor byte [rsp + 0x35], 0x36
xor byte [rsp + 0x36], 0x37
xor byte [rsp + 0x37], 0x38
xor byte [rsp + 0x38], 0x39
xor byte [rbp - 0x80], 0x3a
lea rax, [rbp - 1]
mov qword [rsp + 0x20], rax
lea r9, [rsp + 0x30]
mov r8, rbx
lea rdx, [0x7ff798187900]
mov rcx, rsi
call fcn.7ff7980c8360
mov r14, rax
test rax, rax
je 0x7ff7980c7a93
movsd xmm0, qword [0x7ff7981878b0]
movsd qword [rbp - 0x49], xmm0
movzx ecx, word [0x7ff7981878b8]
mov word [rbp - 0x41], cx
cmp byte [0x7ff7981878b9], 0
je 0x7ff7980c74d8
mov byte [rbp - 0x49], 0x78
xor byte [rbp - 0x48], 0x32
xor byte [rbp - 0x47], 0x33
xor byte [rbp - 0x46], 0x34
xor byte [rbp - 0x45], 0x35
xor byte [rbp - 0x44], 0x36
xor byte [rbp - 0x43], 0x37
xor byte [rbp - 0x42], 0x38
xor byte [rbp - 0x41], 0x39
xor byte [rbp - 0x40], 0x3a
movsd xmm0, qword [0x7ff7981878a0]
movsd qword [rbp - 0x59], xmm0
movzx eax, word [0x7ff7981878a8]
mov word [rbp - 0x51], ax
cmp byte [0x7ff7981878a9], 0
je 0x7ff7980c7521
mov byte [rbp - 0x59], 0xff
xor byte [rbp - 0x58], 0x32
xor byte [rbp - 0x57], 0x33
xor byte [rbp - 0x56], 0x34
xor byte [rbp - 0x55], 0x35
xor byte [rbp - 0x54], 0x36
xor byte [rbp - 0x53], 0x37
xor byte [rbp - 0x52], 0x38
xor byte [rbp - 0x51], 0x39
xor byte [rbp - 0x50], 0x3a
lea rax, [rbp - 0x49]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x59]
mov r8, rbx
lea rdx, [0x7ff798187900]
mov rcx, rsi
call fcn.7ff7980c8360
mov rdi, rax
test rax, rax
je 0x7ff7980c7a93
movups xmm0, xmmword [0x7ff7981878d8]
movups xmmword [rbp - 0x79], xmm0
mov ecx, dword [0x7ff7981878e8]
mov dword [rbp - 0x69], ecx
movzx ecx, byte [0x7ff7981878ec]
mov byte [rbp - 0x65], cl
mov r8d, r12d
mov r10d, dword [0x7ff7981d4360]
cmp r10d, 2
jl 0x7ff7980c76bd
movdqa xmm5, xmmword [0x7ff798187ce0]
movdqa xmm4, xmmword [0x7ff798187d30]
movdqa xmm6, xmmword [0x7ff798187d00]
movdqa xmm0, xmmword [0x7ff798187d20]
movdqa xmmword [rbp - 0x19], xmm0
lea rcx, [rbp - 0x75]
mov edx, dword [rbp - 0x19]
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, 0x10
jl 0x7ff7980c75b0
cmp r8d, 0x15
jge 0x7ff7980c7703
movsxd rax, r8d
lea r9, [rbp - 0x79]
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, 0x15
jl 0x7ff7980c76d0
mov eax, dword [0x7ff7981878d0]
mov dword [rbp - 0x29], eax
movzx eax, byte [0x7ff7981878d4]
movups xmm0, xmmword [0x7ff7981878c0]
mov byte [rbp - 0x25], al
movups xmmword [rbp - 0x39], xmm0
mov r8d, r12d
cmp r10d, 2
jl 0x7ff7980c786d
movdqa xmm5, xmmword [0x7ff798187ce0]
movdqa xmm4, xmmword [0x7ff798187d30]
movdqa xmm6, xmmword [0x7ff798187d00]
movdqa xmm0, xmmword [0x7ff798187d20]
movdqa xmmword [rbp - 0x19], xmm0
lea rcx, [rbp - 0x35]
mov edx, dword [rbp - 0x19]
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, 0x10
jl 0x7ff7980c7760
cmp r8d, 0x15
jge 0x7ff7980c78b3
movsxd rax, r8d
lea r9, [rbp - 0x39]
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, 0x15
jl 0x7ff7980c7880
lea rax, [rbp - 0x79]
mov qword [rsp + 0x20], rax
lea r9, [rbp - 0x39]
mov r8, rbx
lea rdx, [0x7ff798187900]
mov rcx, rsi
call fcn.7ff7980c8360
mov rbx, rax
test rax, rax
je 0x7ff7980c7a93
mov r9d, 7
lea r8d, [r9 - 4]
mov rdx, r14
mov rcx, rsi
call fcn.7ff7980cb4f0
lea r15, [rax - 8]
mov r9d, 6
lea r8d, [r9 - 4]
mov rdx, rdi
mov rcx, rsi
call fcn.7ff7980cb4f0
mov r13, rax
lea r8, [rax + 8]
mov qword [rbp + 0x17], r8
mov r9d, 8
lea rdx, [rbp + 0x17]
mov rcx, rsi
call fcn.7ff7980c9670
mov r9d, 5
lea r8d, [r9 - 4]
lea rdx, [rbx + 7]
mov rcx, rsi
call fcn.7ff7980cb4f0
mov qword [rsp + 0x30], rax
mov r9d, 8
mov r8, r15
lea rdx, [rbp - 0x59]
mov rcx, rsi
call fcn.7ff7980c9670
mov rdi, qword [rbp - 0x59]
test al, al
cmove rdi, r12
cmp rdi, r15
je 0x7ff7980c7a93
mov rbx, 0xffffffffffffffff
nop dword [rax]
nop word [rax + rax]
lea r8, [rdi + 0x10]
mov r9d, 0x10
lea rdx, [rbp - 0x39]
mov rcx, rsi
call fcn.7ff7980c9670
test al, al
je 0x7ff7980c7a6b
movzx ecx, word [rbp - 0x39]
shr rcx, 1
inc rcx
mov eax, 2
mul rcx
mov r14, rax
cmovo r14, rbx
mov rcx, r14
call fcn.7ff7980fd730
mov rbx, rax
test rax, rax
je 0x7ff7980c79d6
mov r8, r14
xor edx, edx
mov rcx, rax
call sub.VCRUNTIME140.dll_memset
jmp 0x7ff7980c79d9
mov rbx, r12
mov qword [rbp - 1], rbx
movzx r9d, word [rbp - 0x39]
mov r8, qword [rbp - 0x31]
mov rdx, rbx
mov rcx, rsi
call fcn.7ff7980c9670
test al, al
je 0x7ff7980c7a57
lea rcx, [rbp - 0x79]
call fcn.7ff7980c85d0
cmp qword [rax + 0x18], 7
jbe 0x7ff7980c7a08
mov rax, qword [rax]
mov rdx, rax
mov rcx, rbx
call sub.VCRUNTIME140.dll_wcsstr
mov r14, rax
mov rdx, qword [rbp - 0x61]
cmp rdx, 7
jbe 0x7ff7980c7a52
lea rdx, [rdx*2 + 2]
mov rcx, qword [rbp - 0x79]
mov rax, rcx
cmp rdx, 0x1000
jb 0x7ff7980c7a4d
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x7ff7980c7ac7
call fcn.7ff798179c7c
test r14, r14
jne 0x7ff7980c7ace
test rbx, rbx
je 0x7ff7980c7a64
mov rcx, rbx
call fcn.7ff798179c7c
mov rbx, 0xffffffffffffffff
mov r9d, 8
mov r8, rdi
lea rdx, [rbp - 0x59]
mov rcx, rsi
call fcn.7ff7980c9670
mov rdi, qword [rbp - 0x59]
test al, al
cmove rdi, r12
cmp rdi, r15
jne 0x7ff7980c7980
xor al, al
mov rcx, qword [rbp + 0x1f]
xor rcx, rsp
call fcn.7ff798179f10
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rsi, qword [r11 + 0x40]
mov rdi, qword [r11 + 0x48]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop r13
pop r12
pop rbp
ret
call qword [sym.imp.ucrtbase.dll__invalid_parameter_noinfo_noreturn]
nop
lea r12, [rdi - 0x10]
xor eax, eax
mov r14d, eax
nop word [rax + rax]
mov qword [rbp - 9], rax
movsxd r15, r14d
mov r8, qword [rbp + 0x17]
add r8, r15
mov r9d, 8
lea rdx, [rbp - 9]
mov rcx, rsi
call fcn.7ff7980c9670
cmp qword [rbp - 9], r12
je 0x7ff7980c7b20
add r14d, 8
cmp r14d, 0x800
mov eax, 0
jl 0x7ff7980c7ae0
xor dil, dil
jmp 0x7ff7980c7c1f
lea rax, [r13 + 1]
mov qword [rbp - 0x49], rax
mov rdx, qword [rbp + 0x17]
add rdx, r15
mov r9d, 8
lea r8, [rbp - 0x49]
mov rcx, rsi
call fcn.7ff7980c9670
mov r9d, 8
mov r8, rdi
lea rdx, [rbp - 0x49]
mov rcx, rsi
call fcn.7ff7980c9670
mov rcx, qword [rbp - 0x49]
test al, al
mov r14d, 0
cmove rcx, r14
mov qword [rbp - 0x19], rcx
lea r8, [rdi + 8]
lea r9d, [r14 + 8]
lea rdx, [rbp - 0x49]
mov rcx, rsi
call fcn.7ff7980c9670
mov rcx, qword [rbp - 0x49]
test al, al
cmove rcx, r14
mov qword [rbp - 0x59], rcx
mov rdx, qword [rbp - 0x19]
add rdx, 8
lea r9d, [r14 + 8]
lea r8, [rbp - 0x59]
mov rcx, rsi
call fcn.7ff7980c9670
lea r9d, [r14 + 8]
lea r8, [rbp - 0x19]
mov rdx, qword [rbp - 0x59]
mov rcx, rsi
call fcn.7ff7980c9670
mov dword [rbp + 0x13], r14d
lea r9d, [r14 + 4]
mov r8, r13
lea rdx, [rbp + 0x13]
mov rcx, rsi
call fcn.7ff7980c9670
dec dword [rbp + 0x13]
lea r9d, [r14 + 4]
lea r8, [rbp + 0x13]
mov rdx, r13
mov rcx, rsi
call fcn.7ff7980c9670
mov word [rbp + 0xf], r14w
lea r9d, [r14 + 2]
lea r8, [rdi - 0x20]
lea rdx, [rbp + 0xf]
mov rcx, rsi
call fcn.7ff7980c9670
mov eax, 0xda18
cmp word [rbp + 0xf], ax
jne 0x7ff7980c7c1c
lea r9, [rdi - 0x20]
mov r8, qword [rsp + 0x30]
xor edx, edx
mov rcx, rsi
call fcn.7ff7980c3550
mov dil, 1
test rbx, rbx
je 0x7ff7980c7c2c
mov rcx, rbx
call fcn.7ff798179c7c
movzx eax, dil
jmp 0x7ff7980c7a95