Function at 0x14009f530
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rdx
mov qword [rsp + 8], rcx
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
mov rbp, rsp
sub rsp, 0x80
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rsp + 0xd8], rbx
mov r15, rdx
mov r12, rcx
xor edx, edx
mov ebx, edx
mov qword [rbp - 0x38], rdx
mov eax, 0xf
mov qword [rbp - 0x30], rax
mov byte [rbp - 0x48], dl
mov rdi, qword [r15]
mov r13, qword [r15 + 8]
cmp rdi, r13
je 0x14009f692
nop dword [rax]
mov qword [rbp - 0x18], rdx
mov qword [rbp - 0x10], shutdown
mov byte [rbp - 0x28], 0
mov r8d, 3
cmp qword [rdi + 0x10], r8
cmovb r8, qword [rdi + 0x10]
mov rdx, rdi
cmp qword [rdi + 0x18], 0x10
jb 0x14009f5bc
mov rdx, qword [rdi]
lea rcx, [rbp - 0x28]
call fcn.14001e6d0
nop
lea r9, [rbp - 0x28]
mov rsi, qword [rbp - 0x28]
mov r14, qword [rbp - 0x10]
cmp r14, 0x10
cmovae r9, rsi
mov r12, qword [rbp - 0x38]
mov rcx, qword [rbp - 0x30]
mov rax, rcx
sub rax, r12
mov r15, qword [rbp - 0x18]
cmp r15, rax
ja 0x14009f620
lea rax, [r12 + r15]
mov qword [rbp - 0x38], rax
lea rbx, [rbp - 0x48]
cmp rcx, 0x10
cmovae rbx, qword [rbp - 0x48]
lea rcx, [rbx + r12]
mov r8, r15
mov rdx, r9
call fcn.14016d600
lea rax, [r15 + rbx]
mov byte [rax + r12], 0
jmp 0x14009f63c
mov qword [rsp + 0x20], r15
xor r8d, r8d
mov rdx, r15
lea rcx, [rbp - 0x48]
call fcn.14001b7f0
mov r14, qword [rbp - 0x10]
mov rsi, qword [rbp - 0x28]
cmp r14, 0x10
jb 0x14009f673
lea rdx, [r14 + 1]
mov rax, rsi
cmp rdx, 0x1000
jb 0x14009f66b
add rdx, 0x27
mov rsi, qword [rsi - 8]
sub rax, rsi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009f889
mov rcx, rsi
call fcn.14014f740
add rdi, 0x20
xor edx, edx
cmp rdi, r13
jne 0x14009f590
mov rax, qword [rbp - 0x30]
mov rbx, qword [rbp - 0x38]
mov r15, qword [rbp + 0x48]
mov r12, qword [rbp + 0x40]
mov qword [rbp - 0x10], rdx
lea r14, [rbp - 0x48]
cmp rax, 0x10
cmovae r14, qword [rbp - 0x48]
cmp rbx, 0x10
jae 0x14009f6c7
movups xmm0, xmmword [r14]
movups xmmword [rbp - 0x28], xmm0
mov esi, 0xf
lea r8, [rbp - 0x28]
lea rax, [rbp - 0x28]
mov rdi, qword [rbp - 0x28]
jmp 0x14009f755
mov rsi, rbx
or rsi, 0xf
movabs rax, 0x7fffffffffffffff
cmp rsi, rax
cmova rsi, rax
lea rax, [rsi + 1]
cmp rax, 0x1000
jb 0x14009f719
lea rcx, [rax + 0x27]
mov rdx, 0xffffffffffffffff
cmp rcx, rax
cmovbe rcx, rdx
call fcn.14014f704
test rax, rax
je 0x14009f88f
lea rdi, [rax + 0x27]
and rdi, 0xffffffffffffffe0
mov qword [rdi - 8], rax
jmp 0x14009f72e
test rax, rax
je 0x14009f72b
mov rcx, rax
call fcn.14014f704
mov rdi, rax
jmp 0x14009f72e
mov rdi, rdx
mov qword [rbp - 0x28], rdi
lea r8, [rbx + 1]
mov rdx, r14
mov rcx, rdi
call fcn.14016d600
lea r8, [rbp - 0x28]
cmp rsi, 0x10
cmovae r8, rdi
lea rax, [rbp - 0x28]
cmovae rax, rdi
mov rdx, r8
mov rcx, rsi
mov qword [rbp - 0x10], rsi
mov qword [rbp - 0x18], rbx
add rax, rbx
mov r9, rax
sub r9, r8
cmp r8, rax
mov r14d, 0
cmova r9, r14
mov r11d, 0xffffffff
mov ebx, r11d
test r9, r9
je 0x14009f7b9
mov r10, qword [0x14028b018]
nop
movsx rax, byte [rdx]
xor rax, rbx
movzx ecx, al
mov rax, rbx
shr rax, 8
mov rbx, qword [r10 + rcx*8]
xor rbx, rax
inc rdx
mov rax, rdx
sub rax, r8
cmp rax, r9
jne 0x14009f790
mov rcx, rsi
xor rbx, r11
cmp rcx, 0x10
jb 0x14009f7f3
lea rdx, [rcx + 1]
mov rax, rdi
cmp rdx, 0x1000
jb 0x14009f7eb
add rdx, 0x27
mov rdi, qword [rdi - 8]
sub rax, rdi
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009f895
mov rcx, rdi
call fcn.14014f740
mov rcx, qword [r15 + 8]
sub rcx, qword [r15]
sar rcx, 5
xor edx, edx
mov rax, rbx
div rcx
shl rdx, 5
add rdx, qword [r15]
mov rcx, r12
call fcn.14001c370
nop
mov rdx, qword [rbp - 0x30]
cmp rdx, 0x10
jb 0x14009f84d
inc rdx
mov rcx, qword [rbp - 0x48]
mov rax, rcx
cmp rdx, 0x1000
jb 0x14009f848
add rdx, 0x27
mov rcx, qword [rcx - 8]
sub rax, rcx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14009f883
call fcn.14014f740
mov qword [rbp - 0x38], r14
mov qword [rbp - 0x30], shutdown
mov byte [rbp - 0x48], 0
mov rcx, r15
call fcn.1400266e0
mov rax, r12
mov rbx, qword [rsp + 0xd8]
add rsp, 0x80
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret
call fcn.1401705dc
nop
call fcn.1401705dc
int3
call fcn.1401705dc
int3
call fcn.1401705dc
int3