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

Disassembly:
mov rax, rsp
push rbp
push rbx
push rsi
push rdi
push r12
push r13
push r14
push r15
lea rbp, [rax - 0x168]
sub rsp, 0x228
movaps xmmword [rax - 0x58], xmm6
mov rax, qword [0x14008a6c0]
xor rax, rsp
mov qword [rbp + 0x100], rax
mov rax, qword [rbp + 0x190]
mov r13, r8
mov rsi, qword [rbp + 0x198]
mov rbx, rdx
mov r15, qword [rbp + 0x1a0]
mov r14, rcx
mov rdi, qword [rbp + 0x1a8]
mov r12, qword [rbp + 0x1b0]
mov qword [rsp + 0x28], rax
mov qword [rsp + 0x20], r9
cmp rdx, 0x40
jbe 0x140019e7a
lea rcx, [rbp + 0x10]
call fcn.140049ca4
mov r8, rbx
lea rcx, [rbp + 0x10]
mov rdx, r14
call fcn.140049ce4
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x10]
call fcn.140049b70
lea r14, [rbp + 0xc0]
mov ebx, 0x20
test rsi, rsi
je 0x140019ec8
cmp byte [r15], 0
je 0x140019ec8
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 + 0x30], xmm0
movaps xmmword [rsp + 0x40], xmm1
movaps xmmword [rsp + 0x50], xmm2
movaps xmmword [rsp + 0x60], xmm3
movaps xmmword [rsp + 0x70], xmm4
movaps xmmword [rbp - 0x80], xmm5
movsd qword [rbp - 0x70], xmm6
jmp 0x140019f5a
xor r8d, r8d
mov dl, 0x36
test rbx, rbx
je 0x140019ef9
lea rax, [rbp + 0x80]
mov r9, r14
sub r9, rax
lea rcx, [rbp + 0x80]
add rcx, r8
inc r8
mov al, byte [r9 + rcx]
xor al, dl
mov byte [rcx], al
cmp r8, rbx
jb 0x140019edf
cmp rbx, 0x40
jae 0x140019f17
mov r8d, 0x40
lea rcx, [rbp + 0x80]
sub r8, rbx
add rcx, rbx
call fcn.14005c700
lea rcx, [rsp + 0x30]
call fcn.140049ca4
mov r8d, 0x40
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.140049ce4
movsd xmm6, qword [rbp - 0x70]
movaps xmm5, xmmword [rbp - 0x80]
movaps xmm4, xmmword [rsp + 0x70]
movaps xmm3, xmmword [rsp + 0x60]
movaps xmm2, xmmword [rsp + 0x50]
movaps xmm1, xmmword [rsp + 0x40]
movaps xmm0, xmmword [rsp + 0x30]
test rsi, rsi
je 0x140019f85
cmp byte [r15], 0
jne 0x140019f85
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 [r15], 1
mov r8, qword [rsp + 0x20]
lea rcx, [rsp + 0x30]
mov rdx, r13
call fcn.140049ce4
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x30]
call fcn.140049b70
test rdi, rdi
je 0x140019ff2
cmp byte [r12], 0
je 0x140019ff2
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 - 0x60], xmm0
movaps xmmword [rbp - 0x50], xmm1
movaps xmmword [rbp - 0x40], xmm2
movaps xmmword [rbp - 0x30], xmm3
movaps xmmword [rbp - 0x20], xmm4
movaps xmmword [rbp - 0x10], xmm5
movsd qword [rbp], xmm6
jmp 0x14001a078
xor r8d, r8d
mov dl, 0x5c
test rbx, rbx
je 0x14001a020
lea rax, [rbp + 0x80]
sub r14, rax
lea rcx, [rbp + 0x80]
add rcx, r8
inc r8
mov al, byte [r14 + rcx]
xor al, dl
mov byte [rcx], al
cmp r8, rbx
jb 0x14001a006
mov esi, 0x40
cmp rbx, rsi
jae 0x14001a03f
mov r8d, esi
lea rcx, [rbp + 0x80]
sub r8, rbx
add rcx, rbx
call fcn.14005c700
lea rcx, [rbp - 0x60]
call fcn.140049ca4
mov r8, rsi
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x60]
call fcn.140049ce4
movsd xmm6, qword [rbp]
movaps xmm5, xmmword [rbp - 0x10]
movaps xmm4, xmmword [rbp - 0x20]
movaps xmm3, xmmword [rbp - 0x30]
movaps xmm2, xmmword [rbp - 0x40]
movaps xmm1, xmmword [rbp - 0x50]
movaps xmm0, xmmword [rbp - 0x60]
test rdi, rdi
je 0x14001a0a5
cmp byte [r12], 0
jne 0x14001a0a5
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 + 0xe0]
lea rcx, [rbp - 0x60]
call fcn.140049ce4
mov rdx, qword [rsp + 0x28]
lea rcx, [rbp - 0x60]
call fcn.140049b70
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.14005a610
movaps xmm6, xmmword [rsp + 0x210]
add rsp, 0x228
pop r15
pop r14
pop r13
pop r12
pop rdi
pop rsi
pop rbx
pop rbp
ret