Function at 0x1400069e8
Capabilities:
Authenticate hmac
Encode data using xor

Disassembly:
mov rax, rsp
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov qword [rax + 0x18], rdi
mov qword [rax + 0x20], r12
push rbp
push r14
push r15
lea rbp, [rax - 0x118]
sub rsp, 0x200
movaps xmmword [rax - 0x28], xmm6
mov r15, r9
mov r12, r8
mov rbx, rdx
mov rsi, rcx
cmp rdx, 0x40
jbe 0x140006a5b
lea rcx, [rbp + 0x80]
call fcn.140010164
mov r8, rbx
lea rcx, [rbp + 0x80]
mov rdx, rsi
call fcn.1400101a4
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x80]
call fcn.140010010
lea rsi, [rbp + 0x40]
mov ebx, 0x20
mov rdi, qword [rbp + 0x148]
mov r14, qword [rbp + 0x150]
test rdi, rdi
je 0x140006ab8
cmp byte [r14], 0
je 0x140006ab8
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmm2, xmmword [rdi + 0x20]
movups xmm3, xmmword [rdi + 0x30]
movups xmm4, xmmword [rdi + 0x40]
movups xmm5, xmmword [rdi + 0x50]
movsd xmm6, qword [rdi + 0x60]
movaps xmmword [rsp + 0x20], xmm0
movaps xmmword [rsp + 0x30], xmm1
movaps xmmword [rsp + 0x40], xmm2
movaps xmmword [rsp + 0x50], xmm3
movaps xmmword [rsp + 0x60], xmm4
movaps xmmword [rsp + 0x70], xmm5
movsd qword [rbp - 0x80], xmm6
jmp 0x140006b3f
xor r8d, r8d
mov dl, 0x36
test rbx, rbx
je 0x140006ae3
lea rax, [rbp]
mov r9, rsi
sub r9, rax
lea rcx, [rbp]
add rcx, r8
inc r8
mov al, byte [r9 + rcx]
xor al, dl
mov byte [rcx], al
cmp r8, rbx
jb 0x140006acc
cmp rbx, 0x40
jae 0x140006afe
mov r8d, 0x40
lea rcx, [rbp]
sub r8, rbx
add rcx, rbx
call fcn.140022240
lea rcx, [rsp + 0x20]
call fcn.140010164
mov r8d, 0x40
lea rdx, [rbp]
lea rcx, [rsp + 0x20]
call fcn.1400101a4
movsd xmm6, qword [rbp - 0x80]
movaps xmm5, xmmword [rsp + 0x70]
movaps xmm4, xmmword [rsp + 0x60]
movaps xmm3, xmmword [rsp + 0x50]
movaps xmm2, xmmword [rsp + 0x40]
movaps xmm1, xmmword [rsp + 0x30]
movaps xmm0, xmmword [rsp + 0x20]
test rdi, rdi
je 0x140006b6a
cmp byte [r14], 0
jne 0x140006b6a
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi + 0x20], xmm2
movups xmmword [rdi + 0x30], xmm3
movups xmmword [rdi + 0x40], xmm4
movups xmmword [rdi + 0x50], xmm5
movsd qword [rdi + 0x60], xmm6
mov byte [r14], 1
mov r8, r15
lea rcx, [rsp + 0x20]
mov rdx, r12
call fcn.1400101a4
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140010010
mov rdi, qword [rbp + 0x158]
mov r14, qword [rbp + 0x160]
test rdi, rdi
je 0x140006bdc
cmp byte [r14], 0
je 0x140006bdc
movups xmm0, xmmword [rdi]
movups xmm1, xmmword [rdi + 0x10]
movups xmm2, xmmword [rdi + 0x20]
movups xmm3, xmmword [rdi + 0x30]
movups xmm4, xmmword [rdi + 0x40]
movups xmm5, xmmword [rdi + 0x50]
movsd xmm6, qword [rdi + 0x60]
movaps xmmword [rbp - 0x70], xmm0
movaps xmmword [rbp - 0x60], xmm1
movaps xmmword [rbp - 0x50], xmm2
movaps xmmword [rbp - 0x40], xmm3
movaps xmmword [rbp - 0x30], xmm4
movaps xmmword [rbp - 0x20], xmm5
movsd qword [rbp - 0x10], xmm6
jmp 0x140006c55
xor r8d, r8d
mov dl, 0x5c
test rbx, rbx
je 0x140006c03
lea rax, [rbp]
sub rsi, rax
lea rcx, [rbp]
add rcx, r8
inc r8
mov al, byte [rsi + rcx]
xor al, dl
mov byte [rcx], al
cmp r8, rbx
jb 0x140006bed
mov esi, 0x40
cmp rbx, rsi
jae 0x140006c1f
mov r8d, esi
lea rcx, [rbp]
sub r8, rbx
add rcx, rbx
call fcn.140022240
lea rcx, [rbp - 0x70]
call fcn.140010164
mov r8, rsi
lea rdx, [rbp]
lea rcx, [rbp - 0x70]
call fcn.1400101a4
movsd xmm6, qword [rbp - 0x10]
movaps xmm5, xmmword [rbp - 0x20]
movaps xmm4, xmmword [rbp - 0x30]
movaps xmm3, xmmword [rbp - 0x40]
movaps xmm2, xmmword [rbp - 0x50]
movaps xmm1, xmmword [rbp - 0x60]
movaps xmm0, xmmword [rbp - 0x70]
test rdi, rdi
je 0x140006c80
cmp byte [r14], 0
jne 0x140006c80
movups xmmword [rdi], xmm0
movups xmmword [rdi + 0x10], xmm1
movups xmmword [rdi + 0x20], xmm2
movups xmmword [rdi + 0x30], xmm3
movups xmmword [rdi + 0x40], xmm4
movups xmmword [rdi + 0x50], xmm5
movsd qword [rdi + 0x60], xmm6
mov byte [r14], 1
mov r8d, 0x20
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.1400101a4
mov rdx, qword [rbp + 0x140]
lea rcx, [rbp - 0x70]
call fcn.140010010
lea r11, [rsp + 0x200]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rdi, qword [r11 + 0x30]
mov r12, qword [r11 + 0x38]
movaps xmm6, xmmword [r11 - 0x10]
mov rsp, r11
pop r15
pop r14
pop rbp
ret