Function at 0x140253adc
Capabilities:
Encode data using xor

Disassembly:
push r15
push r14
push r13
push r12
push rsi
push rdi
push rbp
push rbx
sub rsp, 0x28
mov esi, 0xffffffff
cmp rdx, 8
jae 0x140253b1a
mov eax, esi
add rsp, 0x28
pop rbx
pop rbp
pop rdi
pop rsi
pop r12
pop r13
pop r14
pop r15
ret
mov rcx, rdi
call fcn.14010f9d0
jmp 0x140253af7
mov qword [rbx + 8], rdi
jmp 0x140253af7
mov rbx, rcx
mov rdi, qword [rcx + 8]
test rdi, rdi
je 0x140253af7
mov r14, rdx
mov r12, qword [rbx + 0x10]
mov rax, qword [fcn.14003dfb0]
mov r15, rdx
shl r15, 5
mov rcx, r15
call qword [case.0x14017aab5.0]
mov qword [rbx + 8], rax
test rax, rax
je 0x140253b14
xor esi, esi
mov rcx, rax
xor edx, edx
mov r8, r15
call fcn.14013f660
mov qword [rbx + 0x10], r14
test r12, r12
je 0x140253b0a
xor esi, esi
xor r15d, r15d
jmp 0x140253d5f
mov r8d, dword [rbx + 0x30]
mov edx, dword [r14 + 0x10]
mov rcx, qword [r14 + 8]
call fcn.1400d3c87
mov ecx, eax
mov r8d, 0x80
jmp 0x140253bcc
movups xmm0, xmmword [r14]
movups xmm1, xmmword [r14 + 0x10]
movups xmmword [rax + 0x10], xmm1
movups xmmword [rax], xmm0
mov rax, qword [rbx + 8]
mov qword [rax + rdx], 0
mov rax, qword [rbx + 8]
mov dword [rax + rdx + 0x14], 1
mov rax, qword [rbx + 8]
mov dword [rax + rdx + 0x18], ecx
mov rcx, r14
call fcn.14010f9d0
jmp 0x140253bf9
mov ecx, dword [r14 + 0x18]
mov r8, qword [rbx + 0x10]
mov eax, ecx
xor edx, edx
div r8
mov r8, qword [rbx + 8]
shl rdx, 5
lea rax, [r8 + rdx]
cmp dword [r8 + rdx + 0x14], 0
je 0x140253b8a
mov rax, qword [rax]
mov qword [r14], rax
mov dword [r14 + 0x18], ecx
mov rax, qword [rbx + 8]
mov qword [rax + rdx], r14
mov r14, r13
test r13, r13
je 0x140253c72
mov r13, qword [r14]
cmp r12, 0x80
jne 0x140253bc4
mov r8, qword [rbx + 0x10]
cmp r8, 0x80
je 0x140253b6f
mov eax, dword [r14 + 0x10]
xor ecx, ecx
test eax, eax
jle 0x140253bcc
mov rdx, qword [r14 + 8]
test rdx, rdx
je 0x140253bcc
mov r9d, dword [rbx + 0x30]
xor ecx, ecx
movzx r10d, byte [rdx + rcx]
add r10d, r9d
mov r11d, r10d
shl r11d, 0xa
add r11d, r10d
mov r9d, r11d
shr r9d, 6
xor r9d, r11d
inc rcx
cmp rax, rcx
jne 0x140253c37
lea eax, [r9 + r9*8]
mov edx, eax
shr edx, 0xb
xor edx, eax
mov ecx, edx
shl ecx, 0xf
add ecx, edx
jmp 0x140253bcc
inc r15
cmp r15, r12
je 0x140253b0a
mov rax, r15
shl rax, 5
mov r14, qword [rdi + rax]
test r14, r14
jne 0x140253c01
jmp 0x140253c72
xor r15d, r15d
jmp 0x140253c7e
mov r8d, dword [rbx + 0x30]
mov edx, dword [rdi + r13 + 0x10]
mov rcx, qword [rdi + r13 + 8]
call fcn.1400d3c87
mov ebp, eax
mov ecx, 0x80
jmp 0x140253cf4
add r13, rdi
movups xmm0, xmmword [r13]
movups xmm1, xmmword [r13 + 0x10]
movups xmmword [rax + r14 + 0x10], xmm1
movups xmmword [rax + r14], xmm0
mov rax, qword [rbx + 8]
mov qword [rax + r14], 0
mov rax, qword [rbx + 8]
mov dword [rax + r14 + 0x18], ebp
jmp 0x140253d53
mov esi, 0xffffffff
jmp 0x140253d53
mov ebp, dword [rdi + r13 + 0x18]
mov rcx, qword [rbx + 0x10]
mov eax, ebp
xor edx, edx
div rcx
mov r14, rdx
mov rax, qword [rbx + 8]
shl r14, 5
cmp dword [rax + r14 + 0x14], 0
je 0x140253cb5
mov rax, qword [fcn.14003dfb0]
mov ecx, 0x20
call qword [case.0x14017aab5.0]
test rax, rax
je 0x140253ce4
mov rcx, qword [rdi + r13 + 8]
mov qword [rax + 8], rcx
mov ecx, dword [rdi + r13 + 0x10]
mov dword [rax + 0x10], ecx
mov dword [rax + 0x18], ebp
mov rcx, qword [rbx + 8]
mov rcx, qword [rcx + r14]
mov qword [rax], rcx
mov dword [rax + 0x14], 1
mov rcx, qword [rbx + 8]
mov qword [rcx + r14], rax
inc r15
cmp r15, r12
je 0x140253c94
mov r13, r15
shl r13, 5
cmp dword [rdi + r13 + 0x14], 0
je 0x140253d53
cmp r12, 0x80
jne 0x140253ceb
mov rcx, qword [rbx + 0x10]
cmp rcx, 0x80
je 0x140253c99
mov eax, dword [rdi + r13 + 0x10]
xor ebp, ebp
test eax, eax
jle 0x140253cf4
mov rdx, qword [rdi + r13 + 8]
test rdx, rdx
je 0x140253cf4
mov r9d, dword [rbx + 0x30]
xor r8d, r8d
movzx r10d, byte [rdx + r8]
add r10d, r9d
mov r11d, r10d
shl r11d, 0xa
add r11d, r10d
mov r9d, r11d
shr r9d, 6
xor r9d, r11d
inc r8
cmp rax, r8
jne 0x140253db0
lea eax, [r9 + r9*8]
mov edx, eax
shr edx, 0xb
xor edx, eax
mov ebp, edx
shl ebp, 0xf
add ebp, edx
jmp 0x140253cf4