Function at 0x140088370
Capabilities:
Encode data using xor

Disassembly:
mov rax, rsp
push rbp
push rdi
push r12
push r13
push r15
lea rbp, [rax - 0x68]
sub rsp, 0x140
mov qword [rbp - 0x50], 0xfffffffffffffffe
mov qword [rax + 0x18], rbx
mov qword [rax + 0x20], rsi
mov rax, qword [0x1400d1090]
xor rax, rsp
mov qword [rbp + 0x38], rax
mov rsi, rdx
mov rbx, rcx
mov r15d, 0xf
mov qword [rbp - 8], r15
xor r13d, r13d
mov qword [rbp - 0x10], r13
mov byte [rbp - 0x20], r13b
lea rcx, [rbp + 8]
lea rdx, str.SSPjEj
lea r8d, [r15 + 0x1c]
call fcn.14009e430
lea edx, [r15 + 0x1a]
mov al, byte [rbp + rdx + 7]
xor byte [rbp + rdx + 8], al
dec rdx
test rdx, rdx
jg 0x1400883d7
xor byte [rbp + 8], 0x3b
xor eax, eax
or r12, 0xffffffffffffffff
mov rcx, r12
lea rdi, [rbp + 8]
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rdx, [rbp + 8]
lea rcx, [rbp - 0x20]
call fcn.14007df84
mov r9, r12
xor r8d, r8d
mov rdx, rsi
lea rcx, [rbp - 0x20]
call fcn.14008615c
mov dword [rsp + 0x50], r13d
lea rcx, [rsp + 0x58]
call fcn.14007e1d8
nop
lea rcx, [rsp + 0x78]
call fcn.14007e1d8
nop
mov qword [rbp - 0x60], r13
mov ecx, 0x400
mov qword [rbp - 0x58], rcx
call fcn.14008f4d8
mov qword [rbp - 0x68], rax
lea rcx, [rsp + 0x58]
call fcn.14008bdc8
mov qword [rbp + 0x20], r15
mov qword [rbp + 0x18], r13
mov byte [rbp + 8], r13b
lea r8d, [r12 + 7]
lea rdx, str.DELETE
lea rcx, [rbp + 8]
call fcn.14007df84
nop
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rdx, qword [rbp - 0x20]
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x38], r13
mov byte [rbp - 0x48], r13b
xor eax, eax
mov rcx, r12
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp - 0x48]
call fcn.14007df84
nop
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x48]
lea rcx, [rbx + 8]
call fcn.1400857c4
mov edi, eax
cmp qword [rbp - 0x30], 0x10
jb 0x140088507
mov rcx, qword [rbp - 0x48]
call fcn.14009f17c
mov qword [rbp - 0x30], r15
mov qword [rbp - 0x38], r13
mov byte [rbp - 0x48], r13b
cmp qword [rbp + 0x20], 0x10
jb 0x140088523
mov rcx, qword [rbp + 8]
call fcn.14009f17c
mov esi, r13d
mov r15d, 3
test edi, edi
je 0x14008871e
cmp edi, r15d
je 0x140088631
mov edx, 0x5a2bc0
mov ecx, 0xb9f5b9c
call fcn.14009de44
mov ecx, 0xbb8
call rax
mov edi, 0xf
mov qword [rbp + 0x20], rdi
mov qword [rbp + 0x18], r13
mov byte [rbp + 8], r13b
lea r8d, [rdi - 9]
lea rdx, str.DELETE
lea rcx, [rbp + 8]
call fcn.14007df84
nop
lea rdx, [rbp - 0x20]
cmp qword [rbp - 8], 0x10
cmovae rdx, qword [rbp - 0x20]
mov qword [rbp - 0x30], rdi
mov qword [rbp - 0x38], r13
mov byte [rbp - 0x48], r13b
xor eax, eax
or rcx, 0xffffffffffffffff
mov rdi, rdx
repne scasb al, byte [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp - 0x48]
call fcn.14007df84
nop
lea rax, [rbp - 0x68]
mov qword [rsp + 0x40], rax
lea rax, [rsp + 0x78]
mov qword [rsp + 0x38], rax
lea rax, [rsp + 0x50]
mov qword [rsp + 0x30], rax
lea rax, [rsp + 0x58]
mov qword [rsp + 0x28], rax
lea rax, [rbp + 8]
mov qword [rsp + 0x20], rax
xor r9d, r9d
xor r8d, r8d
lea rdx, [rbp - 0x48]
lea rcx, [rbx + 8]
call fcn.1400857c4
mov edi, eax
cmp qword [rbp - 0x30], 0x10
jb 0x140088604
mov rcx, qword [rbp - 0x48]
call fcn.14009f17c
mov qword [rbp - 0x30], 0xf
mov qword [rbp - 0x38], r13
mov byte [rbp - 0x48], r13b
cmp qword [rbp + 0x20], 0x10
jb 0x140088624
mov rcx, qword [rbp + 8]
call fcn.14009f17c
inc esi
cmp esi, r15d
jl 0x14008852c
jmp 0x140088637
mov dword [rbx], 1
test edi, edi
je 0x14008871e
cmp edi, 2
je 0x1400886b3
cmp edi, 4
je 0x1400886b3
cmp edi, 1
je 0x140088657
cmp edi, r15d
jne 0x14008871e
mov dword [rbx], 1
lea rcx, [rbp - 0x68]
call fcn.140080fa4
nop
mov r8, qword [rbp - 0x80]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.14007e120
nop
mov rcx, qword [rbp - 0x80]
call fcn.14009f17c
nop
mov r8, qword [rsp + 0x60]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.14007e120
nop
mov rcx, qword [rsp + 0x60]
call fcn.14009f17c
nop
jmp 0x14008870a
mov dword [rbx], r15d
lea rcx, [rbp - 0x68]
call fcn.140080fa4
nop
mov r8, qword [rbp - 0x80]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.14007e120
nop
mov rcx, qword [rbp - 0x80]
call fcn.14009f17c
nop
mov r8, qword [rsp + 0x60]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.14007e120
nop
mov rcx, qword [rsp + 0x60]
call fcn.14009f17c
nop
cmp qword [rbp - 8], 0x10
jb 0x14008871a
mov rcx, qword [rbp - 0x20]
call fcn.14009f17c
xor eax, eax
jmp 0x14008878a
mov dword [rbx], r13d
lea rcx, [rbp - 0x68]
call fcn.140080fa4
nop
mov r8, qword [rbp - 0x80]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x78]
call fcn.14007e120
nop
mov rcx, qword [rbp - 0x80]
call fcn.14009f17c
nop
mov r8, qword [rsp + 0x60]
mov r9, r8
mov r8, qword [r8]
lea rdx, [rsp + 0x50]
lea rcx, [rsp + 0x58]
call fcn.14007e120
nop
mov rcx, qword [rsp + 0x60]
call fcn.14009f17c
nop
cmp qword [rbp - 8], 0x10
jb 0x140088785
mov rcx, qword [rbp - 0x20]
call fcn.14009f17c
mov eax, 1
mov rcx, qword [rbp + 0x38]
xor rcx, rsp
call fcn.14009e400
lea r11, [rsp + 0x140]
mov rbx, qword [r11 + 0x40]
mov rsi, qword [r11 + 0x48]
mov rsp, r11
pop r15
pop r13
pop r12
pop rdi
pop rbp
ret