Function at 0x180086d20
Capabilities:
Encode data using xor

Disassembly:
push rbp
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rsp - 0xd0]
sub rsp, 0x1d0
mov qword [rbp - 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x218], rbx
mov rax, qword [0x1802609a8]
xor rax, rsp
mov qword [rbp + 0xc0], rax
mov r14, r9
mov rdi, rdx
mov r12, rcx
mov qword [rbp - 0x48], rcx
mov qword [rbp + 0x98], 0xf
xor r15d, r15d
mov qword [rbp + 0x90], r15
mov byte [rbp + 0x80], r15b
xor r8d, r8d
lea rdx, [0x1801ba248]
lea rcx, [rbp + 0x80]
call fcn.1800325c0
nop
lea rdx, [rbp + 0xa0]
mov rcx, r12
call fcn.1800866a0
nop
lea r8, [rbp + 0x80]
mov rdx, rax
lea rcx, [rsp + 0x30]
call fcn.18005e240
nop
mov rax, qword [rbp + 0xb8]
cmp rax, 0x10
jb 0x180086e1d
inc rax
mov rcx, qword [rbp + 0xa0]
cmp rax, 0x1000
jb 0x180086e18
test cl, 0x1f
je 0x180086deb
call fcn.1801810ec
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180086dfa
call fcn.1801810ec
int3
sub rcx, rax
cmp rcx, 8
jae 0x180086e09
call fcn.1801810ec
int3
cmp rcx, 0x27
jbe 0x180086e15
call fcn.1801810ec
int3
mov rcx, rax
call fcn.18015dea0
mov qword [rbp + 0xb8], 0xf
mov qword [rbp + 0xb0], r15
mov byte [rbp + 0xa0], 0
mov rax, qword [rbp + 0x98]
cmp rax, 0x10
jb 0x180086e92
inc rax
mov rcx, qword [rbp + 0x80]
cmp rax, 0x1000
jb 0x180086e8d
test cl, 0x1f
je 0x180086e60
call fcn.1801810ec
int3
mov rax, qword [rcx - 8]
cmp rax, rcx
jb 0x180086e6f
call fcn.1801810ec
int3
sub rcx, rax
cmp rcx, 8
jae 0x180086e7e
call fcn.1801810ec
int3
cmp rcx, 0x27
jbe 0x180086e8a
call fcn.1801810ec
int3
mov rcx, rax
call fcn.18015dea0
mov qword [rbp + 0x98], 0xf
mov qword [rbp + 0x90], r15
mov byte [rbp + 0x80], 0
lea r13, [r12 + 0x38]
mov rcx, r13
call fcn.180081e00
mov rsi, rax
mov qword [rbp - 0x50], rax
mov rcx, qword [rsp + 0x30]
mov rdx, qword [rcx]
call qword [rdx]
mov qword [rsp + 0x50], rax
lea rcx, [rbp - 0x50]
lea rdx, [rsp + 0x50]
cmp rsi, rax
cmovae rcx, rdx
mov rax, qword [rcx]
lea rcx, [rax + rsi]
cmp qword [rbp + 0x130], rcx
jne 0x180087307
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x78], xmm0
mov qword [rbp - 0x78], r15
xor ecx, ecx
lea rbx, [r14 + rax]
movzx r9d, cl
mov r8, rbx
mov rdx, r14
lea rcx, [rsp + 0x78]
call fcn.180033240
nop
mov r8, rsi
mov rdx, rbx
lea rcx, [rbp - 0x70]
call fcn.1800571d0
nop
xor edx, edx
lea rcx, [rbp - 0x70]
call fcn.180057a40
test eax, eax
jle 0x1800872bf
mov rcx, r13
call fcn.180081dc0
mov r8b, 1
mov rdx, rax
lea rcx, [rbp - 0x70]
call fcn.180057920
test eax, eax
jns 0x1800872bf
lea rdx, [rsp + 0x78]
lea rcx, [rbp + 0xa0]
call fcn.18001fbb0
nop
mov r15, qword [rbp - 0x80]
mov r14, qword [rsp + 0x78]
sub r15, r14
mov r8, r15
mov rsi, qword [rbp + 0xa0]
mov rax, rsi
cmp r15, 0x10
jb 0x180086fc5
mov r10, rdi
sub r10, rsi
mov r9, r15
shr r9, 4
imul rcx, r9, 0xfffffffffffffff0
add r8, rcx
mov rdx, qword [rdi]
xor rdx, qword [rax]
mov rcx, qword [rax + 8]
xor rcx, qword [rax + r10 + 8]
mov qword [rax], rdx
mov qword [rax + 8], rcx
add rax, 0x10
add rdi, 0x10
sub r9, 1
jne 0x180086fa1
test r8, r8
je 0x180086fe0
sub rdi, rax
nop dword [rax]
movzx ecx, byte [rax + rdi]
xor byte [rax], cl
lea rax, [rax + 1]
sub r8, 1
jne 0x180086fd0
mov r8, qword [rbp + 0xa8]
sub r8, rsi
mov rdx, rsi
lea rcx, [rsp + 0x58]
call fcn.1800571d0
nop
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x80]
mov rcx, r13
call fcn.180082b40
mov r8, rax
lea rax, [rsp + 0x58]
cmp rax, r8
je 0x18008705d
mov rdx, qword [rsp + 0x58]
mov rcx, qword [r8]
mov qword [rsp + 0x58], rcx
mov qword [r8], rdx
mov rdx, qword [rsp + 0x60]
mov rcx, qword [r8 + 8]
mov qword [rsp + 0x60], rcx
mov qword [r8 + 8], rdx
mov rcx, qword [rsp + 0x68]
mov rax, qword [r8 + 0x10]
mov qword [rsp + 0x68], rax
mov qword [r8 + 0x10], rcx
mov ecx, dword [rsp + 0x70]
mov eax, dword [r8 + 0x18]
mov dword [rsp + 0x70], eax
mov dword [r8 + 0x18], ecx
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x180087083
mov rdx, qword [rbp + 0x90]
sub rdx, rcx
sar rdx, 3
mov r8d, 8
call fcn.1800302d0
nop
lea rcx, [r12 + 0x48]
lea r9, [rbp - 0x70]
lea r8, [rsp + 0x58]
lea rdx, [rbp + 0x10]
call fcn.1800e9250
nop
lea rdx, [rbp - 0x18]
lea rcx, [rbp + 0x10]
call fcn.18007e2e0
nop
lea rcx, [rbp - 0x18]
call fcn.1800578f0
mov rdx, rax
lea rcx, [rbp - 0x38]
call fcn.180032ca0
nop
mov r12, qword [rbp - 0x38]
mov rdx, r12
lea rcx, [rbp - 0x18]
call fcn.1800577e0
lea rdx, [rsp + 0x50]
mov rcx, qword [rbp - 0x48]
call fcn.180086440
nop
mov r8, qword [rbp - 0x30]
sub r8, r12
mov rbx, qword [rsp + 0x50]
mov rax, qword [rbx]
mov rdx, r12
mov rcx, rbx
call qword [rax + 8]
mov rax, qword [rbx]
lea rdx, [rsp + 0x38]
mov rcx, rbx
call qword [rax + 0x10]
nop
lea rax, vtable.Botan::Null_RNG.0
mov qword [rbp - 0x40], rax
mov rcx, r13
call fcn.180081de0
mov r10, qword [rbx]
lea rcx, [rbp - 0x40]
mov qword [rsp + 0x20], rcx
mov r9, rax
lea r8, [rsp + 0x38]
lea rdx, [rbp + 0x80]
mov rcx, rbx
call qword [r10 + 0x18]
mov rdi, rax
lea rax, [rsp + 0x38]
cmp rax, rdi
je 0x1800871a1
mov rcx, qword [rsp + 0x38]
test rcx, rcx
je 0x180087177
mov rdx, qword [rsp + 0x48]
sub rdx, rcx
mov r8d, 1
call fcn.1800302d0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
xor r13d, r13d
mov qword [rsp + 0x48], r13
jmp 0x18008717a
xor r13d, r13d
mov rax, qword [rdi]
mov qword [rsp + 0x38], rax
mov rax, qword [rdi + 8]
mov qword [rsp + 0x40], rax
mov rax, qword [rdi + 0x10]
mov qword [rsp + 0x48], rax
mov qword [rdi], r13
mov qword [rdi + 8], r13
mov qword [rdi + 0x10], r13
jmp 0x1800871a4
xor r13d, r13d
mov rcx, qword [rbp + 0x80]
test rcx, rcx
je 0x1800871c6
mov rdx, qword [rbp + 0x90]
sub rdx, rcx
mov r8d, 1
call fcn.1800302d0
nop
mov r8, qword [rsp + 0x40]
mov rdi, qword [rsp + 0x38]
sub r8, rdi
cmp r8, r15
jne 0x1800871ec
mov rdx, r14
mov rcx, rdi
call fcn.18017c6f0
test eax, eax
jne 0x1800871ec
mov r15b, 1
jmp 0x1800871ef
xor r15b, r15b
test rdi, rdi
je 0x180087218
mov rdx, qword [rsp + 0x48]
sub rdx, rdi
mov r8d, 1
mov rcx, rdi
call fcn.1800302d0
xorps xmm0, xmm0
movdqu xmmword [rsp + 0x38], xmm0
mov qword [rsp + 0x48], r13
mov rax, qword [rbx]
mov edx, 1
mov rcx, rbx
call qword [rax]
nop
test r12, r12
je 0x180087241
mov rdx, qword [rbp - 0x28]
sub rdx, r12
mov r8d, 1
mov rcx, r12
call fcn.1800302d0
nop
lea rcx, [rbp - 0x18]
call fcn.18003ac10
nop
lea rcx, [rbp + 0x10]
call fcn.180053180
nop
lea rcx, [rsp + 0x58]
call fcn.18003ac10
nop
test rsi, rsi
je 0x18008727e
mov rdx, qword [rbp + 0xb0]
sub rdx, rsi
mov r8d, 1
mov rcx, rsi
call fcn.1800302d0
nop
lea rcx, [rbp - 0x70]
call fcn.18003ac10
nop
test r14, r14
je 0x1800872a3
mov rdx, qword [rbp - 0x78]
sub rdx, r14
mov r8d, 1
mov rcx, r14
call fcn.1800302d0
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x1800872b9
mov r8, qword [rcx]
mov edx, 1
call qword [r8 + 8]
movzx eax, r15b
jmp 0x18008731e
mov rcx, qword [rbp - 0x70]
test rcx, rcx
je 0x1800872ea
mov rdx, qword [rbp - 0x60]
sub rdx, rcx
sar rdx, 3
mov r8d, 8
call fcn.1800302d0
xorps xmm0, xmm0
movdqu xmmword [rbp - 0x70], xmm0
mov qword [rbp - 0x60], r15
mov rcx, qword [rsp + 0x78]
test rcx, rcx
je 0x180087307
mov rdx, qword [rbp - 0x78]
sub rdx, rcx
mov r8d, 1
call fcn.1800302d0
nop
mov rcx, qword [rsp + 0x30]
test rcx, rcx
je 0x18008731c
mov rax, qword [rcx]
mov edx, 1
call qword [rax + 8]
xor al, al
mov rcx, qword [rbp + 0xc0]
xor rcx, rsp
call fcn.18015e5e0
mov rbx, qword [rsp + 0x218]
add rsp, 0x1d0
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbp
ret