Function at 0x140006c44
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 rdi, r9
mov r15, r8
mov rbx, rdx
mov r14, rcx
cmp rdx, 0x40
jbe 0x140006cb7
lea rcx, [rbp + 0x80]
call fcn.1400102c8
mov r8, rbx
lea rcx, [rbp + 0x80]
mov rdx, r14
call fcn.140010308
lea rdx, [rbp + 0x40]
lea rcx, [rbp + 0x80]
call fcn.140010174
lea r14, [rbp + 0x40]
mov ebx, 0x20
mov rsi, qword [rbp + 0x148]
mov r12, qword [rbp + 0x150]
test rsi, rsi
je 0x140006d15
cmp byte [r12], 0
je 0x140006d15
movups xmm0, xmmword [rsi]
movups xmm1, xmmword [rsi + 0x10]
movups xmm2, xmmword [rsi + 0x20]
movups xmm3, xmmword [rsi + 0x30]
movups xmm4, xmmword [rsi + 0x40]
movups xmm5, xmmword [rsi + 0x50]
movsd xmm6, qword [rsi + 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 0x140006d9c
xor r8d, r8d
mov dl, 0x36
test rbx, rbx
je 0x140006d40
lea rax, [rbp]
mov r9, r14
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 0x140006d29
cmp rbx, 0x40
jae 0x140006d5b
mov r8d, 0x40
lea rcx, [rbp]
sub r8, rbx
add rcx, rbx
call fcn.140022820
lea rcx, [rsp + 0x20]
call fcn.1400102c8
mov r8d, 0x40
lea rdx, [rbp]
lea rcx, [rsp + 0x20]
call fcn.140010308
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 rsi, rsi
je 0x140006dc9
cmp byte [r12], 0
jne 0x140006dc9
movups xmmword [rsi], xmm0
movups xmmword [rsi + 0x10], xmm1
movups xmmword [rsi + 0x20], xmm2
movups xmmword [rsi + 0x30], xmm3
movups xmmword [rsi + 0x40], xmm4
movups xmmword [rsi + 0x50], xmm5
movsd qword [rsi + 0x60], xmm6
mov byte [r12], 1
mov r8, rdi
lea rcx, [rsp + 0x20]
mov rdx, r15
call fcn.140010308
lea rdx, [rbp + 0x60]
lea rcx, [rsp + 0x20]
call fcn.140010174
mov rdi, qword [rbp + 0x158]
mov r15, qword [rbp + 0x160]
test rdi, rdi
je 0x140006e3b
cmp byte [r15], 0
je 0x140006e3b
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 0x140006eb6
xor r8d, r8d
mov dl, 0x5c
test rbx, rbx
je 0x140006e63
lea rax, [rbp]
sub r14, rax
lea rcx, [rbp]
add rcx, r8
inc r8
mov al, byte [r14 + rcx]
xor al, dl
mov byte [rcx], al
cmp r8, rbx
jb 0x140006e4c
mov r14d, 0x40
cmp rbx, r14
jae 0x140006e80
mov r8d, r14d
lea rcx, [rbp]
sub r8, rbx
add rcx, rbx
call fcn.140022820
lea rcx, [rbp - 0x70]
call fcn.1400102c8
mov r8, r14
lea rdx, [rbp]
lea rcx, [rbp - 0x70]
call fcn.140010308
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 rsi, rsi
je 0x140006ee2
cmp byte [r15], 0
jne 0x140006ee2
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 [r12], 1
mov r8d, 0x20
lea rdx, [rbp + 0x60]
lea rcx, [rbp - 0x70]
call fcn.140010308
mov rdx, qword [rbp + 0x140]
lea rcx, [rbp - 0x70]
call fcn.140010174
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