Function at 0x14026dec0
Capabilities:
Encrypt data using camellia

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rsi
push r12
push r13
sub rsp, 0x38
mov rbx, rdx
mov r12, rcx
lea rdx, [0x140303100]
mov ecx, 0x100
mov rsi, r9
mov r13, r8
call fcn.1402a7ac0
lea rdx, [0x140303200]
mov ecx, 0x100
call fcn.1402a7ac0
lea rdx, [0x140303300]
mov ecx, 0x100
call fcn.1402a7ac0
lea rdx, [0x140303400]
mov ecx, 0x100
call fcn.1402a7ac0
test r13, r13
je 0x14026e265
mov qword [rsp + 0x68], rbp
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r14
mov r14, qword [rsp + 0x80]
dec r14
mov qword [rsp + 0x20], r15
sub r12, rbx
lea r15, [rbx + 8]
mov qword [rsp + 0x60], r12
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [r15 + r12 - 8]
mov rsi, qword [rsi]
mov r11d, ecx
shl r11d, 0x10
mov r8, rcx
mov edx, ecx
and ecx, 0xff00
or r11d, ecx
shr r8, 0x20
mov rcx, qword [r15 + r12]
mov eax, edx
and eax, 0xff0000
shl r11d, 8
shl r11, 8
mov r9, r8
or r11, rax
and rdx, 0xffffffffff000000
mov eax, r8d
shl r11, 0x10
shl eax, 0x10
or r11, rdx
and r8d, 0xff00
mov edx, ecx
or eax, r8d
shl r11, 8
shl eax, 8
mov edi, ecx
or r11, rax
shl edi, 0x10
mov rax, r9
mov r8, rcx
and eax, 0xff0000
shr r9, 0x10
or rax, r9
shr r8, 0x20
shr rax, 8
mov r9, r8
or r11, rax
and ecx, 0xff00
xor r11, qword [rsi]
or edi, ecx
mov eax, edx
shl edi, 8
and eax, 0xff0000
shl rdi, 8
or rdi, rax
and rdx, 0xffffffffff000000
mov eax, r8d
shl rdi, 0x10
shl eax, 0x10
or rdi, rdx
mov rdx, qword [rsi + 0x10]
and r8d, 0xff00
or eax, r8d
shl rdi, 8
shl eax, 8
mov rcx, r11
or rdi, rax
mov rax, r9
and eax, 0xff0000
shr r9, 0x10
or rax, r9
shr rax, 8
or rdi, rax
call fcn.14026d8d0
mov rdx, qword [rsi + 0x18]
mov rbp, rax
xor rbp, rdi
xor rbp, qword [rsi + 8]
add rsi, 0x20
mov rcx, rbp
call fcn.14026d8d0
xor r11, rax
mov ebx, 1
cmp rbx, r14
je 0x14026e13a
movabs r12, 0xaaaaaaaaaaaaaaab
nop dword [rax]
nop dword [rax + rax]
mov rax, r12
mul rbx
shr rdx, 1
lea rcx, [rdx + rdx*2]
cmp rbx, rcx
jne 0x14026e108
mov rdx, qword [rsi]
mov r8, r11
shr r8, 0x20
mov rcx, rdx
shr rcx, 0x20
mov rax, rbp
and ecx, r8d
shr rax, 0x20
ror ecx, 0x1f
xor ecx, r11d
mov r11d, edx
or r11, rcx
xor r11, r8
shl r11, 0x20
or r11, rcx
mov rcx, qword [rsi + 8]
mov r8, rcx
add rsi, 0x10
or r8, rbp
shr rcx, 0x20
xor r8, rax
mov eax, ebp
and ecx, r8d
mov edx, ecx
add ecx, ecx
shr rdx, 0x1f
or rdx, rcx
mov rbp, rdx
xor rbp, rax
mov eax, r8d
shl rax, 0x20
or rbp, rax
mov rdx, qword [rsi]
mov rcx, r11
call fcn.14026d8d0
mov rdx, qword [rsi + 8]
xor rbp, rax
mov rcx, rbp
add rsi, 0x10
call fcn.14026d8d0
xor r11, rax
inc rbx
cmp rbx, r14
jne 0x14026e090
mov r12, qword [rsp + 0x60]
mov rdx, qword [rsi]
mov rcx, r11
call fcn.14026d8d0
mov rdx, qword [rsi + 8]
xor rbp, rax
mov rcx, rbp
call fcn.14026d8d0
xor rbp, qword [rsi + 0x10]
mov rbx, rax
xor rbx, qword [rsi + 0x18]
mov r9d, ebp
mov rsi, qword [rsp + 0x78]
xor rbx, r11
shl r9d, 0x10
mov r8, rbp
shr r8, 0x20
mov r10, r8
mov edx, ebp
mov eax, edx
mov ecx, ebx
and eax, 0xff0000
and rdx, 0xffffffffff000000
and ebp, 0xff00
or r9d, ebp
shl r9d, 8
shl r9, 8
or r9, rax
mov eax, r8d
shl eax, 0x10
and r8d, 0xff00
or eax, r8d
shl r9, 0x10
shl eax, 8
or r9, rdx
shl r9, 8
mov r8d, ebx
or r9, rax
shl r8d, 0x10
mov rax, r10
mov rdx, rbx
and eax, 0xff0000
shr rdx, 0x20
shr r10, 0x10
and ebx, 0xff00
or rax, r10
or r8d, ebx
shr rax, 8
or r9, rax
shl r8d, 8
shl r8, 8
mov eax, ecx
and eax, 0xff0000
mov qword [r15 - 8], r9
or r8, rax
mov r9, rdx
shl r8, 0x10
mov eax, edx
shl eax, 0x10
and rcx, 0xffffffffff000000
or r8, rcx
and edx, 0xff00
or eax, edx
shl r8, 8
shl eax, 8
or r8, rax
mov rax, r9
and eax, 0xff0000
shr r9, 0x10
or rax, r9
shr rax, 8
or r8, rax
mov qword [r15], r8
add r15, 0x10
sub r13, 1
jne 0x14026df60
mov r15, qword [rsp + 0x20]
mov r14, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x68]
add rsp, 0x38
pop r13
pop r12
pop rsi
pop rbx
ret