Function at 0x14002ee20
Capabilities:
Encode data using xor

Disassembly:
push rbp
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbx
sub rsp, 0x308
lea rbp, [rsp + 0x80]
mov rsi, r8
mov r8, rdx
mov qword [rbp + 0x270], rcx
movabs rax, 0x3fffffffffffffff
add rax, rdx
mov rcx, rax
or rcx, rdx
shr rcx, 0x20
je 0x14002ee68
sub edx, edx
div r8
jmp 0x14002ee6d
xor edx, edx
div r8d
mov qword [rbp + 0x240], rax
cmp r8, 0x1001
mov qword [rbp + 0x260], r8
mov rax, r8
jae 0x14002eea3
shr rax, 1
sub r8, rax
cmp r8, 0x40
mov eax, 0x40
cmovb rax, r8
mov qword [rbp + 0x268], rax
jmp 0x14002eecb
or rax, 1
bsr rcx, rax
xor ecx, 0xffffffc0
add ecx, 0x41
shr ecx, 1
mov eax, 1
shl rax, cl
shr r8, cl
add r8, rax
shr r8, 1
mov qword [rbp + 0x268], r8
mov rax, qword [rbp + 0x270]
lea rcx, [rax + 0x20]
mov qword [rbp + 0x248], rcx
lea rcx, [rax + 0x10]
mov qword [rbp + 0x228], rcx
add rax, 0xfffffffffffffff0
mov qword [rbp + 0x238], rax
mov r15d, 1
xor r13d, r13d
xor r10d, r10d
mov qword [rbp + 0x278], r9
mov qword [rbp + 0x280], rsi
nop dword [rax]
mov r11, qword [rbp + 0x260]
sub r11, r13
jbe 0x14002ef90
mov rdx, r13
shl rdx, 4
mov rax, qword [rbp + 0x270]
lea rcx, [rax + rdx]
cmp r11, qword [rbp + 0x268]
jae 0x14002efb0
cmp byte [rbp + 0x2f0], 0
je 0x14002efc4
mov rbx, r11
cmp r11, 0x20
mov eax, 0x20
cmovae rbx, rax
mov qword [rsp + 0x28], 0
mov dword [rsp + 0x20], 0
mov rdx, rbx
mov r8, rsi
mov rdi, r10
call fcn.14002f570
mov r10, rdi
mov r9, qword [rbp + 0x278]
mov eax, ebx
lea rcx, [rax*2 + 1]
jmp 0x14002f128
sub ecx, ecx
mov eax, 1
mov qword [rbp + 0x230], rax
cmp r10, 2
jae 0x14002f180
jmp 0x14002f456
cmp r11, 2
mov r9, r11
jae 0x14002efdd
mov r14, r10
mov r11, r9
jmp 0x14002f116
mov rax, qword [rbp + 0x268]
mov rcx, r11
cmp rax, r11
cmovb rcx, rax
add rcx, rcx
jmp 0x14002f128
mov r8, qword [rcx]
mov rdi, qword [rcx + 0x10]
mov r14, r10
cmp rdi, r8
jae 0x14002f032
cmp r9, 2
jne 0x14002f079
lea r8, [rcx + 0x10]
mov r9d, 1
mov eax, 2
xor r10d, r10d
mov rdx, r10
not rdx
add rdx, r9
shl r10, 4
shl rdx, 4
movups xmm0, xmmword [rcx + r10]
movups xmm1, xmmword [r8 + rdx]
movups xmmword [rcx + r10], xmm1
movups xmmword [r8 + rdx], xmm0
jmp 0x14002f113
mov r11d, 2
cmp r9, 2
je 0x14002f116
mov rax, qword [rbp + 0x248]
lea r10, [rax + rdx]
mov eax, 2
mov r11, rdi
nop word cs:[rax + rax]
mov rsi, r11
mov r11, qword [r10]
cmp r11, rsi
jb 0x14002f0af
inc rax
add r10, 0x10
cmp r9, rax
jne 0x14002f060
jmp 0x14002f0a7
mov rax, qword [rbp + 0x248]
lea r10, [rax + rdx]
mov eax, 2
mov r11, rdi
nop dword [rax]
mov rsi, r11
mov r11, qword [r10]
cmp r11, rsi
jae 0x14002f0af
inc rax
add r10, 0x10
cmp r9, rax
jne 0x14002f090
mov r11, r9
mov rax, r9
jmp 0x14002f0b2
mov r11, r9
cmp rax, qword [rbp + 0x268]
mov r9, qword [rbp + 0x278]
mov rsi, qword [rbp + 0x280]
mov r10, r14
jb 0x14002ef37
mov r14, r10
cmp rdi, r8
jae 0x14002f113
mov r11d, 1
cmp rax, 2
jb 0x14002f116
mov r9, rax
shr r9, 1
mov r8, rax
shl r8, 4
add r8, rcx
mov r10, r9
shl r10, 4
sub r8, r10
cmp r9, 1
jne 0x14002f488
mov r9d, 1
jmp 0x14002f005
mov r11, rax
lea rcx, [r11*2 + 1]
mov r9, qword [rbp + 0x278]
mov r10, r14
mov rax, r15
shr rax, 1
mov qword [rbp + 0x230], rcx
shr rcx, 1
lea rdx, [r13*2]
sub rdx, rax
lea rax, [rcx + r13*2]
mov rcx, qword [rbp + 0x240]
imul rdx, rcx
imul rax, rcx
xor rax, rdx
je 0x14002f16e
bsr rcx, rax
xor rcx, 0x3f
cmp r10, 2
jae 0x14002f180
jmp 0x14002f456
mov ecx, 0x40
cmp r10, 2
jb 0x14002f456
nop dword [rax]
mov rdx, r13
shl rdx, 4
mov rax, qword [rbp + 0x270]
add rax, rdx
mov qword [rbp + 0x220], rax
add rdx, qword [rbp + 0x238]
mov qword [rbp + 0x218], rdx
mov qword [rbp + 0x258], rcx
mov qword [rbp + 0x210], r13
jmp 0x14002f1ff
mov r13, rbx
mov rdx, r10
sub r15, rdx
mov rcx, r13
mov r8, r15
call sub.msvcrt.dll_memcpy
mov r9, qword [rbp + 0x278]
mov r10, qword [rbp + 0x250]
mov rcx, qword [rbp + 0x258]
lea r15, [r12*2 + 1]
mov rsi, qword [rbp + 0x280]
mov r13, qword [rbp + 0x210]
cmp r10, 1
jbe 0x14002f450
cmp byte [rbp + r10 + 0x1cd], cl
jb 0x14002f456
dec r10
mov rbx, qword [rbp + r10*8 - 0x48]
push rbx
nop
pop rdi
shr rdi, 1
mov r14, r15
shr r14, 1
lea r12, [rdi + r14]
cmp r12, r9
ja 0x14002f250
mov eax, ebx
or eax, r15d
and eax, 1
jne 0x14002f250
add r12, r12
mov r15, r12
cmp r10, 1
ja 0x14002f1ff
jmp 0x14002f450
sub r13, r12
shl r13, 4
add r13, qword [rbp + 0x270]
test bl, 1
mov qword [rbp + 0x250], r10
jne 0x14002f2c0
mov rax, rdi
or rax, 1
bsr rax, rax
xor eax, 0x3f
add eax, eax
xor eax, 0x7e
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x28], 0
mov rcx, r13
nop
push rdi
pop rdx
mov r8, rsi
call fcn.14002f570
mov rcx, qword [rbp + 0x258]
mov r10, qword [rbp + 0x250]
mov r9, qword [rbp + 0x278]
test r15b, 1
je 0x14002f2c6
cmp r15, 2
jae 0x14002f31a
jmp 0x14002f1df
test r15b, 1
jne 0x14002f2b3
push rdi
nop
pop rcx
shl rcx, 4
add rcx, r13
mov rax, r14
or rax, 1
bsr rax, rax
xor eax, 0x3f
add eax, eax
xor eax, 0x7e
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x28], 0
mov rdx, r14
mov r8, rsi
call fcn.14002f570
mov rcx, qword [rbp + 0x258]
mov r10, qword [rbp + 0x250]
mov r9, qword [rbp + 0x278]
cmp r15, 2
jb 0x14002f1df
cmp rbx, 2
jb 0x14002f1df
cmp rdi, r14
mov rsi, r14
cmovb rsi, rdi
cmp rsi, r9
ja 0x14002f1df
push rdi
pop rbx
nop
shl rbx, 4
add rbx, r13
cmp r14, rdi
mov rdx, r13
cmovb rdx, rbx
mov r15, rsi
shl r15, 4
mov rcx, qword [rbp + 0x280]
mov r8, r15
call sub.msvcrt.dll_memcpy
add r15, qword [rbp + 0x280]
cmp r14, rdi
jae 0x14002f3d5
mov rax, qword [rbp + 0x218]
mov r10, qword [rbp + 0x280]
nop dword [rax + rax]
lea rcx, [rbx - 0x10]
mov rdx, qword [r15 - 0x10]
xor r8d, r8d
sub r9d, r9d
cmp rdx, qword [rbx - 0x10]
lea rdx, [r15 - 0x10]
setb r8b
cmovb rdx, rcx
setae r9b
movups xmm0, xmmword [rdx]
movups xmmword [rax], xmm0
shl r9d, 4
add rbx, r9
add rbx, 0xfffffffffffffff0
shl r8d, 4
add r15, r8
add r15, 0xfffffffffffffff0
cmp rbx, r13
je 0x14002f1b6
add rax, 0xfffffffffffffff0
cmp r15, r10
jne 0x14002f380
jmp 0x14002f1b6
test rsi, rsi
je 0x14002f438
mov rdx, qword [rbp + 0x280]
mov r10, qword [rbp + 0x220]
nop dword [rax + rax]
mov r8, rdx
mov rcx, qword [rbx]
sub eax, eax
xor edx, edx
cmp rcx, qword [r8]
setb cl
setae dl
mov r9, r8
cmovb r9, rbx
movups xmm0, xmmword [r9]
movups xmmword [r13], xmm0
shl edx, 4
add rdx, r8
add r13, 0x10
cmp rdx, r15
je 0x14002f1bc
mov al, cl
shl eax, 4
add rbx, rax
cmp rbx, r10
jne 0x14002f3f0
jmp 0x14002f1bc
mov rdx, qword [rbp + 0x280]
jmp 0x14002f1bc
mov r10d, 1
mov qword [rbp + r10*8 - 0x48], r15
mov byte [rbp + r10 + 0x1ce], cl
cmp qword [rbp + 0x260], r13
jbe 0x14002f513
inc r10
mov r15, qword [rbp + 0x230]
mov rax, r15
shr rax, 1
add r13, rax
jmp 0x14002ef10
mov r11, r9
and r11, 0xfffffffffffffffe
add rdx, qword [rbp + 0x228]
lea rdi, [rax + r13]
shl rdi, 4
add rdi, qword [rbp + 0x238]
xor r10d, r10d
movabs rbx, 0xffffffffffffffe
nop word cs:[rax + rax]
movups xmm0, xmmword [rdx - 0x10]
movups xmm1, xmmword [rdi]
movups xmmword [rdx - 0x10], xmm1
movups xmmword [rdi], xmm0
mov rsi, r10
xor rsi, rbx
add rsi, r9
shl rsi, 4
movups xmm0, xmmword [rdx]
movups xmm1, xmmword [r8 + rsi]
movups xmmword [rdx], xmm1
movups xmmword [r8 + rsi], xmm0
add r10, 2
add rdx, 0x20
add rdi, 0xffffffffffffffe0
cmp r11, r10
jne 0x14002f4c0
mov r11, rax
test al, 2
mov rsi, qword [rbp + 0x280]
je 0x14002f116
jmp 0x14002f008
test r15b, 1
jne 0x14002f54f
mov rdx, qword [rbp + 0x260]
nop
push rdx
pop rax
or rax, 1
bsr rax, rax
xor eax, 0x3f
add eax, eax
xor eax, 0x7e
mov dword [rsp + 0x20], eax
mov qword [rsp + 0x28], 0
mov rcx, qword [rbp + 0x270]
mov r8, rsi
call fcn.14002f570
nop
add rsp, 0x308
pop rbx
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
pop rbp
ret