Function at 0x14005f588
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 [0x1401412b0]
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 0x14005f62a
lea rcx, [rbp + 0x10]
call fcn.14008c30c
mov r8, rbx
lea rcx, [rbp + 0x10]
mov rdx, r14
call fcn.14008c34c
lea rdx, [rbp + 0xc0]
lea rcx, [rbp + 0x10]
call fcn.14008c1d8
lea r14, [rbp + 0xc0]
mov ebx, 0x20
test rsi, rsi
je 0x14005f678
cmp byte [r15], 0
je 0x14005f678
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 0x14005f70a
xor r8d, r8d
mov dl, 0x36
test rbx, rbx
je 0x14005f6a9
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 0x14005f68f
cmp rbx, 0x40
jae 0x14005f6c7
mov r8d, 0x40
lea rcx, [rbp + 0x80]
sub r8, rbx
add rcx, rbx
call fcn.1400f1d90
lea rcx, [rsp + 0x30]
call fcn.14008c30c
mov r8d, 0x40
lea rdx, [rbp + 0x80]
lea rcx, [rsp + 0x30]
call fcn.14008c34c
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 0x14005f735
cmp byte [r15], 0
jne 0x14005f735
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.14008c34c
lea rdx, [rbp + 0xe0]
lea rcx, [rsp + 0x30]
call fcn.14008c1d8
test rdi, rdi
je 0x14005f7a2
cmp byte [r12], 0
je 0x14005f7a2
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 0x14005f828
xor r8d, r8d
mov dl, 0x5c
test rbx, rbx
je 0x14005f7d0
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 0x14005f7b6
mov esi, 0x40
cmp rbx, rsi
jae 0x14005f7ef
mov r8d, esi
lea rcx, [rbp + 0x80]
sub r8, rbx
add rcx, rbx
call fcn.1400f1d90
lea rcx, [rbp - 0x60]
call fcn.14008c30c
mov r8, rsi
lea rdx, [rbp + 0x80]
lea rcx, [rbp - 0x60]
call fcn.14008c34c
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 0x14005f855
cmp byte [r12], 0
jne 0x14005f855
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.14008c34c
mov rdx, qword [rsp + 0x28]
lea rcx, [rbp - 0x60]
call fcn.14008c1d8
mov rcx, qword [rbp + 0x100]
xor rcx, rsp
call fcn.1400f0b80
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