Function at 0x140006c84
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 0x140006cf7
lea rcx, [rbp + 0x80]
call fcn.140010554
mov r8, rbx
lea rcx, [rbp + 0x80]
mov rdx, rsi
call fcn.140010594
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x80]
call fcn.140010400
lea rsi, [rbp + 0x40]
mov ebx, 0x20
mov rdi, qword [rbp + 0x148]
mov r14, qword [rbp + 0x150]
test rdi, rdi
je 0x140006d54
cmp byte [r14], 0
je 0x140006d54
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 0x140006ddb
xor r8d, r8d
mov dl, 0x36
test rbx, rbx
je 0x140006d7f
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 0x140006d68
cmp rbx, 0x40
jae 0x140006d9a
mov r8d, 0x40
lea rcx, [rbp]
sub r8, rbx
add rcx, rbx
call fcn.1400230c0
lea rcx, [rsp + 0x20]
call fcn.140010554
mov r8d, 0x40
lea rdx, [rbp]
lea rcx, [rsp + 0x20]
call fcn.140010594
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 0x140006e06
cmp byte [r14], 0
jne 0x140006e06
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.140010594
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140010400
mov rdi, qword [rbp + 0x158]
mov r14, qword [rbp + 0x160]
test rdi, rdi
je 0x140006e78
cmp byte [r14], 0
je 0x140006e78
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 0x140006ef1
xor r8d, r8d
mov dl, 0x5c
test rbx, rbx
je 0x140006e9f
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 0x140006e89
mov esi, 0x40
cmp rbx, rsi
jae 0x140006ebb
mov r8d, esi
lea rcx, [rbp]
sub r8, rbx
add rcx, rbx
call fcn.1400230c0
lea rcx, [rbp - 0x70]
call fcn.140010554
mov r8, rsi
lea rdx, [rbp]
lea rcx, [rbp - 0x70]
call fcn.140010594
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 0x140006f1c
cmp byte [r14], 0
jne 0x140006f1c
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.140010594
mov rdx, qword [rbp + 0x140]
lea rcx, [rbp - 0x70]
call fcn.140010400
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