Function at 0x140001d20
Capabilities:
Encode data using xor

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rsi
push rbp
push rdi
push r13
push r14
push r15
lea rbp, [rsp - 0x37]
sub rsp, 0xf0
mov r15, rcx
xor ecx, ecx
call fcn.140010b78
mov rcx, rax
call fcn.140010650
xor eax, eax
mov dword [rsp + 0x30], 0xf79af79d
xor r14d, r14d
mov dword [rsp + 0x34], 0xf79df78b
mov edx, r14d
mov dword [rsp + 0x38], 0xf788f784
mov dword [rbp - 0x7d], 0xf79af787
mov r8d, 0x834
mov dword [rbp - 0x79], 0xf785f79b
mov dword [rbp - 0x75], 0xf784f797
mov dword [rbp - 0x71], 0xf79ff79c
mov dword [rbp - 0x6d], 0xf793f79d
mov dword [rbp - 0x69], 0xf796f796
mov dword [rbp - 0x65], 0xf785f792
mov dword [rbp - 0x61], 0xf7a2f7b8
mov dword [rbp - 0x5d], 0xf7a1f7b4
mov dword [rbp - 0x59], 0xf7a8f7aa
mov dword [rbp - 0x55], 0xf790f797
mov dword [rbp - 0x51], 0xf79bf78d
mov dword [rbp - 0x4d], 0xf792f79e
mov dword [rbp - 0x49], 0xf784f799
mov dword [rbp - 0x45], 0xf79ff781
mov dword [rbp - 0x41], 0xf782f791
mov dword [rbp - 0x3d], 0xf795f796
mov dword [rbp - 0x39], 0xf79df793
mov dword [rbp - 0x35], 0xf79cf79c
mov dword [rbp - 0x31], 0xf783f794
mov dword [rbp - 0x2d], 0xf798f782
mov dword [rbp - 0x29], 0xf79ff78a
mov dword [rbp - 0x25], 0xf792f790
mov dword [rbp - 0x21], 0xf833f831
mov dword [rbp - 0x1d], 0xf837f831
mov dword [rbp - 0x19], 0xf833f831
mov dword [rbp - 0x15], 0xf83ff831
mov dword [rbp - 0x11], 0xf839f831
mov word [rbp - 0xd], ax
nop
movsxd rax, edx
lea rcx, [rsp + 0x30]
lea rcx, [rcx + rax*2]
movzx eax, dx
sub ax, r8w
inc edx
xor word [rcx], ax
cmp edx, 0x3e
jb 0x140001e40
mov word [rbp - 0xd], r14w
lea rax, [rsp + 0x30]
mov qword [rbp + 0x17], r14
mov r8, 0xffffffffffffffff
mov qword [rbp + 0x27], r14
mov qword [rbp + 0x2f], 7
nop
inc r8
cmp word [rax + r8*2], r14w
jne 0x140001e80
lea rdx, [rsp + 0x30]
lea rcx, [rbp + 0x17]
call fcn.140003f60
mov rbx, qword [rbp + 0x27]
mov r13, qword [rbp + 0x17]
mov qword [r15], r14
mov qword [r15 + 0x10], r14
lea rdi, [rbx + 1]
mov qword [r15 + 0x18], 7
mov qword [rsp + 0x120], r12
nop dword [rax + rax]
call fcn.140010624
xor edx, edx
cdqe
div rdi
mov qword [rbp - 9], r14
movsxd rcx, edx
mov qword [rbp + 0xf], 7
cmp rbx, rcx
jb 0x140002117
mov esi, 1
mov rax, rbx
sub rax, rcx
cmp rax, rsi
cmovb rsi, rax
cmp qword [rbp + 0x2f], 8
lea rax, [rbp + 0x17]
cmovae rax, r13
lea r12, [rax + rcx*2]
cmp rsi, 7
ja 0x140001f3b
lea rbx, [rsi + rsi]
mov qword [rbp + 7], rsi
mov r8, rbx
lea rcx, [rbp - 9]
mov rdx, r12
call fcn.140009c10
mov word [rbp + rbx - 9], r14w
mov r14, qword [rbp + 0xf]
mov rsi, qword [rbp + 7]
mov rbx, qword [rbp - 9]
jmp 0x140001ff7
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
ja 0x140002111
mov r14, rsi
or r14, 7
cmp r14, rax
jbe 0x140001f66
mov r14, rax
mov rcx, 0xfffffffffffffffe
jmp 0x140001f96
cmp r14, 0xa
mov eax, 0xa
cmovb r14, rax
movabs rax, 0x7fffffffffffffff
lea rcx, [r14 + 1]
cmp rcx, rax
ja 0x140002123
add rcx, rcx
cmp rcx, 0x1000
jb 0x140001fc2
lea rax, [rcx + 0x27]
cmp rax, rcx
jbe 0x140002123
mov rcx, rax
call fcn.140007d8c
test rax, rax
je 0x14000211d
lea rbx, [rax + 0x27]
and rbx, 0xffffffffffffffe0
mov qword [rbx - 8], rax
jmp 0x140001fd3
test rcx, rcx
je 0x140001fd1
call fcn.140007d8c
mov rbx, rax
jmp 0x140001fd3
xor ebx, ebx
lea rdi, [rsi + rsi]
mov qword [rbp + 7], rsi
mov r8, rdi
mov qword [rbp + 0xf], r14
mov rdx, r12
mov rcx, rbx
call fcn.140009c10
xor eax, eax
mov qword [rbp - 9], rbx
mov word [rdi + rbx], ax
mov rdx, qword [r15 + 0x18]
lea r9, [rbp - 9]
mov rcx, qword [r15 + 0x10]
cmp r14, 8
mov rax, rdx
cmovae r9, rbx
sub rax, rcx
cmp rsi, rax
ja 0x140002043
lea r12, [rsi + rcx]
mov rdi, r15
mov qword [r15 + 0x10], r12
cmp rdx, 8
jb 0x14000202a
mov rdi, qword [r15]
lea r8, [rsi + rsi]
mov rdx, r9
lea rcx, [rdi + rcx*2]
call fcn.140009c10
xor eax, eax
mov word [rdi + r12*2], ax
jmp 0x14000205b
mov rdx, rsi
mov qword [rsp + 0x20], rsi
mov rcx, r15
call fcn.140004df0
mov r14, qword [rbp + 0xf]
mov rbx, qword [rbp - 9]
cmp r14, 8
jb 0x140002096
lea rdx, [r14*2 + 2]
mov rax, rbx
cmp rdx, 0x1000
jb 0x14000208e
mov rbx, qword [rbx - 8]
add rdx, 0x27
sub rax, rbx
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000211d
mov rcx, rbx
call fcn.140007b1c
cmp qword [r15 + 0x10], 0x20
mov r14d, 0
mov rbx, qword [rbp + 0x27]
lea rdi, [rbx + 1]
jne 0x140001ec0
mov rax, qword [rbp + 0x2f]
cmp rax, 8
jb 0x1400020ea
lea rdx, [rax*2 + 2]
mov rax, r13
cmp rdx, 0x1000
jb 0x1400020e2
mov r13, qword [r13 - 8]
add rdx, 0x27
sub rax, r13
add rax, 0xfffffffffffffff8
cmp rax, 0x1f
ja 0x14000211d
mov rcx, r13
call fcn.140007b1c
mov r12, qword [rsp + 0x120]
lea r11, [rsp + 0xf0]
mov rbx, qword [r11 + 0x38]
mov rax, r15
mov rsi, qword [r11 + 0x40]
mov rsp, r11
pop r15
pop r14
pop r13
pop rdi
pop rbp
ret
call fcn.140001310
int3
call fcn.140004520
int3
call fcn.140010fa4
int3
call fcn.140001270
int3