Function at 0x5fac70
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rbx
sub rsp, 0x190
xor r9d, r9d
mov r15, rcx
lea rcx, [rsp + 0xbf]
mov rbx, r8
mov r13, rdx
and rcx, 0xffffffffffffffc0
lea r14, [r15 + 0x100]
xor r8d, r8d
mov edx, 0x20
mov r12, rcx
cmp rbx, 0x40
ja 0x5faee8
mov rcx, r15
lea r12, [rsp + 0x40]
call fcn.00450720
movabs rax, 0x3636363636363636
movabs rdx, 0x3636363636363636
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdx
test rbx, rbx
je 0x5faf90
cmp rbx, 0x1f
jbe 0x5faf80
vmovdqu ymm2, ymmword [rsp + 0x40]
mov rax, rbx
vpxor ymm0, ymm2, ymmword [r13]
shr rax, 5
vmovdqu ymmword [rsp + 0x40], ymm0
cmp rax, 2
jne 0x5fae3c
vmovdqu ymm3, ymmword [rsp + 0x60]
vpxor ymm0, ymm3, ymmword [r13 + 0x20]
vmovdqu ymmword [rsp + 0x60], ymm0
mov r8d, 0x40
mov rdx, r12
mov rcx, r15
vzeroupper
call fcn.00450930
xor r9d, r9d
xor r8d, r8d
mov edx, 0x20
mov rcx, r14
call fcn.00450720
test rbx, rbx
movabs rax, 0x5c5c5c5c5c5c5c5c
movabs rdx, 0x5c5c5c5c5c5c5c5c
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x70], rax
mov eax, 1
mov qword [rsp + 0x48], rdx
cmovne rax, rbx
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x78], rdx
vmovdqu ymm1, ymmword [rsp + 0x40]
mov rdx, rax
vpxor ymm0, ymm1, ymmword [r13]
shr rdx, 5
vmovdqu ymmword [rsp + 0x40], ymm0
cmp rdx, 2
jne 0x5fae10
vmovdqu ymm0, ymmword [r13 + 0x20]
vpxor ymm0, ymm0, ymmword [rsp + 0x60]
vmovdqu ymmword [rsp + 0x60], ymm0
vzeroupper
mov r8d, 0x40
mov rdx, r12
mov rcx, r14
call fcn.00450930
nop
add rsp, 0x190
pop rbx
pop r12
pop r13
pop r14
pop r15
ret
cmp rax, 0x20
je 0x5faff5
mov eax, 0x20
vzeroupper
nop word [rax + rax]
movzx edx, byte [r13 + rax]
xor byte [r12 + rax], dl
inc rax
cmp rax, rbx
jb 0x5fae28
jmp 0x5fade8
cmp rbx, 0x20
je 0x5fad45
mov eax, 0x20
vzeroupper
nop
movzx edx, byte [r12 + rax]
xor dl, byte [r13 + rax]
mov byte [r12 + rax], dl
inc rax
cmp rbx, rax
ja 0x5fae50
mov r8d, 0x40
mov rdx, r12
mov rcx, r15
call fcn.00450930
xor r9d, r9d
xor r8d, r8d
mov edx, 0x20
mov rcx, r14
call fcn.00450720
test rbx, rbx
movabs rax, 0x5c5c5c5c5c5c5c5c
movabs rdx, 0x5c5c5c5c5c5c5c5c
mov qword [r12], rax
mov qword [r12 + 0x10], rax
mov qword [r12 + 0x20], rax
mov qword [r12 + 0x30], rax
mov eax, 1
mov qword [r12 + 8], rdx
cmovne rax, rbx
mov qword [r12 + 0x18], rdx
mov qword [r12 + 0x28], rdx
mov qword [r12 + 0x38], rdx
cmp rbx, 0x1f
ja 0x5fadb4
xor eax, eax
jmp 0x5fae28
call fcn.00450720
mov r8, rbx
mov rdx, r13
mov rcx, r12
call fcn.00450930
lea r13, [rsp + 0x20]
mov rcx, r12
mov ebx, 0x20
mov rdx, r13
lea r12, [rsp + 0x40]
call fcn.004509b0
mov edx, 0x20
xor r9d, r9d
xor r8d, r8d
mov rcx, r15
call fcn.00450720
movabs rax, 0x3636363636363636
movabs rdx, 0x3636363636363636
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rdx
vmovdqu ymm4, ymmword [rsp + 0x40]
vpxor ymm0, ymm4, ymmword [rsp + 0x20]
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdx
vmovdqu ymmword [rsp + 0x40], ymm0
jmp 0x5fad45
xor eax, eax
jmp 0x5fae50
mov r8d, 0x40
mov rdx, r12
mov rcx, r15
call fcn.00450930
mov edx, 0x20
xor r9d, r9d
xor r8d, r8d
mov rcx, r14
call fcn.00450720
movabs rax, 0x5c5c5c5c5c5c5c5c
movabs rdx, 0x5c5c5c5c5c5c5c5c
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x48], rdx
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rdx
mov qword [rsp + 0x60], rax
mov qword [rsp + 0x68], rdx
mov qword [rsp + 0x70], rax
mov qword [rsp + 0x78], rdx
jmp 0x5fade8
vzeroupper
jmp 0x5fade8