Function at 0x1400e2ee0
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x2f8
mov qword [rsp + 0x60], rcx
cmp rdx, 2
jb 0x1400e360c
mov r10, r8
mov rsi, rdx
movabs rax, 0x3fffffffffffffff
add rax, rdx
mov rcx, rax
or rcx, rdx
shr rcx, 0x20
je 0x1400e2f28
xor edx, edx
div rsi
jmp 0x1400e2f2c
xor edx, edx
div esi
mov qword [rsp + 0x68], rax
cmp rsi, 0x1001
mov qword [rsp + 0x48], r9
mov qword [rsp + 0x40], r10
jae 0x1400e2f5f
mov rax, rsi
shr rax, 1
mov rcx, rsi
sub rcx, rax
cmp rcx, 0x40
mov eax, 0x40
cmovb rax, rcx
jmp 0x1400e2f71
mov rcx, rsi
call fcn.1401d1ed0
mov r10, qword [rsp + 0x40]
mov r9, qword [rsp + 0x48]
mov qword [rsp + 0x58], rax
mov rax, qword [rsp + 0x60]
lea rcx, [rax + 8]
mov qword [rsp + 0x80], rcx
add rax, 0xfffffffffffffff8
mov qword [rsp + 0x70], rax
mov r13d, 1
xor r15d, r15d
movabs r11, 0x1ffffffffffffffe
xor r14d, r14d
mov qword [rsp + 0x90], rsi
nop
mov rax, qword [rsp + 0x60]
lea rax, [rax + r15*8]
mov qword [rsp + 0x50], rax
sub rsi, r15
jbe 0x1400e2ff0
cmp rsi, qword [rsp + 0x58]
jb 0x1400e30bb
cmp rsi, 2
jae 0x1400e300b
xor r8d, r8d
mov rax, rsi
cmp rax, qword [rsp + 0x58]
jb 0x1400e30bb
jmp 0x1400e31a0
xor esi, esi
mov eax, 1
mov qword [rsp + 0x78], rax
cmp r14, 2
jae 0x1400e32e0
jmp 0x1400e3596
mov rdi, rsi
mov rsi, qword [rsp + 0x50]
mov ecx, dword [rsi + 8]
mov edx, dword [rsi + 0xc]
xor eax, eax
cmp edx, dword [rsi + 4]
setb al
xor r8d, r8d
cmp ecx, dword [rsi]
setb r8b
cmove r8d, eax
test r8b, r8b
je 0x1400e3095
mov eax, 2
mov r8b, 1
mov rsi, rdi
cmp rdi, 2
je 0x1400e30b0
nop word cs:[rax + rax]
mov r9d, ecx
mov r10d, edx
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rdx + rax*8]
mov edx, dword [rdx + rax*8 + 4]
xor r11d, r11d
cmp edx, r10d
setb r11b
xor r10d, r10d
cmp ecx, r9d
setb r10b
cmove r10d, r11d
cmp r10b, 1
jne 0x1400e308b
inc rax
cmp rsi, rax
jne 0x1400e3050
mov rax, rsi
mov r9, qword [rsp + 0x48]
jmp 0x1400e3186
mov rsi, rdi
mov eax, 2
cmp rdi, 2
jne 0x1400e3130
xor r8d, r8d
nop word [rax + rax]
cmp rax, qword [rsp + 0x58]
jae 0x1400e31a0
cmp byte [rsp + 0x360], 0
je 0x1400e316f
cmp rsi, 0x20
mov eax, 0x20
cmovae rsi, rax
mov rax, qword [rsp + 0x368]
mov qword [rsp + 0x30], rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rcx, qword [rsp + 0x50]
mov rdx, rsi
mov r8, r10
call fcn.1400e80c0
movabs r11, 0x1ffffffffffffffe
mov r10, qword [rsp + 0x40]
mov r9, qword [rsp + 0x48]
lea rsi, [rsi*2 + 1]
jmp 0x1400e328c
mov r8d, ecx
mov r11d, edx
mov rdx, qword [rsp + 0x50]
mov ecx, dword [rdx + rax*8]
mov edx, dword [rdx + rax*8 + 4]
xor r10d, r10d
cmp edx, r11d
setb r10b
xor r11d, r11d
cmp ecx, r8d
setb r11b
cmove r11d, r10d
test r11b, r11b
jne 0x1400e3183
inc rax
cmp rsi, rax
jne 0x1400e3130
xor r8d, r8d
mov rax, rsi
jmp 0x1400e3186
mov rax, qword [rsp + 0x58]
cmp rax, rsi
cmovb rsi, rax
add rsi, rsi
jmp 0x1400e328c
xor r8d, r8d
mov r10, qword [rsp + 0x40]
movabs r11, 0x1ffffffffffffffe
cmp rax, qword [rsp + 0x58]
jb 0x1400e30bb
test r8b, r8b
je 0x1400e3284
cmp rax, 2
jb 0x1400e3284
mov rcx, rax
shr rcx, 1
mov rdx, qword [rsp + 0x50]
lea rdx, [rdx + rax*8]
lea r8, [rcx*8]
sub rdx, r8
cmp rcx, 1
jne 0x1400e31db
xor r8d, r8d
mov r12, r11
jmp 0x1400e3246
mov r9, rcx
and r9, 0xfffffffffffffffe
mov r8, qword [rsp + 0x80]
lea r10, [r8 + r15*8]
lea r8, [rax + r15]
mov r12, r11
mov r11, qword [rsp + 0x70]
lea r11, [r11 + r8*8]
xor r8d, r8d
nop word cs:[rax + rax]
mov rsi, qword [r11]
mov rdi, qword [r10 + r8*8 - 8]
mov qword [r10 + r8*8 - 8], rsi
mov qword [r11], rdi
mov rsi, r8
xor rsi, r12
add rsi, rcx
mov rdi, qword [rdx + rsi*8]
mov rbx, qword [r10 + r8*8]
mov qword [r10 + r8*8], rdi
mov qword [rdx + rsi*8], rbx
add r8, 2
add r11, 0xfffffffffffffff0
cmp r9, r8
jne 0x1400e3210
test al, 2
mov r9, qword [rsp + 0x48]
mov r10, qword [rsp + 0x40]
mov r11, r12
je 0x1400e3284
mov r10, r8
not r10
add rcx, r10
mov r11, qword [rdx + rcx*8]
mov rsi, qword [rsp + 0x50]
mov r10, qword [rsi + r8*8]
mov qword [rsi + r8*8], r11
movabs r11, 0x1ffffffffffffffe
mov qword [rdx + rcx*8], r10
mov r10, qword [rsp + 0x40]
lea rsi, [rax*2 + 1]
mov rax, r13
shr rax, 1
mov qword [rsp + 0x78], rsi
shr rsi, 1
lea rdx, [r15 + r15]
sub rdx, rax
lea rax, [rsi + r15*2]
mov rcx, qword [rsp + 0x68]
imul rdx, rcx
imul rax, rcx
xor rax, rdx
je 0x1400e32ca
bsr rsi, rax
xor rsi, 0x3f
cmp r14, 2
jae 0x1400e32e0
jmp 0x1400e3596
mov esi, 0x40
cmp r14, 2
jb 0x1400e3596
nop dword [rax]
mov rax, qword [rsp + 0x70]
lea rax, [rax + r15*8]
mov qword [rsp + 0x88], rax
mov qword [rsp + 0x98], r15
jmp 0x1400e333a
mov rdx, r10
mov r15, r13
sub r8, rdx
mov rcx, r15
call fcn.1401ef240
mov r9, qword [rsp + 0x48]
mov r10, qword [rsp + 0x40]
movabs r11, 0x1ffffffffffffffe
lea r13, [rbp*2 + 1]
mov r15, qword [rsp + 0x98]
cmp r14, 1
jbe 0x1400e3590
cmp byte [rsp + r14 + 0xa5], sil
jb 0x1400e3596
dec r14
mov rdi, qword [rsp + r14*8 + 0xe8]
mov r12, rdi
shr r12, 1
mov rbx, r13
shr rbx, 1
lea rbp, [r12 + rbx]
cmp rbp, r9
ja 0x1400e3390
mov eax, edi
or eax, r13d
and eax, 1
jne 0x1400e3390
add rbp, rbp
mov r13, rbp
cmp r14, 1
ja 0x1400e333a
jmp 0x1400e3590
mov rax, r15
sub rax, rbp
mov rcx, qword [rsp + 0x60]
lea r15, [rcx + rax*8]
test dil, 1
je 0x1400e33c0
test r13b, 1
je 0x1400e3415
cmp r13, 2
jae 0x1400e346f
jmp 0x1400e3320
mov rax, r12
or rax, 1
bsr rax, rax
xor eax, 0x3f
add eax, eax
xor eax, 0x7e
mov rcx, qword [rsp + 0x368]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x28], 0
mov rcx, r15
mov rdx, r12
mov r8, r10
call fcn.1400e80c0
movabs r11, 0x1ffffffffffffffe
mov r10, qword [rsp + 0x40]
mov r9, qword [rsp + 0x48]
test r13b, 1
jne 0x1400e33ab
lea rcx, [r15 + r12*8]
mov rax, rbx
or rax, 1
bsr rax, rax
xor eax, 0x3f
add eax, eax
xor eax, 0x7e
mov rdx, qword [rsp + 0x368]
mov qword [rsp + 0x30], rdx
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x28], 0
mov rdx, rbx
mov r8, r10
call fcn.1400e80c0
movabs r11, 0x1ffffffffffffffe
mov r10, qword [rsp + 0x40]
mov r9, qword [rsp + 0x48]
cmp r13, 2
jb 0x1400e3320
cmp rdi, 2
jb 0x1400e3320
cmp rbx, r12
mov rdi, r12
cmovb rdi, rbx
cmp rdi, r9
ja 0x1400e3320
lea r13, [r15 + r12*8]
cmp rbx, r12
mov rdx, r15
cmovb rdx, r13
lea r8, [rdi*8]
mov rcx, r10
call fcn.1401ef240
mov r10, qword [rsp + 0x40]
lea r8, [r10 + rdi*8]
cmp rbx, r12
jae 0x1400e351d
mov rax, qword [rsp + 0x88]
mov ecx, dword [r8 - 8]
mov edx, dword [r8 - 4]
xor r9d, r9d
cmp edx, dword [r13 - 4]
setb r9b
xor edx, edx
cmp ecx, dword [r13 - 8]
setb dl
cmove edx, r9d
test dl, dl
mov rcx, r8
cmovne rcx, r13
mov rcx, qword [rcx - 8]
mov qword [rax], rcx
movzx ecx, dl
xor dl, 1
movzx edx, dl
lea r13, [r13 + rdx*8 - 8]
lea r8, [r8 + rcx*8]
add r8, 0xfffffffffffffff8
cmp r13, r15
je 0x1400e32fb
add rax, 0xfffffffffffffff8
cmp r8, r10
jne 0x1400e34c0
jmp 0x1400e32fb
mov rdx, r10
test rdi, rdi
je 0x1400e3301
mov r10, qword [rsp + 0x50]
nop
mov ecx, dword [r13]
mov eax, dword [r13 + 4]
xor r9d, r9d
cmp eax, dword [rdx + 4]
setb r9b
xor eax, eax
cmp ecx, dword [rdx]
setb al
cmove eax, r9d
mov ecx, eax
xor cl, 1
test al, al
mov r9, rdx
cmovne r9, r13
mov r9, qword [r9]
mov qword [r15], r9
movzx ecx, cl
lea rdx, [rdx + rcx*8]
add r15, 8
cmp rdx, r8
je 0x1400e3301
movzx eax, al
lea r13, [r13 + rax*8]
cmp r13, r10
jne 0x1400e3530
jmp 0x1400e3301
mov r14d, 1
mov qword [rsp + r14*8 + 0xe8], r13
mov byte [rsp + r14 + 0xa6], sil
mov rsi, qword [rsp + 0x90]
cmp rsi, r15
jbe 0x1400e35c9
inc r14
mov r13, qword [rsp + 0x78]
mov rax, r13
shr rax, 1
add r15, rax
jmp 0x1400e2fb0
test r13b, 1
jne 0x1400e360c
mov rax, rsi
or rax, 1
bsr rax, rax
xor eax, 0x3f
add eax, eax
xor eax, 0x7e
mov rcx, qword [rsp + 0x368]
mov qword [rsp + 0x30], rcx
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x28], 0
mov rcx, qword [rsp + 0x60]
mov rdx, rsi
mov r8, r10
call fcn.1400e80c0
nop
add rsp, 0x2f8
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret