Function at 0x7ff6054059c0
Capabilities:
Encode data using xor

Disassembly:
push rbx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov eax, 0x118
call fcn.7ff60542b960
sub rsp, rax
mov rax, qword [0x7ff60566c600]
xor rax, rsp
mov qword [rsp + 0x100], rax
mov rbx, qword [rcx + 0x340]
lea r12, [rcx + 0x1f8]
mov r13, qword [rsp + 0x180]
lea rax, [rsp + 0x60]
mov rbp, rcx
mov qword [rsp + 0x50], r8
neg rax
lea rcx, [rsp + 0x60]
and eax, 0xf
mov r15, r9
add rax, rcx
mov r14, rdx
mov qword [rsp + 0x38], rax
lea rdi, [rbp + 0x1a0]
mov dword [rdi], 0
lea r9, [rbp + 0x180]
mov qword [rsp + 0x20], rdi
lea rcx, [rax + 0x30]
mov qword [rsp + 0x30], rcx
mov rcx, rax
lea rsi, [rax + 0x40]
cmp rbx, 0x40
ja 0x7ff605405e17
mov edx, 0x80
mov qword [rsp + 0x40], rdx
mov r8d, edx
lea rdx, [0x7ff6054f7df0]
call fcn.7ff60506c600
mov rdx, qword [rsp + 0x38]
mov rcx, r12
call fcn.7ff6053c1ec0
mov rax, qword [rsp + 0x30]
xor edi, edi
test byte [rbp + 0x6c], 2
movups xmm0, xmmword [rbp + 0x30c]
mov dword [rbp + 0x1f0], 0
mov qword [rbp + 0x320], 0xd
movups xmmword [rax], xmm0
mov qword [rbp + 0x328], rbx
je 0x7ff605405cad
test rbx, rbx
je 0x7ff605405df0
cmp rbx, 0x10
jb 0x7ff605405c71
lea rcx, [r14 - 1]
lea rdx, [rbx - 1]
add rcx, rbx
add rdx, rsi
cmp r14, rdx
ja 0x7ff605405ae7
cmp rcx, rsi
jae 0x7ff605405c71
lea rax, [r15 - 1]
add rax, rbx
cmp r14, rax
ja 0x7ff605405afc
cmp rcx, r15
jae 0x7ff605405c71
cmp rsi, rax
ja 0x7ff605405b0a
cmp rdx, r15
jae 0x7ff605405c71
mov r9, rbx
and r9, 0xfffffffffffffff0
mov rax, r15
lea r8, [rsi + 4]
sub rax, rsi
mov rcx, r14
sub rcx, rsi
nop dword [rax]
nop word [rax + rax]
movd xmm1, dword [r8 - 4]
xorps xmm0, xmm0
movd xmm2, dword [rax + r8 - 4]
add rdi, 0x10
movd xmm3, dword [r8 + rax]
lea r8, [r8 + 0x10]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
xorps xmm0, xmm0
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x7ff605631d70]
packuswb xmm2, xmm2
movd dword [r8 - 0x14], xmm2
movd xmm1, dword [r8 - 0x10]
movd dword [rcx + r8 - 0x14], xmm2
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
punpcklbw xmm3, xmm0
punpcklwd xmm3, xmm0
xorps xmm3, xmm1
pshuflw xmm0, xmm3, 0xd8
pshufhw xmm1, xmm0, 0xd8
xorps xmm0, xmm0
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x7ff605631d70]
packuswb xmm2, xmm2
movd dword [r8 - 0x10], xmm2
movd xmm1, dword [r8 - 0xc]
movd dword [r8 + rcx - 0x10], xmm2
movd xmm2, dword [rax + r8 - 0xc]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
xorps xmm0, xmm0
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x7ff605631d70]
packuswb xmm2, xmm2
movd dword [r8 - 0xc], xmm2
movd xmm1, dword [r8 - 8]
movd dword [rcx + r8 - 0xc], xmm2
movd xmm2, dword [rax + r8 - 8]
punpcklbw xmm2, xmm0
punpcklwd xmm2, xmm0
punpcklbw xmm1, xmm0
punpcklwd xmm1, xmm0
xorps xmm2, xmm1
pshuflw xmm0, xmm2, 0xd8
pshufhw xmm1, xmm0, 0xd8
pshufd xmm2, xmm1, 0xd8
andps xmm2, xmmword [0x7ff605631d70]
packuswb xmm2, xmm2
movd dword [r8 - 8], xmm2
movd dword [rcx + r8 - 8], xmm2
cmp rdi, r9
jb 0x7ff605405b30
cmp rdi, rbx
jae 0x7ff605405df0
mov r8, r15
lea rcx, [rdi + rsi]
mov r9, r14
sub r8, rsi
sub r9, rsi
mov rdx, rbx
sub rdx, rdi
mov rdi, rbx
nop word [rax + rax]
movzx eax, byte [rcx + r8]
xor byte [rcx], al
movzx eax, byte [rcx]
mov byte [rcx + r9], al
lea rcx, [rcx + 1]
sub rdx, 1
jne 0x7ff605405c90
jmp 0x7ff605405df0
test rbx, rbx
je 0x7ff605405df0
cmp rbx, 0x40
jb 0x7ff605405daf
lea rcx, [rbx - 1]
lea rdx, [r14 - 1]
add rcx, rsi
add rdx, rbx
cmp rsi, rdx
ja 0x7ff605405cdc
cmp rcx, r14
jae 0x7ff605405daf
lea rax, [r15 - 1]
add rax, rbx
cmp rsi, rax
ja 0x7ff605405cf1
cmp rcx, r15
jae 0x7ff605405daf
cmp r14, rax
ja 0x7ff605405cff
cmp rdx, r15
jae 0x7ff605405daf
mov r8, rbx
and r8, 0xffffffffffffffc0
mov rcx, r15
lea rax, [rsi + 0x10]
sub rcx, rsi
mov r9, r15
sub r9, r14
mov rdx, r14
sub rdx, rsi
lea r10, [rcx + 0x10]
lea r11, [rcx + 0x20]
lea r12, [rcx - 0x10]
nop dword [rax + rax]
movdqu xmm0, xmmword [rax - 0x10]
lea rcx, [rdx + rax]
add rdi, 0x40
movdqu xmm1, xmmword [r12 + rax]
movdqu xmm2, xmmword [r10 + rax]
xorps xmm0, xmm1
movdqu xmmword [rdx + rax - 0x10], xmm0
movdqu xmmword [rax - 0x10], xmm1
movdqu xmm0, xmmword [rax]
lea rax, [rax + 0x40]
movdqu xmm1, xmmword [rcx + r9]
xorps xmm0, xmm1
movdqu xmmword [rcx], xmm0
movdqu xmmword [rax - 0x40], xmm1
movdqu xmm0, xmmword [rax - 0x30]
movdqu xmm1, xmmword [r11 + rax - 0x40]
xorps xmm0, xmm2
movdqu xmmword [rdx + rax - 0x30], xmm0
movdqu xmmword [rax - 0x30], xmm2
movdqu xmm0, xmmword [rax - 0x20]
movdqu xmmword [rax - 0x20], xmm1
xorps xmm0, xmm1
movdqu xmmword [rdx + rax - 0x20], xmm0
cmp rdi, r8
jb 0x7ff605405d30
lea r12, [rbp + 0x1f8]
cmp rdi, rbx
jae 0x7ff605405df0
mov r10, r15
lea r8, [rdi + rsi]
mov r11, r14
sub r10, r14
sub r11, rsi
mov r9, rbx
sub r9, rdi
mov rdi, rbx
nop dword [rax + rax]
lea rcx, [r11 + r8]
movzx edx, byte [rcx + r10]
lea r8, [r8 + 1]
movzx eax, dl
xor al, byte [r8 - 1]
mov byte [r8 - 1], dl
mov byte [rcx], al
sub r9, 1
jne 0x7ff605405dd0
mov rbx, rdi
lea rcx, [rdi + rsi]
neg rbx
xor edx, edx
and ebx, 0xf
mov r8d, ebx
call sub.VCRUNTIME140.dll_memset
lea rax, [rbx + rdi]
add rsi, rax
lea r8, [rax + 0x20]
jmp 0x7ff605405eed
mov edx, 0x40
mov qword [rsp + 0x40], rdx
mov r8d, edx
lea rdx, [0x7ff6054f7df0]
call fcn.7ff60506c600
mov rdx, qword [rsp + 0x38]
mov rcx, r12
call fcn.7ff6053c1ec0
mov r8d, 0x10
mov dword [rdi], 1
lea rdx, [rbp + 0x30c]
mov dword [rbp + 0x1f0], 0
mov rcx, r12
call fcn.7ff6053c1fc0
test byte [rbp + 0x6c], 2
mov r8, rbx
mov qword [rsp + 0x30], rsi
mov rdx, r15
mov qword [rbp + 0x320], 0xd
mov qword [rbp + 0x328], rbx
je 0x7ff605405ea9
lea r9, [rbp + 0x180]
mov qword [rsp + 0x20], rdi
mov rcx, r14
call fcn.7ff60506c600
mov r8, rbx
mov rdx, r14
mov rcx, r12
call fcn.7ff6053c1fc0
jmp 0x7ff605405ecb
mov rcx, r12
call fcn.7ff6053c1fc0
lea r9, [rbp + 0x180]
mov qword [rsp + 0x20], rdi
mov r8, rbx
mov rdx, r15
mov rcx, r14
call fcn.7ff60506c600
mov r8, rbx
lea rdx, [0x7ff6054f7df0]
neg r8
mov rcx, r12
and r8d, 0xf
call fcn.7ff6053c1fc0
mov r8d, 0x10
mov rdi, rbx
movups xmm0, xmmword [rbp + 0x320]
add r15, rdi
lea rbx, [r14 + rdi]
mov rdi, qword [rsp + 0x30]
mov rcx, r12
mov rdx, rdi
movups xmmword [rsi], xmm0
call fcn.7ff6053c1fc0
mov rdx, qword [rsp + 0x40]
mov rcx, qword [rsp + 0x38]
call fcn.7ff605031240
test byte [rbp + 0x6c], 2
lea rdx, [rbp + 0x2fc]
mov rcx, r12
cmove rdx, rdi
call fcn.7ff6053c1e10
test byte [rbp + 0x6c], 2
mov qword [rbp + 0x340], 0xffffffffffffffff
je 0x7ff605405f51
movups xmm0, xmmword [rbp + 0x2fc]
movups xmmword [rbx], xmm0
jmp 0x7ff605405f86
mov r8d, 0x10
mov rdx, r15
mov rcx, rdi
call fcn.7ff6050312b0
test eax, eax
je 0x7ff605405f82
cmp r13, 0x10
jbe 0x7ff605405f7e
sub rbx, r13
lea r8, [r13 - 0x10]
xor edx, edx
lea rcx, [rbx + 0x10]
call sub.VCRUNTIME140.dll_memset
xor eax, eax
jmp 0x7ff605405f93
sub r13, 0x10
mov rcx, qword [rsp + 0x50]
mov eax, 1
mov qword [rcx], r13
mov rcx, qword [rsp + 0x100]
xor rcx, rsp
call fcn.7ff60542acb0
add rsp, 0x118
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
pop rbx
ret