Function at 0x140033a30
Capabilities:
Encrypt data using camellia

Disassembly:
mov qword [rsp + 0x20], r9
push rbx
push rsi
push r13
push r15
sub rsp, 0x38
mov r15, rdx
mov rbx, rcx
lea rdx, [0x14009dc00]
mov ecx, 0x100
mov rsi, r9
mov r13, r8
call fcn.140086920
lea rdx, [0x14009dd00]
mov ecx, 0x100
call fcn.140086920
lea rdx, [0x14009de00]
mov ecx, 0x100
call fcn.140086920
lea rdx, [0x14009df00]
mov ecx, 0x100
call fcn.140086920
test r13, r13
je 0x140033dd6
mov qword [rsp + 0x60], rbp
mov qword [rsp + 0x30], rdi
mov qword [rsp + 0x28], r12
lea r12, [rbx + 8]
mov qword [rsp + 0x20], r14
mov r14, qword [rsp + 0x80]
dec r14
sub r15, rbx
mov qword [rsp + 0x68], r15
nop dword [rax]
nop word [rax + rax]
mov rcx, qword [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 [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.140033440
mov rdx, qword [rsi + 0x18]
mov rbp, rax
xor rbp, rdi
xor rbp, qword [rsi + 8]
add rsi, 0x20
mov rcx, rbp
call fcn.140033440
xor r11, rax
mov ebx, 1
cmp rbx, r14
je 0x140033caa
movabs r15, 0xaaaaaaaaaaaaaaab
nop dword [rax]
nop dword [rax + rax]
mov rax, r15
mul rbx
shr rdx, 1
lea rcx, [rdx + rdx*2]
cmp rbx, rcx
jne 0x140033c78
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.140033440
mov rdx, qword [rsi + 8]
xor rbp, rax
mov rcx, rbp
add rsi, 0x10
call fcn.140033440
xor r11, rax
inc rbx
cmp rbx, r14
jne 0x140033c00
mov r15, qword [rsp + 0x68]
mov rdx, qword [rsi]
mov rcx, r11
call fcn.140033440
mov rdx, qword [rsi + 8]
xor rbp, rax
mov rcx, rbp
call fcn.140033440
xor rbp, qword [rsi + 0x10]
mov r10, rax
xor r10, qword [rsi + 0x18]
mov r8d, ebp
mov rsi, qword [rsp + 0x78]
xor r10, r11
shl r8d, 0x10
mov rdx, rbp
shr rdx, 0x20
mov r9, rdx
mov ecx, ebp
mov eax, ecx
and ebp, 0xff00
and eax, 0xff0000
or r8d, ebp
shl r8d, 8
and rcx, 0xffffffffff000000
shl r8, 8
or r8, rax
mov eax, edx
shl eax, 0x10
and edx, 0xff00
or eax, edx
shl r8, 0x10
or r8, rcx
shl eax, 8
shl r8, 8
mov rdx, r10
or r8, rax
shr rdx, 0x20
mov rax, r9
mov ecx, r10d
and eax, 0xff0000
shr r9, 0x10
or rax, r9
mov r9, rdx
shr rax, 8
or r8, rax
mov eax, ecx
mov qword [r15 + r12 - 8], r8
and eax, 0xff0000
mov r8d, r10d
and rcx, 0xffffffffff000000
shl r8d, 0x10
and r10d, 0xff00
or r8d, r10d
shl r8d, 8
shl r8, 8
or r8, rax
mov eax, edx
shl eax, 0x10
and edx, 0xff00
or eax, edx
shl r8, 0x10
shl eax, 8
or r8, rcx
shl r8, 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 + r12], r8
add r12, 0x10
sub r13, 1
jne 0x140033ad0
mov r14, qword [rsp + 0x20]
mov r12, qword [rsp + 0x28]
mov rdi, qword [rsp + 0x30]
mov rbp, qword [rsp + 0x60]
add rsp, 0x38
pop r15
pop r13
pop rsi
pop rbx
ret